/* ==========================================================================
   Mise marketing site
   1. Tokens          6. Marquee          11. Roadmap
   2. Base            7. Problems         12. Close + footer
   3. Ambient sky     8. Advisors         13. Reveal
   4. Header, buttons 9. Experience tour  14. Responsive
   5. Hero           10. Evidence         15. Reduced motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  color-scheme: dark;

  --bg: #0C2329;
  --bg-deep: #071a1f;
  --card: #0f2c33;
  --card-2: #0b2328;
  --well: rgba(2, 13, 16, .34);

  --ink: #F3F7F6;
  --ink-2: #B4C9C6;
  --ink-3: #87A4A0;

  --amber: #F2A93B;
  --amber-2: #FFC46B;
  --amber-ink: #1a1205;
  --mint: #7FE3C4;
  --mint-2: #3CB893;
  --sky: #CFE7FF;

  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .13);
  --line-3: rgba(255, 255, 255, .2);

  --surface: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
  --title-grad: linear-gradient(180deg, #FFFFFF 38%, #D2E3E0 100%);
  --amber-grad: linear-gradient(180deg, #FFD592 0%, #F2A93B 62%, #E3962C 100%);
  --mint-grad: linear-gradient(180deg, #A6F2DA 0%, #7FE3C4 45%, #4FD1A8 100%);

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-full: 999px;
  --radius: var(--r-lg);

  --hl: inset 0 1px 0 rgba(255, 255, 255, .07);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 12px -4px rgba(0, 0, 0, .3);
  --shadow-md: 0 14px 34px -14px rgba(0, 0, 0, .6), 0 2px 6px -2px rgba(0, 0, 0, .3);
  --shadow-lg: 0 34px 70px -28px rgba(0, 0, 0, .7), 0 10px 24px -12px rgba(0, 0, 0, .4);
  --shadow-xl: 0 60px 140px -40px rgba(0, 0, 0, .85), 0 24px 48px -24px rgba(0, 0, 0, .55);

  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;

  --gutter: 16px;
  --section-y: clamp(88px, 11vw, 148px);

  --ease: cubic-bezier(.2, .75, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* 2. Base ------------------------------------------------------------------ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: -.028em; font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--mint); }
::selection { background: rgba(242, 169, 59, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
a:not(.btn):focus-visible { border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--bg); padding: 8px 14px; border-radius: var(--r-xs); z-index: 99; font-weight: 600; }
.skip:focus { left: 16px; }

section { padding: var(--section-y) var(--gutter); max-width: 1232px; margin: 0 auto; position: relative; }

/* Section label pill */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; padding: 7px 14px 7px 12px;
  border-radius: 15px; font-size: 12px; line-height: 1.2; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mint); background: linear-gradient(180deg, rgba(127, 227, 196, .1), rgba(127, 227, 196, .035));
  box-shadow: inset 0 0 0 1px rgba(127, 227, 196, .22), 0 10px 30px -14px rgba(127, 227, 196, .45);
}
.eyebrow.center { display: flex; width: fit-content; margin-inline: auto; }
.eyebrow.center::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }

.section-title {
  font-size: clamp(34px, 5vw, 64px); letter-spacing: -.038em; text-align: center; max-width: 900px; margin: 0 auto; padding-bottom: .06em;
  background: var(--title-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-sub { color: var(--ink-2); text-align: center; margin: 20px auto 60px; max-width: 640px; font-size: clamp(16px, 1.5vw, 18px); }

/* Section seams: a fading hairline and a soft light falling from it */
.advisors, .journey, .evidence, .soon { isolation: isolate; }
.advisors::before, .journey::before, .evidence::before, .soon::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 0; translate: -50% 0; width: min(1100px, 100%); height: 360px; pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .13) 30%, rgba(127, 227, 196, .28) 50%, rgba(255, 255, 255, .13) 70%, transparent) top / 100% 1px no-repeat,
    radial-gradient(42% 70% at 50% 0%, rgba(127, 227, 196, .085), transparent 72%);
}
.evidence::before {
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .13) 30%, rgba(242, 169, 59, .3) 50%, rgba(255, 255, 255, .13) 70%, transparent) top / 100% 1px no-repeat,
    radial-gradient(42% 70% at 50% 0%, rgba(242, 169, 59, .07), transparent 72%);
}

/* 3. Ambient sky ----------------------------------------------------------- */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(120% 80% at 50% -10%, #12404a 0%, var(--bg) 55%, var(--bg-deep) 100%); }
.sky::after {
  /* fine film grain */
  content: ""; position: absolute; inset: 0; opacity: .045; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
}
.cloud { position: absolute; border-radius: 50%; will-change: transform; }
.c1 { width: 820px; height: 820px; top: -300px; left: -260px; background: radial-gradient(closest-side, rgba(38, 128, 122, .55), transparent); animation: drift1 28s ease-in-out infinite; }
.c2 { width: 700px; height: 700px; top: 26%; right: -280px; background: radial-gradient(closest-side, rgba(150, 102, 34, .34), transparent); animation: drift2 34s ease-in-out infinite; }
.c3 { width: 680px; height: 680px; bottom: -280px; left: 16%; background: radial-gradient(closest-side, rgba(47, 143, 123, .3), transparent); animation: drift1 40s ease-in-out infinite reverse; }
.c4 { width: 460px; height: 460px; top: 56%; left: -180px; background: radial-gradient(closest-side, rgba(242, 169, 59, .13), transparent); animation: drift2 30s ease-in-out infinite reverse; }
@keyframes drift1 { 50% { transform: translate(120px, 80px) scale(1.12); } }
@keyframes drift2 { 50% { transform: translate(-100px, -60px) scale(.92); } }
.grid-lines {
  position: absolute; inset: 0; opacity: .2;
  background-image: linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  mask-image: radial-gradient(70% 55% at 50% 0%, #000 0%, transparent 100%); -webkit-mask-image: radial-gradient(70% 55% at 50% 0%, #000 0%, transparent 100%);
}
.progress-bar { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--mint), var(--amber)); z-index: 40; }

/* 4. Header, buttons ------------------------------------------------------- */
.top {
  position: sticky; top: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  height: 64px; padding: 0 clamp(16px, 4vw, 40px);
  background: linear-gradient(180deg, rgba(7, 26, 31, .82), rgba(7, 26, 31, .62));
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent 5%, rgba(127, 227, 196, .22) 35%, rgba(242, 169, 59, .2) 65%, transparent 95%); }
.brand { display: flex; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.02em; border-radius: var(--r-xs); }
.brand img { width: 30px; height: 30px; filter: drop-shadow(0 4px 10px rgba(242, 169, 59, .25)); }
.nav { display: flex; gap: 2px; padding: 4px; border-radius: var(--r-full); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 14px; border-radius: var(--r-full); transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .07); }
.nav a:focus-visible { border-radius: var(--r-full); }

.btn { font: inherit; cursor: pointer; border: 0; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .3s var(--ease), background .25s, box-shadow .3s, color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary {
  position: relative; background: linear-gradient(180deg, #FFCF80 0%, var(--amber) 55%, #EA9C2D 100%); color: var(--amber-ink);
  font-weight: 700; letter-spacing: -.01em; padding: 15px 28px; border-radius: var(--r-full);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(120, 70, 0, .25), 0 0 0 1px rgba(242, 169, 59, .5), 0 12px 32px -8px rgba(242, 169, 59, .5), 0 2px 4px rgba(0, 0, 0, .25);
}
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(120, 70, 0, .25), 0 0 0 1px rgba(242, 169, 59, .6), 0 18px 44px -8px rgba(242, 169, 59, .62), 0 2px 4px rgba(0, 0, 0, .25); }
.btn-primary span { transition: transform .3s var(--ease); }
.btn-primary:hover span { transform: translateX(3px); }
.btn-ghost { color: var(--ink); padding: 10px 18px; border-radius: var(--r-full); font-size: 15px; font-weight: 500; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .08); }
.btn-ghost:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .05)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .1); }
.hero-cta .btn-ghost { padding: 15px 26px; font-size: 16px; }
.btn-round { width: 50px; height: 50px; border-radius: 50%; color: var(--ink); font-size: 19px; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .08), var(--shadow-sm); }
.btn-round:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05)); }
.btn-round:disabled { opacity: .3; cursor: default; transform: none; }

