/* ==========================================================================
   NextAI Expo — design system
   Editorial and quiet: a serif for statements, the system sans for everything
   else, warm paper surfaces, hairline rules and one deep-blue accent. Small
   type, generous whitespace, card grids, and a sticky phone that tells the
   story as the page scrolls. Always light. Tokens below.
   ========================================================================== */

@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('../fonts/newsreader.woff2') format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/newsreader-italic.woff2') format('woff2'); }

:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --paper-2: #f3f1ec;
  --white: #ffffff;
  --ink: #0e1726;
  --ink-2: #3b4352;
  --muted: #6b7280;
  --rule: #e3e0d9;
  --rule-strong: #c9c5bc;
  --accent: #1f3fbf;
  --accent-ink: #0b1f44;
  --accent-soft: #eef1fc;
  --danger: #b42318;
  --lime: #6f8f1f;
  --violet: #5b3df5;
  --aqua: #16838f;
  --pink: #b8407f;

  --serif: 'Newsreader', 'Iowan Old Style', 'Charter', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Inter, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --bar-h: 52px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --spring: cubic-bezier(.2, 1.25, .4, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--bar-h); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; font-family: var(--sans); font-size: 15px; line-height: 1.55; color: var(--ink-2);
  background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
a { color: var(--accent); text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); letter-spacing: -.015em; margin: 0; text-wrap: balance; }
em { font-family: var(--serif); font-style: italic; }
h1 em, h2 em { color: var(--accent); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 18px; border-radius: 999px;
  font-size: 13px; font-weight: 500; white-space: nowrap; transition: background .2s, transform .2s;
}
.pill-dark { background: var(--accent-ink); color: #fff; }
.pill-dark:hover { background: var(--accent); }
.pill:active { transform: scale(.97); }
.more { font-size: 13px; font-weight: 500; display: inline-flex; gap: 6px; align-items: center; }
.more::after { content: '›'; font-size: 17px; line-height: 1; transition: transform .2s; }
.more:hover::after { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; }

/* ---------- Bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 50; height: var(--bar-h);
  background: rgba(251, 250, 247, .78); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(14, 23, 38, .06);
}
.bar-inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 14px; letter-spacing: -.01em; justify-self: start; }
.logo svg { width: 22px; height: 22px; }
.logo b { color: var(--accent); }
.bar-nav { display: flex; gap: 28px; }
.bar-nav a { font-size: 12px; color: var(--ink-2); transition: color .2s; }
.bar-nav a:hover, .bar-nav a[aria-current] { color: var(--ink); }
.bar-nav a[aria-current] { font-weight: 600; }
.bar-end { justify-self: end; display: flex; align-items: center; gap: 10px; }
.bar .pill { height: 30px; padding: 0 14px; font-size: 12px; }
.menu-btn { display: none; width: 32px; height: 32px; border: 0; background: none; padding: 0; cursor: pointer; position: relative; }
.menu-btn span, .menu-btn span::before { position: absolute; left: 9px; width: 14px; height: 1.5px; background: var(--ink); border-radius: 1px; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span { top: 13px; }
.menu-btn span::before { content: ''; left: 0; top: 5px; }
.menu-btn[aria-expanded="true"] span { top: 15.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(-90deg); }
.menu {
  position: absolute; top: var(--bar-h); left: 0; right: 0; padding: 8px 24px 28px;
  background: rgba(251, 250, 247, .96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--rule); opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.menu.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: 22px; color: var(--ink); }
.menu a[aria-current] { color: var(--accent); }
@media (max-width: 720px) {
  .bar-inner { grid-template-columns: 1fr auto; }
  .bar-nav { display: none; }
  .menu-btn { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100svh - var(--bar-h)); display: grid; place-items: center; padding: 96px 0 120px; text-align: center; }
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero .eyebrow { color: var(--accent); margin-bottom: 20px; }
.hero h1 { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.06; max-width: 780px; }
.sub { margin: 22px auto 34px; max-width: 470px; font-size: 16px; color: var(--muted); text-wrap: pretty; }
.scroll-hint { position: absolute; left: 50%; bottom: 36px; width: 22px; height: 34px; margin-left: -11px; border: 1.5px solid var(--rule-strong); border-radius: 12px; }
.scroll-hint span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--muted); animation: hint 1.8s var(--ease) infinite; }
@keyframes hint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

.fade-up { opacity: 0; transform: translateY(14px); animation: fadeUp .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- Story (sticky phone) ---------- */
.story { position: relative; border-top: 1px solid var(--rule); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.steps { grid-column: 1; grid-row: 1; }
.stage { grid-column: 2; grid-row: 1; position: sticky; top: var(--bar-h); height: calc(100svh - var(--bar-h)); }
.stage-inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; gap: 28px; }
.glow {
  position: absolute; left: 50%; top: 50%; width: 460px; height: 460px; margin: -230px 0 0 -244px; border-radius: 50%;
  background: var(--glow, var(--accent-soft)); filter: blur(70px); opacity: .9; transition: background-color 1s var(--ease); pointer-events: none;
}

.step { min-height: calc(100svh - var(--bar-h)); display: flex; align-items: center; }
.card { max-width: 380px; opacity: .22; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.step.is-active .card { opacity: 1; transform: none; }
.num { display: block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; transition: color .4s; }
.step.is-active .num { color: var(--accent); }
.card h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.14; margin-bottom: 16px; }
.card p { font-size: 15px; color: var(--muted); text-wrap: pretty; }
.card .hint { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 12px; color: var(--accent); }
.card .hint::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.6s infinite; }

/* Progress dots */
.dots { position: relative; display: flex; flex-direction: column; gap: 10px; }
.dots button { display: block; width: 6px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: var(--rule-strong); cursor: pointer; transition: height .4s var(--ease), background .4s; }
.dots button.on { height: 22px; background: var(--ink); }

