:root {
  --ink: #17263B;
  --paper: #EFF2F7;
  --surface: #FFFFFF;
  --royal: #20509E;
  --royal-deep: #173E7E;
  --royal-bright: #2E6AD0;
  --red: #C8202E;
  --red-deep: #A5121F;
  --steel: #C9CFDA;
  --line: #DBE1EA;
  --muted: #5B6675;
  --ok: #1E9E73;
  --shadow: 0 18px 50px -20px rgba(23, 38, 59, 0.34);
  --display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--royal-deep);
  margin: 0 0 14px;
}

/* nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(239, 242, 247, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.nav__actions { display: inline-flex; align-items: center; gap: 18px; }
.nav__link { font-family: var(--mono); font-size: 0.82rem; text-decoration: none; color: var(--muted); transition: color 0.18s; }
.nav__link:hover { color: var(--ink); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--display); font-weight: 600; font-size: 0.97rem; text-decoration: none;
  padding: 13px 24px; border-radius: 13px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s, color 0.18s, background 0.18s;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: linear-gradient(135deg, var(--royal), var(--royal-bright)); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 55px -18px rgba(32, 80, 158, 0.6); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--royal); color: var(--royal-deep); }
.btn--sm { padding: 9px 16px; font-size: 0.86rem; border-radius: 10px; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); }

/* sections */
.section { padding: 92px 0; }
.section__head { max-width: 660px; margin: 0 0 46px; }
.section__head h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 14px; }
.section__head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 80px; }
.hero__mark { position: absolute; right: -90px; top: -70px; width: 460px; height: 460px; color: var(--royal); opacity: 0.07; pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 48px; align-items: center; }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(2.5rem, 5.6vw, 4.1rem); line-height: 1.04; letter-spacing: -0.03em; margin: 0 0 22px; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero__lead { font-size: 1.16rem; color: #33404f; max-width: 34ch; margin: 0 0 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__meta { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 14px; }
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

.mascot-wrap { position: relative; display: grid; place-items: center; }
.mascot-wrap::before {
  content: ""; position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(46, 106, 208, 0.18), rgba(46, 106, 208, 0) 68%);
}
.mascot { position: relative; width: min(360px, 84%); filter: drop-shadow(0 26px 34px rgba(23, 38, 59, 0.28)); }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 26px; }
.feature__tag { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 18px; }
.feature__tag svg { width: 20px; height: 20px; }
.feature h3 { font-family: var(--display); font-weight: 700; font-size: 1.18rem; margin: 0 0 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* screens */
.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.screen { text-align: center; }
.screen img { margin: 0 auto 18px; width: min(280px, 100%); }
.screen p { font-family: var(--mono); font-size: 0.82rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* how */
.how__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; }
.how__grid h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
.how__body p { margin: 0 0 18px; font-size: 1.05rem; }
.how__body p:last-child { margin-bottom: 0; }
.how__body strong { color: var(--ink); }

/* dark note */
.note { background: var(--ink); color: #DCE3EE; border-radius: 26px; padding: 52px 48px; position: relative; overflow: hidden; }
.note .eyebrow { color: #E78A91; }
.note h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; color: #fff; }
.note p { margin: 0; font-size: 1.1rem; max-width: 62ch; color: #B7C0CF; }
.note p strong { color: #fff; }
.note__mark { position: absolute; right: -40px; bottom: -70px; width: 280px; height: 280px; color: #fff; opacity: 0.06; }

/* platform note */
.pnote { display: flex; gap: 20px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--royal); border-radius: 18px; padding: 26px 28px; }
.pnote__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(32, 80, 158, 0.1); display: grid; place-items: center; }
.pnote__icon svg { width: 22px; height: 22px; }
.pnote h3 { font-family: var(--display); font-weight: 700; font-size: 1.14rem; margin: 2px 0 8px; }
.pnote p { margin: 0; color: var(--muted); font-size: 1rem; }

/* trust */
.trust__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.perm { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.perm li { border-left: 2px solid var(--royal); padding: 4px 0 4px 16px; }
.perm b { font-family: var(--display); font-weight: 700; display: block; font-size: 0.98rem; }
.perm span { font-size: 0.92rem; color: var(--muted); }
.code { font-family: var(--mono); font-size: 0.82rem; background: var(--ink); color: #DEE5F0; border-radius: 14px; padding: 20px 22px; overflow-x: auto; line-height: 1.85; margin: 0 0 22px; }
.code .c { color: #7E8BA0; }
.trust__aside p { color: var(--muted); margin: 0 0 22px; font-size: 1.02rem; }

/* band */
.band { background: var(--ink); position: relative; overflow: hidden; }
.band__inner { text-align: center; padding: 84px 0; position: relative; }
.band h2 { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.02em; color: #fff; margin: 0 0 12px; }
.band p { color: #B0BACA; margin: 0 0 30px; font-size: 1.08rem; }
.band__mark { position: absolute; left: 50%; top: 50%; width: 380px; height: 380px; transform: translate(-50%, -50%); color: #fff; opacity: 0.05; pointer-events: none; }

/* footer */
.footer { border-top: 1px solid var(--line); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 30px 0; }
.footer .brand { font-size: 1rem; }
.footer__links { display: inline-flex; gap: 20px; font-family: var(--mono); font-size: 0.82rem; }
.footer__links a { color: var(--muted); text-decoration: none; }
.footer__links a:hover { color: var(--ink); }

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
:focus-visible { outline: 2px solid var(--royal); outline-offset: 3px; border-radius: 4px; }

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__mark { width: 340px; height: 340px; right: -70px; }
  .mascot { width: min(300px, 70%); }
  .features { grid-template-columns: 1fr; }
  .screens { grid-template-columns: 1fr; gap: 40px; }
  .how__grid, .trust__grid { grid-template-columns: 1fr; gap: 28px; }
  .note { padding: 40px 28px; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .nav__link { display: none; }
  .hero { padding-top: 40px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .pnote { flex-direction: column; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