/* 5. Hero ------------------------------------------------------------------ */
.hero {
  isolation: isolate; overflow-x: clip; min-height: calc(100vh - 64px); min-height: calc(100svh - 64px);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 96px;
}
.hero::before { content: ""; position: absolute; z-index: -1; pointer-events: none; top: 0; right: -8%; width: 72%; height: 100%; background: radial-gradient(closest-side, rgba(127, 227, 196, .09), transparent); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(127, 227, 196, .7); animation: live 2s infinite; flex: none; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(127, 227, 196, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 227, 196, 0); } }
.hero h1 { text-wrap: wrap; font-size: clamp(60px, 8.7vw, 126px); line-height: .94; letter-spacing: -.055em; font-weight: 700; }
.hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--amber); letter-spacing: -.015em; }
.split .w { display: inline-block; opacity: 0; transform: translateY(40%) rotate(3deg); animation: wordIn .9s var(--ease) forwards; }
.hero h1 .w { padding: .1em .04em .14em; margin: -.1em -.04em -.14em; background: var(--title-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .w:has(em) { background: none; }
.hero h1 .w em { padding-right: .08em; background: var(--amber-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.lede { max-width: 560px; color: var(--ink-2); font-size: clamp(16px, 1.42vw, 18.5px); line-height: 1.65; margin: 30px 0 38px; opacity: 0; animation: fadeUp 1s .5s var(--ease) forwards; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; opacity: 0; animation: fadeUp 1s .7s var(--ease) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Orbit of department tasks */
.orbit { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; }
.orbit::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 169, 59, .16), rgba(127, 227, 196, .05) 55%, transparent); }
.orbit-ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; }
.r1 { width: 100%; height: 100%; border: 1px dashed rgba(127, 227, 196, .2); animation: spin 90s linear infinite; }
.r2 { width: 70%; height: 70%; border: 1px solid rgba(242, 169, 59, .18); background: conic-gradient(rgba(242, 169, 59, .13), rgba(242, 169, 59, 0) 26%); animation: spin 60s linear infinite reverse; }
.r3 { width: 40%; height: 40%; border: 1px solid rgba(127, 227, 196, .28); background: radial-gradient(closest-side, rgba(127, 227, 196, .07), transparent); }
.r1::after, .r2::after { content: ""; position: absolute; top: -4px; left: 50%; margin-left: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(127, 227, 196, .15), 0 0 16px var(--mint); }
.r2::after { background: var(--amber); box-shadow: 0 0 0 3px rgba(242, 169, 59, .15), 0 0 16px var(--amber); }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-core {
  position: absolute; inset: 0; margin: auto; width: 132px; height: 132px; display: grid; place-items: center; border-radius: 38px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(255, 255, 255, .09), 0 30px 60px -20px rgba(0, 0, 0, .6), 0 0 90px rgba(242, 169, 59, .22);
  animation: float 6s ease-in-out infinite;
}
.orbit-core img { width: 78px; height: 78px; filter: drop-shadow(0 10px 18px rgba(242, 169, 59, .35)); }
@keyframes float { 50% { transform: translateY(-10px); } }
.task {
  position: absolute; display: flex; align-items: center; gap: 11px; padding: 9px 12px 9px 9px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(22, 58, 66, .94), rgba(12, 38, 45, .94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), inset 0 0 0 1px rgba(255, 255, 255, .07), 0 24px 48px -16px rgba(0, 0, 0, .65), 0 4px 10px -4px rgba(0, 0, 0, .35);
  font-size: 12px; line-height: 1.4; white-space: nowrap; opacity: 0; animation: taskIn .8s var(--ease) forwards, bob 7s ease-in-out infinite;
}
.task b { display: block; font-size: 13px; font-weight: 600; letter-spacing: -.005em; }
.task span { color: var(--ink-3); font-size: 11.5px; }
.task .ic { width: 30px; height: 30px; border-radius: 9px; flex: none; position: relative; background: rgba(255, 255, 255, .07); background: color-mix(in srgb, currentColor 15%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 30%, transparent); }
.task .ic::after { content: ""; position: absolute; inset: 10px; border-radius: 3px; background: currentColor; box-shadow: 0 0 10px currentColor; }
.ic.hk { color: var(--mint); } .ic.fo { color: var(--amber); } .ic.kt { color: #FF9A7A; } .ic.en { color: #9CC9FF; } .ic.sp { color: #D7B6FF; } .ic.se { color: #E6E6E6; }
.task em { font-style: normal; margin-left: 6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; }
.task .ok { background: var(--mint); color: var(--bg); font-weight: 700; box-shadow: 0 0 12px rgba(127, 227, 196, .45); }
.task .cam { color: var(--amber); font-size: 14px; animation: blink 1.6s infinite; }
.task .run { border: 2px solid rgba(255, 255, 255, .16); border-top-color: var(--amber); animation: spin 1s linear infinite; }
@keyframes blink { 50% { opacity: .3; } }
@keyframes taskIn { from { opacity: 0; transform: translateY(20px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes bob { 50% { translate: 0 -10px; } }
.t1 { top: 6%; left: 2%; animation-delay: .9s, 0s; }
.t2 { top: 18%; right: -2%; animation-delay: 1.1s, 1s; }
.t3 { top: 44%; left: -6%; animation-delay: 1.3s, 2s; }
.t4 { top: 54%; right: -4%; animation-delay: 1.5s, 3s; }
.t5 { bottom: 10%; left: 6%; animation-delay: 1.7s, 1.5s; }
.t6 { bottom: 2%; right: 8%; animation-delay: 1.9s, 2.5s; }

/* 6. Marquee --------------------------------------------------------------- */
.marquee {
  overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, 0));
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 34s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 42px); line-height: 1.2; color: var(--ink-2); white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee span::after { content: ""; width: 7px; height: 7px; border-radius: 1.5px; transform: rotate(45deg); background: var(--amber); box-shadow: 0 0 12px rgba(242, 169, 59, .6); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 7. Problems -------------------------------------------------------------- */
.problems { display: grid; gap: 0; padding-top: clamp(56px, 8vw, 104px); }
.problem {
  display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: center; padding: 80px 0;
  background: linear-gradient(90deg, var(--line-2), rgba(255, 255, 255, .03) 70%, transparent) top / 100% 1px no-repeat;
}
.problem:first-child { background: none; padding-top: 24px; }
.problem .num { display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-style: italic; color: var(--amber); font-size: 30px; line-height: 1; }
.problem .num::after { content: ""; width: 56px; height: 1px; background: linear-gradient(90deg, rgba(242, 169, 59, .7), transparent); }
.problem h2 {
  font-size: clamp(28px, 4.2vw, 52px); letter-spacing: -.034em; line-height: 1.06; margin: 18px 0 20px; max-width: 900px; padding-bottom: .06em;
  background: var(--title-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.problem p { color: var(--ink-2); font-size: clamp(17px, 1.7vw, 19.5px); line-height: 1.62; max-width: 620px; margin: 0; }

.problem-art {
  --glow: rgba(242, 169, 59, .16);
  position: relative; isolation: isolate; overflow: hidden; width: 240px; aspect-ratio: 1; border-radius: 32px; display: grid; place-items: center;
  background: radial-gradient(90% 70% at 50% 0%, var(--glow), transparent 70%), var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--hl), var(--shadow-lg);
}
.problem:nth-child(2) .problem-art { --glow: rgba(127, 227, 196, .14); }
.problem-art::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .11) 1px, transparent 1.4px); background-size: 16px 16px; background-position: 8px 8px;
  mask-image: radial-gradient(closest-side, #000 30%, transparent); -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent);
}
.problem-art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 40%); }
.problem-art svg { width: 80%; overflow: visible; fill: none; stroke: var(--ink-2); stroke-width: 2; }

/* 01: binder pages leave */
.art-binder .floor { fill: rgba(0, 0, 0, .35); stroke: none; }
.art-binder .page { fill: #12383f; fill: url(#gPage) #12383f; stroke: rgba(255, 255, 255, .22); stroke-width: 1.5; }
.art-binder .p3 { stroke: rgba(255, 255, 255, .34); }
.art-binder .lines line { stroke: var(--mint); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 80; stroke-dashoffset: 0; }
.in .art-binder .lines line { animation: erase 4s ease-in-out infinite; }
.art-binder .lines line:nth-child(2) { animation-delay: .3s !important; } .art-binder .lines line:nth-child(3) { animation-delay: .6s !important; } .art-binder .lines line:nth-child(4) { animation-delay: .9s !important; }
@keyframes erase { 0%, 20% { stroke-dashoffset: 0; opacity: 1; } 60%, 80% { stroke-dashoffset: 80; opacity: .2; } 100% { stroke-dashoffset: 0; opacity: 1; } }
.art-binder .exit { stroke: var(--amber); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(242, 169, 59, .6)); }
.in .art-binder .p3 { animation: slideOut 4s ease-in-out infinite; }
@keyframes slideOut { 0%, 20% { transform: none; opacity: 1; } 60%, 80% { transform: translate(30px, -6px) rotate(6deg); opacity: 0; } 100% { opacity: 1; transform: none; } }

/* 02: radar */
.art-radar circle { stroke: rgba(127, 227, 196, .24); stroke-width: 1.5; }
.art-radar .cross { stroke: rgba(127, 227, 196, .12); stroke-width: 1; }
.art-radar .ticks { stroke: rgba(127, 227, 196, .35); stroke-width: 1; stroke-dasharray: 1 7.38; }
.art-radar .sweep { fill: rgba(127, 227, 196, .18); fill: url(#gSweep) rgba(127, 227, 196, .18); stroke: none; transform-origin: 100px 100px; animation: spin 3.5s linear infinite; }
.art-radar .beam { fill: none; stroke: rgba(127, 227, 196, .75); stroke-width: 1.5; stroke-linecap: round; }
.art-radar .blip { fill: var(--mint); stroke: none; animation: blink 3.5s infinite; filter: drop-shadow(0 0 4px rgba(127, 227, 196, .8)); }
.art-radar .b2 { animation-delay: 1.2s; } .art-radar .risk { fill: var(--amber); animation-delay: 2.2s; filter: drop-shadow(0 0 5px rgba(242, 169, 59, .9)); }
.art-radar .ping { fill: none; stroke: var(--amber); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }

/* 03: clipboard with nothing on it */
.art-clip rect { stroke: rgba(255, 255, 255, .3); stroke-width: 1.5; fill: #12383f; fill: url(#gPage) #12383f; }
.art-clip .clip { fill: #9fb8b4; stroke: none; }
.art-clip .rows path { stroke: var(--ink-3); stroke-linecap: round; stroke-width: 4; stroke-dasharray: 3 9; }
.art-clip .qglow { fill: url(#gQ) transparent; stroke: none; }
.art-clip .q { fill: var(--amber); stroke: none; font: 700 30px var(--sans); text-anchor: middle; animation: blink 2s infinite; }

/* 8. Advisors -------------------------------------------------------------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 340px)); justify-content: center; gap: 24px; margin-top: 60px; }
.adv {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(180deg, var(--card) 64%, var(--card-2));
  box-shadow: inset 0 0 0 1px var(--line), var(--hl), var(--shadow-lg);
  transition: transform .6s var(--ease), box-shadow .4s, opacity 1s var(--ease);
}
.adv::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(127, 227, 196, 0); transition: box-shadow .4s; }
.adv:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line), var(--hl), 0 44px 80px -30px rgba(0, 0, 0, .8), 0 0 60px -20px rgba(127, 227, 196, .25); }
.adv:hover::after { box-shadow: inset 0 0 0 1px rgba(127, 227, 196, .35); }
.adv-photo { aspect-ratio: 4 / 4.5; overflow: hidden; position: relative; }
.adv-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; scale: 1.025; transform-origin: 50% 100%; transition: transform 1.2s var(--ease); filter: saturate(.94) contrast(1.02); }
.adv:hover .adv-photo img { transform: scale(1.04); }
.adv-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(14, 42, 49, .55) 72%, var(--card) 100%); }
.adv-body { padding: 0 24px 26px; margin-top: -54px; position: relative; }
.adv-body h3 { font-size: 25px; letter-spacing: -.025em; }
.adv-body p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }
.adv-body .adv-role { color: var(--amber); font-weight: 600; font-size: 14.5px; }
.adv-body .adv-bio { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; margin: 12px 0 0; }
.adv-chips { list-style: none; padding: 16px 0 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid var(--line); }
.adv-chips li { font-size: 12px; font-weight: 500; color: var(--ink-2); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); border-radius: var(--r-full); padding: 4px 10px; }

/* 9. Experience tour ------------------------------------------------------- */
.role-rail { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 40px auto 30px; max-width: 520px; }
.role-rail span { --c: var(--mint); display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-3); padding: 6px 14px 6px 12px; border-radius: var(--r-full); box-shadow: inset 0 0 0 1px var(--line-2); background: rgba(255, 255, 255, .02); transition: color .4s, background .4s, box-shadow .4s; }
.role-rail span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .55; transition: opacity .4s, box-shadow .4s; }
.role-rail span[data-role="Author"] { --c: var(--amber); }
.role-rail span[data-role="Manager"] { --c: var(--sky); }
.role-rail span.on { color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 50%, transparent), 0 0 28px -6px color-mix(in srgb, var(--c) 55%, transparent); }
.role-rail span.on::before { opacity: 1; box-shadow: 0 0 8px currentColor; }
.role-rail span.done { color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-3); }
.role-rail i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), var(--line)); }
.role-rail span.done + i { background: linear-gradient(90deg, rgba(127, 227, 196, .5), rgba(242, 169, 59, .4)); }

