/* ==========================================================================
   HeyDocket — marketing site
   Brand: Bridge identity (heydocket-bridge-final/brand-tokens.css)
   ========================================================================== */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('assets/PlusJakartaSans.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  /* Brand palette — approved */
  --blue: #2B7FFF;
  --blue-deep: #1966C8;
  --sky: #8FCBEF;
  --ink: #141420;
  --text: #14142B;
  --muted: #636A77;
  --amber: #F5A623;
  --mint: #8FDDB5;
  --green: #4CAF7D;
  --page: #F4F6F9;
  --card: #FFFFFF;
  --line: #E5E8EC;

  /* Derived */
  --text-2: #3C4150;
  --blue-wash: #E8F1FF;
  --sky-wash: #E3F2FC;
  --mint-wash: #E4F6EC;
  --amber-wash: #FEF3DE;
  --live: #E5484D;
  --live-wash: #FDECEC;
  --green-ink: #257A50;
  --lapsed-wash: #EEF0F3;

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(20, 20, 43, .05), 0 1px 1px rgba(20, 20, 43, .03);
  --shadow: 0 1px 2px rgba(20, 20, 43, .04), 0 8px 24px -8px rgba(20, 20, 43, .10);
  --shadow-lg: 0 2px 4px rgba(20, 20, 43, .04), 0 24px 60px -18px rgba(20, 30, 70, .22);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
b, strong { font-weight: 650; }
.mono { font-family: var(--mono); font-feature-settings: 'zero' 0; letter-spacing: 0; }
::selection { background: rgba(43, 127, 255, .18); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 8px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top 200ms var(--ease-out);
}
.skip:focus { top: 16px; }

/* ── Type ───────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--blue-deep);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ''; width: 18px; height: 9px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 10'%3E%3Cpath d='M0 10V8a10 8 0 0 1 20 0v2h-5V8a5 4 0 0 0-10 0v2z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 10'%3E%3Cpath d='M0 10V8a10 8 0 0 1 20 0v2h-5V8a5 4 0 0 0-10 0v2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.eyebrow.on-dark { color: var(--sky); }
.eyebrow.on-dark::before { display: none; }

.h2 {
  font-size: clamp(2.125rem, 4.6vw, 3.625rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}
.h2 .muted { color: #7D8494; }
.lede { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.6; color: var(--text-2); max-width: 36em; margin-top: 20px; text-wrap: pretty; }
.lede.center { margin-inline: auto; text-align: center; }

.section { padding: clamp(80px, 9vw, 128px) var(--gutter); }
.section-head { max-width: var(--wrap); margin: 0 auto clamp(40px, 5vw, 64px); }
.section-head .h2 { max-width: 16em; }
.section-head.center { text-align: center; }
.section-head.center .h2 { margin-inline: auto; }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 650; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease, color 200ms ease;
  user-select: none; -webkit-user-select: none;
}
.btn svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { --h: 54px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #2878F5, var(--blue-deep));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 1px 2px rgba(27,111,212,.3), 0 8px 20px -6px rgba(43,127,255,.55);
}
.btn-ink { color: #fff; background: var(--ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 1px 2px rgba(20,20,32,.2); }
.btn-ghost { background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.btn-white { background: #fff; color: var(--blue-deep); box-shadow: 0 10px 30px -10px rgba(10,30,80,.5); }
.btn-outline-white { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 1px 2px rgba(27,111,212,.3), 0 12px 28px -6px rgba(43,127,255,.65); }
  .btn-primary:hover svg { transform: translateX(3px); }
  .btn-ink:hover { background: #26263a; }
  .btn-ghost:hover { box-shadow: inset 0 0 0 1px #d3d8df, var(--shadow); }
  .btn-outline-white:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255,255,255,.08); }
}

/* ── Chips, pills, tracks ──────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  padding: 3px 8px; border-radius: 999px; white-space: nowrap; line-height: 1.4;
}
.pill-active { color: var(--green-ink); background: var(--mint-wash); }
.pill-pending { color: var(--blue-deep); background: var(--blue-wash); }
.pill-lapsed { color: var(--muted); background: var(--lapsed-wash); }
.pill-live { color: #fff; background: var(--live); }
.pill-live::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: pulse 1.6s ease-in-out infinite; }

.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(229,72,77,.5); animation: ring 2s var(--ease-out) infinite; flex: none; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(229,72,77,.45); } 80%, 100% { box-shadow: 0 0 0 8px rgba(229,72,77,0); } }
@keyframes pulse { 50% { opacity: .35; } }

.soon {
  display: inline-block; vertical-align: middle;
  font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: #9A6508; background: var(--amber-wash); padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}
.soon.dark { color: var(--amber); background: rgba(245,166,35,.12); }

/* The lifespan track: a window in time, drawn rather than named */
.track { position: relative; height: 2px; background: var(--line); border-radius: 2px; }
.track-fill { position: absolute; top: 0; bottom: 0; left: var(--from); right: calc(100% - var(--to)); border-radius: 2px; }
.track-fill.active { background: var(--green); }
.track-fill.pending { background: repeating-linear-gradient(90deg, var(--blue) 0 4px, transparent 4px 7px); }
.track-fill.live { background: var(--live); height: 4px; top: -1px; }
.track-fill.lapsed { background: #B9BEC7; }
.track-now { position: absolute; left: var(--at); top: -4px; width: 1.5px; height: 10px; background: var(--ink); border-radius: 1px; }

/* Icons drawn with masks so they inherit colour */
.ic, .ft { display: inline-block; flex: none; background: currentColor; -webkit-mask: var(--m) center/contain no-repeat; mask: var(--m) center/contain no-repeat; }
.ic-book  { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5V5a2 2 0 0 1 2-2h14v16H6.5a2.5 2.5 0 0 0 0 5H20'/%3E%3C/svg%3E"); }
.ic-users { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20a6.5 6.5 0 0 1 13 0M16 4.5a3.5 3.5 0 0 1 0 7M18 14a6 6 0 0 1 3.5 6'/%3E%3C/svg%3E"); }
.ic-user  { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.ic-live  { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='14' height='12' rx='3'/%3E%3Cpath d='m16 10 6-3v10l-6-3z'/%3E%3C/svg%3E"); }
.ic-chart { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E"); }
.ft-video { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3zm4 5.5v7l6-3.5z' fill-rule='evenodd'/%3E%3C/svg%3E"); }
.ft-doc   { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h8l6 6v11a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3zm2 11v2h8v-2zm0 4v2h5v-2z' fill-rule='evenodd'/%3E%3C/svg%3E"); }
.ft-live  { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='3.5'/%3E%3Cpath d='M6.3 6.3a8 8 0 0 0 0 11.4M17.7 6.3a8 8 0 0 1 0 11.4' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ic-check { display: inline-block; flex: none; width: 20px; height: 20px; border-radius: 50%; background: rgba(143,221,181,.16); position: relative; }
.ic-check::after { content: ''; position: absolute; inset: 0; background: var(--mint); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 10.5 2.5 2.5L14 7.5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 10.5 2.5 2.5L14 7.5'/%3E%3C/svg%3E") center/contain no-repeat; }

.avatar {
  display: inline-grid; place-items: center; flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  font-size: 10px; font-weight: 700; letter-spacing: .02em; color: var(--ink);
}
.avatar.a1 { background: #CFE3FF; }
.avatar.a2 { background: #CDEFDD; }
.avatar.a3 { background: #FCE3B8; }
.avatar.a4 { background: #D7ECF9; }
.avatar.more { background: rgba(255,255,255,.14); color: #fff; }

/* Every small Bridge on the page blinks together, now and then */
#bridge .eyes { transform-box: fill-box; transform-origin: center; animation: blink 6s infinite; }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.12); } }

/* ── Navigation ────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 12px 0 auto; z-index: 50;
  padding: 0 12px; pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  height: 60px; padding: 0 10px 0 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.66);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
          backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 0 0 1px rgba(20,20,43,.05), 0 8px 30px -12px rgba(20,30,70,.18);
  transition: box-shadow 300ms ease, background-color 300ms ease, color 300ms ease;
}
.nav.is-scrolled .nav-pill { background: rgba(255,255,255,.8); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 0 0 1px rgba(20,20,43,.06), 0 14px 40px -14px rgba(20,30,70,.28); }

.nav.on-dark .nav-pill { background: rgba(28,28,42,.62); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), inset 0 1px 0 rgba(255,255,255,.1), 0 10px 30px -12px rgba(0,0,0,.5); }
.nav.on-dark .nav-brand, .nav.on-dark .nav-links a.is-active, .nav.on-dark .nav-signin { color: #fff; }
.nav.on-dark .nav-links a { color: #C9CBD6; font-weight: 600; letter-spacing: .005em; }
.nav.on-dark .btn-ink { background: #fff; color: var(--ink); }
.nav.on-dark .nav-toggle span { background: #fff; }
.nav-brand, .nav-links a, .nav-signin { transition: color 300ms ease, background-color 150ms ease; }
.nav-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 19px; letter-spacing: -0.03em; color: var(--ink); }
.nav-mark { width: 30px; height: 30px; transition: transform 300ms var(--ease-out); }
@media (hover: hover) { .nav-brand:hover .nav-mark { transform: translateY(-2px) rotate(-6deg); } }

.nav-links { display: flex; gap: 2px; margin: 0 auto; }
.nav-links a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 550; color: var(--text-2);
  transition: color 150ms ease, background-color 150ms ease;
}
@media (hover: hover) { .nav-links a:hover { color: var(--ink); background: rgba(20,20,43,.05); } }
.nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--amber); }

.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-signin { padding: 8px 14px; font-size: 14.5px; font-weight: 600; color: var(--text-2); border-radius: 999px; }
@media (hover: hover) { .nav-signin:hover { color: var(--ink); } }

.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.8px; border-radius: 2px; background: var(--ink); transition: transform 300ms var(--ease-drawer); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.mobile-menu {
  pointer-events: auto;
  max-width: 1120px; margin: 8px auto 0;
  padding: 10px; border-radius: 26px;
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
          backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 0 0 1px rgba(20,20,43,.05), 0 24px 50px -20px rgba(20,30,70,.3);
  display: grid; gap: 2px;
  transform-origin: top right;
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), filter 220ms var(--ease-out);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-closed { opacity: 0; transform: scale(.96) translateY(-6px); filter: blur(4px); }
.mobile-menu > a { padding: 13px 16px; border-radius: 14px; font-weight: 600; font-size: 17px; }
.mobile-menu > a:active { background: rgba(20,20,43,.05); }
.mobile-menu-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 4px 4px; }

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(120px, 15vw, 168px) var(--gutter) 0;
  text-align: center;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(143,203,239,.35), transparent 70%),
    var(--page);
}
.hero-copy { max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  font-size: 13.5px; font-weight: 550; color: var(--text-2);
  transition: box-shadow 200ms ease, transform 160ms var(--ease-out);
}
.hero-eyebrow svg { width: 14px; height: 14px; color: var(--muted); transition: transform 200ms var(--ease-out); }
.hero-eyebrow:active { transform: scale(.98); }
@media (hover: hover) { .hero-eyebrow:hover { box-shadow: inset 0 0 0 1px #d3d8df, var(--shadow); } .hero-eyebrow:hover svg { transform: translateX(2px); } }

.hero-title {
  margin-top: 26px;
  font-size: clamp(2.625rem, 6.4vw, 5.25rem);
  line-height: 1.0;
  letter-spacing: -0.045em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}
.hero-title .hl { position: relative; color: var(--blue); white-space: nowrap; }
.hero-title .hl::after {
  content: ''; position: absolute; left: 2%; right: 4%; bottom: -0.1em; height: .16em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cpath d='M3 12C80 3 190 2 297 9' fill='none' stroke='%23F5A623' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 900ms var(--ease-in-out) 500ms;
}
.hero-title.in .hl::after { clip-path: inset(0 0 0 0); }

.hero-sub { margin: 26px auto 0; max-width: 40em; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.hero-cta { display: flex; justify-content: center; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Stage — fixed design canvas, scaled to fit */
.stage-wrap {
  --s: 1;
  position: relative;
  max-width: 1200px; margin: clamp(48px, 6vw, 72px) auto 0;
  height: calc(var(--dh, 640px) * var(--s));
}
.stage {
  position: absolute; left: 50%; top: 0;
  width: var(--dw, 1200px); height: var(--dh, 640px);
  transform: translateX(-50%) scale(var(--s));
  transform-origin: top center;
  text-align: left;
}
.stage-arch {
  position: absolute; left: 50%; bottom: 40px; width: 780px; height: 560px; margin-left: -390px;
  border-radius: 390px 390px 0 0;
  background: linear-gradient(180deg, #D5EBFA 0%, rgba(213,235,250,.5) 55%, rgba(244,246,249,0) 100%);
}
.stage-arch::after {
  content: ''; position: absolute; left: 50%; bottom: 0; width: 330px; height: 330px; margin-left: -165px;
  border-radius: 165px 165px 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(244,246,249,0));
}
.stage-floor {
  position: absolute; left: 0; right: 0; bottom: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20,20,43,.12) 20%, rgba(20,20,43,.12) 80%, transparent);
}

/* MacBook */
.mac { position: absolute; left: 30px; top: 74px; width: 760px; z-index: 1; }
.mac-lid {
  width: 720px; height: 468px; margin: 0 auto;
  padding: 11px 11px 14px;
  border-radius: 22px 22px 6px 6px;
  background: linear-gradient(180deg, #2A2B33, #16161D);
  box-shadow: inset 0 0 0 1.5px #3A3B45, 0 30px 60px -30px rgba(20,30,70,.45);
}
.mac-screen { position: relative; height: 100%; border-radius: 12px 12px 2px 2px; overflow: hidden; background: var(--page); }
.mac-notch { position: absolute; left: 50%; top: 0; width: 110px; height: 14px; margin-left: -55px; background: #16161D; border-radius: 0 0 8px 8px; z-index: 3; }
.mac-base {
  position: relative; height: 18px; width: 800px; margin-left: -20px;
  border-radius: 2px 2px 14px 14px;
  background: linear-gradient(180deg, #D9DCE2 0%, #C4C8CF 45%, #9EA3AC 100%);
  box-shadow: 0 16px 24px -12px rgba(20,30,70,.45);
}
.mac-base span { position: absolute; left: 50%; top: 0; width: 120px; height: 7px; margin-left: -60px; border-radius: 0 0 8px 8px; background: #A9AEB6; }

/* Admin app inside the Mac */
.app { display: grid; grid-template-columns: 150px 1fr; height: 100%; font-size: 11px; line-height: 1.35; color: var(--text); }
.app-rail { background: var(--ink); color: #C9CBD6; padding: 22px 10px 12px; display: flex; flex-direction: column; gap: 16px; }
.app-org { display: flex; align-items: center; gap: 8px; padding: 0 6px; }
.app-org svg { width: 24px; height: 24px; flex: none; }
.app-org b { display: block; color: #fff; font-size: 11px; }
.app-org small { display: block; font-size: 9.5px; color: #8A8DA0; }
.app-nav { display: grid; gap: 2px; }
.app-nav span { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; font-weight: 550; }
.app-nav span .ic { width: 13px; height: 13px; opacity: .8; }
.app-nav span.on { background: rgba(255,255,255,.08); color: #fff; }
.app-nav span.on .ic { color: var(--amber); opacity: 1; }
.app-nav em { margin-left: auto; font-style: normal; font-size: 9px; font-weight: 700; color: #fff; background: var(--live); border-radius: 999px; padding: 0 5px; }
.app-rail-foot { margin-top: auto; display: flex; gap: 8px; align-items: center; padding: 8px 6px 0; border-top: 1px solid rgba(255,255,255,.07); }
.app-rail-foot .avatar { width: 24px; height: 24px; font-size: 9px; }
.app-rail-foot b { display: block; color: #fff; font-size: 10.5px; }
.app-rail-foot small { font-size: 9.5px; color: #8A8DA0; }

.app-main { padding: 22px 20px 12px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.app-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.app-top small { font-size: 8.5px; letter-spacing: .08em; color: var(--muted); }
.app-top h4 { font-size: 16px; letter-spacing: -0.02em; font-weight: 700; margin-top: 3px; }
.app-top-actions { display: flex; gap: 6px; align-items: center; }
.chip { font-size: 9.5px; font-weight: 600; padding: 4px 8px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); }
.app-btn { font-size: 10px; font-weight: 700; color: #fff; background: var(--blue); padding: 5px 11px; border-radius: 999px; transition: transform 160ms var(--ease-out), box-shadow 300ms ease; }
.app-btn.is-pressed { transform: scale(.92); box-shadow: 0 0 0 4px rgba(43,127,255,.2); }

.app-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.app-stats > div { background: var(--card); border-radius: 10px; padding: 9px 11px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 2px; }
.app-stats small { font-size: 9px; color: var(--muted); font-weight: 550; }
.app-stats b { font-size: 18px; letter-spacing: -0.02em; font-weight: 700; font-variant-numeric: tabular-nums; }
.app-stats b span { font-size: 11px; color: var(--muted); font-weight: 600; }
.app-stats .mono { font-size: 8.5px; color: var(--muted); }
.app-stats .bar { height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; margin-top: 3px; }
.app-stats .bar i { display: block; height: 100%; background: var(--green); border-radius: 2px; }

.app-list { background: var(--card); border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.app-row {
  display: grid; grid-template-columns: 16px minmax(0, 1.5fr) 1fr 72px 52px; align-items: center; gap: 10px;
  padding: 8.5px 12px; border-top: 1px solid var(--line);
  transition: background-color 400ms ease;
}
.app-row:first-child { border-top: 0; }
.app-row .ft { width: 14px; height: 14px; color: #9AA1AE; }
.app-row .ft-live { color: var(--live); }
.app-row-t b { display: block; font-size: 10.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-row-t small { font-size: 9px; color: var(--muted); }
.app-row .pill { font-size: 8.5px; padding: 2px 6px; justify-self: start; }
.app-row .reach { font-size: 9.5px; color: var(--text-2); text-align: right; font-variant-numeric: tabular-nums; }
.app-row.dim { opacity: .6; }
.app-row.is-flash { background: #F0F6FF; }

/* iPhone */
.iphone {
  position: absolute; width: 250px; height: 516px; padding: 9px;
  border-radius: 46px;
  background: linear-gradient(145deg, #3A3B44, #1A1A22 40%, #2B2C34);
  box-shadow: inset 0 0 0 1.5px #4A4B55, inset 0 0 0 4px #15151B, 0 40px 70px -30px rgba(20,30,70,.5), 0 8px 16px -8px rgba(20,30,70,.25);
}
.iphone::before, .iphone::after { content: ''; position: absolute; width: 3px; border-radius: 2px; background: #2A2B33; }
.iphone::before { left: -2px; top: 110px; height: 50px; }
.iphone::after { right: -2px; top: 140px; height: 70px; }
.iphone-screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: var(--page); font-size: 11px; line-height: 1.35; }
.island { position: absolute; left: 50%; top: 9px; width: 76px; height: 22px; margin-left: -38px; border-radius: 20px; background: #000; z-index: 5; }
.status { position: absolute; inset: 0 0 auto; height: 40px; padding: 13px 24px 0 28px; display: flex; justify-content: space-between; z-index: 4; font-size: 12px; }
.status b { font-weight: 650; }
.status-icons { display: flex; gap: 4px; align-items: center; }
.status-icons i { display: block; background: var(--ink); border-radius: 2px; }
.status-icons i:nth-child(1) { width: 14px; height: 8px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.status-icons i:nth-child(2) { width: 12px; height: 8px; border-radius: 6px 6px 1px 1px; opacity: .9; }
.status-icons i:nth-child(3) { width: 20px; height: 9px; border-radius: 3px; box-shadow: inset 0 0 0 1.2px var(--ink); background: linear-gradient(90deg, var(--ink) 70%, transparent 70%); background-clip: content-box; padding: 2px; }

.sapp { padding: 48px 14px 70px; display: flex; flex-direction: column; gap: 9px; height: 100%; }
.sapp-hello { display: flex; justify-content: space-between; align-items: center; padding: 2px 2px 4px; }
.sapp-hello small { display: block; font-size: 10px; color: var(--muted); font-weight: 550; }
.sapp-hello b { font-size: 20px; letter-spacing: -0.03em; font-weight: 700; }
.sapp-hello svg { width: 38px; height: 38px; }
.sapp-today { font-size: 8.5px; letter-spacing: .1em; color: var(--muted); padding: 0 2px; }
.sapp > * { flex-shrink: 0; }
.sapp-live {
  position: relative; border-radius: 16px; padding: 12px; color: #fff;
  background: radial-gradient(120% 90% at 100% 0%, #2B7FFF, #1B4FB0 60%, #141420);
  display: grid; gap: 3px; overflow: hidden;
}
.sapp-live .pill { justify-self: start; font-size: 8.5px; padding: 2px 6px; }
.sapp-live b { font-size: 13px; margin-top: 4px; letter-spacing: -0.01em; }
.sapp-live small { font-size: 9.5px; color: rgba(255,255,255,.72); }
.sapp-join { justify-self: start; margin-top: 6px; font-size: 10px; font-weight: 700; background: #fff; color: var(--blue-deep); padding: 5px 10px; border-radius: 999px; }
.sapp-label { font-size: 10px; font-weight: 700; color: var(--text); margin-top: 3px; padding: 0 2px; }
.sapp-card { display: flex; gap: 10px; align-items: center; background: var(--card); padding: 8px; border-radius: 14px; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.sapp-card .thumb { position: relative; width: 64px; height: 44px; border-radius: 9px; background: linear-gradient(135deg, #22233A, #141420); display: grid; place-items: center; flex: none; }
.sapp-card .thumb .mono { position: absolute; right: 4px; bottom: 3px; font-size: 7.5px; color: rgba(255,255,255,.8); }
.sapp-card b, .sapp-item b { display: block; font-size: 10.5px; font-weight: 650; }
.sapp-card small, .sapp-item small { font-size: 9px; color: var(--muted); }
.play { width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,.95); position: relative; display: block; }
.play::after { content: ''; position: absolute; left: 6px; top: 4.5px; border-left: 6px solid var(--ink); border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent; }
.sapp-item { display: flex; gap: 10px; align-items: center; padding: 8px 10px; background: var(--card); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 400ms ease, background-color 400ms ease; }
.sapp-item .ft { width: 16px; height: 16px; color: var(--blue); }
.sapp-item .ft-doc { color: var(--amber); }
.sapp-item.is-flash { box-shadow: inset 0 0 0 1.5px var(--blue); background: #F4F8FF; }
.tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 62px; padding: 10px 26px 0;
  display: flex; justify-content: space-between; font-size: 9.5px; font-weight: 600; color: #9AA1AE;
  background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 -1px 0 rgba(20,20,43,.05);
}
.tabbar span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.tabbar span::before { content: ''; width: 18px; height: 18px; border-radius: 6px; background: currentColor; opacity: .35; }
.tabbar span.on { color: var(--blue); }
.tabbar span.on::before { opacity: 1; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M30 214V124C30-5 226-5 226 124V214Q226 232 208 232H179Q164 232 164 214V161C164 118 92 118 92 161V214Q92 232 77 232H48Q30 232 30 214Z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M30 214V124C30-5 226-5 226 124V214Q226 232 208 232H179Q164 232 164 214V161C164 118 92 118 92 161V214Q92 232 77 232H48Q30 232 30 214Z'/%3E%3C/svg%3E") center/contain no-repeat; border-radius: 0; }

/* Push banner that drops into the phone */
.banner {
  position: absolute; left: 8px; right: 8px; top: 40px; z-index: 6;
  display: flex; gap: 8px; align-items: center; padding: 9px 10px;
  border-radius: 18px;
  background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 10px 30px -8px rgba(20,30,70,.35), inset 0 0 0 1px rgba(255,255,255,.7);
  opacity: 0; transform: translateY(-120%) scale(.96);
  transition: transform 500ms var(--ease-drawer), opacity 300ms ease;
}
.banner.is-in { opacity: 1; transform: none; }
.banner svg { width: 26px; height: 26px; flex: none; background: #fff; border-radius: 7px; padding: 2px; box-shadow: inset 0 0 0 1px var(--line); }
.banner div { flex: 1; min-width: 0; }
.banner b { display: block; font-size: 10.5px; }
.banner small { font-size: 9px; color: var(--muted); }
.banner .mono { font-size: 8.5px; color: var(--muted); align-self: flex-start; }

.hero-phone { right: 64px; top: 44px; z-index: 2; }

/* Lecture courier: travels portal → Bridge → phone */
.stage-pause {
  position: absolute; right: 12px; bottom: 4px; z-index: 6;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  color: var(--muted); background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--line);
  opacity: .7; transition: opacity 150ms ease, color 150ms ease, transform 160ms var(--ease-out);
}
.stage-pause svg { width: 15px; height: 15px; }
.stage-pause .i-play, .stage-pause[aria-pressed="true"] .i-pause { display: none; }
.stage-pause[aria-pressed="true"] .i-play { display: block; }
.stage-pause:focus-visible, .stage-pause[aria-pressed="true"] { opacity: 1; color: var(--ink); }
.stage-pause:active { transform: scale(.92); }
@media (hover: hover) { .stage-pause:hover { opacity: 1; color: var(--ink); } }
.courier {
  position: absolute; left: 0; top: 0; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px 7px 8px; border-radius: 999px;
  background: var(--card); box-shadow: 0 10px 24px -8px rgba(20,30,70,.35), inset 0 0 0 1px var(--line);
  font-size: 12px; font-weight: 700; white-space: nowrap;
  opacity: 0; pointer-events: none; will-change: transform, opacity;
}
.courier .play { width: 18px; height: 18px; background: var(--blue); }
.courier .play::after { border-left-color: #fff; left: 7px; top: 5.5px; }

/* Bridge in 3D */
.mascot3d { position: absolute; left: 668px; top: 262px; width: 320px; height: 360px; z-index: 4; }
.mascot3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 600ms ease; touch-action: pan-y; }
.mascot3d.is-ready canvas { opacity: 1; cursor: grab; }
.mascot3d canvas.is-grabbing { cursor: grabbing; }
.mascot-fallback { position: absolute; left: 10%; top: 12%; width: 80%; height: auto; transition: opacity 400ms ease; }
.mascot3d.is-ready .mascot-fallback { opacity: 0; }
.mascot3d::after { /* soft contact shadow */
  content: ''; position: absolute; left: 20%; right: 20%; bottom: 48px; height: 20px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20,30,70,.28), transparent); z-index: -1;
}

/* Narrow composition: phone + Bridge only */
.stage[data-mode="narrow"] .mac { display: none; }
.stage[data-mode="narrow"] .stage-arch { width: 520px; height: 520px; margin-left: -260px; border-radius: 260px 260px 0 0; }
.stage[data-mode="narrow"] .stage-arch::after { width: 240px; height: 240px; margin-left: -120px; }
.stage[data-mode="narrow"] .hero-phone { right: 36px; top: 24px; }
.stage[data-mode="narrow"] .stage-floor { bottom: 56px; }
.stage[data-mode="narrow"] .mascot3d { left: -10px; top: 224px; width: 300px; height: 340px; }

/* ── Product tour video ────────────────────────────────────────────── */
.tour { padding: clamp(56px, 7vw, 96px) var(--gutter) 0; }
.tour-inner { max-width: var(--wrap); margin: 0 auto; }
.tour-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.tour-head .h2 { max-width: 20em; }
.tour-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--ink); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(20,20,43,.06);
}
.tour-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.tour-frame { background: #EEF1F2; }
.tour-frame.is-playing .tour-poster { opacity: 0; pointer-events: none; }
.tour-ctrls {
  position: absolute; right: clamp(12px, 2vw, 20px); top: clamp(12px, 2vw, 20px); z-index: 2; display: flex; gap: 8px;
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity 250ms ease, transform 250ms var(--ease-out);
}
.tour-frame.is-playing .tour-ctrls, .tour-frame.is-paused .tour-ctrls { opacity: 1; pointer-events: auto; transform: none; }
.tour-sound, .tour-ctl {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 10px; border-radius: 999px;
  background: rgba(20,20,32,.82); color: #fff; font-size: 13.5px; font-weight: 650; white-space: nowrap;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px -10px rgba(20,20,32,.5);
  transition: background-color 150ms ease, transform 160ms var(--ease-out);
}
.tour-ctl { width: 38px; padding: 0; justify-content: center; }
.tour-ctl svg { width: 18px; height: 18px; }
.tour-ctl .i-play, .tour-frame.is-paused .tour-ctl .i-pause { display: none; }
.tour-frame.is-paused .tour-ctl .i-play { display: block; }
.tour-sound:active, .tour-ctl:active { transform: scale(.96); }
@media (hover: hover) { .tour-sound:hover, .tour-ctl:hover { background: var(--ink); } }
.tour-sound svg { width: 18px; height: 18px; flex: none; }
.tour-sound .on { display: none; }
.tour-sound[aria-pressed="true"] .on { display: block; }
.tour-sound[aria-pressed="true"] .off { display: none; }
.tour-poster { position: absolute; inset: 0; width: 100%; display: block; transition: opacity 300ms ease; }
.tour-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour-cta {
  position: absolute; left: 50%; bottom: clamp(14px, 4.5%, 36px); transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 15px; font-weight: 650; white-space: nowrap;
  box-shadow: 0 14px 30px -12px rgba(20,20,32,.55);
  transition: transform 200ms var(--ease-out);
}
.tour-play { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; }
.tour-play i { width: 0; height: 0; margin-left: 3px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #fff; }
.tour-len { font-size: 12px; color: #A3A6B8; }
.tour-poster:active .tour-cta { transform: translateX(-50%) scale(.96); }
@media (hover: hover) { .tour-poster:hover .tour-cta { transform: translateX(-50%) translateY(-2px); } }
.tour-frame.is-missing .tour-len::after { content: ' · could not load'; color: var(--amber); }

/* ── Problem ───────────────────────────────────────────────────────── */
.problem-grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.swap-list { margin-top: 36px; display: grid; gap: 4px; }
.swap-list li { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15px; }
.swap-list s { color: var(--muted); text-decoration-color: rgba(229,72,77,.55); text-decoration-thickness: 1.5px; }
.swap-list span { color: var(--ink); font-weight: 600; position: relative; padding-left: 26px; }
.swap-list span::before { content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; background: var(--blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M30 214V124C30-5 226-5 226 124V214Q226 232 208 232H179Q164 232 164 214V161C164 118 92 118 92 161V214Q92 232 77 232H48Q30 232 30 214Z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M30 214V124C30-5 226-5 226 124V214Q226 232 208 232H179Q164 232 164 214V161C164 118 92 118 92 161V214Q92 232 77 232H48Q30 232 30 214Z'/%3E%3C/svg%3E") center/contain no-repeat; }

.chat {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: #EFE9DF; box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(20,20,43,.05);
  max-width: 480px; justify-self: end; width: 100%;
  transform: rotate(1.2deg);
}
.chat-head { display: flex; gap: 10px; align-items: center; padding: 14px 18px; background: #F7F4EE; border-bottom: 1px solid rgba(20,20,43,.06); }
.chat-avatar { width: 36px; height: 36px; border-radius: 50%; background: #C9D3C4; display: grid; place-items: center; font-size: 18px; font-weight: 700; color: #3E4B3A; }
.chat-head b { display: block; font-size: 14.5px; }
.chat-head small { font-size: 12px; color: var(--muted); }
.chat-body { padding: 18px 16px 12px; display: flex; flex-direction: column; gap: 7px; min-height: 330px; }
.msg { max-width: 78%; padding: 7px 11px 8px; border-radius: 14px; font-size: 14px; line-height: 1.4; background: #fff; box-shadow: 0 1px 1px rgba(20,20,43,.08); }
.msg b { display: block; font-size: 11.5px; font-weight: 700; color: #9C6A1B; margin-bottom: 1px; }
.msg.in { border-top-left-radius: 4px; align-self: flex-start; }
.msg.out { align-self: flex-end; background: #DCF3D6; border-top-right-radius: 4px; }
.msg:nth-child(3) b { color: #2E7A8C; }
.msg:nth-child(4) b { color: #A3477A; }
.msg-video { padding: 4px 4px 7px; width: 72%; display: grid; gap: 4px; }
.msg-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: linear-gradient(180deg, rgba(20,20,32,.35), transparent 30%), #EDEBE4; display: grid; place-items: center; }
.msg-board { position: absolute; left: 10%; top: 30%; font-family: Georgia, serif; font-style: italic; font-size: 17px; color: #2A2D3A; }
.msg-board::after { content: ''; position: absolute; left: 0; top: 130%; width: 160%; height: 2px; border-radius: 2px; background: #2B7FFF; opacity: .5; box-shadow: 0 10px 0 #E5484D; }
.msg-rec { position: absolute; left: 7px; top: 6px; font-size: 9px; color: #FF6B6F; letter-spacing: .06em; }
.msg-dur { position: absolute; right: 7px; bottom: 6px; font-size: 9.5px; color: #fff; background: rgba(0,0,0,.45); padding: 1px 5px; border-radius: 5px; }
.msg-play { position: absolute; width: 36px; height: 36px; border-radius: 50%; background: rgba(20,20,32,.6); }
.msg-play::after { content: ''; position: absolute; left: 14px; top: 11px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #fff; }
.msg-file { font-size: 10.5px; color: #3F6B45; padding: 0 6px; }
.msg-cap { font-size: 14px; padding: 0 6px; color: var(--text); }
.chat-typing { align-self: flex-start; display: flex; gap: 4px; padding: 10px 12px; background: #fff; border-radius: 14px; }
.chat-typing i { width: 6px; height: 6px; border-radius: 50%; background: #B7BBC2; animation: typing 1.2s ease-in-out infinite; }
.chat-typing i:nth-child(2) { animation-delay: .15s; }
.chat-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
.chat .msg { opacity: 0; transform: translateY(8px); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
.chat.in .msg { opacity: 1; transform: none; }
.chat.in .msg:nth-child(1) { transition-delay: 100ms; }
.chat.in .msg:nth-child(2) { transition-delay: 350ms; }
.chat.in .msg:nth-child(3) { transition-delay: 600ms; }
.chat.in .msg:nth-child(4) { transition-delay: 900ms; }
.chat.in .msg:nth-child(5) { transition-delay: 1150ms; }
.chat.in .msg:nth-child(6) { transition-delay: 1400ms; }
.chat-fix {
  display: flex; gap: 12px; align-items: flex-start; margin: 4px 12px 12px; padding: 14px;
  background: var(--card); border-radius: 18px; box-shadow: 0 10px 30px -12px rgba(20,30,70,.3);
  font-size: 13.5px; line-height: 1.5; color: var(--text-2);
}
.chat-fix svg { width: 34px; height: 34px; flex: none; }
.chat-fix b { color: var(--blue-deep); }

/* ── Bento ─────────────────────────────────────────────────────────── */
.bento {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
}
.tile {
  position: relative; overflow: hidden;
  background: var(--card); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(20,20,43,.05);
  padding: 28px; display: flex; flex-direction: column; gap: 24px;
}
.tile h3 { font-size: 21px; line-height: 1.2; letter-spacing: -0.025em; font-weight: 700; color: var(--ink); text-wrap: balance; }
.tile h3 .soon { margin-left: 6px; }
.tile p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 34em; }
.tile p b { color: var(--ink); }
.tile-lifespan { grid-column: span 4; }
.tile-login { grid-column: span 2; }
.tile-link { grid-column: span 2; }
.tile-reach { grid-column: span 2; }
.tile-push { grid-column: span 2; background: linear-gradient(180deg, #fff 40%, var(--sky-wash)); }
.tile-import { grid-column: span 3; }
.tile-mark { grid-column: span 3; background: var(--ink); }
.tile-mark h3 { color: #fff; }
.tile-mark p { color: #A3A6B8; }

/* Lifespan */
.lifespan { position: relative; margin-top: auto; padding-top: 6px; }
.lifespan-scale { display: grid; grid-template-columns: 180px repeat(5, 1fr) 80px; font-size: 10.5px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.lifespan-scale span:first-child { grid-column: 2; }
.lifespan-rows { display: grid; }
.ls-row { display: grid; grid-template-columns: 180px 1fr 80px; align-items: center; gap: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ls-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 12px; }
.ls-track { position: relative; height: 6px; border-radius: 6px; background: #F0F2F5; }
.ls-track i { position: absolute; top: 0; bottom: 0; left: var(--a); right: calc(100% - var(--b)); border-radius: 6px; transform-origin: left; transform: scaleX(0); transition: transform 1100ms var(--ease-out); }
.tile-lifespan.in .ls-track i { transform: scaleX(1); }
.ls-row:nth-child(2) .ls-track i { transition-delay: 120ms; }
.ls-row:nth-child(3) .ls-track i { transition-delay: 240ms; }
.ls-row:nth-child(4) .ls-track i { transition-delay: 360ms; }
.ls-track i.active { background: var(--green); }
.ls-track i.pending { background: repeating-linear-gradient(90deg, var(--blue) 0 6px, #9CC4FF 6px 9px); }
.ls-track i.lapsed { background: #C6CAD1; }
.ls-row .pill { justify-self: end; }
.ls-now { position: absolute; top: 0; bottom: 0; left: calc(180px + (100% - 260px) * .40); width: 0; border-left: 1.5px solid var(--ink); pointer-events: none; }
.ls-now span { position: absolute; top: -2px; left: -1px; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 9.5px; padding: 2px 6px; border-radius: 4px; letter-spacing: .04em; }

/* Login */
.login-vis { margin-top: auto; display: flex; align-items: center; gap: 10px; }
.mini-phone { flex: 1; border-radius: 18px; padding: 14px 12px; min-height: 120px; display: flex; flex-direction: column; gap: 4px; justify-content: flex-end; box-shadow: inset 0 0 0 1px var(--line); }
.mini-phone .mono { font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: auto; }
.mini-phone b { font-size: 14px; }
.mini-phone small { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.mini-phone.old { background: #F7F8FA; }
.mini-phone.old b { color: #7D8494; }
.mini-phone.new { background: var(--blue-wash); box-shadow: inset 0 0 0 1.5px rgba(43,127,255,.35); }
.mini-phone.new b { color: var(--blue-deep); }
.mini-phone.blocked { background: var(--live-wash); box-shadow: inset 0 0 0 1.5px rgba(229,72,77,.3); }
.mini-phone.blocked b { color: #C02F34; }
.login-block { width: 22px; height: 22px; flex: none; color: var(--live); }
.login-arrow { width: 32px; flex: none; color: #C3C8D0; }

/* Link countdown */
.link-vis { margin-top: auto; display: grid; gap: 10px; }
.link-chip { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #F7F8FA; box-shadow: inset 0 0 0 1px var(--line); font-size: 11.5px; color: var(--muted); }
.link-chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link-chip b { font-size: 14px; color: var(--ink); font-variant-numeric: tabular-nums; }
.exp-card { padding: 12px; border-radius: 14px; background: #F7F8FA; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 10px; }
.exp-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; font-size: 13px; }
.exp-top .mono { font-size: 10.5px; color: var(--muted); }
.exp-opts { display: flex; gap: 2px; padding: 2px; border-radius: 9px; background: #E9ECF1; }
.exp-opts span { flex: 1; text-align: center; font-size: 10.5px; font-weight: 600; padding: 5px 2px; border-radius: 7px; color: var(--muted); white-space: nowrap; }
.exp-opts .on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(20,20,43,.1); }
.exp-when { display: flex; justify-content: space-between; gap: 8px; align-items: center; font-size: 11.5px; color: var(--muted); flex-wrap: wrap; }
.exp-when b { font-size: 11.5px; color: var(--blue-deep); }
.link-meter { height: 4px; border-radius: 4px; background: #F0F2F5; overflow: hidden; }
.link-meter i { display: block; height: 100%; width: 100%; transform: scaleX(.62); transition: transform 1200ms var(--ease-out); background: linear-gradient(90deg, var(--amber), var(--blue)); border-radius: 4px; transform-origin: left; }

/* Reach */
.reach-vis { margin-top: auto; }
.reach-num { display: flex; align-items: baseline; gap: 8px; }
.reach-num b { font-size: 44px; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
.reach-num span { font-size: 14px; color: var(--muted); font-weight: 550; }
.dots { display: grid; grid-template-columns: repeat(31, 1fr); gap: 3px; margin-top: 16px; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: #E3E6EA; transition: background-color 300ms ease; }
.dots i.on { background: var(--green); }

/* Push */
.push-stack { margin-top: auto; display: grid; gap: 8px; }
.push { display: flex; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 16px; background: rgba(255,255,255,.85); box-shadow: 0 8px 20px -10px rgba(20,30,70,.3), inset 0 0 0 1px rgba(20,20,43,.05); }
.push:nth-child(2) { transform: scale(.95); opacity: .7; margin-top: -2px; }
.push svg { width: 28px; height: 28px; flex: none; }
.push div { flex: 1; min-width: 0; }
.push b { display: block; font-size: 13px; }
.push small { font-size: 11.5px; color: var(--muted); }
.push .mono { font-size: 10px; color: var(--muted); align-self: flex-start; }

/* Import sheet */
.sheet { margin-top: auto; border-radius: 16px; background: #FBFCFD; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; font-size: 13px; }
.sheet-head, .sheet-row { display: grid; grid-template-columns: 1.3fr 1.2fr .7fr 18px; gap: 10px; padding: 9px 14px; align-items: center; }
.sheet-tabs { display: flex; gap: 4px; padding: 8px 10px 0; background: #F4F6F9; }
.sheet-tabs span { font-size: 12px; font-weight: 600; color: var(--muted); padding: 6px 10px 8px; border-bottom: 2px solid transparent; }
.sheet-tabs .on { color: var(--ink); border-bottom-color: var(--blue); }
.sheet-tabs em { font-style: normal; font-size: 10.5px; color: var(--muted); margin-left: 3px; }
.sheet-head { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; background: #F4F6F9; }
.sheet-row { border-top: 1px solid var(--line); opacity: 0; transform: translateX(-10px); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
.sheet-row span:nth-child(2) { color: var(--muted); }
.sheet-row .mono { font-size: 11.5px; color: var(--text-2); }
.tile-import.in .sheet-row { opacity: 1; transform: none; }
.tile-import.in .sheet-row:nth-child(3) { transition-delay: 80ms; }
.tile-import.in .sheet-row:nth-child(4) { transition-delay: 160ms; }
.tile-import.in .sheet-row:nth-child(5) { transition-delay: 240ms; }
.ok { width: 16px; height: 16px; border-radius: 50%; background: var(--mint-wash); position: relative; }
.ok::after { content: ''; position: absolute; inset: 0; background: var(--green); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 10.5 2.5 2.5L14 7.5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 10.5 2.5 2.5L14 7.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.sheet-foot { padding: 9px 14px; font-size: 11px; color: var(--blue-deep); border-top: 1px solid var(--line); background: var(--blue-wash); }

/* Watermark: a lecture frame with the viewer's username across it */
.wm-vis { margin-top: auto; }
.wm-video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #F3F1EA; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.wm-top { position: absolute; left: 0; right: 0; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 9px 12px 18px; background: linear-gradient(180deg, rgba(20,20,32,.55), transparent); color: #fff; font-size: 11.5px; font-weight: 600; }
.wm-hd { font-size: 9px; padding: 1px 5px; border-radius: 4px; background: rgba(255,255,255,.2); }
.wm-board { position: absolute; inset: 12% 30% 16% 5%; display: grid; grid-template-rows: 1fr auto; align-items: center; }
.wm-diagram { width: 100%; max-height: 100%; }
.wm-eq { font-family: Georgia, serif; font-style: italic; font-size: clamp(11px, 1.3vw, 14px); color: #22252F; white-space: nowrap; }
.wm-cam { position: absolute; right: 4%; top: 22%; width: 24%; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #C9B79C, #8E7B62); display: grid; place-items: end center; box-shadow: 0 6px 16px -6px rgba(0,0,0,.35); }
.wm-cam span { width: 62%; aspect-ratio: 1 / 1.1; border-radius: 50% 50% 18% 18%; margin-bottom: -8%; background: #2E3346; color: #F3F1EA; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.wm-tag { position: absolute; z-index: 1; font-size: clamp(12px, 1.4vw, 15px); font-weight: 700; color: rgba(20,20,43,.34); letter-spacing: .06em; transform: rotate(-14deg); pointer-events: none; white-space: nowrap; animation: drift 14s ease-in-out infinite alternate; }
.wm-tag { left: 8%; top: 22%; }
.wm-tag.t2 { left: 44%; top: 56%; animation-delay: -5s; }
.wm-tag.t3 { left: 66%; top: 30%; color: rgba(255,255,255,.55); animation-delay: -9s; }
@keyframes drift { from { translate: 0 0; } to { translate: 14px -8px; } }
.wm-controls { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 16px 12px 9px; background: linear-gradient(0deg, rgba(20,20,32,.6), transparent); }
.wm-controls .mono { font-size: 9.5px; color: rgba(255,255,255,.85); white-space: nowrap; }
.wm-pause { width: 9px; height: 11px; flex: none; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.wm-bar { position: relative; flex: 1; height: 3px; background: rgba(255,255,255,.3); border-radius: 3px; }
.wm-bar i { display: block; width: 36%; height: 100%; background: var(--blue); border-radius: 3px; }

/* ── Students ──────────────────────────────────────────────────────── */
.students { background: linear-gradient(180deg, var(--page), #fff 30%, #fff 70%, var(--page)); }
.students-grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }

.seg {
  position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  margin-top: 32px; padding: 4px; border-radius: 999px; background: #EDF0F4;
  box-shadow: inset 0 1px 2px rgba(20,20,43,.06);
}
.seg button { position: relative; z-index: 1; padding: 9px 18px; font-size: 14px; font-weight: 600; color: var(--muted); border-radius: 999px; transition: color 200ms ease; white-space: nowrap; }
.seg button[aria-selected="true"] { color: var(--ink); }
.seg button { transition: color 200ms ease, transform 160ms var(--ease-out); }
.seg button:active { transform: scale(.96); }
.seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(20,20,43,.08), 0 4px 12px -4px rgba(20,20,43,.14); will-change: transform; }

.points { margin-top: 28px; display: grid; gap: 4px; }
.points li { padding: 14px 16px; cursor: default; border-radius: 16px; font-size: 15px; color: var(--muted); line-height: 1.55; transition: background-color 250ms ease, color 250ms ease; }
.points li b { display: block; color: var(--text-2); font-size: 16px; margin-bottom: 2px; }
.points li.is-on { background: #fff; color: var(--text-2); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.points li.is-on b { color: var(--ink); }

.students-stage { position: relative; height: 660px; display: grid; place-items: center; }
.arch-window {
  position: absolute; left: 50%; bottom: 0; width: 460px; height: 620px; margin-left: -230px;
  border-radius: 230px 230px 32px 32px;
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(255,255,255,.55), transparent),
    linear-gradient(180deg, var(--sky) 0%, #BFE0F6 100%);
}
.big-phone { position: relative; width: 290px; height: 600px; padding: 10px; border-radius: 52px; transform: translateY(-10px); }
.big-phone .iphone-screen { border-radius: 43px; font-size: 12px; }
.big-phone .sapp { padding: 52px 16px 76px; gap: 10px; }
.big-phone .island { width: 88px; height: 25px; margin-left: -44px; top: 11px; }
.scr { position: absolute; inset: 0; transition: opacity 280ms ease, filter 280ms ease, transform 280ms var(--ease-out); }
.scr[hidden] { display: block; opacity: 0; filter: blur(6px); transform: scale(.985); pointer-events: none; visibility: hidden; }
.course-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.course-pills span { font-size: 10px; font-weight: 650; padding: 5px 9px; border-radius: 999px; background: color-mix(in srgb, var(--c) 14%, white); color: color-mix(in srgb, var(--c) 70%, black); }

.player { height: 100%; display: flex; flex-direction: column; background: var(--page); }
.player-video { position: relative; padding-top: 46px; height: 230px; background: radial-gradient(90% 90% at 30% 20%, #26324A, #0E1017); color: #fff; flex: none; }
.player-video .board { position: absolute; inset: 40px 0 36px; display: grid; place-content: center; text-align: center; font-size: 17px; font-style: italic; gap: 4px; color: rgba(255,255,255,.92); }
.player-video .board .small { font-size: 11px; color: rgba(255,255,255,.6); }
.player-wm { position: absolute; left: 12%; top: 72%; font-size: 9px; font-weight: 600; color: rgba(255,255,255,.4); letter-spacing: .06em; transform: rotate(-14deg); pointer-events: none; }
.player-controls { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; }
.player-controls .mono { font-size: 8.5px; color: rgba(255,255,255,.75); white-space: nowrap; }
.scrub { position: relative; flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.2); }
.scrub i { display: block; height: 100%; background: var(--blue); border-radius: 3px; }
.scrub b { position: absolute; top: -3.5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #fff; }
.player-body { padding: 14px 16px 76px; display: flex; flex-direction: column; gap: 8px; }
.player-body > small { font-size: 8.5px; letter-spacing: .1em; color: var(--muted); }
.player-body > b { font-size: 15px; letter-spacing: -0.02em; line-height: 1.25; }
.player-body > p { font-size: 10.5px; color: var(--muted); margin-top: -4px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; background: #fff; padding: 8px 10px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.toggle-row b { display: block; font-size: 10.5px; }
.toggle-row .pill { font-size: 9px; }
.toggle-row small { font-size: 9px; color: var(--muted); }

.live-scr { height: 100%; display: flex; flex-direction: column; background: var(--ink); color: #fff; }
.live-video { position: relative; height: 330px; padding: 52px 14px 14px; background: radial-gradient(90% 70% at 50% 30%, #2A3B63, #141420); flex: none; }
.live-video > .pill { position: absolute; left: 14px; top: 50px; }
.live-timer { position: absolute; right: 14px; top: 52px; font-size: 9.5px; color: rgba(255,255,255,.7); }
.speaker { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 8px; }
.speaker .avatar { width: 72px; height: 72px; font-size: 20px; box-shadow: 0 0 0 6px rgba(143,221,181,.25); }
.speaker b { font-size: 12px; }
.tiles { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; gap: 6px; }
.tiles .avatar { width: 34px; height: 34px; border-radius: 10px; font-size: 9.5px; }
.live-body { padding: 14px 16px 76px; display: flex; flex-direction: column; gap: 8px; }
.live-body > small { font-size: 8.5px; letter-spacing: .1em; color: #8A8DA0; }
.live-body > b { font-size: 15px; letter-spacing: -0.02em; }
.live-body > p { font-size: 10.5px; color: #A3A6B8; margin-top: -4px; }
.live-actions { display: flex; gap: 6px; }
.live-actions span { flex: 1; text-align: center; font-size: 10px; font-weight: 600; padding: 8px 0; border-radius: 10px; background: rgba(255,255,255,.08); }
.live-actions .leave { background: var(--live); }
.live-scr .sapp-label { color: #fff; }
.live-scr .sapp-item { background: rgba(255,255,255,.06); box-shadow: none; }
.live-scr .sapp-item small { color: #8A8DA0; }
.live-scr ~ .tabbar, .scr[data-scr="live"].is-on ~ .tabbar { background: rgba(20,20,32,.8); color: #6B6E82; box-shadow: 0 -1px 0 rgba(255,255,255,.06); }

/* ── Live (dark) ───────────────────────────────────────────────────── */
.live { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.live::before {
  content: ''; position: absolute; right: -200px; top: -260px; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(43,127,255,.22), transparent);
  pointer-events: none;
}
.live-inner { position: relative; max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.live .h2 { color: #fff; }
.live .lede { color: #A3A6B8; }
.live-list { margin-top: 32px; display: grid; gap: 14px; }
.live-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: #D7D9E3; line-height: 1.5; }
.live-side { display: grid; gap: 14px; }
.zoom-link {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 20px;
  background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.zl-logos { display: flex; align-items: center; gap: 6px; flex: none; }
.zl-zoom svg { width: 38px; height: 38px; }
.zl-hd { width: 38px; height: 38px; border-radius: 11px; background: #fff; display: grid; place-items: center; }
.zl-hd svg { width: 26px; height: 26px; }
.zl-wire { display: flex; gap: 3px; }
.zl-wire i { width: 4px; height: 4px; border-radius: 50%; background: var(--mint); opacity: .3; animation: zl-flow 1.4s ease-in-out infinite; }
.zl-wire i:nth-child(2) { animation-delay: .2s; }
.zl-wire i:nth-child(3) { animation-delay: .4s; }
@keyframes zl-flow { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }
.zl-text { min-width: 0; flex: 1; }
.zl-text b { display: block; font-size: 15px; }
.zl-text small { font-size: 11.5px; color: #8A8DA0; }
.zl-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; color: var(--mint); background: rgba(143,221,181,.12); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.zl-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.lc-host { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 11.5px; color: #A3A6B8; }
.lc-host svg { width: 16px; height: 16px; flex: none; }

.live-card {
  background: linear-gradient(180deg, #1D1D2C, #181826);
  border-radius: var(--radius-lg); padding: 26px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), inset 0 1px 0 rgba(255,255,255,.08), 0 40px 80px -30px rgba(0,0,0,.6);
}
.lc-head { display: flex; justify-content: space-between; align-items: flex-start; }
.lc-head small { font-size: 11px; letter-spacing: .08em; color: #8A8DA0; }
.lc-head b { display: block; font-size: 20px; letter-spacing: -0.02em; margin-top: 4px; }
.lc-window { margin: 30px 0 30px; }
.lc-track { position: relative; height: 8px; border-radius: 8px; background: rgba(255,255,255,.07); }
.lc-pre { position: absolute; left: 0; width: 10%; top: 0; bottom: 0; border-radius: 8px 0 0 8px; background: repeating-linear-gradient(90deg, rgba(143,203,239,.6) 0 4px, transparent 4px 7px); }
.lc-on { position: absolute; left: 10%; right: 0; top: 0; bottom: 0; border-radius: 0 8px 8px 0; background: var(--live); box-shadow: 0 0 16px rgba(229,72,77,.5); transform-origin: left; transform: scaleX(0); }
.lc-rail { position: absolute; inset: 0; pointer-events: none; transform: translateX(10%); }
.lc-now { position: absolute; left: 0; top: -6px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(229,72,77,.3); }
.lc-scale { position: relative; height: 34px; margin-top: 12px; font-size: 11px; color: #A3A6B8; line-height: 1.35; }
.lc-scale span { position: absolute; top: 0; white-space: nowrap; }
.lc-scale span:nth-child(1) { left: 0; }
.lc-scale span:nth-child(2) { left: 10%; transform: translateX(-50%); }
.lc-scale span:nth-child(3) { left: 55%; transform: translateX(-50%); }
.lc-scale span:nth-child(4) { right: 0; text-align: right; }
.lc-scale em { font-style: normal; color: #6B6E82; font-size: 10px; }
.lc-att-head { display: flex; justify-content: space-between; font-size: 13px; color: #A3A6B8; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.07); }
.lc-att-head b { color: #fff; }
.lc-att { display: grid; }
.att { display: grid; grid-template-columns: 28px 1fr 1.2fr 40px; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 14px; }
.att .mono { font-size: 12px; color: #A3A6B8; text-align: right; }
.att-bar { height: 5px; border-radius: 5px; background: rgba(255,255,255,.07); overflow: hidden; }
.att-bar i { display: block; height: 100%; width: var(--w); background: var(--mint); border-radius: 5px; transform-origin: left; transform: scaleX(0); transition: transform 1000ms var(--ease-out); }
.att-bar i.low { background: var(--amber); }
.live-card.in .att-bar i { transform: scaleX(1); }
.live-card.in .att:nth-child(2) .att-bar i { transition-delay: 100ms; }
.live-card.in .att:nth-child(3) .att-bar i { transition-delay: 200ms; }
.live-card.in .att:nth-child(4) .att-bar i { transition-delay: 300ms; }

/* ── Insights ──────────────────────────────────────────────────────── */
.insights-grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.ins-card { background: var(--card); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(20,20,43,.05); display: flex; flex-direction: column; gap: 18px; }
.ins-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ins-head small { font-size: 10.5px; letter-spacing: .08em; color: var(--muted); }
.ins-head h3 { font-size: 20px; letter-spacing: -0.02em; margin-top: 4px; }
.ins-foot { font-size: 14px; color: var(--muted); margin-top: auto; }
.ins-foot b { color: var(--ink); }

.curve { position: relative; height: 300px; cursor: crosshair; touch-action: pan-y; }
.curve svg { position: absolute; inset: 0 0 26px; width: 100%; height: calc(100% - 26px); overflow: visible; }
.grid-lines line { stroke: var(--line); stroke-dasharray: 3 4; }
.curve-line { stroke: var(--blue); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.curve-cursor { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; opacity: .5; }
.curve-dot { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2.5px var(--blue), 0 2px 6px rgba(20,30,70,.3); pointer-events: none; will-change: transform; }
.curve-callout {
  position: absolute; top: 0; left: 0; padding: 8px 12px; border-radius: 12px;
  background: var(--ink); color: #fff; font-size: 12.5px; display: grid; gap: 1px; pointer-events: none; white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(20,20,32,.5); will-change: transform;
}
.curve-callout b { font-size: 12px; color: var(--sky); }
.curve-flag { position: absolute; bottom: 34px; font-size: 11.5px; font-weight: 650; color: #9A6508; transform: translateX(-50%); pointer-events: none; display: flex; flex-direction: column-reverse; align-items: center; }
.curve-flag span { display: block; background: var(--amber-wash); padding: 4px 8px; border-radius: 8px; white-space: nowrap; }
.curve-flag::after { content: ''; display: block; width: 1.5px; height: 40px; margin: 0 auto 4px; background: repeating-linear-gradient(180deg, var(--amber) 0 3px, transparent 3px 6px); }
.curve-axis { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted); }

.risk-list { display: grid; }
.risk { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.risk:first-child { border-top: 0; }
.risk .avatar { width: 30px; height: 30px; }
.risk b { display: block; font-size: 14px; }
.risk small { font-size: 12.5px; color: var(--muted); }
.tag { font-size: 11px; font-weight: 650; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.t-never { background: var(--live-wash); color: #C02F34; }
.t-stopped { background: var(--amber-wash); color: #9A6508; }
.t-expiring { background: var(--blue-wash); color: var(--blue-deep); }

.tag.t-good { background: var(--mint-wash); color: var(--green-ink); }
.ins-report { grid-column: 1 / -1; background: linear-gradient(180deg, #fff, var(--blue-wash)); }
.report { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px 28px; background: #fff; border-radius: 20px; padding: 18px; box-shadow: 0 10px 30px -14px rgba(20,30,70,.25), inset 0 0 0 1px var(--line); }
.report-who { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; }
.report-who > div { flex: 1; min-width: 0; }
.report-who b { display: block; font-size: 15px; }
.report-who small { font-size: 12.5px; color: var(--muted); }
.report-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.report-stats div { background: var(--page); border-radius: 12px; padding: 10px 12px; }
.report-stats b { display: block; font-size: 18px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.report-stats small { font-size: 12px; color: var(--muted); }
.report-weeks { display: flex; flex-direction: column; gap: 6px; min-height: 140px; }
.rw-bars { flex: 1; display: flex; align-items: flex-end; gap: 6px; border-bottom: 1px solid var(--line); }
.rw-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: #CFE2FF; transform-origin: bottom; transform: scaleY(0); transition: transform 900ms var(--ease-out); }
.rw-bars i.now { background: var(--blue); }
.ins-report.in .rw-bars i { transform: scaleY(1); }
.ins-report.in .rw-bars i:nth-child(n+2) { transition-delay: 60ms; }
.ins-report.in .rw-bars i:nth-child(n+4) { transition-delay: 140ms; }
.ins-report.in .rw-bars i:nth-child(n+6) { transition-delay: 220ms; }
.rw-label { font-size: 12px; font-weight: 600; color: var(--text-2); }
.rw-axis { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted); }

/* ── How it works ─────────────────────────────────────────────────── */
.how-track { position: relative; max-width: var(--wrap); margin: 0 auto; padding-top: 90px; }
.how-line { position: absolute; left: 0; right: 0; top: 84px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.how-line i { display: block; height: 100%; background: var(--blue); transform-origin: left; transform: scaleX(0); border-radius: 3px; }
.how-rider { position: absolute; top: 20px; left: 0; width: 66px; height: 66px; will-change: transform; margin-left: -33px; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.how-step { padding-top: 26px; }
.how-step:not(.is-on) .how-num { color: var(--muted); background: var(--lapsed-wash); }
.how-num { transition: color 250ms ease, background-color 250ms ease; display: inline-block; font-size: 12px; font-weight: 600; color: var(--blue-deep); background: var(--blue-wash); padding: 3px 8px; border-radius: 6px; }
.how-step h3 { margin-top: 16px; font-size: 24px; letter-spacing: -0.025em; }
.how-step p { margin-top: 8px; color: var(--muted); font-size: 15.5px; max-width: 26em; }

/* ── Pricing ──────────────────────────────────────────────────────── */
.plans { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 16px; align-items: stretch; }
.plan {
  position: relative; background: var(--card); border-radius: var(--radius-lg); padding: 30px 28px;
  box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(20,20,43,.05);
  display: flex; flex-direction: column;
}
.plan h3 { font-size: 20px; letter-spacing: -0.02em; }
.plan-for { margin-top: 6px; font-size: 14.5px; color: var(--muted); min-height: 3.2em; }
.plan-list { margin-top: 26px; display: grid; gap: 11px; }
.plan-list li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--text-2); line-height: 1.45; }
.plan-list li::before { content: ''; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue-wash); }
.plan-list li::after { content: ''; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; background: var(--blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 10.5 2.5 2.5L14 7.5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 10.5 2.5 2.5L14 7.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.plan-list li:has(b)::before, .plan-list li:has(b)::after { display: none; }
.plan-list li:has(b) { padding-left: 0; }

.plan-featured {
  background: var(--ink); color: #fff; margin-top: -14px; margin-bottom: -14px; padding-top: 44px;
  box-shadow: 0 40px 80px -30px rgba(20,20,32,.55), inset 0 0 0 1px rgba(255,255,255,.06);
}
.plan-featured .plan-for { color: #A3A6B8; }
.plan-featured .plan-list li { color: #D7D9E3; }
.plan-featured .plan-list li::before { background: rgba(43,127,255,.2); }
.plan-featured .plan-list li::after { background: var(--sky); }
.plan-badge { position: absolute; top: 18px; right: 20px; font-size: 11.5px; font-weight: 700; color: var(--ink); background: var(--amber); padding: 4px 10px; border-radius: 999px; }
.peek { position: absolute; left: 28px; top: -46px; width: 64px; height: 50px; overflow: hidden; }
.peek svg { width: 64px; height: 64px; transform: translateY(46px); transition: transform 600ms var(--ease-out); }
.plan-featured.in .peek svg { transform: translateY(2px); transition-delay: 400ms; }
@media (hover: hover) { .plan-featured:hover .peek svg { transform: translateY(-2px) rotate(-4deg); transition-delay: 0ms; } }

.plan .btn { margin-top: auto; }
.cap { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 26px 0 28px; }
.cap-pre { flex-basis: 100%; font-size: 13px; font-weight: 600; color: var(--muted); }
.cap b { font-size: 56px; line-height: 1; letter-spacing: -0.045em; font-weight: 700; font-variant-numeric: tabular-nums; }
.cap-unit { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan-featured .cap-pre, .plan-featured .cap-unit { color: #A3A6B8; }

.included { max-width: 1100px; margin: 40px auto 0; padding: 28px 30px; border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(20,20,43,.05); }
.included-title { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-deep); }
.included-groups { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.included-groups > div > b { display: block; font-size: 16px; color: var(--ink); }
.included .plan-list { margin-top: 14px; }

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq-grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-side { position: sticky; top: 120px; }
.faq-bridge { margin-top: 40px; display: flex; align-items: flex-end; gap: 10px; }
.faq-bridge svg { width: 96px; height: 96px; transform-origin: 50% 100%; transform: translateY(12px) rotate(-6deg); transition: transform 700ms var(--ease-out) 250ms; }
.faq-bridge.in svg { transform: none; }
@media (hover: hover) { .faq-bridge:hover svg { transform: rotate(-4deg); transition-delay: 0ms; } }
.faq-bubble { margin-bottom: 70px; padding: 9px 14px; border-radius: 16px 16px 16px 4px; background: #fff; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 650; }
.faq-list { display: grid; gap: 10px; }
.qa { background: var(--card); border-radius: 20px; box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(20,20,43,.05); transition: box-shadow 250ms ease; }
.qa[open] { box-shadow: var(--shadow), inset 0 0 0 1px rgba(20,20,43,.06); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 24px; font-size: 17px; font-weight: 650; letter-spacing: -0.01em; border-radius: 20px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--page); transition: background-color 200ms ease, transform 300ms var(--ease-out); }
.qa summary i::before, .qa summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.8px; margin: -0.9px 0 0 -5.5px; border-radius: 2px; background: var(--ink); transition: transform 300ms var(--ease-out); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i { background: var(--blue-wash); transform: rotate(180deg); }
.qa[open] summary i::after { transform: rotate(0deg); }
.qa summary:active i { transform: scale(.92); }
.qa-a { padding: 0 24px 22px; color: var(--text-2); font-size: 15.5px; line-height: 1.65; max-width: 40em; }
.qa-a a { color: var(--blue-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(27,111,212,.35); }
.qa::details-content { block-size: 0; overflow: hidden; transition: block-size 300ms var(--ease-out), content-visibility 300ms allow-discrete; }
.qa[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* ── Final CTA ────────────────────────────────────────────────────── */
.final { padding: 0 var(--gutter) clamp(60px, 8vw, 100px); }
.final-arch {
  position: relative; overflow: hidden;
  max-width: var(--wrap); margin: 0 auto; min-height: 560px;
  border-radius: 600px 600px 40px 40px;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(143,203,239,.5), transparent 70%),
    linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff; text-align: center;
  padding: clamp(110px, 14vw, 160px) var(--gutter) 0;
  display: flex; flex-direction: column; align-items: center;
}
.final-copy { position: relative; z-index: 2; max-width: 680px; }
.final-title { font-size: clamp(38px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; text-wrap: balance; }
.final-copy p { margin: 20px auto 0; font-size: clamp(17px, 1.4vw, 19px); color: rgba(255,255,255,.85); max-width: 32em; }
.final-cta { display: flex; justify-content: center; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.final-bridge { margin-top: auto; width: min(360px, 70vw); height: 230px; position: relative; overflow: hidden; }
.final-bridge svg { position: absolute; left: 0; width: 100%; height: auto; top: 20px; transform: translateY(80%); transition: transform 1100ms var(--ease-out); }
.final.in .final-bridge svg { transform: translateY(0); }

/* ── Footer ───────────────────────────────────────────────────────── */
.footer { padding: 0 var(--gutter) 28px; }
.footer-top { max-width: var(--wrap); margin: 0 auto; display: flex; justify-content: space-between; gap: 40px; padding-top: 20px; flex-wrap: wrap; }
.footer-brand p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(120px, auto)); gap: 48px; }
.footer-cols div { display: grid; gap: 10px; align-content: start; }
.footer-cols b { font-size: 13px; color: var(--ink); margin-bottom: 4px; }
.footer-cols a { font-size: 14.5px; color: var(--muted); transition: color 150ms ease; }
@media (hover: hover) { .footer-cols a:hover { color: var(--ink); } }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--text-2); background: var(--card); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); transition: color 150ms ease, transform 160ms var(--ease-out); }
.footer-social a:active { transform: scale(.94); }
@media (hover: hover) { .footer-social a:hover { color: var(--blue); } }
.footer-social svg { width: 19px; height: 19px; }
.footer-bottom a { color: var(--ink); font-weight: 650; }
@media (hover: hover) { .footer-bottom a:hover { color: var(--blue); } }
.footer-word {
  max-width: var(--wrap); margin: 40px auto 0;
  font-size: clamp(60px, 16.4vw, 214px); line-height: .82; font-weight: 700; letter-spacing: -0.06em; text-align: center;
  background: linear-gradient(180deg, #E1E5EB 30%, rgba(244,246,249,0) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.footer-bottom { max-width: var(--wrap); margin: 12px auto 0; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }

/* ── Reveal on scroll ─────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.chat.reveal { transform: translateY(16px) rotate(1.2deg); }
.chat.reveal.in { transform: rotate(1.2deg); }
.no-js .reveal { opacity: 1; transform: none; filter: none; }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1060px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-toggle { display: block; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-lifespan { grid-column: span 2; }
  .tile-login, .tile-link, .tile-reach, .tile-push, .tile-import, .tile-mark { grid-column: span 1; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .ins-curve { grid-column: span 2; }
  .ins-report { grid-column: span 1; }
  .report { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .included { max-width: 520px; }
  .included-groups { grid-template-columns: 1fr; gap: 22px; }
  .plan-featured { margin: 30px 0 0; }
}

@media (max-width: 860px) {
  .problem-grid, .students-grid, .live-inner, .faq-grid { grid-template-columns: 1fr; }
  .chat { justify-self: center; }
  .faq-side { position: static; }
  .faq-bridge { display: none; }
  .students-stage { height: 620px; }
  .how-steps { grid-template-columns: 1fr; gap: 8px; }
  .how-track { padding-top: 0; padding-left: 64px; }
  .how-line { left: 22px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .how-line i { transform-origin: top; transform: scaleY(0); width: 100%; height: 100%; }
  .how-rider { left: 23px; top: 0; width: 46px; height: 46px; margin-left: -23px; }
  .how-step { padding: 8px 0 28px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .nav-signin { display: none; }
  .nav .btn-sm { display: none; }
  .nav-pill { height: 56px; padding: 0 6px 0 16px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .bento { grid-template-columns: 1fr; }
  .tile-lifespan, .tile-login, .tile-link, .tile-reach, .tile-push, .tile-import, .tile-mark { grid-column: auto; }
  .tile { padding: 22px; }
  .lifespan-scale { grid-template-columns: 110px repeat(5, 1fr) 0; }
  .ls-row { grid-template-columns: 110px 1fr; }
  .ls-row .pill { display: none; }
  .ls-name { font-size: 12.5px; }
  .ls-now { left: calc(110px + (100% - 110px) * .40); }
  .insights-grid { grid-template-columns: 1fr; }
  .ins-curve { grid-column: auto; }
  .report { grid-template-columns: 1fr; }
  .zoom-link { flex-wrap: wrap; row-gap: 10px; }
  .zl-status { margin-left: auto; }
  .zl-text { flex-basis: 100%; order: 2; }
  .tour-cta { left: auto; right: 12px; bottom: 12px; transform: none; padding: 4px 10px 4px 4px; gap: 6px; }
  .tour-label { display: none; }
  .tour-poster:active .tour-cta { transform: scale(.96); }
  .curve { height: 240px; }
  .swap-list li { grid-template-columns: 1fr; gap: 6px; }
  .students-stage { height: 560px; margin-inline: calc(var(--gutter) * -1); }
  .arch-window { width: 340px; height: 520px; margin-left: -170px; border-radius: 170px 170px 28px 28px; }
  .big-phone { transform: scale(.86) translateY(-20px); }
  .seg { display: grid; width: 100%; }
  .seg button { padding: 9px 8px; font-size: 13.5px; }
  .final-arch { border-radius: 220px 220px 28px 28px; min-height: 520px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .att { grid-template-columns: 28px 1fr 40px; }
  .att-bar { grid-column: 2 / 4; grid-row: 2; }
  .live-card { padding: 20px; }
  .lc-scale span:nth-child(2) { display: none; }
  .plan-featured { margin-top: 60px; }
}

/* ── Accessibility preferences ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  .reveal { transform: none; filter: none; transition: opacity 300ms ease; }
  .chat.reveal, .chat.reveal.in { transform: rotate(1.2deg); }
  .ls-track i, .att-bar i, .hero-title .hl::after { transition-duration: 1ms !important; }
  .scr, .banner { transition: opacity 200ms ease !important; transform: none !important; filter: none !important; }
  .final-bridge svg, .peek svg { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav-pill, .mobile-menu, .banner, .tabbar { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .nav-pill { background: #fff; box-shadow: 0 0 0 1px var(--ink); }
  .h2 .muted { color: var(--text-2); }
}