/* ---------- Phone ---------- */
/* Designed at 300×640; scaled to fit by script.js via --s */
.phone-fit { --s: 1; position: relative; width: calc(300px * var(--s)); height: calc(640px * var(--s)); flex: none; }
.phone {
  width: 300px; height: 640px; transform: scale(var(--s)); transform-origin: 0 0;
  position: relative; border-radius: 50px; padding: 11px; background: #11151c;
  box-shadow: 0 0 0 1.5px #2a2f38 inset, 0 0 0 1px #c9c5bc, 0 50px 80px -30px rgba(14, 23, 38, .35), 0 24px 40px -24px rgba(14, 23, 38, .25);
}
.island { position: absolute; top: 22px; left: 50%; width: 86px; height: 25px; margin-left: -43px; background: #000; border-radius: 20px; z-index: 8; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 40px; overflow: hidden; background: var(--paper); isolation: isolate; }
.screen::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 70% at 80% 0%, #2c47a8 0%, transparent 60%), linear-gradient(170deg, #142a63, #0b1f44 55%, #0e1726); opacity: 0; transition: opacity .7s var(--ease); }
.screen.dark::before { opacity: 1; }
.status { position: absolute; inset: 0 0 auto; height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 4px 30px 0 34px; font-size: 12px; font-weight: 600; color: var(--ink); z-index: 7; transition: filter .5s; }
.status-icons { display: flex; gap: 4px; align-items: center; }
.status-icons i { display: block; width: 14px; height: 8px; border-radius: 2px; background: var(--ink); }
.status-icons i:nth-child(1) { width: 12px; clip-path: polygon(0 100%, 100% 0, 100% 100%); border-radius: 0; }
.status-icons i:nth-child(2) { width: 11px; height: 8px; border-radius: 6px 6px 0 0; clip-path: polygon(50% 100%, 0 0, 100% 0); }
.status-icons i:nth-child(3) { width: 20px; height: 9px; background: none; border: 1.2px solid var(--ink); box-shadow: inset 0 0 0 1.2px var(--paper), inset 13px 0 0 var(--ink); }
.home-ind { position: absolute; bottom: 8px; left: 50%; width: 104px; height: 4px; margin-left: -52px; border-radius: 2px; background: var(--ink); opacity: .85; z-index: 7; transition: filter .5s; }
.screen.dark .status, .screen.dark .home-ind { filter: invert(1); }

/* Screens */
.scr {
  position: absolute; inset: 0; padding: 62px 22px 30px; display: flex; flex-direction: column;
  opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .55s var(--ease), transform .7s var(--ease); pointer-events: none;
}
.scr.is-past { transform: translateY(-18px) scale(.985); }
.scr.is-active { opacity: 1; transform: none; pointer-events: auto; }

.s-kicker { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.s-title { font-family: var(--serif); font-size: 23px; line-height: 1.15; color: var(--ink); letter-spacing: -.01em; margin-bottom: 18px; }
.s-title em { color: var(--accent); }
.s-sub { font-size: 11.5px; color: var(--muted); margin: -10px 0 18px; }
.s-label { font-size: 9.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.s-btn { margin-top: auto; display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 12px; background: var(--accent-ink); color: #fff; font-size: 12.5px; font-weight: 500; transition: opacity .3s, transform .15s; flex: none; }
.s-btn.dim { opacity: .3; }
.fine { font-size: 10px; color: var(--muted); text-align: center; margin-top: 10px; }

/* Staggered entrance for children of the active screen */
.scr > * { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.scr.is-active > * { opacity: 1; transform: none; }
.scr.is-active > :nth-child(2) { transition-delay: .06s; }
.scr.is-active > :nth-child(3) { transition-delay: .12s; }
.scr.is-active > :nth-child(4) { transition-delay: .18s; }
.scr.is-active > :nth-child(5) { transition-delay: .24s; }
.scr.is-active > :nth-child(6) { transition-delay: .3s; }

/* Simulated finger */
.scr > .tap, .scr.is-active > .tap {
  position: absolute; left: 50%; top: 80%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  background: rgba(31, 63, 191, .2); border: 1.5px solid rgba(255, 255, 255, .95); box-shadow: 0 3px 10px rgba(14, 23, 38, .25);
  pointer-events: none; z-index: 6; opacity: 0; transform: none; transition: left .5s var(--ease), top .5s var(--ease), opacity .3s, transform .14s;
}
.scr.is-active > .tap.show { opacity: 1; transition-delay: 0s; }
.scr.is-active > .tap.press { transform: scale(.75); background: rgba(31, 63, 191, .35); }

/* Toast (shared) */
.scr > .toast, .scr.is-active > .toast {
  position: absolute; left: 22px; right: 22px; bottom: 30px; display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 14px;
  background: var(--ink); color: #fff; font-size: 12px; opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .5s var(--spring); z-index: 5;
}
.scr.is-active > .toast.show { opacity: 1; transform: none; transition-delay: 0s; }
.toast i { width: 16px; height: 16px; border-radius: 50%; background: var(--lime); position: relative; flex: none; }
.toast i::after { content: ''; position: absolute; left: 5.5px; top: 3px; width: 3.5px; height: 7px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }

.caret::after { content: ''; display: inline-block; width: 1px; height: 13px; margin-left: 1px; vertical-align: -2px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes bump { 40% { transform: scale(1.18); } }

/* ---------- Home screens ---------- */
.app-top { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 26px; }
.app-mark { width: 18px; height: 18px; border-radius: 5px; background: var(--ink); position: relative; flex: none; }
.app-mark::after { content: ''; position: absolute; right: 22%; bottom: 22%; width: 28%; height: 11%; border-radius: 1px; background: #6f8bff; }
.count { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 18px; }
.count div { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 10px 0 8px; text-align: center; }
.count b { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.count span { font-size: 9.5px; color: var(--muted); }
.s-list li { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--rule); font-size: 11.5px; }
.s-list span { color: var(--muted); }
.s-list b { font-weight: 500; color: var(--ink); }

.feed { position: relative; flex: 1; overflow: hidden; margin: 0 -22px; padding: 0 22px; -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 80%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 80%, transparent); }
.feed-track { display: flex; flex-direction: column; gap: 7px; animation: feed 9s linear infinite; animation-play-state: paused; }
.scr.is-active .feed-track { animation-play-state: running; }
@keyframes feed { to { transform: translateY(-50%); } }
.row { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 10px; background: var(--white); border: 1px solid var(--rule); }
.row i { width: 22px; height: 22px; border-radius: 6px; background: var(--paper-2); flex: none; }
.row span { height: 6px; border-radius: 3px; background: var(--rule); width: 70%; }
.row:nth-child(3n) span { width: 48%; }
.row:nth-child(4n+1) span { width: 82%; }
.row:nth-child(5n+2) i { background: #e9e6f8; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; padding-top: 12px; }
.tags span { font-size: 10px; padding: 5px 9px; border-radius: 999px; background: var(--ink); color: #fff; }

.flow { display: flex; flex-direction: column; gap: 8px; }
.flow li { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border-radius: 14px; background: var(--white); border: 1px solid var(--rule); transition: border-color .4s, box-shadow .4s, transform .4s var(--ease); }
.flow b { font-family: var(--serif); font-weight: 400; font-size: 14px; color: var(--accent); line-height: 1.3; }
.flow strong { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.flow span { font-size: 11px; color: var(--muted); }
.flow li.lit { border-color: var(--accent); box-shadow: 0 8px 20px -12px rgba(31, 63, 191, .45); transform: translateX(4px); }

.chips { display: flex; gap: 5px; overflow: hidden; margin: 6px -22px 18px; padding: 0 22px; }
.chips span { flex: none; font-size: 10px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--rule-strong); color: var(--ink-2); transition: background .35s, color .35s, border-color .35s; }
.chips span.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.s-aim { min-height: 54px; font-size: 20px; transition: opacity .3s; }
.cats li { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid var(--rule); font-size: 11.5px; color: var(--ink); animation: catIn .45s var(--ease) both; }
.cats li i { width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--accent)); flex: none; }
.cats li:nth-child(2) { animation-delay: .05s; } .cats li:nth-child(3) { animation-delay: .1s; } .cats li:nth-child(4) { animation-delay: .15s; } .cats li:nth-child(5) { animation-delay: .2s; } .cats li:nth-child(6) { animation-delay: .25s; }
@keyframes catIn { from { opacity: 0; transform: translateX(-6px); } }
.c-lime { --c: var(--lime); } .c-violet { --c: var(--violet); } .c-aqua { --c: var(--aqua); } .c-pink { --c: var(--pink); }
.fading { opacity: 0; }

.checks li { display: flex; gap: 11px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--rule); }
.checks i { position: relative; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--rule-strong); flex: none; margin-top: 1px; transition: background .3s, border-color .3s; }
.checks i::after { content: ''; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease); }
.checks strong { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.checks span { font-size: 11px; color: var(--muted); }
.checks li.ok i { background: var(--accent); border-color: var(--accent); }
.checks li.ok i::after { transform: rotate(45deg) scale(1); }
.scr > .badge, .scr.is-active > .badge { margin-top: auto; align-self: flex-start; font-size: 11px; font-weight: 500; padding: 7px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); opacity: 0; transform: translateY(6px); }
.scr.is-active.done > .badge { opacity: 1; transform: none; transition-delay: 0s; }

.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(184, 64, 127, .5); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(184, 64, 127, 0); } 100% { box-shadow: 0 0 0 0 rgba(184, 64, 127, 0); } }

/* Form fields */
.field { display: block; padding: 10px 12px; border-radius: 12px; background: var(--white); border: 1px solid var(--rule); margin-bottom: 8px; transition: border-color .3s, box-shadow .3s; }
.field span { display: block; font-size: 9.5px; color: var(--muted); margin-bottom: 2px; }
.field b { display: block; min-height: 17px; font-size: 12.5px; font-weight: 400; color: var(--ink); }
.field b.ph { color: var(--ink-2); }
.field.focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field.err { border-color: var(--danger); box-shadow: 0 0 0 3px #fbe9e7; animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.err-msg { min-height: 16px; font-size: 10.5px; color: var(--danger); margin: -2px 0 8px 2px; }
.scr-req .s-btn, .scr-email .s-btn { margin-top: 6px; }
.ok-card { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 14px; border-radius: 14px; background: var(--white); border: 1px solid var(--rule); opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .4s var(--ease), transform .5s var(--spring); }
.ok-card.show { opacity: 1; transform: none; }
.ok-card .tk { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); position: relative; flex: none; }
.ok-card .tk::after { content: ''; position: absolute; left: 8px; top: 4.5px; width: 4.5px; height: 9px; border: solid #fff; border-width: 0 1.7px 1.7px 0; transform: rotate(45deg); }
.ok-card strong { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.ok-card span { font-size: 11px; color: var(--muted); }
.st { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 10px; font-weight: 500; padding: 3px 8px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); transition: background .4s, color .4s; }
.st::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.st.ok { background: #eef3e2; color: var(--lime); }

/* ---------- Priorities picker ---------- */
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pgrid span { font-size: 11px; padding: 9px 8px; text-align: center; border-radius: 999px; border: 1px solid var(--rule-strong); color: var(--ink-2); background: var(--white); transition: background .3s, color .3s, border-color .3s, transform .3s var(--spring); }
.pgrid span.on { background: var(--ink); border-color: var(--ink); color: #fff; transform: scale(1.04); }
.psum { margin-top: auto; padding-bottom: 10px; font-size: 11px; color: var(--muted); text-align: center; }
.psum b { color: var(--ink); font-weight: 600; }
.scr-prio .s-btn { margin-top: 0; }

/* ---------- Swipe deck ---------- */

.bcat { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: var(--muted); margin-bottom: 4px; }
.bcat i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex: none; }
.bname { font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.15; color: var(--ink); }
.btag { font-size: 11.5px; color: var(--ink-2); margin-top: 3px; line-height: 1.4; }

/* ---------- Booth detail ---------- */
.booth { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.bd-logo { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--brand); font-family: var(--serif); font-size: 21px; color: #fff; }
.bd-desc { font-size: 11.5px; line-height: 1.45; color: var(--ink-2); margin-top: 3px; }
.pbar { position: absolute; left: 12px; right: 12px; bottom: 10px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.pbar i { display: block; height: 100%; width: 0; background: #fff; }
.scr.is-active .pbar i { animation: prog var(--len, 30s) linear infinite; }
@keyframes prog { to { width: 100%; } }
.bd-name { font-family: var(--serif); font-size: 22px; line-height: 1.1; color: var(--ink); }
.bd-row { padding: 7px 0; border-top: 1px solid var(--rule); }
.bd-head { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 10px; }
.bd-head .btag { margin-top: 1px; }
.bd-row small, .bd-cs > small { display: block; font-size: 8.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bd-row > b { display: block; font-size: 11.5px; font-weight: 500; color: var(--ink); margin-top: 2px; }
.bd-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.bd-chips span { font-size: 10px; padding: 3px 8px; border-radius: 999px; background: var(--paper-2); color: var(--ink); }
.bd-cs { padding-top: 8px; border-top: 1px solid var(--rule); }
.cs { padding: 6px 0; }
.cs + .cs { border-top: 1px solid var(--rule); }
.cs b { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; font-weight: 500; color: var(--ink); line-height: 1.35; }
.cs b::after { content: '+'; color: var(--muted); font-weight: 400; transition: transform .3s; }
.cs p { max-height: 0; overflow: hidden; font-size: 10.5px; line-height: 1.45; color: var(--muted); transition: max-height .45s var(--ease), margin .45s var(--ease); }
.cs.open b::after { transform: rotate(45deg); }
.cs.open p { max-height: 70px; margin-top: 4px; }
.bd-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding-top: 10px; }
.bd-actions .s-btn { margin: 0; }
.ghost-btn { display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border-radius: 12px; border: 1px solid var(--rule-strong); font-size: 12.5px; color: var(--ink); background: var(--white); transition: color .3s, border-color .3s, background .3s; }
.ghost-btn svg { width: 13px; height: 13px; }
.ghost-btn.on { color: var(--pink); border-color: var(--pink); background: #fbf0f6; }
.ghost-btn.on svg { fill: currentColor; animation: bump .45s var(--spring); }

/* ---------- Message thread ---------- */
.chat-head { display: flex; align-items: center; gap: 9px; margin: 0 -22px; padding: 0 22px 12px; border-bottom: 1px solid var(--rule); }
.back { width: 9px; height: 9px; border: solid var(--accent); border-width: 0 0 1.6px 1.6px; transform: rotate(45deg); margin-right: 4px; flex: none; }
.av { width: 30px; height: 30px; border-radius: 50%; background: var(--brand, var(--ink)); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 15px; flex: none; }
.chat-head b { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.chat-head small { font-size: 10px; color: var(--muted); }
.chat-note { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 9.5px; color: var(--muted); margin: 12px 0 4px; }
.chat-note svg { width: 10px; height: 10px; }
.thread { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; overflow: hidden; padding-bottom: 4px; }
.bub { max-width: 80%; padding: 8px 12px; border-radius: 17px; font-size: 11.5px; line-height: 1.4; animation: bubIn .4s var(--spring) both; }
.bub.out { align-self: flex-end; background: var(--accent-ink); color: #fff; border-bottom-right-radius: 5px; transform-origin: 100% 100%; }
.bub.in { align-self: flex-start; background: var(--white); border: 1px solid var(--rule); color: var(--ink); border-bottom-left-radius: 5px; transform-origin: 0 100%; }
@keyframes bubIn { from { opacity: 0; transform: scale(.85) translateY(6px); } }
.meta-line { align-self: flex-end; font-size: 9px; color: var(--muted); margin-top: -2px; }
.bub.typing { display: flex; gap: 3px; padding: 12px 12px; }
.bub.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--rule-strong); animation: dots 1.2s infinite; }
.bub.typing i:nth-child(2) { animation-delay: .15s; } .bub.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 30% { background: var(--muted); transform: translateY(-2px); } }
.composer { display: flex; align-items: flex-end; gap: 8px; margin-top: 8px; padding: 5px 5px 5px 13px; border-radius: 20px; background: var(--white); border: 1px solid var(--rule); min-height: 36px; flex: none; }
.ctext { flex: 1; font-size: 11.5px; color: var(--ink); line-height: 1.4; padding: 4px 0; }
.ctext:empty::before { content: 'Message'; color: var(--muted); }
.ctext.caret:empty::before { content: none; }
.send { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-ink); display: grid; place-items: center; flex: none; }
.send svg { width: 12px; height: 12px; color: #fff; }

/* ---------- Phone video pieces (background art, badges, progress) ---------- */

.pl-art { position: absolute; inset: -20%; background: radial-gradient(40% 50% at 30% 40%, rgba(91, 61, 245, .7), transparent 70%), radial-gradient(45% 55% at 75% 60%, rgba(31, 63, 191, .8), transparent 70%), radial-gradient(30% 40% at 60% 20%, rgba(184, 64, 127, .55), transparent 70%); animation: drift 12s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(6%, -4%) rotate(8deg) scale(1.08); } }

@keyframes wave { to { height: 100%; } }
.loop-badge { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 9.5px; font-weight: 500; color: #fff; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* ---------- Exhibitors: audience ---------- */
.people li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--rule); opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.people li.in { opacity: 1; transform: none; }
.people .ab { width: 32px; height: 32px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--rule); display: grid; place-items: center; font-size: 9px; font-weight: 600; letter-spacing: .03em; color: var(--ink); flex: none; }
.people b { display: block; font-size: 12px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.people span { font-size: 10.5px; color: var(--muted); }
.people .vt { margin-left: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); position: relative; flex: none; transform: scale(0); transition: transform .4s var(--spring) .25s; }
.people .vt::after { content: ''; position: absolute; left: 5.5px; top: 3px; width: 3.5px; height: 7px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.people li.in .vt { transform: scale(1); }

/* ---------- Exhibitors: lock screen ---------- */
.scr-lock { padding-top: 70px; }
.lock-date { text-align: center; color: rgba(255, 255, 255, .78); font-size: 12px; font-weight: 500; }
.lock-time { text-align: center; color: #fff; font-family: var(--sans); font-size: 66px; font-weight: 300; line-height: 1; letter-spacing: -.02em; margin-top: 2px; }
.notes { margin-top: 28px; display: flex; flex-direction: column; gap: 7px; }
.note { display: grid; grid-template-columns: 26px 1fr; gap: 2px 9px; padding: 10px 11px; border-radius: 16px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); animation: noteIn .6s var(--spring) both; }
@keyframes noteIn { from { opacity: 0; transform: translateY(-18px) scale(.95); } }
.note .app-mark { width: 26px; height: 26px; border-radius: 7px; grid-row: span 2; }
.note-top { display: flex; justify-content: space-between; gap: 8px; font-size: 10px; color: var(--ink-2); }
.note-top b { font-weight: 600; color: var(--ink); }
.note-top small { font-size: 10px; color: var(--muted); }
.note p { font-size: 10.5px; line-height: 1.35; color: var(--ink); }
.note p strong { font-weight: 600; }
.lock-foot { margin-top: auto; text-align: center; color: rgba(255, 255, 255, .6); font-size: 10px; }

/* ---------- Tiles grid ---------- */
.glance { padding: 160px 0 120px; border-top: 1px solid var(--rule); background: var(--white); }
.glance.alt { background: var(--paper); }
.glance .eyebrow { margin-bottom: 14px; }
.glance h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; margin-bottom: 56px; max-width: 760px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile { padding: 28px 26px; border-radius: 20px; background: var(--paper); border: 1px solid var(--rule); min-height: 180px; display: flex; flex-direction: column; }
.tile > span { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tile b { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 48px); line-height: 1; color: var(--ink); margin-top: auto; padding-top: 28px; letter-spacing: -.02em; }
.tile h3 { font-size: 22px; line-height: 1.2; margin-top: auto; padding-top: 28px; }
.tile p { font-size: 13px; color: var(--muted); margin-top: 8px; text-wrap: pretty; }
.tile h3 + p { min-height: 3em; }
.tile-wide { grid-column: span 2; background: var(--accent-ink); border-color: var(--accent-ink); }
.tile-wide > span, .tile-wide p { color: rgba(255, 255, 255, .62); }
.tile-wide b, .tile-wide h3 { color: #fff; }
.tile-wide b { font-size: clamp(44px, 6vw, 72px); }
.tiles.three .tile { min-height: 210px; }
.tiles.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tiles.four .tile-wide { grid-column: auto; }
@media (max-width: 860px) { .tiles, .tiles.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tiles.three .tile:last-child { grid-column: span 2; } }
@media (max-width: 480px) { .tiles, .tiles.four { grid-template-columns: 1fr; } .tile-wide, .tiles.three .tile:last-child { grid-column: auto; } .tile { min-height: 150px; } }

/* ---------- Explore (cross-links) ---------- */
.explore { padding: 120px 0; border-top: 1px solid var(--rule); }
.explore .eyebrow { margin-bottom: 28px; }
.ex-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ex-card { position: relative; display: flex; flex-direction: column; min-height: 220px; padding: 30px 28px; border-radius: 20px; background: var(--white); border: 1px solid var(--rule); color: inherit; overflow: hidden; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.ex-card:hover { border-color: var(--rule-strong); transform: translateY(-3px); box-shadow: 0 24px 40px -30px rgba(14, 23, 38, .35); }
.ex-card > span { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ex-card h3 { font-size: 26px; line-height: 1.15; margin-top: auto; padding-top: 32px; max-width: 320px; }
.ex-card .more { margin-top: 14px; }
@media (max-width: 640px) { .ex-grid { grid-template-columns: 1fr; } .ex-card { min-height: 180px; } }

/* ---------- Closing & footer ---------- */
.closing { padding: 160px 0; text-align: center; border-top: 1px solid var(--rule); }
.closing h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.12; max-width: 640px; margin: 0 auto 18px; }
.closing p { max-width: 440px; margin: 0 auto 32px; color: var(--muted); }
.foot { border-top: 1px solid var(--rule); padding: 48px 0 28px; background: var(--paper); }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 36px; }
.foot-brand p { max-width: 300px; margin-top: 14px; font-size: 12px; color: var(--muted); }
.foot h4 { margin: 0 0 12px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.foot li { margin-bottom: 8px; }
.foot li a, .foot-bottom a { font-size: 12px; color: var(--muted); transition: color .2s; }
.foot li a:hover, .foot-bottom a:hover { color: var(--ink); }
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a { color: var(--muted); }
.socials svg { width: 16px; height: 16px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 11px; color: var(--muted); }
@media (max-width: 720px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.tiles .reveal:nth-child(2), .ex-grid .reveal:nth-child(2) { transition-delay: .06s; } .tiles .reveal:nth-child(3) { transition-delay: .12s; }
.tiles .reveal:nth-child(4) { transition-delay: .18s; } .tiles .reveal:nth-child(5) { transition-delay: .24s; }

/* ---------- Short hero (inner pages) ---------- */
.hero-short { min-height: 0; padding: 128px 0 88px; }
.hero-short h1 { font-size: clamp(34px, 4.6vw, 54px); }
.hero-short .sub { margin-bottom: 30px; }
.meta { margin-top: 18px; font-size: 12px; color: var(--muted); }

/* ---------- FAQ ---------- */
:root { interpolate-size: allow-keywords; }
.faq { padding: 24px 0 140px; }
.faq-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 72px; }
.side { position: sticky; top: calc(var(--bar-h) + 32px); align-self: start; }
.search { position: relative; margin-bottom: 24px; }
.search svg { position: absolute; left: 12px; top: 50%; width: 13px; height: 13px; margin-top: -6.5px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; height: 36px; padding: 0 12px 0 32px; border-radius: 999px; border: 1px solid var(--rule); background: var(--white); font: inherit; font-size: 13px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.side-links a { display: flex; justify-content: space-between; padding: 7px 0; font-size: 13px; color: var(--muted); transition: color .2s; }
.side-links a small { font-size: 11px; color: var(--rule-strong); font-variant-numeric: tabular-nums; }
.side-links a:hover, .side-links a.on { color: var(--ink); }
.side-links a.on { font-weight: 600; }
.qa-group { margin-bottom: 72px; scroll-margin-top: calc(var(--bar-h) + 32px); }
.qa-group > h2 { font-size: 26px; line-height: 1.2; margin-bottom: 14px; }
.qa-group details { border-top: 1px solid var(--rule); }
.qa-group details:last-child { border-bottom: 1px solid var(--rule); }
.qa-group summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; cursor: pointer; font-size: 16px; font-weight: 500; color: var(--ink); letter-spacing: -.005em; }
.qa-group summary::-webkit-details-marker { display: none; }
.qa-group summary::after { content: '+'; flex: none; font-size: 22px; font-weight: 300; line-height: 1; color: var(--muted); transition: transform .35s var(--ease), color .2s; }
.qa-group summary:hover::after { color: var(--ink); }
.qa-group details[open] summary::after { transform: rotate(45deg); }
.qa-group details::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.qa-group details[open]::details-content { block-size: auto; }
.answer { padding: 0 48px 22px 0; max-width: 640px; font-size: 15px; color: var(--muted); text-wrap: pretty; }
.answer p + p { margin-top: 10px; }
.qa-empty { padding: 40px 0; font-size: 15px; color: var(--muted); }
@media (max-width: 860px) {
  .faq-grid, .legal-grid { grid-template-columns: 1fr; gap: 32px; }
  .side { position: static; }
  .side-links { display: flex; flex-wrap: wrap; gap: 6px; }
  .side-links a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--rule); background: var(--white); font-size: 12px; gap: 6px; }
  .side-links a.on { font-weight: 500; }
  .answer { padding-right: 0; }
  .toc { display: none; }
}

/* ---------- Contact ---------- */
.contact { padding: 24px 0 140px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 88px; align-items: start; max-width: 940px; margin: 0 auto; }
.form-card { background: var(--white); border: 1px solid var(--rule); border-radius: 24px; padding: 36px; }
.form-card h2 { font-size: 26px; margin-bottom: 6px; }
.form-card form > h2 + p { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
.f.full { grid-column: 1 / -1; }
.f label { display: block; font-size: 12px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.f input, .f select, .f textarea {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--rule-strong); background: var(--paper);
  font: inherit; font-size: 14px; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.f select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 11px; padding-right: 36px; }
.f textarea { height: 140px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); background: var(--white); }
.f.invalid input, .f.invalid select, .f.invalid textarea { border-color: var(--danger); box-shadow: 0 0 0 3px #fbe9e7; }
.f .error { font-size: 11.5px; color: var(--danger); margin-top: 6px; }
.f .error:empty { display: none; }
.consent { font-size: 12px; color: var(--muted); margin: 22px 0 16px; }
.btn-submit { width: 100%; height: 46px; border: 0; border-radius: 999px; background: var(--accent-ink); color: #fff; font-size: 14px; font-weight: 500; cursor: pointer; transition: background .2s, transform .15s; }
.btn-submit:hover { background: var(--accent); }
.btn-submit:active { transform: scale(.99); }
.btn-submit[disabled] { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: none; text-align: center; padding: 56px 36px; }
.form-success .tk { display: inline-block; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); position: relative; margin-bottom: 20px; animation: bump .5s var(--spring); }
.form-success .tk::after { content: ''; position: absolute; left: 16px; top: 10px; width: 9px; height: 17px; border: solid #fff; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }
.form-success h2 { margin-bottom: 10px; }
.form-success p { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.form-success button { border: 0; background: none; color: var(--accent); font-size: 13px; font-weight: 500; cursor: pointer; }
.sent form { display: none; }
.sent .form-success { display: block; }
.contact-phone { position: sticky; top: calc(var(--bar-h) + 40px); }
.contact-phone .phone-fit { --s: 1; }
.contact-phone .cap { margin-top: 20px; text-align: center; font-size: 12px; color: var(--muted); }
.bub { white-space: pre-wrap; overflow-wrap: anywhere; }
.bub.draft { background: var(--white); color: var(--ink); border: 1px dashed var(--accent); max-height: 260px; overflow: hidden; animation: none; transition: background .4s, color .4s, border-color .4s; }
.bub.draft.empty { color: var(--muted); border-color: var(--rule-strong); }
.bub.draft.done { background: var(--accent-ink); color: #fff; border: 1px solid var(--accent-ink); border-bottom-right-radius: 5px; }
.chat-note b { color: var(--ink); font-weight: 600; }
.from { font-size: 10.5px; color: var(--muted); padding: 9px 13px; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .contact-phone { display: none; } }
@media (max-width: 560px) { .form-card { padding: 26px 20px; border-radius: 20px; } .form-grid { grid-template-columns: 1fr; } }

/* Contact tiles */
.tiles.equal .tile { min-height: 190px; }
.tile .mail { margin-top: 10px; font-size: 13px; font-weight: 500; }
.tile button.mail { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--accent); cursor: pointer; }
.tile-wide .mail { color: #fff; }

/* ---------- Legal ---------- */
.legal-wrap { padding: 16px 0 140px; }
.legal-grid { display: grid; grid-template-columns: 210px minmax(0, 680px); gap: 72px; justify-content: center; }
.toc a { display: block; padding: 5px 0; font-size: 12.5px; color: var(--muted); transition: color .2s; }
.toc a:hover, .toc a.on { color: var(--ink); }
.toc a.on { font-weight: 600; }
.legal .intro { font-size: 17px; line-height: 1.6; color: var(--ink); margin-bottom: 8px; }
.legal h2 { font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: -.01em; margin: 44px 0 12px; scroll-margin-top: calc(var(--bar-h) + 28px); }
.legal p, .legal li { font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--rule-strong); }
.legal b { color: var(--ink); font-weight: 600; }

/* ---------- Accessibility & utilities ---------- */
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* Site-wide notification */
.site-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px;
  background: var(--ink); color: #fff; font-size: 13px; box-shadow: 0 20px 40px -20px rgba(14, 23, 38, .5);
  opacity: 0; transform: translate(-50%, 12px); transition: opacity .3s var(--ease), transform .4s var(--spring); pointer-events: none;
}
.site-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Coverage grid (crawlable priorities, homepage) ---------- */
.prio-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.prio { display: flex; flex-direction: column; padding: 24px 22px; border-radius: 20px; background: var(--paper); border: 1px solid var(--rule); }
.prio > span { font-family: var(--serif); font-size: 15px; color: var(--accent); }
.prio h3 { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: -.01em; margin: 18px 0 4px; }
.prio p { font-size: 13px; color: var(--muted); margin-bottom: 16px; min-height: 3.1em; text-wrap: pretty; }
.prio ul { padding-top: 12px; border-top: 1px solid var(--rule); }
.prio li { display: flex; align-items: center; gap: 7px; padding: 3px 0; font-size: 11.5px; color: var(--ink-2); }
.prio li i { width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--accent)); flex: none; }
@media (max-width: 960px) { .prio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .prio-grid { grid-template-columns: 1fr; } }

/* ---------- Form sections ---------- */
.form-section { padding: 24px 0 140px; }
.form-section.ruled { padding-top: 140px; border-top: 1px solid var(--rule); }
.form-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 80px; align-items: start; }
.form-split .eyebrow { margin-bottom: 14px; }
.form-split h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; margin-bottom: 16px; }
.form-split .lede { font-size: 15px; color: var(--muted); max-width: 400px; text-wrap: pretty; }
.facts { margin-top: 32px; max-width: 400px; }
.facts li { display: flex; justify-content: space-between; gap: 24px; padding: 12px 0; border-top: 1px solid var(--rule); font-size: 13px; }
.facts li:last-child { border-bottom: 1px solid var(--rule); }
.facts li span:first-child { color: var(--muted); }
.facts li span:last-child { color: var(--ink); text-align: right; }
@media (max-width: 900px) { .form-split { grid-template-columns: 1fr; gap: 40px; } }

.f .hint { font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.f label .opt, .f .label .opt { font-weight: 400; color: var(--muted); }
.f .label { display: block; font-size: 12px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.form-alert { margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; background: #fbe9e7; color: var(--danger); font-size: 13px; }
.form-success .actions { margin-top: 4px; justify-content: center; }
.form-success .btn-ghost { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--rule-strong); background: var(--white); color: var(--ink); font-size: 13px; font-weight: 500; cursor: pointer; }
.form-success .btn-ghost svg { width: 14px; height: 14px; }

/* Choice chips (priorities) */
.pick { display: flex; flex-wrap: wrap; gap: 6px; }
.pick button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--rule-strong); background: var(--white); color: var(--ink-2); font-size: 12px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.pick button:hover { border-color: var(--ink); }
.pick button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Access request: pass preview ---------- */
.access-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 88px; align-items: start; max-width: 980px; margin: 0 auto; }
@media (max-width: 960px) { .access-grid { grid-template-columns: 1fr; } .access-grid .contact-phone { display: none; } }
.pass { border-radius: 20px; overflow: hidden; background: var(--white); border: 1px solid var(--rule); box-shadow: 0 16px 30px -22px rgba(14, 23, 38, .45); }
.pass-top { position: relative; padding: 16px 16px 18px; color: #fff; background: radial-gradient(120% 90% at 90% 0%, #2c47a8, transparent 60%), linear-gradient(160deg, #142a63, #0b1f44 60%, #0e1726); }
.pass-top small { display: block; font-size: 9px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.pass-top b { display: block; margin-top: 26px; font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.15; overflow-wrap: anywhere; }
.pass-top span { display: block; margin-top: 3px; font-size: 11px; color: rgba(255, 255, 255, .75); overflow-wrap: anywhere; }
.pass-body { padding: 4px 16px 12px; }
.pass-body > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 11px; }
.pass-body > div:last-child { border-bottom: 0; }
.pass-body > div > span:first-child { color: var(--muted); flex: none; }
.pass-body > div > span:last-child { color: var(--ink); text-align: right; overflow-wrap: anywhere; }
.pass-chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.pass-chips i { font-style: normal; font-size: 9.5px; padding: 2px 7px; border-radius: 999px; background: var(--paper-2); color: var(--ink); }
.ph-muted { color: var(--muted) !important; }
.scr-pass .st { align-self: center; margin-top: 16px; }

/* Attend: invite code + request an invite */
.form-card.compact { padding: 30px 32px; scroll-margin-top: calc(var(--bar-h) + 24px); }
.form-card.compact .form-success { padding: 28px 12px; }
.code-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.code-row input { letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.code-row .btn-submit { width: auto; height: 44px; margin-top: 21px; padding: 0 20px; white-space: nowrap; }
.or { display: flex; align-items: center; gap: 14px; margin: 28px 0; font-size: 12px; color: var(--muted); }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--rule); }
@media (max-width: 560px) {
  .form-card.compact { padding: 24px 20px; }
  .code-row { grid-template-columns: 1fr; }
  .code-row .btn-submit { width: 100%; margin-top: 0; }
}

/* ---------- Founder video caption ---------- */
.lower-third { position: absolute; left: 12px; bottom: 22px; padding: 6px 10px; border-radius: 8px; background: rgba(14, 23, 38, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lower-third b { display: block; font-size: 11.5px; font-weight: 600; color: #fff; }
.lower-third span { display: block; font-size: 9.5px; color: rgba(255, 255, 255, .72); }

.local-hours { margin-top: 18px; font-size: 12px; color: var(--muted); }

@media (max-width: 960px) {  .access-grid .contact-phone.tv-phone { display: block; position: static; justify-self: center; } }

/* ---------- 404 ---------- */
.notfound { min-height: calc(100svh - var(--bar-h) - 200px); }

/* ---------- Mobile: phone pinned on top, text cards pinned to the bottom ---------- */
@media (max-width: 860px) {
  .story-grid { display: block; }
  .stage { height: 60svh; z-index: 1; }
  .stage-inner { gap: 16px; padding-top: 12px; }
  .glow { width: 300px; height: 300px; margin: -150px 0 0 -158px; filter: blur(50px); }
  .dots { gap: 8px; }
  .steps { position: relative; z-index: 2; margin-top: -20svh; }
  .step { min-height: 0; height: 90svh; align-items: flex-end; }
  .step:last-child { height: 70svh; }
  .card {
    position: sticky; bottom: 16px; max-width: none; width: 100%; opacity: 0; transform: translateY(16px);
    padding: 20px 20px 22px; border-radius: 20px;
    background: rgba(255, 255, 255, .84); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(14, 23, 38, .06); box-shadow: 0 20px 40px -24px rgba(14, 23, 38, .3);
  }
  .num { margin-bottom: 10px; }
  .card h2 { font-size: 22px; margin-bottom: 8px; }
  .card p { font-size: 13.5px; }
  .card .hint { margin-top: 10px; }
  .hero { padding: 72px 0 110px; }
  .glance, .closing { padding: 112px 0; }
  .explore { padding: 88px 0; }
  .glance h2 { margin-bottom: 36px; }
}

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

/* ---------- The company card: founder video in front, digital booth behind ---------- */
.fvid {
  position: relative; overflow: hidden; flex: none;
  background: radial-gradient(110% 90% at 85% 5%, color-mix(in srgb, var(--brand, #5b3df5) 75%, transparent), transparent 62%),
              radial-gradient(80% 80% at 0% 100%, color-mix(in srgb, var(--brand, #5b3df5) 40%, transparent), transparent 70%), #0e1726;
}
.fvid .pl-art { opacity: .45; }
.fvid .loop-badge { top: 10px; left: 10px; }
.fvid .lower-third { bottom: 20px; }

.scr-flip { padding-bottom: 26px; }
.flip { position: relative; flex: 1; min-height: 0; perspective: 1400px; }
.flip-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.flip.flipped .flip-inner { transform: rotateY(180deg); }
.face {
  position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 20px;
  background: var(--white); border: 1px solid var(--rule); box-shadow: 0 14px 28px -18px rgba(14, 23, 38, .4);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.face.front .fvid { height: 62%; }
.fv-body { flex: 1; display: flex; flex-direction: column; padding: 12px 14px 14px; }
.fv-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; }
.fv-actions .s-btn, .send-msg { margin: 0; gap: 7px; }
.fv-actions svg, .send-msg svg, .back-link svg { width: 13px; height: 13px; }
.face.rear { transform: rotateY(180deg); padding: 12px 14px 14px; }
.back-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 9.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.back-link { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); letter-spacing: 0; text-transform: none; font-weight: 500; font-size: 10.5px; }
.face.rear .booth { flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
.face.rear .bd-row { padding: 6px 0; }
.send-msg { flex: none; margin-top: 10px; }
.send-msg.pulse { animation: ring 1.6s var(--ease) infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(31, 63, 191, .45); } 70%, 100% { box-shadow: 0 0 0 10px rgba(31, 63, 191, 0); } }

/* The message sheet slides up over the booth */
.scr > .sheet, .scr.is-active > .sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 10px 18px 30px; border-radius: 22px 22px 0 0;
  background: var(--white); box-shadow: 0 -18px 40px -16px rgba(14, 23, 38, .35); transform: translateY(105%); transition: transform .5s var(--ease);
}
.scr.is-active > .sheet.open { transform: none; }
.sheet-grab { display: block; width: 36px; height: 4px; margin: 0 auto 12px; border-radius: 2px; background: var(--rule-strong); }
.sheet-title { font-family: var(--serif); font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.sheet-row { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--rule); font-size: 11px; }
.sheet-row span { width: 36px; color: var(--muted); }
.sheet-row b { font-weight: 500; color: var(--ink); }
.sheet-msg { min-height: 74px; padding: 10px 0; font-size: 11.5px; line-height: 1.45; color: var(--ink); }
.sheet .chat-note { justify-content: flex-start; margin: 0 0 10px; }
.sheet .s-btn { margin: 0; }

/* ---------- Founder briefings: one founder at a time, full screen ---------- */
.scr.scr-reel { padding: 0; }
.reel { position: absolute; inset: 0; overflow: hidden; background: #0e1726; }
.reel-track { position: absolute; inset: 0; transition: transform .75s var(--ease); }
.slide {
  position: relative; height: 100%; overflow: hidden; color: #fff;
  background: radial-gradient(120% 80% at 80% 10%, color-mix(in srgb, var(--brand) 70%, transparent), transparent 60%),
              radial-gradient(90% 70% at 10% 100%, color-mix(in srgb, var(--brand) 35%, transparent), transparent 70%), #0e1726;
}
.slide .pl-art { opacity: .35; }
.speaker { position: absolute; left: 50%; bottom: 0; width: 310px; margin-left: -155px; fill: rgba(255, 255, 255, .09); }
.slide::after { content: ''; position: absolute; inset: auto 0 0; height: 55%; background: linear-gradient(transparent, rgba(8, 14, 26, .78)); pointer-events: none; }
.reel-top { position: absolute; z-index: 1; top: 58px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; }
.on-stage { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 9.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.reel-time { font-size: 10px; color: rgba(255, 255, 255, .75); font-variant-numeric: tabular-nums; }
.rail { position: absolute; z-index: 1; right: 12px; bottom: 150px; display: flex; flex-direction: column; gap: 14px; }
.rail-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 9px; color: rgba(255, 255, 255, .85); }
.rail-btn svg { box-sizing: content-box; width: 18px; height: 18px; padding: 10px; border-radius: 50%; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .3s, color .3s; }
.rail-btn.on svg { background: #fff; color: var(--pink); fill: var(--pink); animation: bump .45s var(--spring); }
.reel-info { position: absolute; z-index: 1; left: 16px; right: 72px; bottom: 44px; }
.reel-info .bcat { color: rgba(255, 255, 255, .75); }
.reel-name { display: block; margin-top: 4px; font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.1; }
.reel-tag { margin-top: 4px; font-size: 11.5px; line-height: 1.4; color: rgba(255, 255, 255, .82); }
.reel-who { display: inline-block; margin-top: 10px; padding: 4px 9px; border-radius: 8px; background: rgba(14, 23, 38, .55); font-size: 10px; }
.slide .pbar { z-index: 1; left: 16px; right: 16px; bottom: 26px; }
.scr.is-active .slide .pbar i { animation: none; width: 0; }
.scr.is-active .slide.current .pbar i { animation: prog var(--len) linear forwards; }
.next-chip { position: absolute; z-index: 2; left: 50%; top: 50%; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 11px; font-weight: 600; opacity: 0; transform: translate(-50%, -50%) scale(.9); transition: opacity .3s, transform .3s var(--spring); }
.next-chip.show { opacity: 1; transform: translate(-50%, -50%); }