.journey-stage {
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 36px 40px; align-items: center; padding: 40px;
  border-radius: var(--r-2xl); position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(165deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .015) 60%);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .08), var(--shadow-xl);
}
.journey-stage::before { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; left: -12%; top: -38%; background: radial-gradient(closest-side, rgba(127, 227, 196, .13), transparent); pointer-events: none; }
.journey-stage::after { content: ""; position: absolute; z-index: -1; width: 50%; aspect-ratio: 1; right: -14%; bottom: -30%; background: radial-gradient(closest-side, rgba(242, 169, 59, .08), transparent); pointer-events: none; }
.journey-stage:focus-visible { outline-offset: 4px; }
.stage-visual { position: relative; min-width: 0; isolation: isolate; }
.stage-visual::before { content: ""; position: absolute; z-index: -1; left: 8%; right: 8%; bottom: -10%; height: 40%; background: radial-gradient(closest-side, rgba(127, 227, 196, .16), transparent); pointer-events: none; }
.frame-wrap { position: relative; display: grid; place-items: center; min-height: 420px; perspective: 1400px; }

/* Slide transition: opacity + transform only. No dimming, no blur.
   The outgoing frame stays opaque while the new one fades in on top of it,
   so the stage never shows through and the picture never dips toward dark. */
.frame { width: 100%; transition: opacity .55s var(--ease-out), transform .8s var(--ease); filter: none !important; }
.frame.enter-right { opacity: 0; transform: translateX(28px) scale(.985); }
.frame.enter-left { opacity: 0; transform: translateX(-28px) scale(.985); }
.frame.leave { position: absolute; inset: 0; margin: auto; opacity: 0; transform: scale(1.01); pointer-events: none; transition: opacity .38s .3s var(--ease), transform .8s var(--ease); }

