:root {
  --ink: #071726;
  --ink-2: #183044;
  --muted: #607387;
  --muted-2: #8091a2;
  --line: #dce7f0;
  --line-strong: #c7d7e4;
  --paper: #ffffff;
  --wash: #f5f9fc;
  --wash-2: #eef6fb;
  --violet: #8b4cf6;
  --violet-2: #a951f7;
  --cyan: #05c7df;
  --cyan-2: #2ea9f3;
  --gold: #d6a92e;
  --gold-soft: #fff5cc;
  --danger: #d9475b;
  --success: #178e6b;
  --shadow-sm: 0 10px 30px rgba(28, 63, 91, .08);
  --shadow-md: 0 24px 70px rgba(28, 63, 91, .14);
  --shadow-lg: 0 35px 100px rgba(34, 65, 94, .18);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 36px;
  --container: 1220px;
  --header-height: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { background: rgba(139, 76, 246, .18); }

.skip-link {
  position: fixed;
  left: 18px;
  top: 14px;
  z-index: 9999;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
}
.skip-link:focus { transform: none; }

.site-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: 3px;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  pointer-events: none;
}

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { position: relative; padding: 112px 0; }
.section--tight { padding: 84px 0; }
.section--wash { background: var(--wash); }
.section--ink { background: var(--ink); color: white; }
.section--clip { overflow: clip; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stack { display: grid; gap: 20px; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.announcement {
  position: relative;
  z-index: 80;
  background: var(--ink);
  color: rgba(255,255,255,.8);
  font-size: 12px;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.announcement__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.announcement a { color: white; font-weight: 700; }
.pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(5, 199, 223, .12);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  height: var(--header-height);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(214,226,236,.8);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { background: rgba(255,255,255,.98); box-shadow: 0 14px 40px rgba(23,55,82,.08); }
.header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; }
.brand img { width: 47px; height: auto; }
.brand__word { font-size: 24px; font-weight: 900; letter-spacing: -.045em; line-height: 1; }
.brand__word span:first-child { color: var(--violet); }
.brand__word span:last-child { color: var(--cyan); }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2vw, 30px); }
.desktop-nav a {
  position: relative;
  padding: 12px 0;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 720;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  transition: transform .22s ease;
}
.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.header-socials {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}
.social-link {
  width: 31px;
  height: 31px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink-2);
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.social-link svg { width: 15px; height: 15px; fill: currentColor; }
.social-link:hover { color: white; background: var(--ink); transform: translateY(-2px); }
.header-join { white-space: nowrap; }
.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  cursor: pointer;
}
.menu-button span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--ink); transition: transform .22s ease; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-panel {
  position: fixed;
  inset: calc(34px + var(--header-height)) 0 0 0;
  z-index: 65;
  display: none;
  padding: 30px 20px 50px;
  background: rgba(248,252,255,.99);
  overflow-y: auto;
}
.mobile-panel.is-open { display: block; }
.mobile-panel nav { width: min(100%, 680px); margin: 0 auto; }
.mobile-panel nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 4px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(22px, 6vw, 34px);
  font-weight: 820;
  letter-spacing: -.04em;
}
.mobile-panel nav span { color: var(--muted-2); font-size: 12px; letter-spacing: .08em; }
.mobile-socials { width: min(100%, 680px); margin: 28px auto 0; display: flex; gap: 8px; }
.mobile-socials .social-link { width: 42px; height: 42px; border: 1px solid var(--line); background: white; }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 820;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { color: white; background: linear-gradient(120deg, var(--violet), var(--cyan)); box-shadow: 0 14px 30px rgba(93, 105, 230, .24); }
.button--dark { color: white; background: var(--ink); box-shadow: 0 12px 26px rgba(7, 23, 38, .18); }
.button--ghost { color: var(--ink); background: rgba(255,255,255,.68); border-color: var(--line-strong); }
.button--white { color: var(--ink); background: white; }
.button--small { min-height: 42px; padding: 9px 16px; border-radius: 12px; font-size: 13px; }
.button--full { width: 100%; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.display-title,
.page-title,
.section-title { margin: 0; letter-spacing: -.055em; line-height: .98; }
.display-title { max-width: 850px; font-size: clamp(46px, 6.7vw, 92px); font-weight: 900; }
.page-title { max-width: 920px; font-size: clamp(44px, 6vw, 78px); font-weight: 900; }
.section-title { max-width: 760px; font-size: clamp(36px, 4.7vw, 62px); font-weight: 880; }
.display-title .gradient,
.page-title .gradient,
.section-title .gradient { color: transparent; background: linear-gradient(100deg, var(--violet), var(--cyan)); -webkit-background-clip: text; background-clip: text; }
.lead { max-width: 720px; margin: 24px 0 0; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.section-head p { max-width: 560px; margin: 0; color: var(--muted); }
.section-head--light p { color: rgba(255,255,255,.66); }
.kicker { color: var(--violet); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }

.hero {
  position: relative;
  min-height: calc(100vh - 116px);
  display: grid;
  align-items: center;
  padding: 82px 0 92px;
  overflow: clip;
  background:
    radial-gradient(circle at 12% 20%, rgba(139,76,246,.13), transparent 33%),
    radial-gradient(circle at 85% 22%, rgba(5,199,223,.13), transparent 34%),
    linear-gradient(180deg, #fff 0%, #f8fcff 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.8));
  pointer-events: none;
}
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; gap: 50px; align-items: center; }
.hero__content { position: relative; z-index: 2; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__proof { margin-top: 46px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.hero__proof div { padding: 20px 12px 0 0; }
.hero__proof strong { display: block; font-size: 13px; }
.hero__proof span { display: block; color: var(--muted); font-size: 12px; }
.hero__visual { min-width: 0; }
.scene-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / .92;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid rgba(196,215,229,.8);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.45)),
    radial-gradient(circle at 50% 45%, rgba(139,76,246,.18), transparent 42%),
    linear-gradient(140deg, #eef8ff, #fff);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.scene-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(rgba(96,115,135,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(96,115,135,.08) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.scene-shell canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.scene-shell__top,
.scene-shell__bottom { position: absolute; z-index: 3; left: 20px; right: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; pointer-events: none; }
.scene-shell__top { top: 18px; }
.scene-shell__bottom { bottom: 18px; }
.scene-label { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid rgba(203,218,229,.9); border-radius: 999px; background: rgba(255,255,255,.82); color: var(--ink-2); font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.scene-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.scene-stat { padding: 12px 14px; border: 1px solid rgba(203,218,229,.9); border-radius: 14px; background: rgba(255,255,255,.84); box-shadow: var(--shadow-sm); }
.scene-stat span { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.scene-stat strong { display: block; margin-top: 2px; font-size: 14px; }
.scene-fallback-mark { position: absolute; z-index: 0; width: 42%; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .15; }
.scene-shell.has-webgl .scene-fallback-mark { opacity: .05; }

.page-hero { position: relative; padding: 92px 0 78px; overflow: clip; background: linear-gradient(180deg, #fff 0%, #f6fbfe 100%); }
.page-hero__grid { display: grid; grid-template-columns: 1fr .9fr; gap: 54px; align-items: center; }
.page-hero .scene-shell { min-height: 420px; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.meta-chip { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--ink-2); font-size: 12px; font-weight: 760; }

.logo-strip { padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.logo-strip__inner { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; }
.logo-strip__label { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.logo-strip__items { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.logo-strip__item { display: flex; align-items: center; gap: 9px; color: var(--ink-2); font-size: 13px; font-weight: 760; }
.logo-strip__item span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: var(--wash); color: var(--violet); }

.bento { display: grid; grid-template-columns: 1.15fr .85fr .85fr; grid-auto-rows: minmax(240px, auto); gap: 20px; }
.bento-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.bento-card:hover { border-color: #c8d9e7; box-shadow: var(--shadow-md); }
.bento-card--wide { grid-column: span 2; }
.bento-card--tall { grid-row: span 2; }
.bento-card--gradient { color: white; background: linear-gradient(145deg, #0b2336, #102f48 55%, #17364a); border-color: transparent; }
.bento-card__index { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 11px; background: var(--wash); color: var(--violet); font-size: 12px; font-weight: 850; }
.bento-card--gradient .bento-card__index { background: rgba(255,255,255,.1); color: var(--cyan); }
.bento-card h3 { margin: 48px 0 10px; font-size: 25px; line-height: 1.08; letter-spacing: -.035em; }
.bento-card p { margin: 0; color: var(--muted); font-size: 14px; }
.bento-card--gradient p { color: rgba(255,255,255,.66); }
.bento-card__link { position: absolute; inset: auto 28px 26px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 820; }
.bento-orbit { position: absolute; width: 240px; height: 240px; right: -70px; top: -70px; border: 1px solid rgba(5,199,223,.25); border-radius: 50%; }
.bento-orbit::before, .bento-orbit::after { content: ""; position: absolute; inset: 22%; border: 1px solid rgba(139,76,246,.35); border-radius: 50%; }
.bento-orbit::after { inset: 43%; background: linear-gradient(135deg, var(--violet), var(--cyan)); border: 0; }

.asset-navigator { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 22px; }
.asset-tabs { display: grid; gap: 10px; align-content: start; }
.asset-tab {
  width: 100%;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.asset-tab:hover { transform: translateX(3px); }
.asset-tab.is-active { border-color: rgba(139,76,246,.5); box-shadow: 0 12px 30px rgba(93,105,230,.12); }
.asset-tab__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--wash); color: var(--violet); font-weight: 900; }
.asset-tab__text strong { display: block; font-size: 14px; }
.asset-tab__text span { display: block; color: var(--muted); font-size: 12px; }
.asset-tab__arrow { color: var(--muted-2); }
.asset-panel { min-height: 430px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-md); }
.asset-panel__top { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.asset-panel__top h3 { margin: 0; font-size: 34px; letter-spacing: -.045em; line-height: 1; }
.asset-panel__top p { max-width: 600px; margin: 12px 0 0; color: var(--muted); }
.asset-panel__badge { flex: 0 0 auto; padding: 8px 10px; border-radius: 999px; background: var(--wash); color: var(--violet); font-size: 11px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.asset-panel__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; margin-top: 34px; }
.mini-chart { position: relative; min-height: 230px; overflow: hidden; border-radius: 20px; background: linear-gradient(180deg, #f7fbfe, #eef6fb); }
.mini-chart svg { position: absolute; inset: 22px; width: calc(100% - 44px); height: calc(100% - 44px); }
.mini-chart path.line { fill: none; stroke: url(#chartGradient); stroke-width: 4; stroke-linecap: round; }
.mini-chart path.area { fill: url(#areaGradient); opacity: .22; }
.mini-chart::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(96,115,135,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(96,115,135,.08) 1px, transparent 1px); background-size: 36px 36px; }
.focus-list { display: grid; gap: 10px; }
.focus-item { padding: 14px; border: 1px solid var(--line); border-radius: 15px; }
.focus-item span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.focus-item strong { display: block; margin-top: 4px; font-size: 14px; }

.interactive-lab { display: grid; grid-template-columns: .92fr 1.08fr; gap: 24px; align-items: stretch; }
.lab-controls, .lab-output { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.lab-controls h3, .lab-output h3 { margin: 0 0 8px; font-size: 24px; letter-spacing: -.035em; }
.lab-controls > p, .lab-output > p { margin: 0 0 28px; color: var(--muted); font-size: 14px; }
.field { display: grid; gap: 8px; margin-top: 18px; }
.field__top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.field label { font-size: 13px; font-weight: 800; }
.field output { color: var(--violet); font-size: 13px; font-weight: 850; }
.range { width: 100%; accent-color: var(--violet); }
.input, .select, .textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: white;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139,76,246,.1); }
.textarea { min-height: 150px; resize: vertical; }
.lab-metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.lab-metric { padding: 18px; border-radius: 17px; background: var(--wash); }
.lab-metric span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.lab-metric strong { display: block; margin-top: 6px; font-size: clamp(24px, 3vw, 38px); letter-spacing: -.04em; line-height: 1; }
.lab-note { margin-top: 18px; padding: 16px; border-left: 3px solid var(--violet); border-radius: 0 14px 14px 0; background: rgba(139,76,246,.07); color: var(--ink-2); font-size: 13px; }

.process-map { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.process-step { position: relative; min-height: 250px; padding: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(255,255,255,.05); }
.process-step::after { content: "→"; position: absolute; right: -13px; top: 50%; z-index: 2; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--ink); font-weight: 900; }
.process-step:last-child::after { display: none; }
.process-step__num { color: var(--cyan); font-size: 12px; font-weight: 850; letter-spacing: .1em; }
.process-step h3 { margin: 54px 0 10px; font-size: 22px; letter-spacing: -.03em; }
.process-step p { margin: 0; color: rgba(255,255,255,.62); font-size: 13px; }

.join-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 44px;
  align-items: center;
  overflow: hidden;
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f7f0ff 0%, #effcff 55%, #fff 100%);
  box-shadow: var(--shadow-md);
}
.join-card::before { content: ""; position: absolute; width: 380px; height: 380px; right: -150px; top: -190px; border-radius: 50%; border: 1px solid rgba(139,76,246,.22); box-shadow: 0 0 0 40px rgba(5,199,223,.05), 0 0 0 82px rgba(139,76,246,.04); }
.join-card__content { position: relative; z-index: 2; }
.join-card h2 { margin: 0; font-size: clamp(38px, 5vw, 66px); line-height: .98; letter-spacing: -.055em; }
.join-card p { max-width: 690px; color: var(--muted); }
.join-points { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin: 26px 0; }
.join-point { padding: 13px; border: 1px solid rgba(190,210,224,.8); border-radius: 14px; background: rgba(255,255,255,.72); }
.join-point strong { display: block; font-size: 12px; }
.join-point span { color: var(--muted); font-size: 11px; }
.qr-card { position: relative; z-index: 2; padding: 18px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow-md); transform: rotate(1.5deg); }
.qr-card img { width: 100%; height: auto; border-radius: 12px; }
.qr-card__meta { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 12px; }
.qr-card__meta span { color: var(--muted); font-size: 11px; }
.qr-card__meta strong { font-size: 12px; }
.disclosure { margin-top: 18px; color: var(--muted); font-size: 12px; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.info-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.info-card__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--wash); color: var(--violet); font-size: 19px; }
.info-card h3 { margin: 34px 0 10px; font-size: 22px; letter-spacing: -.03em; }
.info-card p { margin: 0; color: var(--muted); font-size: 14px; }

.faq { max-width: 920px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; border: 0; background: transparent; text-align: left; font-size: 18px; font-weight: 800; cursor: pointer; }
.faq-button span:last-child { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: transform .2s ease; }
.faq-button[aria-expanded="true"] span:last-child { transform: rotate(45deg); }
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-panel > div { overflow: hidden; }
.faq-panel p { margin: 0; padding: 0 56px 24px 0; color: var(--muted); }
.faq-item.is-open .faq-panel { grid-template-rows: 1fr; }

/* Gold page */
.gold-accent { --violet: #c99418; --cyan: #f2c74c; }
.gold-accent .page-hero { background: radial-gradient(circle at 75% 20%, rgba(242,199,76,.17), transparent 38%), linear-gradient(180deg,#fff,#fffaf0); }
.ecosystem { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 26px; }
.ecosystem-nav { display: grid; gap: 10px; align-content: start; }
.ecosystem-button { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: white; text-align: left; cursor: pointer; }
.ecosystem-button span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: var(--wash); font-weight: 850; }
.ecosystem-button strong { font-size: 14px; }
.ecosystem-button.is-active { border-color: rgba(201,148,24,.55); box-shadow: 0 12px 32px rgba(173,128,20,.12); }
.ecosystem-stage { position: relative; min-height: 450px; overflow: hidden; padding: 38px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-md); }
.ecosystem-stage::after { content: ""; position: absolute; width: 280px; height: 280px; right: -100px; bottom: -130px; border-radius: 50%; background: radial-gradient(circle, rgba(242,199,76,.22), transparent 68%); }
.ecosystem-stage__visual { position: relative; height: 210px; display: grid; place-items: center; }
.gold-rings { position: relative; width: 210px; height: 210px; border: 1px solid rgba(201,148,24,.35); border-radius: 50%; }
.gold-rings::before, .gold-rings::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(201,148,24,.28); }
.gold-rings::before { inset: 24px; }
.gold-rings::after { inset: 64px; background: linear-gradient(135deg,#fff4be,#d8a72a); box-shadow: 0 16px 42px rgba(173,128,20,.24); }
.gold-node { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #d4a022; box-shadow: 0 0 0 8px rgba(212,160,34,.12); }
.gold-node--1 { left: 10%; top: 42%; }.gold-node--2 { right: 12%; top: 20%; }.gold-node--3 { right: 15%; bottom: 14%; }
.ecosystem-stage h3 { margin: 20px 0 8px; font-size: 30px; letter-spacing: -.04em; }
.ecosystem-stage p { max-width: 700px; margin: 0; color: var(--muted); }
.ecosystem-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ecosystem-tags span { padding: 8px 10px; border-radius: 999px; background: var(--wash); color: var(--ink-2); font-size: 11px; font-weight: 750; }
.driver-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.driver-card { position: relative; overflow: hidden; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.driver-card h3 { margin: 22px 0 8px; font-size: 20px; }
.driver-card p { margin: 0; color: var(--muted); font-size: 13px; }
.driver-card__meter { height: 8px; margin-top: 24px; border-radius: 999px; background: var(--wash); overflow: hidden; }
.driver-card__meter span { display: block; height: 100%; width: var(--meter,60%); border-radius: inherit; background: linear-gradient(90deg,#d6a92e,#f0d16b); }

/* XRP page */
.xrp-accent { --violet: #4b64f4; --cyan: #00bfd7; }
.xrp-accent .page-hero { background: radial-gradient(circle at 75% 20%, rgba(0,191,215,.15), transparent 38%), linear-gradient(180deg,#fff,#f4fbff); }
.route-simulator { display: grid; grid-template-columns: 290px minmax(0,1fr); gap: 24px; }
.route-controls { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: white; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 14px; background: var(--wash); }
.segmented button { padding: 10px; border: 0; border-radius: 10px; background: transparent; font-size: 12px; font-weight: 800; cursor: pointer; }
.segmented button.is-active { background: white; box-shadow: var(--shadow-sm); }
.route-stage { position: relative; min-height: 450px; overflow: hidden; padding: 40px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg,#071726,#0e2b40); color: white; }
.route-stage::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.16) 1px, transparent 1.5px); background-size: 30px 30px; opacity: .3; }
.route-map { position: relative; z-index: 2; min-height: 280px; display: grid; grid-template-columns: repeat(3,1fr); align-items: center; gap: 54px; }
.route-node { position: relative; z-index: 2; min-height: 140px; display: grid; place-items: center; padding: 18px; border: 1px solid rgba(255,255,255,.15); border-radius: 20px; background: rgba(255,255,255,.07); text-align: center; }
.route-node::after { content: ""; position: absolute; left: calc(100% + 10px); top: 50%; width: 34px; height: 2px; background: linear-gradient(90deg,var(--cyan),rgba(255,255,255,.2)); }
.route-node:last-child::after { display: none; }
.route-node strong { display: block; font-size: 14px; }
.route-node span { display: block; margin-top: 4px; color: rgba(255,255,255,.6); font-size: 11px; }
.route-pulse { position: absolute; z-index: 4; top: 50%; left: 15%; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 8px rgba(0,191,215,.12); transform: translate(-50%,-50%); }
.route-stage.is-playing .route-pulse { animation: routePulse 2.8s ease-in-out infinite; }
@keyframes routePulse { 0%{left:15%} 50%{left:50%} 100%{left:85%} }
.route-caption { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.62); font-size: 12px; }
.checklist { display: grid; gap: 10px; }
.check-row { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.check-row input { accent-color: var(--violet); width: 18px; height: 18px; }
.check-row label { font-size: 13px; font-weight: 740; cursor: pointer; }
.check-progress { height: 10px; margin-top: 18px; overflow: hidden; border-radius: 999px; background: var(--wash); }
.check-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg,var(--violet),var(--cyan)); transition: width .25s ease; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 24px; align-items: start; }
.contact-aside { position: sticky; top: 118px; display: grid; gap: 14px; }
.contact-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.contact-card span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.contact-card strong { display: block; margin-top: 6px; font-size: 18px; }
.contact-card p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.contact-form { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.form-grid .field { margin-top: 0; }
.form-grid .field--full { grid-column: 1 / -1; }
.form-status { min-height: 24px; margin-top: 14px; color: var(--muted); font-size: 13px; }
.form-status.is-error { color: var(--danger); }
.form-status.is-success { color: var(--success); }

/* Legal */
.legal-hero { padding: 80px 0 52px; background: var(--wash); border-bottom: 1px solid var(--line); }
.legal-wrap { width: min(calc(100% - 40px), 860px); margin: 0 auto; padding: 70px 0 110px; }
.legal-wrap h2 { margin: 48px 0 12px; font-size: 26px; letter-spacing: -.03em; }
.legal-wrap h3 { margin: 30px 0 8px; font-size: 18px; }
.legal-wrap p, .legal-wrap li { color: var(--ink-2); }
.legal-wrap li + li { margin-top: 8px; }
.notice { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--wash); }

.site-footer { padding: 72px 0 28px; color: white; background: #06131f; }
.footer__grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr .85fr; gap: 36px; }
.footer-brand p { max-width: 390px; color: rgba(255,255,255,.58); font-size: 13px; }
.footer-brand .brand__word { color: white; }
.footer-col h3 { margin: 0 0 16px; color: rgba(255,255,255,.45); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.footer-col a { display: block; width: max-content; max-width: 100%; margin-top: 10px; color: rgba(255,255,255,.8); font-size: 13px; }
.footer-col a:hover { color: white; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.footer-socials .social-link { width: 38px; height: 38px; color: white; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.42); font-size: 11px; }
.footer-bottom__links { display: flex; flex-wrap: wrap; gap: 18px; }

.toast { position: fixed; z-index: 999; right: 22px; bottom: 22px; max-width: min(390px,calc(100% - 44px)); padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(15px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: none; }
.toast strong { display: block; font-size: 13px; }
.toast span { display: block; color: var(--muted); font-size: 12px; }

[data-reveal] { will-change: transform, opacity; }

@media (max-width: 1180px) {
  .header-socials { display: none; }
  .desktop-nav { gap: 19px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card--tall { grid-row: auto; }
  .bento-card--wide { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1.2fr repeat(3, .8fr); }
}

@media (max-width: 980px) {
  :root { --header-height: 72px; }
  .desktop-nav, .header-join { display: none; }
  .menu-button { display: block; }
  .header__inner { grid-template-columns: auto 1fr auto; }
  .hero { min-height: auto; padding: 72px 0 78px; }
  .hero__grid, .page-hero__grid, .grid-2, .interactive-lab, .contact-grid { grid-template-columns: 1fr; }
  .hero__content { max-width: 760px; }
  .hero__visual { max-width: 720px; width: 100%; margin: 20px auto 0; }
  .page-hero__grid { gap: 38px; }
  .page-hero__visual { max-width: 720px; width: 100%; margin-inline: auto; }
  .scene-shell { min-height: 420px; }
  .asset-navigator, .ecosystem, .route-simulator { grid-template-columns: 1fr; }
  .asset-tabs, .ecosystem-nav { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .asset-tab, .ecosystem-button { grid-template-columns: 40px 1fr; }
  .asset-tab__arrow { display: none; }
  .process-map { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .process-step::after { display: none; }
  .join-card { grid-template-columns: 1fr 250px; padding: 40px; }
  .contact-aside { position: static; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .footer__grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 84px 0; }
  .section--tight { padding: 68px 0; }
  .announcement__inner { justify-content: center; text-align: center; }
  .announcement a { display: none; }
  .brand img { width: 42px; }
  .brand__word { font-size: 21px; }
  .hero { padding-top: 58px; }
  .hero__proof { grid-template-columns: 1fr; gap: 12px; }
  .hero__proof div { padding-top: 14px; }
  .scene-shell { min-height: 360px; border-radius: 24px; }
  .scene-shell__bottom { flex-direction: column; align-items: stretch; right: auto; }
  .scene-stat { display: none; }
  .logo-strip__inner { grid-template-columns: 1fr; gap: 12px; }
  .logo-strip__items { grid-template-columns: repeat(2,1fr); }
  .section-head { align-items: start; flex-direction: column; margin-bottom: 34px; }
  .bento { grid-template-columns: 1fr; }
  .bento-card--wide { grid-column: auto; }
  .asset-tabs, .ecosystem-nav { grid-template-columns: 1fr; }
  .asset-panel { padding: 24px; min-height: 0; }
  .asset-panel__top { flex-direction: column; }
  .asset-panel__grid { grid-template-columns: 1fr; }
  .mini-chart { min-height: 200px; }
  .lab-controls, .lab-output { padding: 24px; }
  .lab-metric-grid { grid-template-columns: 1fr 1fr; }
  .process-map { grid-template-columns: 1fr; }
  .join-card { grid-template-columns: 1fr; padding: 28px; }
  .join-points { grid-template-columns: 1fr; }
  .qr-card { max-width: 280px; transform: none; }
  .grid-3, .grid-4, .card-grid, .driver-grid { grid-template-columns: 1fr; }
  .ecosystem-stage { min-height: 0; padding: 25px; }
  .route-stage { min-height: 400px; padding: 24px; }
  .route-map { grid-template-columns: 1fr; gap: 16px; }
  .route-node { min-height: 86px; }
  .route-node::after { display: none; }
  .route-pulse { display: none; }
  .route-caption { flex-direction: column; gap: 6px; }
  .contact-aside { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .field--full { grid-column: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: start; }
}

@media (max-width: 480px) {
  .display-title, .page-title { font-size: clamp(42px, 13vw, 58px); }
  .section-title { font-size: 38px; }
  .hero__actions .button { width: 100%; }
  .scene-shell { min-height: 320px; }
  .logo-strip__items { grid-template-columns: 1fr; }
  .lab-metric-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { transform: none !important; opacity: 1 !important; }
}

/* 3D asset portals */
.portal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.portal-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-md); }
.portal-card .scene-shell { min-height: 370px; aspect-ratio: 1.25 / .82; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.portal-card__copy { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 26px 28px 28px; }
.portal-card__copy h3 { margin: 0; font-size: 26px; line-height: 1; letter-spacing: -.04em; }
.portal-card__copy p { max-width: 430px; margin: 9px 0 0; color: var(--muted); font-size: 13px; }
.portal-card__copy .button { flex: 0 0 auto; }
@media (max-width: 860px) { .portal-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .portal-card .scene-shell { min-height: 300px; } .portal-card__copy { align-items: stretch; flex-direction: column; padding: 22px; } .portal-card__copy .button { width: 100%; } }

/* =========================================================
   NeoLeeW3 v6 — alignment, responsive layout and GSAP story
   ========================================================= */

:root {
  --container: 1280px;
}

.display-title,
.page-title,
.section-title {
  text-wrap: balance;
  overflow-wrap: normal;
}

.display-title {
  max-width: 760px;
  font-size: clamp(48px, 5.4vw, 78px);
  line-height: 1;
}

.page-title {
  max-width: 760px;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1.01;
}

.section-title {
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.02;
}

.hero {
  min-height: 0;
  padding: clamp(72px, 7vw, 110px) 0 clamp(78px, 8vw, 118px);
}

.hero__grid {
  grid-template-columns: minmax(0, .94fr) minmax(480px, 1.06fr);
  gap: clamp(36px, 4vw, 64px);
}

.hero__content,
.page-hero__grid > * {
  min-width: 0;
}

.hero__proof strong,
.hero__proof span {
  overflow-wrap: anywhere;
}

.page-hero {
  padding: clamp(74px, 7vw, 104px) 0 clamp(64px, 6vw, 88px);
}

.page-hero__grid {
  grid-template-columns: minmax(0, .95fr) minmax(460px, 1.05fr);
  gap: clamp(38px, 4.5vw, 70px);
}

.page-contact .page-title {
  max-width: 700px;
  font-size: clamp(46px, 4.7vw, 70px);
}

/* Purposeful bento geometry with natural content flow. */
.bento {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 22px;
}

.bento-card {
  grid-column: span 4;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.bento-card--wide {
  grid-column: span 8;
}

.bento-card h3 {
  max-width: 410px;
  margin: 42px 0 12px;
  font-size: clamp(24px, 2.2vw, 31px);
  line-height: 1.08;
}

.bento-card p {
  max-width: 610px;
  margin-bottom: 26px;
  line-height: 1.62;
}

.bento-card__link {
  position: static;
  inset: auto;
  width: 100%;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(199, 215, 228, .72);
}

.bento-card--gradient .bento-card__link {
  border-top-color: rgba(255,255,255,.13);
}

/* GSAP horizontal research story. JS pins only on desktop. */
.motion-story {
  position: relative;
  color: white;
  background:
    radial-gradient(circle at 12% 8%, rgba(139,76,246,.28), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(5,199,223,.18), transparent 33%),
    #071726;
  overflow: clip;
}

.motion-story__sticky {
  position: relative;
  padding: 88px 0 96px;
}

.motion-story__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 500px);
  gap: 28px 56px;
  align-items: end;
  margin-bottom: 38px;
}

.motion-story__intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -10px;
  color: var(--cyan);
}

.motion-story__intro .section-title {
  color: white;
}

.motion-story__intro > p {
  margin: 0;
  color: rgba(255,255,255,.65);
}

.motion-story__meter {
  grid-column: 1 / -1;
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255,255,255,.12);
}

.motion-story__meter span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}

.motion-story__viewport {
  width: 100%;
  overflow: hidden;
}

.motion-story__track {
  width: max-content;
  display: flex;
  gap: 24px;
  padding: 0 max(20px, calc((100vw - var(--container)) / 2)) 10px;
}

.motion-panel {
  position: relative;
  flex: 0 0 min(78vw, 900px);
  min-height: 500px;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) minmax(240px, .62fr);
  gap: 28px;
  align-items: center;
  overflow: hidden;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 34px;
  color: white;
  background: #10273a;
  box-shadow: 0 28px 80px rgba(0,0,0,.23);
}

.motion-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom right, black, transparent 76%);
}

.motion-panel--violet { background: linear-gradient(140deg, #2a1750, #5c2c98 58%, #17344c); }
.motion-panel--cyan { background: linear-gradient(140deg, #073a49, #0e6c7e 58%, #17344c); }
.motion-panel--ink { background: linear-gradient(145deg, #06131f, #102b41); }
.motion-panel--gold { background: linear-gradient(145deg, #3b2c08, #8f6c16 55%, #1b2d3b); }
.motion-panel--paper {
  color: var(--ink);
  border-color: var(--line);
  background: linear-gradient(145deg, #fff, #eef8fc);
}
.motion-panel--paper::before {
  background-image:
    linear-gradient(rgba(7,23,38,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7,23,38,.05) 1px, transparent 1px);
}

.motion-panel__number {
  position: relative;
  z-index: 2;
  align-self: start;
  padding-top: 3px;
  color: rgba(255,255,255,.5);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  writing-mode: vertical-rl;
}

.motion-panel--paper .motion-panel__number { color: var(--muted); }

.motion-panel__body {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.motion-panel__tag {
  display: inline-flex;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: rgba(255,255,255,.76);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.motion-panel--paper .motion-panel__tag {
  color: var(--violet);
  border-color: var(--line);
  background: white;
}

.motion-panel h3 {
  max-width: 590px;
  margin: 22px 0 14px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.01;
  letter-spacing: -.052em;
  text-wrap: balance;
}

.motion-panel p {
  max-width: 600px;
  margin: 0;
  color: rgba(255,255,255,.66);
  font-size: 16px;
}

.motion-panel--paper p { color: var(--muted); }

.motion-panel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.motion-panel__chips span {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.86);
  font-size: 11px;
  font-weight: 760;
}

.motion-panel--paper .motion-panel__chips span {
  color: var(--ink-2);
  background: var(--wash-2);
}

.motion-panel .button { margin-top: 26px; }

.motion-panel__visual {
  position: relative;
  z-index: 2;
  aspect-ratio: 1;
  min-width: 0;
  border-radius: 50%;
}

.motion-panel__visual::before,
.motion-panel__visual::after,
.motion-panel__visual i {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.motion-panel__visual::before {
  inset: 8%;
  border: 1px solid rgba(255,255,255,.3);
}
.motion-panel__visual::after {
  inset: 27%;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  box-shadow: 0 20px 80px rgba(5,199,223,.22);
}
.motion-panel--paper .motion-panel__visual::before { border-color: var(--line-strong); }

.motion-panel__visual i:nth-child(1) { inset: 18% 3%; border: 1px solid rgba(255,255,255,.2); transform: rotate(24deg); }
.motion-panel__visual i:nth-child(2) { inset: 3% 18%; border: 1px solid rgba(255,255,255,.2); transform: rotate(-24deg); }
.motion-panel__visual i:nth-child(3) { width: 12px; height: 12px; right: 13%; top: 19%; background: var(--cyan); box-shadow: 0 0 0 8px rgba(5,199,223,.12); }
.motion-panel--paper .motion-panel__visual i:nth-child(-n+2) { border-color: var(--line-strong); }

.motion-panel__visual--nodes::after { inset: 37%; }
.motion-panel__visual--nodes i { width: 22px; height: 22px; border: 0 !important; background: white; box-shadow: 0 0 0 8px rgba(255,255,255,.09); }
.motion-panel__visual--nodes i:nth-child(1) { left: 4%; top: 45%; }
.motion-panel__visual--nodes i:nth-child(2) { left: 43%; top: 5%; }
.motion-panel__visual--nodes i:nth-child(3) { right: 5%; top: 46%; }
.motion-panel__visual--nodes i:nth-child(4) { left: 44%; bottom: 5%; }

.motion-panel__visual--rings::after { inset: 38%; background: transparent; border: 18px solid rgba(139,76,246,.72); }
.motion-panel__visual--rings i:nth-child(1) { inset: 12%; }
.motion-panel__visual--rings i:nth-child(2) { inset: 27%; }

.motion-panel__visual--check::after { inset: 31%; border-radius: 24px; }
.motion-panel__visual--check i { left: 29%; width: 43%; height: 2px; border: 0 !important; border-radius: 4px; background: rgba(255,255,255,.8); transform: none !important; }
.motion-panel__visual--check i:nth-child(1) { top: 36%; }
.motion-panel__visual--check i:nth-child(2) { top: 50%; }
.motion-panel__visual--check i:nth-child(3) { top: 64%; }
.motion-panel--paper .motion-panel__visual--check i { background: white; }

.motion-panel__visual--coin::after { inset: 24%; background: radial-gradient(circle at 35% 30%, #fff1a6, #d6a92e 48%, #6b4e08); border: 8px double rgba(255,255,255,.35); }
.motion-panel__visual--bars { border-radius: 24px; }
.motion-panel__visual--bars::before,
.motion-panel__visual--bars::after { display: none; }
.motion-panel__visual--bars i { bottom: 12%; width: 16%; border-radius: 12px 12px 4px 4px; background: linear-gradient(180deg, var(--cyan), var(--violet)); border: 0 !important; transform: none !important; }
.motion-panel__visual--bars i:nth-child(1) { left: 8%; height: 30%; }
.motion-panel__visual--bars i:nth-child(2) { left: 31%; height: 52%; }
.motion-panel__visual--bars i:nth-child(3) { left: 54%; height: 70%; }
.motion-panel__visual--bars i:nth-child(4) { left: 77%; height: 90%; }

.motion-panel__visual--vault::after { inset: 24%; border-radius: 28px; background: linear-gradient(145deg, #20394d, #071726); border: 8px solid rgba(255,255,255,.12); }
.motion-panel__visual--vault i:nth-child(1) { inset: 36%; border: 7px solid var(--gold); }
.motion-panel__visual--vault i:nth-child(2) { width: 14px; height: 14px; inset: 48%; background: var(--gold); border: 0; }

.motion-panel__visual--devices { border-radius: 24px; }
.motion-panel__visual--devices::before { inset: 14% 10%; border-radius: 18px; border-width: 8px; }
.motion-panel__visual--devices::after { inset: 31% 22% 11% 55%; border-radius: 14px; border: 5px solid rgba(255,255,255,.65); background: transparent; }
.motion-panel__visual--devices i:nth-child(1) { inset: auto 20% 5%; height: 7%; border: 0; border-radius: 4px; background: rgba(255,255,255,.5); transform: none; }
.motion-panel__visual--devices i:nth-child(2) { display: none; }
.motion-panel__visual--devices i:nth-child(3) { right: 29%; top: 38%; }

.motion-story--compact .motion-panel {
  flex-basis: min(72vw, 820px);
  min-height: 450px;
}

/* Contact layout */
.contact-grid {
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: 30px;
}

.contact-aside {
  gap: 12px;
}

.contact-card {
  position: relative;
  min-width: 0;
  padding: 22px 52px 22px 22px;
  overflow: hidden;
}

.contact-card strong {
  font-size: clamp(15px, 1.35vw, 18px);
  overflow-wrap: anywhere;
}

.contact-card--action {
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.contact-card--action:hover {
  transform: translateY(-3px);
  border-color: rgba(139,76,246,.42);
  box-shadow: var(--shadow-sm);
}

.contact-card b {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--violet);
  background: var(--wash);
}

.contact-form__title {
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.input,
.select,
.textarea {
  width: 100%;
  min-width: 0;
}

.contact-motion + .section--wash {
  border-top: 1px solid var(--line);
}

/* Better content alignment at medium desktop widths. */
@media (max-width: 1220px) {
  .hero__grid,
  .page-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, .94fr);
    gap: 38px;
  }

  .display-title { font-size: clamp(46px, 5vw, 68px); }
  .page-title { font-size: clamp(44px, 4.8vw, 64px); }

  .bento-card { grid-column: span 6; }
  .bento-card--wide { grid-column: span 12; }
}

@media (max-width: 980px) {
  .hero__grid,
  .page-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__content,
  .page-hero__grid > :first-child {
    max-width: 780px;
  }

  .display-title,
  .page-title,
  .page-contact .page-title {
    max-width: 760px;
    font-size: clamp(46px, 8vw, 66px);
  }

  .motion-story__sticky {
    padding: 80px 0;
  }

  .motion-story__intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .motion-story__intro .eyebrow,
  .motion-story__meter {
    grid-column: auto;
  }

  .motion-story__viewport {
    overflow: visible;
  }

  .motion-story__track {
    width: auto;
    display: grid;
    gap: 18px;
    padding: 0 20px;
  }

  .motion-panel,
  .motion-story--compact .motion-panel {
    min-height: 0;
    grid-template-columns: 54px minmax(0, 1fr) 190px;
    padding: 34px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .section {
    padding: 76px 0;
  }

  .hero,
  .page-hero {
    padding-top: 56px;
  }

  .display-title,
  .page-title,
  .page-contact .page-title {
    max-width: none;
    font-size: clamp(40px, 12vw, 56px);
    line-height: 1.02;
  }

  .section-title {
    font-size: clamp(34px, 9.7vw, 46px);
  }

  .lead {
    font-size: 17px;
    line-height: 1.65;
  }

  .hero__actions {
    align-items: stretch;
  }

  .page-contact .hero__actions .button {
    width: 100%;
  }

  .bento {
    display: grid;
    grid-template-columns: 1fr;
  }

  .bento-card,
  .bento-card--wide {
    grid-column: auto;
    min-height: 280px;
    padding: 24px;
  }

  .bento-card h3 {
    margin-top: 34px;
    font-size: 27px;
  }

  .motion-story__sticky {
    padding: 72px 0;
  }

  .motion-story__track {
    padding-inline: 14px;
  }

  .motion-panel,
  .motion-story--compact .motion-panel {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 24px;
    border-radius: 26px;
  }

  .motion-panel__number {
    writing-mode: horizontal-tb;
    padding: 0;
  }

  .motion-panel h3 {
    margin-top: 18px;
    font-size: clamp(31px, 9vw, 42px);
  }

  .motion-panel__visual {
    width: min(260px, 72vw);
    justify-self: center;
    grid-row: 2;
  }

  .motion-panel__body {
    grid-row: 3;
  }

  .contact-aside {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .brand__word {
    font-size: 19px;
  }

  .brand img {
    width: 38px;
  }

  .menu-button {
    width: 42px;
    height: 42px;
  }

  .scene-shell,
  .page-hero .scene-shell {
    min-height: 300px;
  }

  .scene-shell__top {
    left: 12px;
    right: 12px;
    top: 12px;
  }

  .scene-label {
    padding: 7px 9px;
    font-size: 9px;
  }

  .scene-shell__top .scene-label:last-child {
    display: none;
  }

  .motion-panel__chips {
    gap: 6px;
  }

  .motion-panel__chips span {
    padding: 7px 8px;
  }

  .contact-card {
    padding: 20px 48px 20px 20px;
  }
}

.motion-word {
  display: inline-block;
  will-change: transform, opacity;
}

/* Graceful offline fallback: all story panels remain readable when GSAP is unavailable. */
html:not(.is-gsap-ready) .motion-story__viewport {
  overflow: visible;
}
html:not(.is-gsap-ready) .motion-story__track {
  width: min(calc(100% - 40px), var(--container));
  display: grid;
  margin-inline: auto;
  padding: 0;
}
html:not(.is-gsap-ready) .motion-panel,
html:not(.is-gsap-ready) .motion-story--compact .motion-panel {
  width: 100%;
  min-height: 430px;
}
html:not(.is-gsap-ready) .motion-story__meter span {
  transform: scaleX(1);
}
@media (max-width: 720px) {
  html:not(.is-gsap-ready) .motion-story__track {
    width: min(calc(100% - 28px), var(--container));
  }
  html:not(.is-gsap-ready) .motion-panel,
  html:not(.is-gsap-ready) .motion-story--compact .motion-panel {
    min-height: 0;
  }
}


/* NeoLeeW3 v7 — enter-view-first horizontal stories */
.motion-story__intro {
  margin-bottom: 46px;
}

.motion-story__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-bottom: 4px;
  background: linear-gradient(180deg, rgba(255,255,255,.025), transparent 34%);
}

.motion-story__stage-head {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
  color: rgba(255,255,255,.62);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.motion-story__instruction {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.motion-story__instruction i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 7px rgba(5,199,223,.1);
}

.motion-story__counter {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: white;
}

.motion-story__counter b {
  font-size: 13px;
  font-weight: 850;
}

.motion-story__counter em {
  color: rgba(255,255,255,.28);
  font-style: normal;
}

@media (min-width: 1101px) {
  .motion-story__sticky {
    padding: 88px 0 104px;
  }

  .motion-story__track {
    --story-card-width: min(1320px, calc(100vw - 96px));
    gap: 24px;
    padding: 0 max(48px, calc((100vw - 1320px) / 2)) 10px;
  }

  .motion-panel,
  .motion-story--compact .motion-panel {
    flex: 0 0 var(--story-card-width);
    width: var(--story-card-width);
    min-height: clamp(430px, calc(100svh - var(--header-height) - 120px), 560px);
    grid-template-columns: 74px minmax(0, 1fr) minmax(270px, .68fr);
    gap: clamp(24px, 3vw, 52px);
    padding: clamp(34px, 4vw, 58px);
  }

  .motion-story--compact .motion-panel {
    min-height: clamp(420px, calc(100svh - var(--header-height) - 130px), 530px);
  }

  .motion-panel h3 {
    max-width: 680px;
    font-size: clamp(38px, 3.45vw, 60px);
  }

  .motion-panel p {
    max-width: 650px;
  }

  .motion-panel__visual {
    width: min(100%, 330px);
    justify-self: end;
  }
}

@media (max-width: 1100px) {
  .motion-story__sticky {
    padding: 80px 0;
  }

  .motion-story__intro {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 28px;
  }

  .motion-story__intro .eyebrow,
  .motion-story__meter {
    grid-column: auto;
  }

  .motion-story__viewport {
    overflow: visible;
    padding-bottom: 0;
    background: none;
  }

  .motion-story__stage-head {
    min-height: 0;
    margin-bottom: 18px;
    padding-inline: 20px;
  }

  .motion-story__instruction {
    color: rgba(255,255,255,.68);
  }

  .motion-story__instruction {
    font-size: 0;
  }

  .motion-story__instruction::after {
    content: "Continue through the vertical sequence";
    font-size: 11px;
  }

  .motion-story__counter {
    display: none;
  }

  .motion-story__track {
    width: auto;
    display: grid;
    gap: 18px;
    padding: 0 20px;
    transform: none !important;
  }

  .motion-panel,
  .motion-story--compact .motion-panel {
    width: auto;
    min-height: 0;
    grid-template-columns: 54px minmax(0, 1fr) 190px;
    padding: 34px;
  }
}

@media (max-width: 720px) {
  .motion-story__sticky {
    padding: 70px 0;
  }

  .motion-story__intro {
    margin-bottom: 24px;
  }

  .motion-story__stage-head {
    padding-inline: 14px;
  }

  .motion-story__track {
    padding-inline: 14px;
  }

  .motion-panel,
  .motion-story--compact .motion-panel {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 24px;
    border-radius: 26px;
  }
}


/* Keep the non-GSAP fallback instruction accurate on desktop too. */
html:not(.is-gsap-ready) .motion-story__instruction { font-size: 0; }
html:not(.is-gsap-ready) .motion-story__instruction::after {
  content: "Continue through the vertical sequence";
  font-size: 11px;
}
html:not(.is-gsap-ready) .motion-story__counter { display: none; }
