/* JoinInter · Aurora
   Spatial, luminous, cinematic dark. Light passing through a room full of voices.
   Each language is a hue; surfaces are opaque spatial panels lit from above, not frosted glass. */

:root {
  color-scheme: dark;
  /* base */
  --void: #03060F;
  --abyss: #050A1A;
  --deep: #081233;
  --blue: #002060;
  /* language hues */
  --en: #45C2F9;   /* aqua */
  --th: #F9606C;   /* warm coral */
  --es: #FFB547;   /* amber */
  --zh: #A48BFF;   /* violet */
  /* ink */
  --ink: #EEF2FF;
  --ink-2: rgba(222, 230, 255, .66);
  --ink-3: rgba(200, 212, 245, .42);
  --ink-4: rgba(190, 205, 245, .22);
  /* panels */
  --panel: linear-gradient(180deg, rgba(24, 34, 70, .86), rgba(11, 17, 40, .9));
  --panel-flat: #0B1230;
  --panel-raised: linear-gradient(180deg, rgba(34, 46, 92, .92), rgba(15, 22, 52, .94));
  --rim: rgba(160, 185, 255, .12);
  --rim-top: rgba(255, 255, 255, .08);
  --sunken: rgba(2, 5, 16, .55);
  --shadow-1: 0 1px 0 var(--rim-top) inset, 0 0 0 1px var(--rim), 0 18px 40px -18px rgba(0, 0, 0, .7);
  --shadow-2: 0 1px 0 var(--rim-top) inset, 0 0 0 1px var(--rim), 0 40px 90px -30px rgba(0, 0, 0, .85), 0 12px 30px -12px rgba(0, 0, 0, .6);
  /* type */
  --display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --body: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --thai: "Noto Sans Thai", "Manrope", sans-serif;
  /* shape */
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --r-xl: 32px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --slow: 1.2s;
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--void);
  background-image: radial-gradient(120% 80% at 50% -10%, #0A1A4A 0%, var(--abyss) 45%, var(--void) 100%);
  background-attachment: fixed;
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html { overflow-x: clip; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: color-mix(in srgb, var(--en) 40%, transparent); }
:focus-visible { outline: 2px solid var(--en); outline-offset: 3px; border-radius: 6px; }

/* ---------- atmosphere ---------- */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.glow {
  position: absolute; width: 62vmax; height: 62vmax; border-radius: 50%;
  filter: blur(90px); opacity: .22; mix-blend-mode: screen;
  animation: drift 38s var(--ease) infinite alternate;
}
.g-en { background: radial-gradient(closest-side, var(--en), transparent); left: -18vmax; top: -10vmax; }
.g-th { background: radial-gradient(closest-side, var(--th), transparent); right: -22vmax; top: 18vh; animation-duration: 46s; animation-delay: -12s; opacity: .2; }
.g-es { background: radial-gradient(closest-side, var(--es), transparent); left: 18vw; bottom: -38vmax; animation-duration: 52s; opacity: .11; }
.g-zh { background: radial-gradient(closest-side, var(--zh), transparent); right: 10vw; top: -30vmax; animation-duration: 42s; animation-delay: -20s; opacity: .17; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6vw, 4vh, 0) scale(1.08); }
  100% { transform: translate3d(-4vw, 8vh, 0) scale(.94); }
}
.grain {
  position: absolute; inset: -50%; opacity: .085; mix-blend-mode: overlay;
  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='2' 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='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 16px var(--gutter);
  background: linear-gradient(180deg, rgba(3, 6, 15, .82), rgba(3, 6, 15, 0));
}
.brand { display: flex; align-items: center; gap: 10px; font: 500 17px/1 var(--display); letter-spacing: -.01em; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; color: var(--ink-2); }
.nav-links a { transition: color .3s; }
.nav-links a:hover { color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  --bh: var(--en);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 15.5px/1 var(--body); letter-spacing: .005em; white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s;
}
.btn-primary {
  color: #050A1A;
  background: linear-gradient(100deg, #FFD9C9 0%, #FF9A85 30%, var(--th) 55%, #FF8C7A 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset, 0 10px 40px -8px color-mix(in srgb, var(--th) 70%, transparent), 0 0 80px -20px var(--th);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .5) inset, 0 16px 50px -8px color-mix(in srgb, var(--th) 85%, transparent), 0 0 110px -16px var(--th); }
.btn-ghost { color: var(--ink); background: rgba(150, 175, 255, .06); box-shadow: 0 0 0 1px var(--rim) inset, 0 1px 0 var(--rim-top) inset; }
.btn-ghost:hover { background: rgba(150, 175, 255, .11); transform: translateY(-2px); }
.btn-small { height: 38px; padding: 0 18px; font-size: 14px; color: #050A1A; background: var(--ink); box-shadow: 0 0 30px -6px rgba(180, 210, 255, .5); }
.btn-small:hover { transform: translateY(-1px); }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font: 500 12.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
}
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--th); box-shadow: 0 0 0 4px color-mix(in srgb, var(--th) 22%, transparent), 0 0 14px var(--th); animation: breathe 2.6s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--th) 0%, transparent), 0 0 22px var(--th); } }
.display {
  margin: 0; font: 300 clamp(44px, 5.7vw, 84px)/1.02 var(--display); letter-spacing: -.045em;
}
.display.sm { font-size: clamp(40px, 6vw, 84px); }
.spectrum {
  font-weight: 400;
  background: linear-gradient(92deg, var(--en) 0%, #9FD8FF 18%, var(--zh) 40%, var(--th) 66%, var(--es) 92%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: spectrum 16s ease-in-out infinite alternate;
}
@keyframes spectrum { to { background-position: 100% 0; } }
.h2 { margin: 0; font: 300 clamp(32px, 4.2vw, 58px)/1.06 var(--display); letter-spacing: -.035em; max-width: 18ch; }
.sub { margin: 22px 0 0; max-width: 60ch; color: var(--ink-2); font-size: 18px; }
.lede { margin: 26px auto 0; max-width: 62ch; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--ink-2); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(28px, 5vh, 64px) var(--gutter) 40px; }
/* volumetric light: four language beams falling into the room */
.beams { position: absolute; left: 50%; top: -120px; width: min(1500px, 120vw); height: 1100px; transform: translateX(-50%); pointer-events: none; z-index: 0;
  -webkit-mask: radial-gradient(70% 70% at 50% 20%, #000 30%, transparent 75%); mask: radial-gradient(70% 70% at 50% 20%, #000 30%, transparent 75%); }
.beams i { position: absolute; top: 0; width: 15%; height: 100%; border-radius: 50%; filter: blur(48px); mix-blend-mode: screen; opacity: .34;
  background: linear-gradient(180deg, transparent 0%, var(--h) 30%, transparent 85%); transform-origin: 50% 0; animation: sway 22s ease-in-out infinite alternate; }
.beams i:nth-child(1) { left: 14%; --h: var(--en); transform: rotate(14deg); }
.beams i:nth-child(2) { left: 34%; --h: var(--zh); transform: rotate(6deg); animation-delay: -6s; width: 11%; opacity: .26; }
.beams i:nth-child(3) { left: 55%; --h: var(--th); transform: rotate(-6deg); animation-delay: -11s; }
.beams i:nth-child(4) { left: 74%; --h: var(--es); transform: rotate(-15deg); animation-delay: -3s; width: 10%; opacity: .2; }
@keyframes sway { from { rotate: -3deg; translate: -2% 0; } to { rotate: 4deg; translate: 3% 0; } }
.hero-copy { text-align: center; max-width: 1100px; margin: 0 auto; position: relative; z-index: 3; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.lang-key { list-style: none; padding: 0; margin: 26px 0 0; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; font: 400 13px/1 var(--mono); color: var(--ink-3); }
.lang-key li { display: flex; align-items: center; gap: 8px; }
.lang-key i { width: 18px; height: 2px; border-radius: 2px; background: var(--h); box-shadow: 0 0 10px var(--h), 0 0 2px var(--h); }

.hero-stage { position: relative; z-index: 1; max-width: var(--maxw); margin: clamp(44px, 7vh, 72px) auto 0; perspective: 2400px; }

/* threads */
.threads { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; pointer-events: none; }
.thread { fill: none; stroke-width: 1.6; stroke-linecap: round; filter: drop-shadow(0 0 6px currentColor) drop-shadow(0 0 18px currentColor); opacity: .7; }
.thread.pulse { stroke-width: 2.6; stroke-dasharray: 3 1400; animation: photon 6s linear infinite; opacity: 1; filter: drop-shadow(0 0 6px currentColor) drop-shadow(0 0 14px currentColor); }
.t-en { stroke: var(--en); color: var(--en); }
.t-th { stroke: var(--th); color: var(--th); }
.t-es { stroke: var(--es); color: var(--es); }
.t-zh { stroke: var(--zh); color: var(--zh); }
.pulse.t-th { animation-delay: -1.5s; } .pulse.t-es { animation-delay: -3s; } .pulse.t-zh { animation-delay: -4.5s; }
@keyframes photon { from { stroke-dashoffset: 1400; } to { stroke-dashoffset: 0; } }

/* reader nodes floating around the window */
.node {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px;
  padding: 9px 14px 9px 10px; border-radius: 999px;
  background: var(--panel-raised); box-shadow: var(--shadow-2), 0 0 40px -10px var(--h);
  font: 500 12.5px/1.2 var(--body); color: var(--ink);
}
.node i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 500 10px/1 var(--mono); color: #050A1A; background: var(--h); box-shadow: 0 0 16px var(--h); font-style: normal; }
.node small { display: block; color: var(--ink-3); font: 400 11px/1.2 var(--mono); }
.node { transform: translateY(var(--py, 0px)); }
.node-en { left: 9%; top: -7.5%; }
.node-es { left: -2.5%; top: 86%; }
.node-zh { right: 9%; top: -7.5%; }

/* ---------- the mock (fixed 1180×720 canvas, scaled by JS) ---------- */
.mock-wrap {
  position: relative; z-index: 2; width: 100%; aspect-ratio: 1180 / 720;
  transform: rotateX(var(--rx, 14deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transform-origin: 50% 0%;
  transition: transform 1.4s var(--ease);
  will-change: transform;
}
.mock-wrap::before { /* light spill under the window */
  content: ""; position: absolute; inset: 8% 6% -8%; z-index: -1; border-radius: 40px;
  background: radial-gradient(60% 60% at 30% 50%, color-mix(in srgb, var(--en) 45%, transparent), transparent 70%),
              radial-gradient(50% 60% at 75% 60%, color-mix(in srgb, var(--th) 40%, transparent), transparent 70%);
  filter: blur(60px); opacity: .55;
}
.mock {
  position: absolute; left: 0; top: 0; width: 1180px; height: 720px;
  transform: scale(var(--s, 1)); transform-origin: 0 0;
  border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, #0B1330 0%, #070D22 100%);
  box-shadow: 0 0 0 1px rgba(170, 195, 255, .16), 0 1px 0 rgba(255, 255, 255, .14) inset, 0 80px 160px -40px rgba(0, 0, 0, .9), 0 30px 60px -30px rgba(0, 0, 0, .8);
  font: 400 13px/1.4 var(--body); color: var(--ink);
  user-select: none;
}
.mock svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.win-bar {
  height: 52px; display: flex; align-items: center; gap: 18px; padding: 0 16px 0 18px;
  background: linear-gradient(180deg, rgba(30, 42, 84, .7), rgba(14, 21, 48, .6));
  box-shadow: 0 1px 0 rgba(160, 185, 255, .1);
  position: relative; z-index: 2;
}
.lights { display: flex; gap: 8px; width: 176px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #3A4466; }
.lights i:nth-child(1) { background: #FF5F57; } .lights i:nth-child(2) { background: #FEBC2E; } .lights i:nth-child(3) { background: #28C840; }
.tb-title { display: flex; flex-direction: column; line-height: 1.15; }
.tb-title b { font: 600 13.5px/1.2 var(--display); }
.tb-title small { color: var(--ink-3); font-size: 11px; }
.tb-center { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.tally { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 999px; font: 600 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #FFE3E6; background: color-mix(in srgb, var(--th) 26%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--th) 50%, transparent) inset, 0 0 24px -4px var(--th); }
.tally i { width: 7px; height: 7px; border-radius: 50%; background: var(--th); box-shadow: 0 0 8px var(--th); animation: breathe 2.4s ease-in-out infinite; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--sunken); box-shadow: 0 0 0 1px var(--rim) inset; color: var(--ink-2); font: 400 11.5px/1 var(--mono); }
.chip svg { width: 13px; height: 13px; }
.chip.num { color: var(--ink); }
.timer-chip small { color: var(--ink-3); font: 400 10.5px/1 var(--body); }
.bars { display: flex; gap: 2px; align-items: center; }
.bars i { width: 3px; height: 10px; border-radius: 2px; background: rgba(160, 185, 255, .18); transition: background .12s; }
.bars i.on { background: var(--en); box-shadow: 0 0 6px var(--en); }
.bars i.on.hot { background: var(--es); box-shadow: 0 0 6px var(--es); }
.golive { height: 32px; padding: 0 18px; margin-left: 4px; border: 0; border-radius: 999px; font: 600 12.5px/1 var(--body); color: #FFE9EB; background: linear-gradient(180deg, #FF7A85, #E8475A); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 6px 22px -6px var(--th); }

.win-body { display: flex; height: calc(100% - 52px); }
.side { width: 196px; flex: none; padding: 14px 10px; background: rgba(4, 8, 22, .55); box-shadow: 1px 0 0 rgba(160, 185, 255, .07); display: flex; flex-direction: column; gap: 1px; }
.side-h { display: flex; justify-content: space-between; margin: 12px 10px 5px; font: 500 9.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.side-h:first-child { margin-top: 2px; }
.side-h small { font: inherit; letter-spacing: .06em; text-transform: none; color: var(--ink-4); }
.side a { display: flex; align-items: center; gap: 10px; height: 29px; padding: 0 10px; border-radius: 9px; color: var(--ink-2); font-size: 12.5px; }
.side a.on { color: var(--ink); background: linear-gradient(90deg, color-mix(in srgb, var(--en) 20%, transparent), color-mix(in srgb, var(--en) 4%, transparent)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--en) 26%, transparent) inset; }
.side a.on svg { color: var(--en); }
.side a em { margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--th); box-shadow: 0 0 8px var(--th); }
.side .badge { margin-left: auto; font: 500 10px/1 var(--mono); color: var(--ink-3); }
.side-foot { margin-top: auto; padding: 10px; display: flex; align-items: center; gap: 9px; font-size: 11px; color: var(--ink-3); }
.langs { display: flex; }
.langs i { width: 12px; height: 12px; border-radius: 50%; background: var(--h); margin-right: -4px; box-shadow: 0 0 0 2px #060B1E, 0 0 10px var(--h); }

.room { flex: 1; padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.room-head { display: flex; align-items: center; justify-content: space-between; }
.mk { margin: 0 0 4px; font: 500 9.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--en); }
.room-head h3 { margin: 0; font: 400 21px/1.15 var(--display); letter-spacing: -.02em; }
.session { display: flex; align-items: center; gap: 12px; padding: 7px 14px 7px 7px; border-radius: 14px; background: var(--panel); box-shadow: var(--shadow-1); }
.session b { display: block; font: 500 12.5px/1.3 var(--mono); }
.session small { color: var(--ink-3); font-size: 10.5px; }

.qr { display: grid; background: #F4F7FF; padding: 4px; border-radius: 6px; }
.qr i { background: #050A1A; border-radius: 1px; }
.qr i.o { background: transparent; }
.qr-s { width: 44px; height: 44px; padding: 3px; }

.stats { display: grid; grid-template-columns: 1fr 1fr 1fr 1.6fr; gap: 10px; }
.stats > div { padding: 11px 14px; border-radius: 13px; background: var(--panel); box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 3px; }
.stats b { font: 400 24px/1 var(--mono); letter-spacing: -.02em; }
.stats span { font-size: 10.5px; color: var(--ink-3); }
.langbar p { display: flex; gap: 3px; margin: 8px 0 0; height: 8px; }
.langbar i { border-radius: 4px; background: var(--h); box-shadow: 0 0 12px -2px var(--h); }

.grid { flex: 1; display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: auto 1fr; gap: 12px; min-height: 0; }
.pane { position: relative; border-radius: 16px; background: var(--panel); box-shadow: var(--shadow-1); padding: 12px 14px 14px; overflow: hidden; min-height: 0; }
.pane header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.pane header > span:first-child { font: 500 9.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.pane header small { color: var(--ink-3); font-size: 10.5px; }
.spacer { flex: 1; }
.pill-s { font: 500 10px/1 var(--mono); padding: 5px 9px; border-radius: 999px; color: var(--ink-2); background: var(--sunken); box-shadow: 0 0 0 1px var(--rim) inset; }
.glow-th { color: #FFDCE0; background: color-mix(in srgb, var(--th) 22%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--th) 50%, transparent) inset, 0 0 18px -4px var(--th); opacity: 0; transition: opacity .6s; }
.glow-th.show { opacity: 1; }

/* captions monitor */
.cap-pane { grid-row: 1; }
.cap-lines { display: flex; flex-direction: column; gap: 9px; }
.cl { margin: 0; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: baseline; font: 400 14.5px/1.45 var(--body); color: var(--ink); }
.cl abbr { text-decoration: none; font: 500 9.5px/1 var(--mono); letter-spacing: .08em; color: var(--h); padding: 4px 0 4px 8px; border-left: 2px solid var(--h); box-shadow: -6px 0 14px -8px var(--h); }
.cl.th, .th { font-family: var(--thai); }
.txt { min-height: 1.45em; }
.txt .w { opacity: 0; display: inline-block; transform: translateY(6px); filter: blur(4px); animation: rise .9s var(--ease) forwards; }
.txt .w.tail { color: color-mix(in srgb, var(--h) 70%, white); text-shadow: 0 0 16px color-mix(in srgb, var(--h) 70%, transparent); }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }

/* timer */
.timer-pane { grid-row: 1; display: flex; flex-direction: column; }
.big-time { font: 300 54px/1 var(--mono); letter-spacing: -.04em; margin: 2px 0 12px; text-shadow: 0 0 30px rgba(69, 194, 249, .35); }
.t-track { height: 4px; border-radius: 4px; background: rgba(160, 185, 255, .1); overflow: hidden; }
.t-track i { display: block; height: 100%; width: 38%; border-radius: inherit; background: linear-gradient(90deg, var(--en), var(--zh)); box-shadow: 0 0 12px var(--en); transition: width 1s linear; }
.t-meta { display: flex; justify-content: space-between; margin: 10px 0 0; font-size: 11px; color: var(--ink-3); }
.ahead { color: #7FE3B0; font-family: var(--mono); }

/* Q&A */
.qa { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.q { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: start; padding: 9px 10px; border-radius: 11px; background: rgba(4, 8, 24, .35); box-shadow: 0 0 0 1px rgba(160, 185, 255, .06) inset; transition: transform 1s var(--ease), box-shadow 1s var(--ease), background 1s, opacity 1s; }
.q .likes { font: 400 17px/1.15 var(--mono); color: var(--ink-2); text-align: center; }
.q p { margin: 0; font-size: 12.8px; line-height: 1.35; }
.q small { display: block; font-size: 10.5px; color: var(--ink-3); margin-top: 3px; }
.q small:last-child::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--h); box-shadow: 0 0 6px var(--h); margin-right: 6px; vertical-align: 1px; }
.q .orig { font-family: var(--thai); color: color-mix(in srgb, var(--th) 60%, white); opacity: .8; }
.q.incoming { background: linear-gradient(90deg, color-mix(in srgb, var(--h) 18%, #0B1430), #0B1430 80%); box-shadow: 0 0 0 1px color-mix(in srgb, var(--h) 40%, transparent) inset, 0 18px 40px -14px rgba(0, 0, 0, .9), 0 0 40px -14px var(--h); transform: translateZ(0) scale(1.012); }
.q.incoming .likes { color: var(--th); }
.stage-tag { font: 500 9.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; color: #FFE3E6; background: color-mix(in srgb, var(--th) 30%, transparent); }
.q.arrive { animation: arrive 1.4s var(--ease) both; }
@keyframes arrive { from { opacity: 0; transform: translateY(-14px) scale(.97); filter: blur(6px); } }

/* poll */
.poll-q { margin: 0 0 10px; font: 400 14px/1.3 var(--display); }
.poll { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.poll li { display: grid; grid-template-columns: 76px 1fr 36px; gap: 10px; align-items: center; font-size: 12px; color: var(--ink-2); }
.poll li i { height: 8px; border-radius: 6px; background: rgba(160, 185, 255, .08); position: relative; overflow: hidden; }
.poll li i::after { content: ""; position: absolute; inset: 0; width: var(--w, 0%); border-radius: inherit; background: var(--h); box-shadow: 0 0 14px var(--h); transition: width 2.4s var(--ease); }
.poll li b { font: 400 11.5px/1 var(--mono); color: var(--ink); text-align: right; }
.poll-pane { display: flex; flex-direction: column; }
.poll-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid rgba(160, 185, 255, .08); font: 400 10.5px/1.3 var(--mono); color: var(--ink-3); }
.poll-foot .ring { width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(var(--es) var(--p, 68%), rgba(160, 185, 255, .12) 0); -webkit-mask: radial-gradient(circle, transparent 7px, #000 7.5px); mask: radial-gradient(circle, transparent 7px, #000 7.5px); }
.poll-foot button { margin-left: auto; height: 26px; padding: 0 12px; border: 0; border-radius: 999px; font: 600 11px/1 var(--body); color: #1A1204; background: linear-gradient(180deg, #FFD08A, var(--es)); box-shadow: 0 0 18px -4px var(--es); }

/* ---------- phone ---------- */
.phone {
  position: absolute; z-index: 5; right: -5.5%; bottom: -16%;
  width: clamp(150px, 17vw, 232px); aspect-ratio: 9 / 19;
  border-radius: 38px; padding: 7px;
  background: linear-gradient(160deg, #2A3358, #0B1028 40%, #1A2246);
  box-shadow: 0 0 0 1px rgba(200, 215, 255, .2), 0 60px 120px -30px rgba(0, 0, 0, .95), 0 0 90px -20px var(--th);
  transform: translateY(var(--py, 0px)) rotate(4deg);
  transition: transform .2s linear;
}
.phone-in { position: relative; height: 100%; border-radius: 32px; overflow: hidden; padding: 34px 14px 12px; display: flex; flex-direction: column; gap: 10px;
  background: radial-gradient(120% 60% at 50% 0%, color-mix(in srgb, var(--th) 26%, #050A1A), #050A1A 65%); }
.notch { position: absolute; top: 9px; left: 50%; width: 32%; height: 17px; transform: translateX(-50%); border-radius: 12px; background: #000; }
.ph-top { display: flex; align-items: center; gap: 6px; font: 600 10.5px/1 var(--body); }
.ph-top em { margin-left: auto; font: 500 9.5px/1 var(--thai); font-style: normal; padding: 4px 8px; border-radius: 999px; background: color-mix(in srgb, var(--th) 30%, transparent); color: #FFE3E6; }
.ph-label { margin: 6px 0 0; font: 500 9px/1 var(--thai); letter-spacing: .04em; color: var(--th); }
.ph-caps { display: flex; flex-direction: column; gap: 8px; font-family: var(--thai); }
.ph-caps p { margin: 0; }
.ph-caps .old { font-size: clamp(10px, 1vw, 12.5px); color: var(--ink-3); line-height: 1.5; }
.ph-caps .now { font-size: clamp(13px, 1.45vw, 18px); line-height: 1.5; font-weight: 400; color: #FFF2F3; text-shadow: 0 0 22px color-mix(in srgb, var(--th) 55%, transparent); }
.ph-orig { font: 400 clamp(8px, .75vw, 9.5px)/1.4 var(--body); color: var(--ink-3); padding-left: 8px; border-left: 2px solid color-mix(in srgb, var(--en) 60%, transparent); }
.ph-card { margin-top: auto; padding: 10px; border-radius: 16px; background: var(--panel-raised); box-shadow: var(--shadow-1), 0 0 30px -10px var(--th); font-family: var(--thai); }
.ph-card small { font-size: 8.5px; color: var(--th); }
.ph-card p { margin: 4px 0 6px; font-size: clamp(9.5px, .9vw, 11.5px); line-height: 1.45; }
.ph-card span { display: inline-flex; gap: 4px; align-items: center; font: 400 10px/1 var(--mono); color: var(--ink-2); }
.ph-card svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.ph-tabs { display: flex; justify-content: space-between; padding: 8px 6px 2px; font: 400 clamp(7.5px, .7vw, 9px)/1 var(--thai); color: var(--ink-3); border-top: 1px solid rgba(160, 185, 255, .08); }
.ph-tabs b { color: var(--th); font-weight: 500; }

/* ---------- strip ---------- */
.strip { max-width: var(--maxw); margin: clamp(120px, 16vh, 180px) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.strip div { padding: 24px 0 0; border-top: 1px solid rgba(160, 185, 255, .14); display: flex; flex-direction: column; gap: 6px; }
.strip b { font: 300 clamp(30px, 3.4vw, 46px)/1 var(--mono); letter-spacing: -.05em; }
.strip span { color: var(--ink-3); font-size: 14px; }

/* ---------- sections ---------- */
section.barriers, section.features, section.stage-sec, section.pricing, section.faq { max-width: var(--maxw); margin: 0 auto; padding: clamp(110px, 16vh, 180px) var(--gutter) 0; }
.sec-head { position: relative; margin-bottom: clamp(48px, 7vh, 80px); }
.sec-head.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px 64px; align-items: end; }
.sec-head.split .eyebrow { grid-column: 1 / -1; }
.sec-head.split .sub { margin: 0 0 8px; }
/* horizon: a line of light in the section's hue, with bloom */
.sec-head::before {
  content: ""; display: block; height: 1px; margin-bottom: 44px; grid-column: 1 / -1;
  background: linear-gradient(90deg, transparent, var(--h, var(--en)) 30%, color-mix(in srgb, var(--h, var(--en)) 40%, white) 50%, var(--h, var(--en)) 70%, transparent);
  box-shadow: 0 0 18px 1px var(--h, var(--en)), 0 0 60px 4px color-mix(in srgb, var(--h, var(--en)) 40%, transparent);
  opacity: .55;
}
.sec-head::after {
  content: ""; position: absolute; left: 50%; top: -160px; width: 80%; height: 320px; transform: translateX(-50%); z-index: -1; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--h, var(--en)) 22%, transparent), transparent 70%);
  filter: blur(20px);
}
.view-toggle { display: inline-flex; gap: 2px; padding: 3px; margin: 0 0 18px; border-radius: 999px; background: var(--sunken); box-shadow: 0 0 0 1px var(--rim) inset; }
.view-toggle button { height: 32px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 500 12.5px/1 var(--mono); letter-spacing: .04em; cursor: pointer; transition: background .4s, color .4s; }
.view-toggle button[aria-pressed="true"] { color: var(--ink); background: var(--panel-raised); box-shadow: var(--shadow-1), 0 0 20px -6px var(--zh); }

/* barriers: layered panels at different depths */
.layers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.layer {
  position: relative; padding: 36px 30px 34px; border-radius: var(--r-xl);
  background: var(--panel); box-shadow: var(--shadow-2);
  overflow: hidden;
}
.layer:nth-child(2) { margin-top: 56px; }
.layer:nth-child(3) { margin-top: 112px; }
.layer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--h), transparent); opacity: .9; }
.layer::after { content: ""; position: absolute; left: 50%; top: -120px; width: 320px; height: 220px; transform: translateX(-50%); background: radial-gradient(closest-side, color-mix(in srgb, var(--h) 34%, transparent), transparent); pointer-events: none; }
.layer .n { font: 300 60px/1 var(--mono); letter-spacing: -.06em; color: var(--h); text-shadow: 0 0 34px color-mix(in srgb, var(--h) 60%, transparent); }
.layer h3 { margin: 28px 0 10px; font: 400 25px/1.15 var(--display); letter-spacing: -.02em; }
.layer .prob { color: var(--ink); margin: 0 0 14px; font-weight: 500; }
.layer p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* features bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  position: relative; padding: 28px 26px 30px; border-radius: var(--r-l);
  background: var(--panel); box-shadow: var(--shadow-1); overflow: hidden;
  transition: transform .8s var(--ease), box-shadow .8s var(--ease);
}
.tile::before { content: ""; position: absolute; right: -60px; top: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--h) 30%, transparent), transparent); transition: transform 1.2s var(--ease), opacity 1s; opacity: .7; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-2), 0 0 60px -30px var(--h); }
.tile:hover::before { transform: scale(1.3); opacity: 1; }
.tile .k { position: relative; margin: 0 0 40px; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--h); }
.tile h3 { position: relative; margin: 0 0 10px; font: 400 21px/1.2 var(--display); letter-spacing: -.02em; }
.tile p:not(.k) { position: relative; margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.t-wide { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.t-long { grid-column: span 2; }
.t-wide h3 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.05; font-weight: 300; letter-spacing: -.035em; max-width: 12ch; }
.t-wide p:not(.k) { max-width: 44ch; font-size: 16.5px; }
kbd { font: 500 12px/1 var(--mono); padding: 3px 6px; border-radius: 6px; background: var(--sunken); box-shadow: 0 0 0 1px var(--rim) inset; color: var(--ink); }
.wave { margin-top: auto; padding-top: 40px; display: flex; align-items: center; gap: 5px; height: 130px; }
.wave i { flex: 1; border-radius: 4px; height: 20%; background: linear-gradient(180deg, var(--en), var(--zh)); box-shadow: 0 0 14px -2px var(--en); animation: wave 2.8s ease-in-out infinite; opacity: .85; }
.wave i:nth-child(4n+2) { animation-delay: -.4s; background: linear-gradient(180deg, var(--th), var(--es)); box-shadow: 0 0 14px -2px var(--th); }
.wave i:nth-child(3n) { animation-delay: -1.1s; }
.wave i:nth-child(5n+1) { animation-delay: -1.7s; }
.wave i:nth-child(7n) { animation-delay: -2.2s; }
@keyframes wave { 0%, 100% { height: 14%; } 50% { height: 92%; } }

/* stage showcase */
.stage-frame { position: relative; perspective: 2200px; }
.stage-frame::before { content: ""; position: absolute; inset: 6% 10% -10%; background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--zh) 40%, transparent), transparent 70%); filter: blur(70px); opacity: .6; z-index: -1; }
.stage {
  position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; container-type: inline-size;
  background: radial-gradient(90% 90% at 20% 0%, #0E1D52 0%, #050A1D 60%), #050A1D;
  box-shadow: 0 0 0 1px rgba(170, 195, 255, .16), 0 1px 0 rgba(255, 255, 255, .12) inset, 0 80px 160px -50px rgba(0, 0, 0, .95);
  display: grid; grid-template-columns: 1fr 25.5%; grid-template-rows: 1fr auto auto auto; gap: 1.4cqw; padding: 2cqw;
  font-size: 1cqw;
}
.zone { position: relative; border-radius: 1.4cqw; }
.zone::after { /* designer zone label */
  content: attr(data-zone); position: absolute; left: 1cqw; top: -.1cqw; transform: translateY(-50%);
  font: 500 .72cqw/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  padding: .3cqw .6cqw; border-radius: 99px; background: #050A1D; color: var(--ink-3); box-shadow: 0 0 0 1px rgba(160, 185, 255, .14);
  opacity: 0; transition: opacity .6s;
}
.stage:hover .zone::after, .stage.zones .zone::after { opacity: 1; }
.stage:hover .zone, .stage.zones .zone { outline: 1px dashed rgba(160, 185, 255, .22); outline-offset: .5cqw; }
.z-slide { grid-row: 1 / 3; padding: 3.4cqw 3.6cqw; background: linear-gradient(140deg, #0A2A7A 0%, var(--blue) 50%, #04123C 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 2cqw 4cqw -2cqw rgba(0, 0, 0, .8); overflow: visible; }
.sl-k { margin: 0; font: 500 1cqw/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--en); }
.sl-big { margin: 1.4cqw 0 .4cqw; font: 200 13cqw/.85 var(--display); letter-spacing: -.07em; background: linear-gradient(180deg, #E9F7FF, var(--en)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 3cqw rgba(69, 194, 249, .35)); }
.sl-sub { margin: 0; font: 400 1.7cqw/1.2 var(--display); color: var(--ink); }
.sl-row { display: flex; gap: 4cqw; margin-top: 3cqw; }
.sl-row b { display: block; font: 300 3.2cqw/1 var(--display); color: var(--th); letter-spacing: -.03em; }
.sl-row span { font-size: 1.05cqw; color: var(--ink-2); }
.sl-q {
  position: absolute; right: -1.6cqw; top: 2.4cqw; width: 30cqw; padding: 1.4cqw 1.6cqw;
  border-radius: 1.4cqw; background: linear-gradient(180deg, #FFF8F6, #FFE9E6); color: #0A0F24;
  box-shadow: 0 2.6cqw 5cqw -1.4cqw rgba(0, 0, 0, .7), 0 0 5cqw -1cqw var(--th);
  transform: rotate(-1.2deg);
  animation: floaty 9s ease-in-out infinite;
}
.sl-q::after { display: none; }
.sl-q small { display: flex; align-items: center; gap: .6cqw; font: 500 .9cqw/1 var(--mono); color: #C23848; letter-spacing: .02em; }
.sl-q small i { width: .7cqw; height: .7cqw; border-radius: 50%; background: var(--th); }
.sl-q p { margin: .7cqw 0 .5cqw; font: 500 1.75cqw/1.2 var(--display); letter-spacing: -.02em; }
.sl-q span { font: 400 1cqw/1.3 var(--thai); color: #5A6078; }
@keyframes floaty { 50% { transform: rotate(-1.2deg) translateY(-.6cqw); } }
.z-qr { grid-column: 2; grid-row: 1; padding: 1.6cqw; text-align: center; background: var(--panel); box-shadow: var(--shadow-1); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8cqw; }
.z-qr .qr { width: 13cqw; height: 13cqw; padding: .8cqw; border-radius: 1cqw; box-shadow: 0 0 4cqw -1cqw var(--en); }
.z-qr p { margin: .4cqw 0 0; font: 500 1.2cqw/1.2 var(--display); }
.z-qr small { font: 400 .85cqw/1 var(--mono); color: var(--ink-3); }
.z-timer { grid-column: 2; grid-row: 2; padding: 1.2cqw 1.6cqw; background: var(--panel); box-shadow: var(--shadow-1); }
.z-timer small { font: 500 .85cqw/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.z-timer b { display: block; margin: .5cqw 0 .8cqw; font: 300 4.4cqw/1 var(--mono); letter-spacing: -.05em; text-shadow: 0 0 2cqw rgba(69, 194, 249, .4); }
.z-timer .t-track { height: .35cqw; }
.z-poll { grid-column: 1 / 3; grid-row: 3; padding: 1cqw 1.6cqw; display: grid; grid-template-columns: auto 1fr; gap: 2cqw; align-items: center; background: var(--sunken); box-shadow: 0 0 0 1px var(--rim) inset; }
.z-poll small { font: 400 1cqw/1 var(--display); color: var(--ink-2); white-space: nowrap; }
.z-poll small span { font-family: var(--mono); color: var(--ink); }
.poll.mini { flex-direction: row; gap: 1.6cqw; }
.poll.mini li { flex: 1; grid-template-columns: auto 1fr; gap: .8cqw; font: 500 .85cqw/1 var(--mono); }
.poll.mini li i { height: .6cqw; }
.z-caps { grid-column: 1 / 3; grid-row: 4; padding: 1.2cqw 1.8cqw; background: linear-gradient(180deg, rgba(4, 8, 24, .9), rgba(2, 4, 14, .95)); box-shadow: 0 0 0 1px var(--rim) inset; display: flex; flex-direction: column; gap: .45cqw; }
.z-caps p { margin: 0; display: grid; grid-template-columns: 3cqw 1fr; align-items: baseline; font: 400 1.55cqw/1.3 var(--body); white-space: nowrap; overflow: hidden; }
.z-caps p:first-child { font-size: 1.85cqw; font-weight: 500; }
.z-caps abbr { text-decoration: none; font: 500 .8cqw/1 var(--mono); color: var(--h); letter-spacing: .08em; padding-left: .6cqw; border-left: .2cqw solid var(--h); }
.z-caps p:not(:first-child) .stxt { color: color-mix(in srgb, var(--h) 35%, var(--ink)); }
.z-foot { display: none; }
.stage-notes { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stage-notes li { padding-top: 16px; border-top: 1px solid rgba(160, 185, 255, .14); display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; color: var(--ink-2); }
.stage-notes b { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }

/* pricing */
.tiers { display: grid; grid-template-columns: 1fr 1.25fr 1fr 1fr; gap: 16px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border-radius: var(--r-l); background: var(--panel); box-shadow: var(--shadow-1); }
.tier .btn { margin-top: auto; width: 100%; }
.t-name { margin: 0; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); display: flex; justify-content: space-between; }
.t-name em { font-style: normal; color: var(--th); letter-spacing: .04em; text-transform: none; }
.t-price { margin: 24px 0 6px; font: 200 64px/1 var(--display); letter-spacing: -.05em; }
.t-price.sm { font-size: 38px; font-weight: 300; margin-top: 34px; margin-bottom: 14px; }
.t-cad { margin: 0 0 22px; font-size: 13.5px; color: var(--ink-3); }
.tier ul { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.tier li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; }
.tier li::before { content: ""; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--ink-3); }
.tier.pro { background: var(--panel-raised); box-shadow: var(--shadow-2), 0 0 0 1px color-mix(in srgb, var(--th) 40%, transparent), 0 0 120px -40px var(--th); transform: translateY(-14px); }
.tier.pro .t-price { font-size: 92px; background: linear-gradient(180deg, #FFF, #FFC2B8 60%, var(--th)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tier.pro li { color: var(--ink); }
.tier.pro li::before { background: var(--th); box-shadow: 0 0 8px var(--th); }
.halo { position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--a, 0deg), var(--en), var(--zh), var(--th), var(--es), var(--en)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .8; animation: halo 12s linear infinite; pointer-events: none; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes halo { to { --a: 360deg; } }
.req { margin: 26px 0 0; font: 400 13px/1.4 var(--mono); color: var(--ink-3); text-align: center; }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1.55fr; gap: 0 72px; align-items: start; }
.faq .sec-head { position: sticky; top: 110px; }
.faq-list { padding-top: 45px; }
.faq details { border-top: 1px solid rgba(160, 185, 255, .12); }
.faq details:last-child { border-bottom: 1px solid rgba(160, 185, 255, .12); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 26px 0; font: 400 clamp(18px, 1.9vw, 23px)/1.3 var(--display); letter-spacing: -.015em; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: rotate(45deg) translate(-3px, -3px); transition: transform .5s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq summary:hover { color: var(--en); }
.faq details p { margin: -6px 0 26px; max-width: 64ch; color: var(--ink-2); }

/* closing */
.closing { text-align: center; padding: clamp(140px, 20vh, 220px) var(--gutter) clamp(100px, 14vh, 160px); display: flex; flex-direction: column; align-items: center; gap: 36px; }
.closing img { filter: drop-shadow(0 0 40px rgba(249, 96, 108, .45)) drop-shadow(0 0 30px rgba(69, 194, 249, .35)); }

/* footer */
.foot { max-width: var(--maxw); margin: 0 auto; padding: 36px var(--gutter) 48px; border-top: 1px solid rgba(160, 185, 255, .1); display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; font-size: 13.5px; color: var(--ink-3); }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 500 15px/1 var(--display); }
.foot-brand small { color: var(--ink-3); font: 400 13px/1 var(--body); margin-left: 8px; }
.foot nav { display: flex; gap: 24px; }
.foot nav a:hover { color: var(--ink); }
.foot p { margin: 0; grid-column: 1 / -1; }
.lab { margin-left: 10px; font-family: var(--mono); font-size: 11.5px; padding: 3px 8px; border-radius: 99px; box-shadow: 0 0 0 1px var(--rim) inset; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(36px); filter: blur(6px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease), filter 1.4s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.js .layer.reveal.in { transform: translateY(var(--py, 0px)); transition: opacity 1.4s var(--ease), filter 1.4s var(--ease), transform .25s linear; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .tier.pro { transform: none; }
  .node { display: none; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav .btn-small { margin-left: auto; }
  .layers { grid-template-columns: 1fr; }
  .sec-head.split { grid-template-columns: 1fr; }
  section.faq { display: block; }
  .faq .sec-head { position: relative; top: 0; }
  .faq-list { padding-top: 0; }
  .sec-head.split .sub { margin-top: 4px; }
  .layer:nth-child(n) { margin-top: 0; }
  .js .layer.reveal.in { transform: none; }
  .hero-stage { margin-top: 56px; }
  section.barriers, section.features, section.stage-sec, section.pricing, section.faq { padding-top: 88px; }
  .sec-head::before { margin-bottom: 32px; }
  .strip { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .stage-notes { grid-template-columns: repeat(2, 1fr); }
  .hero-stage { margin-right: 4%; }
  .phone { right: -6%; bottom: -46%; width: 31vw; min-width: 128px; border-radius: 26px; padding: 5px; }
  .phone-in { border-radius: 22px; padding: 24px 9px 8px; gap: 6px; }
  .notch { height: 12px; top: 6px; }
  .ph-caps .now { font-size: 11.5px; }
  .ph-top span { display: none; }
  .ph-orig, .ph-tabs { display: none; }
  .ph-card { padding: 7px; border-radius: 12px; }
  .ph-card p { font-size: 8.5px; margin-bottom: 0; }
  .ph-card span { display: none; }
  .strip { margin-top: 140px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 28px; }
  .display { font-size: 46px; letter-spacing: -.04em; }
  .lede { font-size: 16.5px; margin-top: 22px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .nav .btn-small { width: auto; }
  .lang-key { gap: 14px; }
  .eyebrow .opt { display: none; }
  .hero .lang-key { justify-content: flex-start; padding-left: 4px; }
  .bento { grid-template-columns: 1fr; }
  .t-wide, .t-long { grid-column: auto; grid-row: auto; }
  .tiers { grid-template-columns: 1fr; }
  .tier.pro { order: -1; }
  .stage { border-radius: 12px; }
  .stage-notes { grid-template-columns: 1fr 1fr; gap: 14px; }
  .foot { grid-template-columns: 1fr; }
  .foot nav { flex-wrap: wrap; gap: 14px 20px; }
  .foot-brand small { display: none; }
  .mock-wrap { --rx: 8deg; }
}

/* reduced motion: everything rests in its final, legible state */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .mock-wrap { transform: none; }
  .txt .w { opacity: 1; transform: none; filter: none; }
  .thread.pulse { display: none; }
}