/* Browser chrome */
.browser {
  position: relative; border-radius: 14px; overflow: hidden; background: #0d2328;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .11), 0 0 0 7px rgba(255, 255, 255, .025), 0 0 0 8px rgba(255, 255, 255, .05), 0 50px 90px -30px rgba(0, 0, 0, .85), 0 26px 44px -26px rgba(0, 0, 0, .6);
}
.browser-bar { position: relative; display: flex; gap: 7px; align-items: center; height: 36px; padding: 0 14px; background: linear-gradient(180deg, #1c3b42, #142f36); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), inset 0 -1px 0 rgba(0, 0, 0, .4); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .3), inset 0 1px 1px rgba(255, 255, 255, .25); }
.browser-bar i:nth-child(1) { background: #ff5f57; } .browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar b { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: min(44%, 360px); height: 22px; border-radius: 7px; background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.browser-bar b::before { content: ""; position: absolute; left: 10px; top: 11px; width: 8px; height: 6px; border-radius: 1.5px; background: rgba(255, 255, 255, .32); }
.browser-bar b::after { content: ""; position: absolute; left: 11px; top: 6px; width: 6px; height: 6px; box-sizing: border-box; border: 1.5px solid rgba(255, 255, 255, .32); border-bottom: 0; border-radius: 3px 3px 0 0; }

/* Phone chrome */
.phone {
  position: relative; width: min(300px, 72vw); margin: 0 auto; padding: 10px; border-radius: 50px;
  background: linear-gradient(150deg, #3a5a62 0%, #13282e 16%, #0a1a1f 50%, #13282e 84%, #33525a 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), inset 0 0 0 2.5px #061115, 0 0 0 1px rgba(0, 0, 0, .55), 0 54px 90px -26px rgba(0, 0, 0, .85), 0 24px 40px -24px rgba(0, 0, 0, .6);
}
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #36545c, #10262c); }
.phone::before { left: -3px; top: 112px; height: 38px; box-shadow: 0 50px 0 0 #1c363d; border-radius: 2px 0 0 2px; }
.phone::after { right: -3px; top: 148px; height: 64px; border-radius: 0 2px 2px 0; }
.phone .screen { border-radius: 40px; overflow: hidden; position: relative; aspect-ratio: auto; background: var(--bg); box-shadow: 0 0 0 1px rgba(0, 0, 0, .8); }
.phone .notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 32%; height: 24px; border-radius: 14px; background: #02080a; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); z-index: 2; }
.phone .shot { padding-top: 26px; background: var(--bg); }
.phone .shot, .phone .cam, .phone .cam img { height: auto; }

/* Screenshot + camera */
.shot { position: relative; overflow: hidden; }
.shot img { width: 100%; height: auto; display: block; }
.cam { transition: transform 1.8s cubic-bezier(.65, 0, .25, 1); will-change: transform; }
.frame.zoomed .cam { transform: scale(1.38); }
.phone.zoomed .cam { transform: scale(1.15) !important; }

.placeholder { display: grid; place-items: center; text-align: center; padding: 32px 20px; color: var(--ink-2); background: linear-gradient(160deg, #123a42, #0c2329); height: 100%; min-height: 240px; position: relative; overflow: hidden; }
.placeholder::before { content: ""; position: absolute; inset: -50%; background: conic-gradient(from 0deg, transparent, rgba(127, 227, 196, .12), transparent 30%); animation: spin 6s linear infinite; }
.placeholder > div { position: relative; }
.placeholder strong { display: block; color: var(--amber); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.browser .placeholder { aspect-ratio: 1470 / 779; min-height: 0; }

/* Hotspot, focus ring, callout */
.hotspot { position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 0; cursor: pointer; background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 255, 255, .92), 0 10px 28px rgba(242, 169, 59, .6); z-index: 3; animation: hsIn .6s .8s var(--ease) both; }
.hotspot::before, .hotspot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--amber); animation: pulse 1.8s ease-out infinite; }
.hotspot::after { animation-delay: .9s; }
.hotspot span { position: absolute; inset: 16px; border-radius: 50%; background: #fff; }
.hotspot:focus-visible { outline: 3px solid var(--mint); outline-offset: 5px; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
@keyframes hsIn { from { transform: scale(0); } to { transform: scale(1); } }
.focus-ring { position: absolute; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; border: 1.5px solid rgba(242, 169, 59, 0); pointer-events: none; z-index: 2; transition: border-color .6s .2s, transform 1.6s var(--ease); transform: scale(2.2); }
.zoomed .focus-ring { border-color: rgba(242, 169, 59, .75); transform: scale(1); box-shadow: 0 0 0 6px rgba(242, 169, 59, .12), 0 0 40px rgba(242, 169, 59, .35); }
.callout {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--r-sm); white-space: nowrap;
  font-size: 13px; font-weight: 600; letter-spacing: -.005em; color: var(--bg); background: #fff;
  box-shadow: 0 0 0 1px rgba(12, 35, 41, .06), 0 2px 4px rgba(0, 0, 0, .12), 0 18px 40px -8px rgba(0, 0, 0, .45);
  opacity: 0; pointer-events: none; transition: opacity .5s 1.9s var(--ease), translate .6s 1.9s var(--ease);
}
.callout i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(242, 169, 59, .2); }
.callout b { color: var(--amber); }
.callout.to-left { translate: calc(-100% - 46px) 0; } .callout.to-right { translate: 46px 0; }
.callout.up { margin-top: -64px; } .callout.down { margin-top: 28px; }
.zoomed .callout { opacity: 1; }
.callout::after { content: ""; position: absolute; top: 50%; width: 34px; height: 1.5px; background: rgba(255, 255, 255, .85); }
.callout.to-left::after { right: -34px; } .callout.to-right::after { left: -34px; }
.callout.up::after, .callout.down::after { display: none; }
.phone .callout { translate: -50% 0 !important; margin-top: 34px !important; }
.phone .callout::after { display: none; }
.journey-stage.is-loading .frame-wrap::after { content: ""; position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .15); border-top-color: var(--mint); animation: spin .8s linear infinite; }

/* Illustration scenes (supported by app.js) */
.scene { aspect-ratio: 1470 / 860; border-radius: 18px; background: linear-gradient(160deg, #123a42, #0a2228); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); position: relative; overflow: hidden; display: grid; place-items: center; }
.scene-tag { position: absolute; top: 14px; left: 16px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.intake { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 4%; width: 88%; }
.sources { display: grid; gap: 12px; }
.src-chip { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .07); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); opacity: 0; animation: chipIn .7s var(--ease) forwards, toMise 4.5s 1.6s var(--ease) infinite; }
.src-chip:nth-child(2) { animation-delay: .25s, 2s; } .src-chip:nth-child(3) { animation-delay: .5s, 2.4s; }
.src-chip i { width: 10px; height: 10px; border-radius: 3px; background: var(--amber); flex: none; }
@keyframes chipIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
@keyframes toMise { 0%, 30% { transform: none; opacity: 1; } 55% { transform: translateX(40px) scale(.9); opacity: 0; } 56%, 75% { transform: translateX(-20px); opacity: 0; } 100% { transform: none; opacity: 1; } }
.flow-arrow { width: 70px; height: 2px; background: linear-gradient(90deg, transparent, var(--mint)); position: relative; }
.flow-arrow::after { content: ""; position: absolute; right: 0; top: -4px; border-left: 8px solid var(--mint); border-block: 5px solid transparent; }
.queue { border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(127, 227, 196, .3); padding: 14px; display: grid; gap: 8px; box-shadow: 0 0 40px rgba(127, 227, 196, .12); }
.queue-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--mint); margin-bottom: 4px; }
.queue-head img { width: 18px; }
.q-row { height: 28px; border-radius: 8px; background: rgba(255, 255, 255, .06); display: flex; align-items: center; gap: 8px; padding: 0 10px; font-size: 12px; color: var(--ink-2); opacity: 0; animation: chipIn .6s var(--ease) forwards; }
.q-row b { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.record { width: 82%; display: grid; gap: 12px; position: relative; padding-left: 26px; }
.record::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--mint), var(--amber)); border-radius: 2px; transform-origin: top; animation: grow 1.2s var(--ease) both; }
@keyframes grow { from { transform: scaleY(0); } }
.rec { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .07); border: 1px solid var(--line); font-size: 13px; opacity: 0; animation: chipIn .6s var(--ease) forwards; }
.rec::before { content: ""; position: absolute; left: -24px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--mint); }
.rec span { color: var(--ink-3); font-size: 12px; }
.rec em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--bg); background: var(--mint); padding: 3px 8px; border-radius: var(--r-full); white-space: nowrap; }
.rec em.ph { background: var(--amber); }
.stamp { position: absolute; right: 6%; bottom: 10%; border: 2px solid var(--amber); color: var(--amber); padding: 8px 14px; border-radius: 10px; font-weight: 800; letter-spacing: .12em; font-size: 13px; transform: rotate(-8deg) scale(1.6); opacity: 0; animation: stampIn .5s 2.2s cubic-bezier(.3, 1.6, .5, 1) forwards; }
@keyframes stampIn { to { transform: rotate(-8deg) scale(1); opacity: 1; } }

