/* ==========================================================================
   Figure AI Humanoid — styles (light bento theme)
   ========================================================================== */

:root {
  --bg: #f4f3ef;
  --bg-alt: #ecebe5;
  --card: #ffffff;
  --ink: #0b0d1a;
  --ink-2: #2b2f4a;
  --muted: #565b74;
  --line: #e2e0d8;
  --line-2: #d2cfc4;

  --blue: #3046ff;
  --violet: #6a4bff;
  --purple: #b44dff;
  --pink: #ff4d8d;
  --coral: #ff5a36;
  --amber: #ffb020;
  --mint: #12b981;
  --blue-text: #2537e0;
  --coral-text: #c2311a;
  --danger: #d4183d;

  --grad-text: linear-gradient(100deg, #3046ff 0%, #6a4bff 38%, #c23dff 68%, #f0386b 100%);
  --grad-btn: linear-gradient(135deg, #3046ff 0%, #6a4bff 100%);
  --grad-cool: linear-gradient(135deg, #00b8ff 0%, #3046ff 55%, #6a4bff 100%);
  --grad-warm: linear-gradient(135deg, #ff4d8d 0%, #ff5a36 50%, #ffb020 100%);

  --r-sm: 14px;
  --r: 24px;
  --r-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(11, 13, 26, 0.05);
  --shadow: 0 1px 2px rgba(11, 13, 26, 0.04), 0 18px 40px -18px rgba(11, 13, 26, 0.18);
  --shadow-lg: 0 2px 4px rgba(11, 13, 26, 0.04), 0 40px 80px -30px rgba(48, 70, 255, 0.35);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-head: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
::selection { background: rgba(106, 75, 255, 0.25); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; background: var(--ink); color: #fff; font-weight: 600; border-radius: 12px; transition: top 0.2s var(--ease); }
.skip-link:focus { top: 16px; }

.text-grad {
  background: var(--grad-text);
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-pan 7s ease-in-out infinite alternate;
}
@keyframes grad-pan { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* Background mesh */
.mesh { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.mesh__blob { position: absolute; width: 55vmax; height: 55vmax; border-radius: 50%; will-change: transform; }
.mesh__blob--1 { top: -30vmax; left: -20vmax; background: radial-gradient(circle, rgba(48, 70, 255, 0.16), transparent 62%); animation: m1 22s ease-in-out infinite alternate; }
.mesh__blob--2 { top: -20vmax; right: -25vmax; background: radial-gradient(circle, rgba(255, 90, 54, 0.14), transparent 62%); animation: m2 26s ease-in-out infinite alternate; }
.mesh__blob--3 { bottom: -35vmax; left: 20vmax; background: radial-gradient(circle, rgba(180, 77, 255, 0.12), transparent 62%); animation: m1 30s ease-in-out infinite alternate-reverse; }
@keyframes m1 { to { transform: translate3d(10vmax, 8vmax, 0) scale(1.1); } }
@keyframes m2 { to { transform: translate3d(-12vmax, 10vmax, 0) scale(0.9); } }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn--primary { color: #fff; background: var(--grad-btn); box-shadow: 0 12px 28px -12px rgba(48, 70, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(106, 75, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn--ink { color: #fff; background: var(--ink); }
.btn--ink:hover { transform: translateY(-2px); background: #1c2040; box-shadow: 0 14px 28px -14px rgba(11, 13, 26, 0.7); }
.btn--outline { color: var(--ink); background: transparent; border: 1.5px solid var(--ink); }
.btn--outline:hover { transform: translateY(-2px); background: var(--ink); color: #fff; }
.btn--sm { --h: 44px; padding: 0 20px; font-size: 0.95rem; }

/* ---------- Header (floating pill) ---------- */
.header { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; }
.header__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 66px;
  padding: 0 10px 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(11, 13, 26, 0.08);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 10px 30px -18px rgba(11, 13, 26, 0.35);
  transition: box-shadow 0.3s, background-color 0.3s;
}
.header.is-scrolled .header__bar { background: rgba(255, 255, 255, 0.9); box-shadow: 0 16px 40px -20px rgba(11, 13, 26, 0.45); }

.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.brand__mark { width: 36px; height: 36px; border-radius: 11px; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand__name span { color: var(--violet); }
.brand--light { color: #fff; }
.brand--light .brand__name span { color: #b7a8ff; }

.nav { display: flex; align-items: center; gap: 18px; }
.nav__list { display: flex; gap: 2px; }
.nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background-color 0.2s, color 0.2s;
}
.nav__list a:hover { background: rgba(11, 13, 26, 0.06); color: var(--ink); }
.nav__list a[aria-current="true"] { background: var(--ink); color: #fff; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
}
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

/* ---------- Hero bento ---------- */
.hero { padding: 108px 0 40px; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.tile--intro { grid-column: 1 / span 7; grid-row: 1 / span 2; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.tile--stage { grid-column: 8 / span 5; grid-row: 1 / span 3; min-height: 640px; border: 0; }
.tile--stat { grid-row: 3; padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 140px; }
.tile--count { grid-column: 1 / span 2; }
.tile--live { grid-column: 3 / span 2; background: #0b0d1a; color: #fff; border-color: #0b0d1a; }
.tile--price { grid-column: 5 / span 3; flex-direction: row; align-items: center; gap: 16px; background: linear-gradient(135deg, #fff2ec, #ffe6f0); border-color: #ffd9cc; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef0ff;
  color: var(--blue-text);
  font-size: 0.875rem;
  font-weight: 600;
}
.tag .icon { width: 14px; height: 14px; fill: currentColor; stroke: none; }

.hero__title { margin-top: 22px; font-size: clamp(3rem, 7vw, 6.4rem); font-weight: 800; line-height: 0.92; letter-spacing: -0.045em; }
.hero__title .text-grad { display: inline-block; padding-bottom: 0.08em; }
.hero__lead { margin-top: 24px; max-width: 32em; font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.5; color: var(--ink-2); }
.hero__lead strong { color: var(--ink); font-weight: 600; }
.hero__text { margin-top: 14px; max-width: 38em; color: var(--muted); }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.stat__num { font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { color: var(--muted); font-size: 0.95rem; line-height: 1.35; }
.stat__label strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.15rem; }
.tile--live .stat__label { color: #b9bdd6; }
.stat__live { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; white-space: nowrap; }
.stat__icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--grad-warm); color: #fff; box-shadow: 0 10px 22px -10px rgba(255, 90, 54, 0.8); }

.live-dot { position: relative; width: 10px; height: 10px; flex: none; border-radius: 50%; background: #2ee59d; animation: live 2s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(46, 229, 157, 0.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(46, 229, 157, 0); } }

/* Stage */
.stage {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 20% 15%, rgba(0, 184, 255, 0.55), transparent 70%),
    radial-gradient(55% 45% at 90% 30%, rgba(255, 77, 141, 0.6), transparent 70%),
    radial-gradient(70% 55% at 60% 100%, rgba(255, 176, 32, 0.55), transparent 70%),
    linear-gradient(160deg, #3046ff 0%, #6a4bff 45%, #b44dff 100%);
}
.stage__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 20%, transparent 80%);
}
.stage__orb {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 78%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.25);
  animation: breathe 8s ease-in-out infinite;
}
@keyframes breathe { 50% { scale: 1.05; } }
.stage__robot { position: absolute; bottom: 0; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 30px 30px rgba(20, 10, 60, 0.45)); will-change: transform; }
.stage__robot--back { left: 1%; bottom: 8%; width: 50%; height: 74%; animation: float 7s ease-in-out infinite; }
.stage__robot--front { right: 0; bottom: 2%; width: 58%; height: 86%; animation: float 6s ease-in-out infinite -2s; }
@keyframes float { 50% { translate: 0 -14px; } }

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  box-shadow: 0 14px 30px -14px rgba(11, 13, 26, 0.6);
  will-change: transform;
}
.float-chip--a { top: 7%; left: 7%; animation: float 8s ease-in-out infinite -1s; }
.float-chip--b { top: 18%; right: 7%; animation: float 9s ease-in-out infinite -4s; }
.float-chip__dot { width: 10px; height: 10px; border-radius: 50%; }
.float-chip__dot--blue { background: var(--grad-cool); }
.float-chip__dot--coral { background: var(--grad-warm); }
.stage__caption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(11, 13, 26, 0.45);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; padding: 28px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker__track { display: flex; gap: 40px; width: max-content; animation: ticker 50s linear infinite; }
.ticker__track span {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 4.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line-2);
}
.ticker__track span.is-fill { -webkit-text-stroke: 0; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(64px, 9vw, 120px) 0; }
.section--alt { background: var(--bg-alt); }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-text);
}
.kicker::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--grad-warm); }
.h2 { margin-top: 14px; font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }

.split-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.split-head__lead { font-size: 1.1rem; color: var(--muted); }
.center-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.center-head .kicker { justify-content: center; }
.center-head__lead { margin-top: 16px; font-size: 1.1rem; color: var(--muted); }
.note { margin-top: 24px; font-size: 0.9rem; color: var(--muted); text-align: center; }

/* ---------- Models ---------- */
.model {
  --tint-a: #dfe5ff;
  --tint-b: #eef1ff;
  --accent: var(--blue-text);
  --accent-grad: var(--grad-cool);
  display: grid;
  grid-template-columns: 5fr 7fr;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.model + .model { margin-top: 24px; }
.model:hover { box-shadow: var(--shadow-lg); }
.model--warm { --tint-a: #ffe1d6; --tint-b: #fff2ea; --accent: var(--coral-text); --accent-grad: var(--grad-warm); }
.model--warm:hover { box-shadow: 0 2px 4px rgba(11, 13, 26, 0.04), 0 40px 80px -30px rgba(255, 90, 54, 0.4); }
.model--reverse { grid-template-columns: 7fr 5fr; }
.model--reverse .model__media { order: 2; }

.model__media {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 560px;
  padding: 48px 24px 8px;
  overflow: hidden;
  background:
    radial-gradient(70% 55% at 50% 70%, var(--tint-a), transparent 75%),
    linear-gradient(180deg, var(--tint-b), var(--tint-a));
}
.model__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(11, 13, 26, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 13, 26, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
  mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.model__media img { position: relative; height: 100%; max-height: 520px; width: auto; transition: transform 0.7s var(--ease); }
.model:hover .model__media img { transform: translateY(-10px) scale(1.03); }
.model__index {
  position: absolute;
  top: 18px;
  left: 24px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 6rem;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(11, 13, 26, 0.15);
}
.model__note {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.model__body { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 52px); }
.model__top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.model__label { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #e8fbf3;
  color: #08724f;
  font-size: 0.85rem;
  font-weight: 600;
}
.status--new { background: var(--grad-warm); color: #fff; text-shadow: 0 1px 2px rgba(120, 30, 0, 0.35); }
.model__name {
  margin-top: 12px;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
}
.model--warm .model__name { background: linear-gradient(135deg, #e0306b, #d9381e 60%, #c96a00); -webkit-background-clip: text; background-clip: text; }
.model__desc { margin-top: 14px; color: var(--ink-2); font-size: 1.05rem; }

.sheet__title { margin-top: 28px; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.sheet { margin: 8px 0 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.sheet div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); }
.sheet dt { color: var(--muted); font-size: 0.95rem; }
.sheet dd { margin: 0; font-family: var(--font-head); font-weight: 600; text-align: right; }

.model__foot { margin-top: auto; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.price { display: flex; flex-direction: column; }
.price__label { font-size: 0.85rem; color: var(--muted); }
.price__value { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }

/* ---------- Story (technology) ---------- */
.story { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.story__visual { position: sticky; top: 104px; }
.story__panel {
  position: relative;
  height: min(640px, calc(100vh - 140px));
  min-height: 460px;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 40px 20px 0;
  background:
    radial-gradient(60% 45% at 80% 15%, rgba(255, 176, 32, 0.7), transparent 70%),
    radial-gradient(60% 50% at 10% 40%, rgba(255, 77, 141, 0.6), transparent 70%),
    linear-gradient(170deg, #ff5a36 0%, #ff4d8d 50%, #6a4bff 100%);
  box-shadow: var(--shadow);
}
.story__panel img { position: relative; height: 94%; width: auto; filter: drop-shadow(0 30px 30px rgba(60, 10, 30, 0.4)); animation: float 7s ease-in-out infinite; }
.story__progress { position: absolute; top: 20px; right: 20px; display: grid; gap: 6px; }
.story__progress li {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: background-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.story__progress li.is-active { background: #fff; color: var(--ink); transform: scale(1.1); }

.story__lead { margin-top: 16px; font-size: 1.1rem; color: var(--muted); }
.story__list { margin-top: 32px; }
.story__item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 30px 0;
  border-top: 1px solid var(--line-2);
  opacity: 0.4;
  transition: opacity 0.5s var(--ease);
}
.story__item:last-child { border-bottom: 1px solid var(--line-2); }
.story__item.is-active { opacity: 1; }
.story__num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px var(--ink-2); transition: color 0.4s; }
.story__item.is-active .story__num { color: var(--ink); -webkit-text-stroke-color: var(--ink); }
.story__item h3 { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 700; }
.story__item h3 .icon { width: 22px; height: 22px; color: var(--coral); }
.story__item p { margin-top: 8px; color: var(--ink-2); font-size: 1.05rem; max-width: 34em; }
html:not(.js) .story__item { opacity: 1; }

/* ---------- Compare table ---------- */
.table-card { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 16px 28px; text-align: left; vertical-align: top; }
.compare thead th { padding-top: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.compare thead small { display: block; margin-top: 8px; color: var(--muted); font-size: 0.85rem; }
.compare tbody tr:nth-child(even) { background: #faf9f6; }
.compare tbody tr { transition: background-color 0.2s; }
.compare tbody tr:hover { background: #f1f2ff; }
.compare tbody th { width: 24%; color: var(--muted); font-weight: 500; }
.compare tbody td { font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; }
.compare .na { color: #8a8ea6; font-family: var(--font-body); font-style: italic; font-weight: 400; font-size: 0.98rem; }
.model-pill { display: inline-flex; padding: 8px 16px; border-radius: 999px; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1rem; }
.model-pill--cool { background: var(--grad-btn); }
.model-pill--warm { background: linear-gradient(135deg, #e0306b, #d9381e); }
.vs { display: inline-grid; place-items: center; width: 1.5em; height: 1.5em; margin: 0 0.1em; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.55em; vertical-align: 0.35em; letter-spacing: 0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.timeline::before { content: ""; position: absolute; top: 32px; left: 16%; right: 16%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #3046ff, #b44dff, #ff5a36); }
.timeline__step { position: relative; text-align: center; padding: 0 12px; }
.timeline__dot {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--card);
  border: 3px solid transparent;
  background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, #3046ff, #b44dff, #ff5a36);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  box-shadow: 0 12px 24px -12px rgba(48, 70, 255, 0.6);
}
.timeline__step h3 { margin-top: 22px; font-size: 1.4rem; }
.timeline__step p { margin: 10px auto 0; max-width: 26em; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-layout__aside { position: sticky; top: 110px; }
.contact-card { margin-top: 28px; display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--r); background: var(--ink); color: #fff; }
.contact-card__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--grad-btn); }
.contact-card p { color: #b9bdd6; font-size: 0.92rem; }
.contact-card a { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; word-break: break-all; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 4px; }
.contact-card a:hover { text-decoration-color: #fff; }

.accordion { display: grid; gap: 12px; }
.acc { border-radius: var(--r); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-sm); transition: border-color 0.3s, box-shadow 0.3s; }
.acc[open] { border-color: #c9cfff; box-shadow: 0 18px 40px -24px rgba(48, 70, 255, 0.5); }
.acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 18px 22px 18px 26px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  cursor: pointer;
  list-style: none;
  border-radius: var(--r);
}
.acc summary::-webkit-details-marker { display: none; }
.acc__icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #eef0ff; color: var(--blue-text); transition: transform 0.35s var(--ease), background-color 0.3s, color 0.3s; }
.acc[open] .acc__icon { transform: rotate(180deg); background: var(--ink); color: #fff; }
.acc p { padding: 0 26px 22px; color: var(--ink-2); }
.acc[open] p { animation: drop 0.35s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- CTA / Subscribe ---------- */
.section--cta { padding-top: 24px; padding-bottom: clamp(64px, 8vw, 104px); }
.cta {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(32px, 6vw, 80px);
  border-radius: 40px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #2a3cf0 0%, #5b3df5 45%, #9b3df0 100%);
  box-shadow: 0 40px 80px -40px rgba(48, 70, 255, 0.8);
}
.cta__mesh {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(45% 60% at 100% 100%, rgba(255, 90, 54, 0.6), transparent 70%),
    radial-gradient(40% 50% at 0% 0%, rgba(0, 184, 255, 0.5), transparent 70%);
  animation: cta-shift 10s ease-in-out infinite alternate;
}
@keyframes cta-shift { to { transform: scale(1.15) translate3d(-3%, 2%, 0); } }
.cta__kicker { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); font-weight: 600; font-size: 0.9rem; }
.cta__kicker .icon { width: 16px; height: 16px; }
.cta__title { margin-top: 18px; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
.cta__text { margin-top: 16px; font-size: 1.15rem; color: rgba(255, 255, 255, 0.88); }

.form { position: relative; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.form__label { display: block; margin-bottom: 10px; font-weight: 600; }
.form__row { display: flex; gap: 10px; }
.form__input {
  flex: 1;
  min-width: 0;
  height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form__input::placeholder { color: #6b7088; }
.form__input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.35); }
.form__input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(255, 209, 220, 0.6); }
.form__btn { --h: 56px; padding: 0 30px; }
.form__btn .spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form.is-loading .form__btn { pointer-events: none; opacity: 0.85; }
.form.is-loading .form__btn .spinner { display: inline-block; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__error { min-height: 1.5em; margin-top: 10px; font-weight: 600; font-size: 0.95rem; color: #ffe1e8; }
.form__hint { font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); }
.form__hint a { text-decoration: underline; text-underline-offset: 3px; }
.form__success { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border-radius: var(--r); background: #fff; color: var(--ink); animation: drop 0.4s var(--ease); }
.form__success[hidden] { display: none; }
.form__success strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.form__success span { color: var(--muted); font-size: 0.95rem; }
.form__success-icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--mint); color: #fff; }
.form__success-icon .icon { width: 18px; height: 18px; stroke-width: 3; }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 36px; background: var(--ink); color: #c9ccdf; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1.2fr 1fr 1fr; gap: 40px; }
.footer__brand p { margin-top: 16px; max-width: 28em; color: #9da1bb; }
.footer__title { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.footer__list { margin-top: 16px; display: grid; gap: 4px; }
.footer__list li { min-height: 32px; display: flex; align-items: center; flex-wrap: wrap; gap: 0 6px; }
.footer__list a { color: #fff; transition: color 0.2s; }
.footer__list a:hover { color: #ffb59f; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: grid; gap: 12px; font-size: 0.88rem; color: #9da1bb; }
.footer__bottom a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.35); }
.footer__legal { max-width: 900px; line-height: 1.55; }

/* ---------- Legal pages ---------- */
.legal { padding: 130px 0 40px; }
.legal__card { max-width: 860px; margin-inline: auto; padding: clamp(28px, 5vw, 60px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; }
.legal__meta { margin-top: 12px; color: var(--muted); }
.legal h2 { margin-top: 40px; font-size: 1.45rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal p { margin-top: 14px; }
.legal ul { margin-top: 12px; padding-left: 22px; list-style: disc; display: grid; gap: 8px; }
.legal a:not(.btn) { color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; }
.legal__back { margin-top: 40px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(32px) scale(0.985); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__list a { padding: 0 10px; }
  .tile--stage { min-height: 600px; }
  .sheet { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 14px;
    border-radius: var(--r);
    border: 1px solid rgba(11, 13, 26, 0.08);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 24px 48px -20px rgba(11, 13, 26, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 2px; }
  .nav__list a { min-height: 52px; padding: 0 16px; font-size: 1.1rem; border-radius: 14px; }
  .nav__cta { width: 100%; --h: 52px; }

  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tile--intro { grid-column: 1 / -1; grid-row: auto; }
  .tile--stage { grid-column: 1 / -1; grid-row: auto; min-height: 520px; }
  .tile--count { grid-column: 1 / span 3; grid-row: auto; }
  .tile--live { grid-column: 4 / span 3; grid-row: auto; }
  .tile--price { grid-column: 1 / -1; grid-row: auto; }

  .split-head { grid-template-columns: 1fr; }

  .model, .model--reverse { grid-template-columns: 1fr; }
  .model--reverse .model__media { order: 0; }
  .model__media { min-height: 420px; }
  .model__media img { max-height: 400px; }
  .sheet { grid-template-columns: 1fr 1fr; }

  .story { grid-template-columns: 1fr; }
  .story__visual { position: relative; top: 0; }
  .story__panel { height: 460px; }
  .story__progress { display: none; }
  .story__item { opacity: 1; }
  .story__item .story__num { color: var(--ink); -webkit-text-stroke-color: var(--ink); }

  .timeline { grid-template-columns: 1fr; gap: 28px; max-width: 560px; margin-inline: auto; }
  .timeline::before { top: 32px; bottom: 32px; left: 32px; right: auto; width: 3px; height: auto; background: linear-gradient(180deg, #3046ff, #b44dff, #ff5a36); }
  .timeline__step { display: grid; grid-template-columns: 66px 1fr; column-gap: 20px; text-align: left; padding: 0; }
  .timeline__dot { grid-row: span 2; }
  .timeline__step h3 { margin-top: 6px; }
  .timeline__step p { margin: 6px 0 0; }

  .faq-layout { grid-template-columns: 1fr; }
  .faq-layout__aside { position: static; }

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

@media (max-width: 640px) {
  .header { top: 10px; }
  .header__bar { height: 60px; padding: 0 8px 0 12px; }
  .brand__name { font-size: 1.02rem; }
  .brand__mark { width: 32px; height: 32px; }
  .hero { padding-top: 92px; }
  .tile { border-radius: var(--r); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .tile--stage { min-height: 440px; }
  .float-chip { font-size: 0.85rem; padding: 8px 12px; }
  .stat__num { font-size: 2.4rem; }
  .stat__live { font-size: 1.25rem; }
  .tile--stat { padding: 20px; min-height: 120px; }
  .model__media { min-height: 380px; }
  .model__media img { max-height: 360px; }
  .model__index { font-size: 4.2rem; }
  .sheet { grid-template-columns: 1fr; }
  .model__foot { flex-direction: column; align-items: stretch; }
  .model__foot .btn { width: 100%; }
  .story__panel { height: 400px; min-height: 0; }
  .story__item { grid-template-columns: 52px 1fr; padding: 24px 0; }
  .story__num { font-size: 2rem; }
  .story__item h3 { font-size: 1.25rem; }

  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .compare tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding: 16px 18px; }
  .compare tbody th { grid-column: 1 / -1; width: auto; padding: 0 0 6px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
  .compare tbody td { padding: 0; font-size: 0.98rem; }
  .compare tbody td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-family: var(--font-body); font-style: normal; font-weight: 600; font-size: 0.75rem; color: var(--blue-text); }
  .compare tbody td + td::before { color: var(--coral-text); }

  .acc summary { padding: 16px 16px 16px 20px; font-size: 1.05rem; }
  .acc p { padding: 0 20px 20px; }
  .cta { border-radius: 28px; }
  .form__row { flex-direction: column; }
  .form__input { flex: none; width: 100%; }
  .form__btn { width: 100%; }
  .hide-sm { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (hover: none) {
  .model:hover .model__media img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
  .story__item { opacity: 1; }
}