/* Side panel */
.stage-side { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.ring-wrap { position: relative; width: 100px; height: 100px; margin-bottom: 20px; }
.ring-wrap::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .05), transparent); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.ring { position: relative; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring-bg { stroke: rgba(255, 255, 255, .07); }
.ring-fg { stroke: var(--amber); stroke: url(#gRing) #F2A93B; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset .9s var(--ease); filter: drop-shadow(0 0 6px rgba(242, 169, 59, .45)); }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; }
.ring-label b { font-size: 32px; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ring-label span { font-size: 12px; color: var(--ink-3); margin-top: 5px; font-variant-numeric: tabular-nums; }
.role {
  --c: var(--mint); display: inline-flex; align-items: center; gap: 7px; color: var(--c); font-weight: 700; padding: 5px 12px 5px 10px; border-radius: var(--r-full);
  font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(127, 227, 196, .12); background: color-mix(in srgb, var(--c) 13%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 42%, transparent);
}
.role::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.role:empty { visibility: hidden; }
.role[data-role="Author"] { --c: var(--amber); }
.role[data-role="Manager"] { --c: var(--sky); }
.side-title { font-size: clamp(24px, 2.5vw, 33px); letter-spacing: -.03em; line-height: 1.1; margin: 16px 0 10px; }
.side-cap { color: var(--ink-2); margin: 0 0 22px; font-size: 16px; line-height: 1.55; }
.tiles { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; width: 100%; }
.tiles li {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px 11px 11px; border-radius: 14px; font-size: 14.5px; font-weight: 500;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025)); box-shadow: inset 0 0 0 1px var(--line), var(--hl);
  opacity: 0; transform: translateX(24px); animation: tileIn .6s var(--ease) forwards;
}
.tiles li i { width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center; background: rgba(127, 227, 196, .13); box-shadow: inset 0 0 0 1px rgba(127, 227, 196, .28); color: var(--mint); font-style: normal; font-size: 12px; font-weight: 700; }
.tiles li svg { width: 14px; height: 14px; fill: none; stroke: var(--mint); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; animation: check .5s forwards; animation-delay: inherit; }
.tiles li:nth-child(1) svg { animation-delay: .6s; } .tiles li:nth-child(2) svg { animation-delay: .75s; } .tiles li:nth-child(3) svg { animation-delay: .9s; }
@keyframes tileIn { to { opacity: 1; transform: none; } }
@keyframes check { to { stroke-dashoffset: 0; } }
.swap { animation: swapIn .6s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Controls + timeline */
.journey-controls { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 12px; }
.play span { display: block; }
.i-pause { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.i-play { width: 0; height: 0; margin-left: 4px; border-left: 13px solid currentColor; border-block: 8px solid transparent; }
.btn-round.play { width: 56px; height: 56px; color: var(--bg); background: linear-gradient(180deg, #fff, #dfe9e7); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(255, 255, 255, .5), 0 12px 30px -10px rgba(255, 255, 255, .35); }
.btn-round.play:hover { background: linear-gradient(180deg, #fff, #eef4f3); }
.timeline { grid-column: 1 / -1; list-style: none; margin: 0; padding: 18px 0 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; border-top: 1px solid var(--line); }
.timeline button { all: unset; cursor: pointer; display: block; width: 100%; padding: 6px 0; }
.timeline button:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; border-radius: 6px; }
.seg { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.seg i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint), var(--amber)); transform: scaleX(0); transform-origin: left; }
.timeline .past .seg i { transform: scaleX(1) !important; transition: transform .4s; }
.timeline button:hover .seg { background: rgba(255, 255, 255, .18); }
.lbl { display: block; margin-top: 10px; font-size: 12px; color: var(--ink-3); transition: color .3s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lbl em { font-style: normal; font-variant-numeric: tabular-nums; margin-right: 6px; opacity: .6; }
.timeline .now .lbl { color: var(--ink); font-weight: 600; }
.timeline .now .lbl em { color: var(--amber); opacity: 1; }
.timeline .past .lbl { color: var(--ink-2); }
.timeline [data-pending] .seg { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .18) 0 4px, transparent 4px 8px); }

/* 10. Evidence ------------------------------------------------------------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case {
  position: relative; isolation: isolate; padding: 30px 28px 26px; border-radius: var(--r-xl); display: flex; flex-direction: column;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--hl), var(--shadow-md);
  transition: transform .6s var(--ease), box-shadow .4s, opacity 1s var(--ease);
}
.case::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(80% 50% at 50% 0%, rgba(242, 169, 59, .09), transparent 70%); }
.case::after { content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 1px; background: linear-gradient(90deg, transparent, rgba(242, 169, 59, .6), transparent); opacity: 0; transition: opacity .5s; }
.case:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(242, 169, 59, .28), var(--hl), var(--shadow-lg); }
.case:hover::before, .case:hover::after { opacity: 1; }
.case-tag { font-size: 11px; line-height: 1.4; letter-spacing: .13em; text-transform: uppercase; color: var(--mint); font-weight: 600; }
.case h3 { font-size: 27px; letter-spacing: -.03em; margin: 10px 0 12px; }
.case-line { color: var(--ink-2); font-size: 15px; line-height: 1.6; margin: 0 0 20px; }
.take { margin: 0 0 24px; padding-left: 14px; border-left: 2px solid rgba(242, 169, 59, .55); font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.28; color: var(--amber); }

.viz { margin-top: auto; padding: 18px; border-radius: var(--r-md); background: var(--well); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 2px 14px rgba(0, 0, 0, .22); }
/* Rows share one grid so every bar track has the same length */
.viz.bars { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 14px; }
.bar-row { display: contents; font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.viz.bars .viz-cap { grid-column: 1 / -1; margin-top: 2px; }
.bar-row b { text-align: right; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bar { height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, rgba(180, 201, 198, .35), rgba(180, 201, 198, .7)); transition: width 1.6s var(--ease); }
.bar-row.hi .bar i { background: linear-gradient(90deg, #2fa982, var(--mint)); box-shadow: 0 0 12px rgba(127, 227, 196, .5); }
.bar-row.hi b { color: var(--mint); }
.in .bar i { width: var(--w); }
.viz-cap { margin: 4px 0 0; padding-top: 10px; border-top: 1px dashed rgba(255, 255, 255, .08); font-size: 12px; line-height: 1.45; color: var(--ink-3); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; text-align: center; padding-inline: 6px; }
.stat { padding: 2px 6px; }
.stat + .stat { box-shadow: -1px 0 0 rgba(255, 255, 255, .07); }
.stat b { display: block; font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -.035em; font-variant-numeric: tabular-nums; background: var(--mint-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { display: block; margin-top: 6px; font-size: 12px; line-height: 1.35; color: var(--ink-3); }
.drop { display: flex; align-items: flex-end; gap: 16px; height: 156px; position: relative; padding-top: 32px; }
.drop-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; font-size: 12px; line-height: 1.3; color: var(--ink-3); }
.drop-col i { width: 58%; height: 0; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, rgba(180, 201, 198, .62), rgba(180, 201, 198, .26)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); transition: height 1.4s var(--ease); }
.in .drop-col i { height: calc(var(--h) - 40px); }
.drop-col.hi i { background: linear-gradient(180deg, #A6F2DA, var(--mint) 30%, var(--mint-2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 24px -4px rgba(127, 227, 196, .5); }
.drop-col b { color: var(--ink); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.drop-badge { position: absolute; top: 0; right: 0; background: var(--amber-grad); color: var(--amber-ink); font-weight: 800; padding: 4px 11px; border-radius: var(--r-full); font-size: 13.5px; font-variant-numeric: tabular-nums; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 6px 18px -4px rgba(242, 169, 59, .55); }
.src { margin-top: 18px; font-size: 12px; color: var(--ink-3); text-decoration: underline; text-decoration-color: rgba(135, 164, 160, .45); text-underline-offset: 3px; align-self: flex-start; transition: color .2s, text-decoration-color .2s; }
.src:hover { color: var(--mint); text-decoration-color: currentColor; }
/* Cards in a row share row lines, so titles, charts, impact boxes and sources all line up */
@supports (grid-template-rows: subgrid) {
  .case { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; }
  .case > .viz { margin-top: 0; }
  .case > .viz.stats { align-content: center; }
  .case > .viz.drop { height: auto; min-height: 156px; }
  .case > .src { justify-self: start; align-self: end; }
}

/* Jaipur comparison */
.proof {
  position: relative; margin-top: 24px; padding: 44px; border-radius: var(--r-2xl); isolation: isolate; overflow: hidden;
  background: linear-gradient(170deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  box-shadow: inset 0 0 0 1px var(--line), var(--hl), var(--shadow-lg);
}
.proof::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -40%; width: 70%; aspect-ratio: 2; translate: -50% 0; background: radial-gradient(closest-side, rgba(242, 169, 59, .09), transparent); pointer-events: none; }
.proof-head { text-align: center; margin-bottom: 32px; }
.proof-head h3 { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -.035em; padding-bottom: .06em; background: var(--title-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof-head p { color: var(--ink-2); margin: 12px auto 0; max-width: 620px; font-size: 15.5px; }
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.compare-card { margin: 0; border-radius: 18px; overflow: hidden; background: var(--card-2); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), var(--shadow-lg); transition: transform .6s var(--ease); }
.compare-card:hover { transform: translateY(-4px); }
.compare-card:first-of-type { box-shadow: 0 0 0 1px rgba(127, 227, 196, .32), 0 30px 70px -30px rgba(127, 227, 196, .3), var(--shadow-lg); }
.compare-card::before {
  content: ""; display: block; height: 28px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), inset 0 -1px 0 rgba(0, 0, 0, .4);
  background:
    radial-gradient(circle at 16px 50%, #ff5f57 0 4.5px, transparent 5px),
    radial-gradient(circle at 31px 50%, #febc2e 0 4.5px, transparent 5px),
    radial-gradient(circle at 46px 50%, #28c840 0 4.5px, transparent 5px),
    linear-gradient(180deg, #1c3b42, #142f36);
}
.compare-card .img-slot { aspect-ratio: 1470 / 779; background: #12383f; }
.compare-card .img-slot img { width: 100%; height: 100%; object-fit: contain; }
.compare-card figcaption { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; color: var(--ink-2); font-variant-numeric: tabular-nums; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent); }
.score { font-size: 36px; line-height: 1.1; font-weight: 800; letter-spacing: -.035em; background: var(--mint-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.score.dim { background: none; color: var(--ink-3); }
.vs { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1; padding-bottom: 4px; color: var(--amber); background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px rgba(242, 169, 59, .35), 0 0 30px -6px rgba(242, 169, 59, .35); }

/* 11. Roadmap -------------------------------------------------------------- */
.soon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 60px; }
.soon-card {
  position: relative; padding: 24px 24px 26px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(127, 227, 196, .05), rgba(255, 255, 255, .012) 60%);
  box-shadow: inset 0 0 0 1px var(--line), var(--hl), var(--shadow-md);
  transition: transform .6s var(--ease), box-shadow .4s, opacity 1s var(--ease);
}
.soon-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(127, 227, 196, .28), var(--hl), var(--shadow-lg); }
.badge { display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; line-height: 1.2; text-transform: uppercase; letter-spacing: .13em; font-weight: 700; color: var(--mint); padding: 5px 10px 5px 9px; border-radius: var(--r-full); background: rgba(127, 227, 196, .09); box-shadow: inset 0 0 0 1px rgba(127, 227, 196, .3); }
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(127, 227, 196, .6); animation: live 2.4s infinite; }
.soon-card h3 { margin: 20px 0 8px; font-size: 19px; letter-spacing: -.02em; line-height: 1.2; }
.soon-card p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.soon-art {
  height: 96px; margin-top: 20px; border-radius: 14px; display: grid; place-items: center; overflow: hidden; position: relative;
  background: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.3px) 0 0 / 12px 12px, var(--well);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 2px 12px rgba(0, 0, 0, .25);
}
.a1 { grid-template-columns: repeat(3, 22px); gap: 6px; place-content: center; }
.a1 i { width: 22px; height: 15px; border-radius: 4px; background: rgba(127, 227, 196, .28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); animation: blink 2.4s infinite; }
.a1 i:nth-child(3n) { animation-delay: .8s; } .a1 i:nth-child(2n) { animation-delay: 1.4s; background: rgba(242, 169, 59, .4); }
.a1 i:nth-child(5) { background: var(--mint); box-shadow: 0 0 12px rgba(127, 227, 196, .6); }
.a2 { grid-template-rows: repeat(4, 8px); gap: 7px; place-content: center stretch; padding: 0 22px; }
.a2 i { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--mint), rgba(127, 227, 196, .15)); transform-origin: left; animation: barGrow 3s var(--ease) infinite; }
.a2 i:nth-child(2) { width: 70%; margin-left: 12%; animation-delay: .3s; background: linear-gradient(90deg, var(--amber), rgba(242, 169, 59, .15)); }
.a2 i:nth-child(3) { width: 78%; margin-left: 6%; animation-delay: .6s; } .a2 i:nth-child(4) { width: 52%; margin-left: 30%; animation-delay: .9s; }
@keyframes barGrow { 0% { transform: scaleX(0); } 50%, 100% { transform: scaleX(1); } }
.a3 svg { width: 84%; fill: none; stroke: var(--amber); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 200; animation: dash 2.4s linear infinite; filter: drop-shadow(0 0 4px rgba(242, 169, 59, .7)); }
@keyframes dash { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }
.a4 { grid-auto-flow: column; gap: 14px; place-content: center; }
.a4 i { width: 38px; height: 50px; border-radius: 9px; background: linear-gradient(rgba(127, 227, 196, .5), rgba(127, 227, 196, .5)) 8px 12px / 16px 2px no-repeat, linear-gradient(rgba(127, 227, 196, .3), rgba(127, 227, 196, .3)) 8px 20px / 22px 2px no-repeat, linear-gradient(rgba(127, 227, 196, .3), rgba(127, 227, 196, .3)) 8px 28px / 12px 2px no-repeat, rgba(127, 227, 196, .06); box-shadow: inset 0 0 0 1px rgba(127, 227, 196, .4); }
.a4 i:last-child { background-color: transparent; box-shadow: none; outline: 1px dashed rgba(127, 227, 196, .45); outline-offset: -1px; }
.a4 b { color: var(--amber); animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

/* 12. Close + footer ------------------------------------------------------- */
.close { text-align: center; padding: clamp(120px, 14vw, 180px) var(--gutter); overflow: hidden; isolation: isolate; }
.close::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 1100px; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 89px, rgba(255, 255, 255, .055) 90px, transparent 91px);
  mask-image: radial-gradient(closest-side, #000 25%, transparent); -webkit-mask-image: radial-gradient(closest-side, #000 25%, transparent);
}
.close-glow { position: absolute; z-index: -1; inset: 0; margin: auto; width: 720px; height: 720px; max-width: 100%; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 169, 59, .2), rgba(127, 227, 196, .05) 55%, transparent); animation: float 8s ease-in-out infinite; pointer-events: none; }
.close-logo { margin: 0 auto 30px; position: relative; filter: drop-shadow(0 14px 30px rgba(242, 169, 59, .4)); }
.close h2 { font-size: clamp(40px, 7vw, 88px); letter-spacing: -.045em; line-height: 1; position: relative; padding-bottom: .06em; background: var(--title-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.close p { font-family: var(--serif); font-style: italic; color: var(--amber); font-size: clamp(24px, 3vw, 36px); margin: 16px 0 42px; position: relative; }
.close .btn { position: relative; padding: 17px 34px; font-size: 17px; }
.foot { position: relative; display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 34px 16px 40px; color: var(--ink-3); font-size: 14px; }
.foot::before { content: ""; position: absolute; top: 0; left: 50%; translate: -50% 0; width: min(1100px, 100%); height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.foot span { margin-left: 12px; padding-left: 14px; border-left: 1px solid var(--line-2); }

/* 13. Reveal --------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.adv.reveal, .case.reveal, .soon-card.reveal { transition: opacity 1s var(--ease), transform .8s var(--ease), box-shadow .4s; }
.adv.reveal.in:hover, .case.reveal.in:hover, .soon-card.reveal.in:hover { transform: translateY(-6px); }
.cases .case:nth-child(3n+2), .adv-grid .adv:nth-child(2), .soon-grid > :nth-child(2) { transition-delay: .12s; }
.cases .case:nth-child(3n), .adv-grid .adv:nth-child(3), .soon-grid > :nth-child(3) { transition-delay: .24s; }
.soon-grid > :nth-child(4) { transition-delay: .36s; }
.reveal.in:hover { transition-delay: 0s; }

/* 14. Responsive ----------------------------------------------------------- */
@media (min-width: 701px) { :root { --gutter: 24px; } }
@media (max-width: 1100px) {
  .problem { grid-template-columns: 200px 1fr; gap: 48px; }
  .problem-art { width: 200px; border-radius: 28px; }
}
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; text-align: left; }
  .orbit { max-width: 520px; }
  .journey-stage { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .journey-stage > * { min-width: 0; }
  .stage-side { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 16px; align-items: center; justify-items: start; }
  .ring-wrap { width: 72px; height: 72px; margin: 0; grid-row: 1; }
  .ring-wrap::before { inset: 8px; }
  .ring-label b { font-size: 23px; } .ring-label span { font-size: 10.5px; margin-top: 3px; }
  .stage-side .role { grid-row: 1; grid-column: 2; }
  .side-title, .side-cap, .tiles { grid-column: 1 / -1; }
  .side-title { margin: 20px 0 8px; }
  .cases, .soon-grid { grid-template-columns: 1fr 1fr; }
  .cases .case:nth-child(n) { transition-delay: 0s; }
  .cases .case:nth-child(2n) { transition-delay: .12s; }
  .adv-grid { grid-template-columns: repeat(2, minmax(0, 340px)); }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .top { height: 60px; }
  .nav { display: none; }
  .top .btn-ghost { padding: 8px 14px; font-size: 14px; }
  .eyebrow { font-size: 11px; letter-spacing: .11em; padding: 6px 12px 6px 10px; gap: 8px; }
  .hero { padding-top: 40px; padding-bottom: 64px; gap: 24px; }
  .hero h1 { font-size: clamp(56px, 16vw, 72px); }
  .lede { margin: 24px 0 30px; }
  .hero-cta .btn { padding: 14px 22px; }
  .orbit { max-width: 400px; }
  .orbit-core { width: 88px; height: 88px; border-radius: 26px; }
  .orbit-core img { width: 52px; height: 52px; }
  .task { font-size: 10px; padding: 7px 10px 7px 7px; gap: 8px; border-radius: 12px; } .task b { font-size: 11px; } .task span { font-size: 10px; }
  .task .ic { width: 22px; height: 22px; border-radius: 7px; } .task .ic::after { inset: 7px; }
  /* Zig-zag above and below the core so cards never cover it or each other */
  .t1 { top: 1%; left: 0; } .t2 { top: 13%; right: 0; } .t3 { top: 25%; left: 0; }
  .t4 { top: auto; bottom: 25%; right: 0; } .t5 { bottom: 13%; left: 0; } .t6 { bottom: 1%; right: 0; }
  .marquee { padding: 20px 0; }
  .marquee-track, .marquee span { gap: 40px; }

  .problems { padding-top: 48px; }
  .problem { grid-template-columns: 1fr; gap: 28px; padding: 56px 0; }
  .problem:first-child { padding-top: 8px; }
  .problem-art { width: 100%; aspect-ratio: auto; height: 176px; border-radius: 24px; }
  .problem-art svg { width: auto; height: 150px; }
  .problem h2 { margin: 16px 0 16px; }

  .adv-grid { grid-template-columns: minmax(0, 420px); }
  .adv-photo { aspect-ratio: 1 / 1; }
  .adv-grid .adv:nth-child(n) { transition-delay: 0s; }

  .role-rail { gap: 8px; margin: 32px auto 24px; }
  .role-rail span { padding: 5px 11px 5px 9px; font-size: 12px; }
  .journey-stage { padding: 16px 16px 20px; border-radius: var(--r-xl); gap: 24px; }
  .frame-wrap { min-height: 220px; }
  .browser { border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .11), 0 0 0 5px rgba(255, 255, 255, .03), 0 30px 50px -20px rgba(0, 0, 0, .8); }
  .browser-bar { height: 24px; padding: 0 9px; gap: 5px; }
  .browser-bar i { width: 7px; height: 7px; }
  .browser-bar b { height: 13px; border-radius: 4px; width: 46%; }
  .browser-bar b::before, .browser-bar b::after { display: none; }
  .phone { border-radius: 44px; padding: 9px; }
  .phone .screen { border-radius: 35px; }
  .stage-side { grid-template-columns: 64px minmax(0, 1fr); column-gap: 14px; }
  .ring-wrap { width: 64px; height: 64px; }
  .ring-label b { font-size: 21px; } .ring-label span { font-size: 10px; }
  .side-title { margin: 18px 0 8px; font-size: 25px; }
  .side-cap { font-size: 15.5px; margin-bottom: 18px; }
  .tiles li { font-size: 14px; padding: 10px 12px 10px 10px; }
  .hotspot { width: 34px; height: 34px; margin: -17px 0 0 -17px; } .hotspot span { inset: 12px; }
  .frame.zoomed .cam { transform: scale(1.5); }
  .callout { font-size: 11px; padding: 7px 10px; }
  .callout.to-left { translate: calc(-100% - 30px) 0; } .callout.to-right { translate: 30px 0; }
  .callout::after { display: none; }
  .focus-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .timeline { gap: 4px; padding-top: 14px; }
  .lbl, .timeline .now .lbl { display: none; }

  .cases, .soon-grid { grid-template-columns: 1fr; }
  .cases .case:nth-child(n), .soon-grid > :nth-child(n) { transition-delay: 0s; }
  .case { padding: 26px 22px 22px; border-radius: var(--r-lg); }
  .compare { grid-template-columns: 1fr; gap: 16px; }
  .vs { width: 48px; height: 48px; font-size: 21px; }
  .proof { padding: 28px 16px 18px; border-radius: var(--r-xl); }
  .compare-card::before { height: 22px; background: radial-gradient(circle at 13px 50%, #ff5f57 0 3.5px, transparent 4px), radial-gradient(circle at 25px 50%, #febc2e 0 3.5px, transparent 4px), radial-gradient(circle at 37px 50%, #28c840 0 3.5px, transparent 4px), linear-gradient(180deg, #1c3b42, #142f36); }
  .score { font-size: 30px; }

  .intake { grid-template-columns: 1fr; width: 92%; gap: 8px; } .flow-arrow { display: none; } .sources { grid-template-columns: repeat(3, 1fr); gap: 6px; } .src-chip { font-size: 11px; padding: 8px; }
  .scene { aspect-ratio: auto; padding: 44px 0 20px; }
  .rec { font-size: 11px; padding: 8px 10px; } .rec em { font-size: 10px; padding: 2px 6px; } .record { width: 88%; } .stamp { font-size: 11px; right: 4%; bottom: 4%; }

  .close::before { width: 760px; background: repeating-radial-gradient(circle, transparent 0 63px, rgba(255, 255, 255, .055) 64px, transparent 65px); }
  .foot { flex-direction: column; gap: 8px; }
  .foot span { margin: 0; padding: 0; border: 0; }
}

@media (max-width: 380px) {
  .eyebrow { font-size: 10.5px; letter-spacing: .075em; padding-inline: 10px 11px; gap: 7px; }
}

/* 15. Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .lede, .hero-cta, .task, .split .w, .tiles li, .src-chip, .q-row, .rec, .stamp { opacity: 1 !important; transform: none !important; }
  .bar i { width: var(--w) !important; } .drop-col i { height: calc(var(--h) - 40px) !important; }
  .tiles li svg { stroke-dashoffset: 0; }
  .callout { opacity: 1; }
}

/* ===== UX layer: tour flow, orientation, a11y. Only what the new behaviour and controls need; visual design lives above. ===== */
html { scroll-padding-top: 88px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
main section[tabindex="-1"]:focus { outline: none; }
.nav a.is-active { color: var(--ink); text-decoration: underline 2px var(--amber); text-underline-offset: 8px; }

/* Tour: what to expect before it starts */
.tour-meta { text-align: center; color: var(--ink-2); font-size: 14px; font-weight: 500; margin: 18px auto 0; max-width: 640px; }
.tour-hint { display: block; margin-top: 4px; color: var(--ink-3); font-weight: 400; }

/* Chapter rail: each chapter is a button that jumps to its first step */
.role-rail { max-width: 680px; align-items: flex-start; }
.role-rail .rail-btn { appearance: none; background: none; border: 0; margin: 0; padding: 7px 4px; font: inherit; color: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 44px; border-radius: 14px; }
.role-rail .rail-btn small { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.role-rail .rail-btn:hover span:not(.on) { color: var(--ink); border-color: rgba(255,255,255,.3); }
.role-rail i { margin-top: 22px; transition: background .5s; }
.role-rail i.done { background: rgba(127,227,196,.45); }

/* All frames share one grid cell: the stage keeps one height for every step */
.frame-wrap { display: grid; touch-action: pan-y pinch-zoom; }
.frame-wrap > .frame { grid-area: 1 / 1; position: relative; z-index: 0; visibility: visible; }
.frame-wrap > .frame.is-current { z-index: 1; }
.frame-wrap > .frame.leave { position: relative; inset: auto; visibility: hidden; transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s linear .6s; }
.frame.leave .hotspot, .frame.leave .callout, .frame.leave .focus-ring { display: none; }
.journey-stage.is-loading .frame-wrap::after { z-index: 5; }
.plane { position: relative; }
.callout.mid { translate: -50% 0; }
.callout.mid::after { display: none; }
.timeline li.is-pending .seg { background: rgba(127,227,196,.3); }
.timeline li.ch-start { margin-left: 12px; }
.timeline button { box-sizing: border-box; min-height: 44px; }
.role.chapter-in { animation: chapterIn .8s var(--ease); }
@keyframes chapterIn { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: none; } }
.i-replay { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Up next / end of tour */
.tour-foot { width: 100%; margin-top: auto; padding-top: 12px; }
.tour-next { appearance: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; width: 100%; margin: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; padding: 10px 16px; min-height: 56px; border-radius: 14px; background: transparent; border: 1px dashed rgba(255,255,255,.22); transition: border-color .25s, background .25s; }
.tour-next:hover { border-color: rgba(127,227,196,.55); background: var(--panel); }
.tour-next-k { grid-column: 1; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }
.tour-next-t { grid-column: 1; font-size: 14px; font-weight: 600; }
.tour-next-go { grid-column: 2; grid-row: 1 / span 2; color: var(--amber); font-size: 18px; transition: transform .25s var(--ease); }
.tour-next:hover .tour-next-go { transform: translateX(3px); }
.tour-next[hidden], .tour-end[hidden] { display: none; }
.tour-end { width: 100%; margin: 0; padding: 12px 16px 14px; border-radius: 16px; border: 1px solid rgba(242,169,59,.4); background: rgba(242,169,59,.07); }
.tour-end.flash { animation: endFlash .9s var(--ease); }
@keyframes endFlash { 35% { box-shadow: 0 0 0 5px rgba(242,169,59,.35); } }
.tour-end-k { margin-right: 6px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.tour-end-t { margin: 0 0 10px; font-size: 15px; font-weight: 600; }
.tour-end-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tour-end-actions .btn { padding: 10px 14px; font-size: 14px; min-height: 44px; }
.tour-replay { appearance: none; background: none; border: 0; padding: 0 6px; min-height: 44px; font: inherit; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.tour-replay:hover { color: var(--ink); }

/* Small screens: progress and controls sit right under the screenshot, text after */
@media (max-width: 1000px) {
  .journey-stage > .stage-visual { order: 1; }
  .journey-stage > .timeline { order: 2; }
  .journey-stage > .journey-controls { order: 3; }
  .journey-stage > .stage-side { order: 4; }
  .tour-foot { margin-top: 0; } /* follow the points; spare height goes below */
}
@media (max-width: 700px) {
  .role-rail { gap: 8px; }
  .role-rail .rail-btn small { display: none; }
  .timeline { gap: 0; }
  .timeline button { padding: 20px 2px; }
  .timeline li.ch-start { margin-left: 0; }
  .timeline li.ch-start button { padding-left: 10px; }
  .hotspot { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .hotspot span { inset: 15px; }
  /* Framed windows (app.js positions the plane around the hotspot) */
  .browser .shot { aspect-ratio: 1 / 1; }
  .phone .shot { aspect-ratio: 257 / 376; }
  .browser.zoomed .cam { transform: scale(1.3); }
}

/* Merge fix: on narrow screens the side panel is a grid; keep the tour footer full width and stack rows from the top */
@media (max-width: 1000px) {
  .stage-side { align-content: start; }
  .stage-side .tour-foot { grid-column: 1 / -1; }
}
