/* ==========================================================================
   InfoScreen — public sales pages
   Light, calm, Apple-grade type; motion only where it explains or confirms.
   ========================================================================== */

:root {
  --bg: #fbfbfd;
  --bg-2: #f5f5f7;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, .08);
  --line-2: rgba(0, 0, 0, .12);

  --blue: #2f62d9;
  --blue-ink: #1f4fbf;
  --blue-soft: #eef3fe;
  --green: #0ea974;
  --green-soft: #e8f7f1;
  --amber: #d98a2b;
  --amber-soft: #fdf3e6;
  --violet: #7c5cd6;
  --violet-soft: #f2eefc;
  --rose: #e0527a;
  --rose-soft: #fdeef2;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-1: 0 1px 2px rgba(0,0,0,.04), 0 2px 8px rgba(0,0,0,.04);
  --shadow-2: 0 2px 6px rgba(0,0,0,.04), 0 18px 48px -12px rgba(16,24,40,.14);
  --shadow-3: 0 30px 80px -20px rgba(16,24,40,.25), 0 8px 24px -8px rgba(16,24,40,.12);

  --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);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --nav-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; text-wrap: balance; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(47, 98, 217, .45); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ── Type ─────────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .01em;
  color: var(--blue-ink);
}
.display {
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.015em; font-weight: 700; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--muted); letter-spacing: -0.005em; }
.muted { color: var(--muted); }
.grad {
  background: linear-gradient(100deg, var(--blue) 0%, #5b7cf0 40%, var(--green) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.center { text-align: center; }
.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head .lead { margin-top: 18px; }
.sec-head .eyebrow { margin-bottom: 14px; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 22px;
  border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: .98rem; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease, color 200ms ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.btn:active { transform: scale(0.97); transition-duration: 100ms; }
.btn-sm { --h: 36px; padding: 0 16px; font-size: .9rem; }
.btn-lg { --h: 54px; padding: 0 28px; font-size: 1.05rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 6px 16px -6px rgba(47,98,217,.6); }
.btn-ghost { background: rgba(0,0,0,.05); color: var(--ink); }
.btn-outline { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn .bi-arrow-right { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--blue-ink); }
  .btn-ghost:hover { background: rgba(0,0,0,.08); }
  .btn-outline:hover { box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
  .btn:hover .bi-arrow-right { transform: translateX(3px); }
}
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; }
.link-arrow i { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover i { transform: translateX(3px); } }

/* ── Nav: translucent material, edge appears only once content scrolls under ─ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 251, 253, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 transparent;
  transition: box-shadow 250ms ease;
}
.nav.scrolled { box-shadow: 0 1px 0 var(--line); }
.nav.menu-open { background: rgba(251, 251, 253, .97); box-shadow: 0 1px 0 var(--line), 0 24px 48px -24px rgba(16,24,40,.25); }
.nav-in { height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; font-size: 1.08rem; }
.brand-mark {
  width: 26px; height: 18px; border-radius: 5px; position: relative;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 2px 6px -2px rgba(47,98,217,.6);
}
.brand-mark i { position: absolute; left: 50%; bottom: -5px; width: 10px; height: 3px; margin-left: -5px; border-radius: 2px; background: var(--ink); opacity: .75; }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a {
  white-space: nowrap;
  font-size: .9rem; font-weight: 500; color: var(--ink-2);
  padding: 8px 12px; border-radius: 999px;
  transition: color 150ms ease, background-color 150ms ease;
}
.nav-links a[aria-current] { color: var(--ink); background: rgba(0,0,0,.05); }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: var(--ink); } }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-login { white-space: nowrap; font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.lang-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(0,0,0,.05); }
.lang-seg a { font-size: .75rem; font-weight: 700; letter-spacing: .04em; padding: 4px 9px; border-radius: 999px; color: var(--muted); transition: color 150ms ease; }
.lang-seg a[aria-current] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.nav-burger { display: none; width: 40px; height: 40px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; position: relative; }
.nav-burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 250ms var(--ease-out); }
.nav-burger span:first-child { top: 15px; }
.nav-burger span:last-child { top: 23px; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.sheet { border-top: 1px solid var(--line); padding: 10px 0 20px; }
.sheet[hidden] { display: none; }
.sheet .wrap { display: flex; flex-direction: column; }
.sheet-link { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sheet-link[aria-current] { color: var(--blue); }
.sheet-row { display: flex; gap: 10px; margin-top: 18px; }
.sheet-row .btn { flex: 1; }
.js .sheet { opacity: 0; transform: translateY(-8px); transition: opacity 200ms var(--ease-out), transform 250ms var(--ease-out); }
.js .sheet.open { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .nav-links, .nav-login, .nav-cta { display: none; }
  .nav-burger { display: block; }
}

/* ── Sections ─────────────────────────────────────────────────────────── */
section { position: relative; }
.sec { padding: 120px 0; }
.sec-tight { padding: 80px 0; }
.sec-alt { background: var(--bg-2); }
@media (max-width: 700px) { .sec { padding: 84px 0; } .sec-tight { padding: 60px 0; } }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding: 72px 0 40px; text-align: center; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto; height: 760px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 30% 30%, rgba(47,98,217,.12), transparent 70%),
    radial-gradient(35% 45% at 72% 25%, rgba(14,169,116,.10), transparent 70%);
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1);
  font-size: .82rem; font-weight: 600; color: var(--ink-2);
}
.pill b { background: var(--green-soft); color: #08825a; padding: 2px 8px; border-radius: 999px; font-size: .72rem; letter-spacing: .02em; }
.hero h1 { margin: 22px auto 0; max-width: 940px; }
.hero .lead { margin: 22px auto 0; max-width: 640px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: .88rem; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta i { color: var(--green); }

/* ── The mock TV (pure HTML/CSS, sized with container units) ─────────── */
.stage { perspective: 1800px; margin: 64px auto 0; max-width: 1040px; }
.tv {
  position: relative; border-radius: 22px; padding: 12px;
  background: linear-gradient(180deg, #e9e9ee, #d6d6dc);
  box-shadow: var(--shadow-3), inset 0 1px 0 rgba(255,255,255,.9);
  transform-style: preserve-3d; will-change: transform;
}
.tv::after {  /* stand */
  content: ''; position: absolute; left: 50%; bottom: -26px; width: 22%; height: 26px; transform: translateX(-50%);
  background: linear-gradient(180deg, #cfcfd6, #e6e6eb); border-radius: 0 0 14px 14px;
  clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%);
}
.screen {
  container-type: inline-size;
  position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden;
  background: linear-gradient(160deg, #f4f8ff 0%, #eaf1ff 45%, #eef9f4 100%);
  color: #13203a; text-align: left;
}
.screen * { box-sizing: border-box; }
.scr-grid {
  position: absolute; inset: 3.2cqw 3.2cqw 9cqw; display: grid; gap: 1.8cqw;
  grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: 1fr 1fr;
}
.scr-card {
  border-radius: 1.6cqw; background: rgba(255,255,255,.78);
  box-shadow: 0 .3cqw 1.6cqw rgba(30,60,120,.08), inset 0 0 0 .1cqw rgba(255,255,255,.9);
  padding: 1.8cqw; position: relative; overflow: hidden;
}
.scr-label { font-size: 1.05cqw; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5d6b86; }
.scr-clock { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(160deg, #2f62d9, #4c7cf0); color: #fff; }
.scr-clock .scr-label { color: rgba(255,255,255,.75); }
.scr-time { font-size: 8.4cqw; font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.scr-date { font-size: 1.7cqw; font-weight: 600; opacity: .85; margin-top: .6cqw; }
.scr-wx { display: flex; align-items: center; gap: 1.4cqw; margin-top: 1.4cqw; }
.scr-wx-ico { width: 5.4cqw; height: 5.4cqw; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe28a, #f7b733); box-shadow: 0 0 3cqw rgba(247,183,51,.55); flex: none; }
.scr-wx b { font-size: 4cqw; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.scr-wx small { display: block; font-size: 1.3cqw; opacity: .8; font-weight: 600; }
.scr-queue { display: flex; flex-direction: column; justify-content: space-between; }
.scr-queue-num { font-size: 7cqw; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; }
.scr-queue-num span { display: inline-block; }
.scr-queue-desk { font-size: 1.4cqw; font-weight: 600; color: #5d6b86; }
.scr-menu ul { list-style: none; margin: 1.2cqw 0 0; padding: 0; display: grid; gap: .85cqw; }
.scr-menu li { display: flex; justify-content: space-between; font-size: 1.45cqw; font-weight: 600; border-bottom: .1cqw dashed rgba(19,32,58,.15); padding-bottom: .6cqw; }
.scr-menu li b { color: var(--blue); font-weight: 800; }
.scr-bars { display: flex; align-items: flex-end; gap: .9cqw; height: 62%; margin-top: 1.2cqw; }
.scr-bars i { flex: 1; border-radius: .6cqw .6cqw .2cqw .2cqw; background: linear-gradient(180deg, #7ea0f5, #2f62d9); transform-origin: bottom; }
.scr-bars i:nth-child(2n) { background: linear-gradient(180deg, #6fe0b5, #0ea974); }
.scr-trans ul { list-style: none; margin: 1.1cqw 0 0; padding: 0; display: grid; gap: .8cqw; }
.scr-trans li { display: grid; grid-template-columns: 3.4cqw 1fr auto; align-items: center; gap: 1cqw; font-size: 1.4cqw; font-weight: 600; }
.scr-trans li em { font-style: normal; background: #e0527a; color: #fff; border-radius: .5cqw; text-align: center; font-weight: 800; padding: .25cqw 0; }
.scr-trans li:nth-child(2) em { background: var(--blue); }
.scr-trans li:nth-child(3) em { background: var(--green); }
.scr-trans li b { font-variant-numeric: tabular-nums; }
.scr-ticker {
  position: absolute; left: 0; right: 0; bottom: 0; height: 6.4cqw;
  display: flex; align-items: center; overflow: hidden; background: rgba(255,255,255,.85);
  border-top: .1cqw solid rgba(19,32,58,.06);
}
.scr-ticker-tag { position: relative; z-index: 1; flex: none; height: 100%; display: flex; align-items: center; padding: 0 2cqw; background: var(--blue); color: #fff; font-weight: 800; font-size: 1.3cqw; letter-spacing: .1em; }
.scr-ticker-track { display: flex; gap: 4cqw; padding-left: 3cqw; white-space: nowrap; font-size: 1.6cqw; font-weight: 600; animation: ticker 38s linear infinite; }
.scr-ticker-track span::before { content: '◆'; color: var(--amber); margin-right: 1.6cqw; font-size: 1cqw; vertical-align: middle; }
@keyframes ticker { to { transform: translateX(-50%); } }

.stage-caption { margin-top: 48px; font-size: .88rem; color: var(--muted); }

/* ── Stats strip ──────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.stat { padding: 30px 26px; }
.stat + .stat { box-shadow: -1px 0 0 var(--line); }
.stat b { display: block; font-size: 2.3rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: .9rem; color: var(--muted); }
@media (max-width: 800px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { box-shadow: 0 -1px 0 var(--line); }
  .stat:nth-child(4) { box-shadow: -1px 0 0 var(--line), 0 -1px 0 var(--line); }
}

/* ── Steps ────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--surface); border-radius: var(--radius); padding: 34px 30px; box-shadow: inset 0 0 0 1px var(--line); }
.step-num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .95rem; background: var(--blue-soft); color: var(--blue-ink); }
.step h3 { margin: 22px 0 10px; }
.step p { color: var(--muted); }
.step-vis { margin-top: 26px; height: 120px; border-radius: 14px; background: var(--bg-2); display: grid; place-items: center; position: relative; overflow: hidden; }
.pair-code { display: flex; gap: 6px; }
.pair-code span { width: 34px; height: 44px; border-radius: 9px; background: var(--surface); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.mini-canvas { width: 78%; height: 74%; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-1); position: relative; }
.mini-canvas i { position: absolute; border-radius: 6px; }
.mini-canvas i:nth-child(1) { left: 8%; top: 12%; width: 38%; height: 76%; background: var(--blue); opacity: .9; }
.mini-canvas i:nth-child(2) { left: 52%; top: 12%; width: 40%; height: 34%; background: var(--green-soft); box-shadow: inset 0 0 0 1.5px var(--green); }
.mini-canvas i:nth-child(3) { left: 52%; top: 54%; width: 40%; height: 34%; background: var(--amber-soft); box-shadow: inset 0 0 0 1.5px var(--amber); }
.mini-screens { display: flex; gap: 10px; align-items: flex-end; }
.mini-screens span { display: block; border-radius: 6px; background: linear-gradient(160deg, #eaf1ff, #eef9f4); box-shadow: inset 0 0 0 3px #d9d9df; position: relative; }
.mini-screens span::after { content: ''; position: absolute; right: 7px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(14,169,116,.18); }
.mini-screens span:nth-child(1) { width: 70px; height: 42px; }
.mini-screens span:nth-child(2) { width: 96px; height: 58px; }
.mini-screens span:nth-child(3) { width: 38px; height: 62px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ── Bento ────────────────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
  grid-column: span 2; background: var(--surface); border-radius: var(--radius); padding: 30px;
  box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; min-height: 240px;
  display: flex; flex-direction: column;
}
.tile.w3 { grid-column: span 3; }
.tile.w4 { grid-column: span 4; }
.tile h3 { margin-top: 18px; }
.tile p { margin-top: 8px; color: var(--muted); font-size: .98rem; }
.ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.25rem; flex: none;
  background: var(--blue-soft); color: var(--blue);
}
.ico.g { background: var(--green-soft); color: var(--green); }
.ico.a { background: var(--amber-soft); color: var(--amber); }
.ico.v { background: var(--violet-soft); color: var(--violet); }
.ico.r { background: var(--rose-soft); color: var(--rose); }
.tile-foot { margin-top: auto; padding-top: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); }
.chip i { color: var(--blue); }
@media (max-width: 960px) { .tile, .tile.w3, .tile.w4 { grid-column: span 3; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .tile, .tile.w3, .tile.w4 { grid-column: auto; min-height: 0; } }

/* ── Marquee of widgets ───────────────────────────────────────────────── */
.marquee { overflow: hidden; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 12px; }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.marquee.rev .marquee-track { animation-direction: reverse; animation-duration: 70s; }
.marquee-item { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.marquee-item .ico { width: 34px; height: 34px; border-radius: 10px; font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee-track { animation-play-state: paused; } }

/* ── Use-case cards ───────────────────────────────────────────────────── */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case {
  background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.case h3 { margin-top: 10px; }
.case p { color: var(--muted); font-size: .98rem; }
.case .link-arrow { margin-top: auto; padding-top: 12px; font-size: .95rem; }
@media (hover: hover) and (pointer: fine) {
  a.case:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2); }
}
a.case:active { transform: scale(0.99); }
@media (max-width: 900px) { .cases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cases { grid-template-columns: 1fr; } }

/* ── Why list ─────────────────────────────────────────────────────────── */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 36px; }
.why-item h3 { margin: 16px 0 8px; font-size: 1.12rem; }
.why-item p { color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* ── Pricing ──────────────────────────────────────────────────────────── */
.seg {
  position: relative; display: inline-flex; padding: 4px; border-radius: 999px;
  background: rgba(0,0,0,.05); isolation: isolate;
}
.seg button {
  position: relative; z-index: 1; border: 0; background: transparent; cursor: pointer;
  padding: 9px 20px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--muted);
  transition: color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.seg button[aria-pressed="true"] { color: var(--ink); }
.seg button:active { transform: scale(0.97); }
.seg-pill {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px;
  background: var(--surface); box-shadow: var(--shadow-1);
  transition: transform 350ms var(--ease-drawer), width 350ms var(--ease-drawer);
}
.seg-save { font-size: .72rem; font-weight: 700; color: #08825a; background: var(--green-soft); padding: 2px 7px; border-radius: 999px; margin-left: 6px; }
.price-toolbar { display: flex; justify-content: center; margin-bottom: 44px; }

.plans { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plans.swap { opacity: 0; filter: blur(4px); transform: translateY(6px); }
.plans { transition: opacity 180ms ease, filter 180ms ease, transform 260ms var(--ease-out); }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(min(var(--n, 3), 2), minmax(0, 1fr)); } }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }
.plan {
  position: relative; background: var(--surface); border-radius: var(--radius); padding: 32px 28px 28px;
  box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column;
}
.plan.rec { box-shadow: inset 0 0 0 2px var(--blue), var(--shadow-2); }
.plan-badge { position: absolute; top: -12px; left: 28px; background: var(--blue); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .02em; padding: 5px 12px; border-radius: 999px; }
.plan-name { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.plan-desc { margin-top: 6px; color: var(--muted); font-size: .94rem; min-height: 2.9em; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 22px; }
.plan-price b { font-size: 3.1rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price span { font-weight: 600; color: var(--muted); }
.plan-sub { margin-top: 6px; font-size: .84rem; color: var(--muted); min-height: 1.3em; }
.plan .btn { margin-top: 24px; width: 100%; }
.plan-limits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.plan-limits div { background: var(--bg-2); border-radius: 12px; padding: 10px 12px; }
.plan-limits b { display: block; font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em; }
.plan-limits span { font-size: .78rem; color: var(--muted); font-weight: 500; }
.plan-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; font-size: .94rem; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list i { color: var(--green); font-size: 1.05rem; line-height: 1.4; }
.plan-list li.off { color: var(--muted); }
.plan-list li.off i { color: #c7c7cc; }
.plan-empty { text-align: center; padding: 60px 24px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }

.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.extra { background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: inset 0 0 0 1px var(--line); display: flex; gap: 18px; align-items: flex-start; }
.extra h3 { font-size: 1.08rem; }
.extra p { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.extra-price { margin-top: 12px; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.extra-price span { font-weight: 600; font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) { .extras { grid-template-columns: 1fr; } }

.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pay-card { background: var(--surface); border-radius: var(--radius); padding: 30px; box-shadow: inset 0 0 0 1px var(--line); }
.pay-card h3 { margin: 16px 0 8px; }
.pay-card p { color: var(--muted); }
.pay-methods { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
@media (max-width: 760px) { .pay { grid-template-columns: 1fr; } }

/* comparison table */
.cmp-wrap { border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: auto; -webkit-overflow-scrolling: touch; max-height: 80vh; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .93rem; min-width: 640px; }
.cmp th, .cmp td { padding: 13px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp th:first-child, .cmp td:first-child { text-align: left; position: sticky; left: 0; background: var(--surface); z-index: 1; }
.cmp thead th { position: sticky; top: 0; z-index: 2; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 1rem; font-weight: 800; letter-spacing: -0.01em; padding-top: 20px; padding-bottom: 16px; }
.cmp thead th:first-child { z-index: 3; }
.cmp thead th small { display: block; font-weight: 600; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.cmp .grp td { background: var(--bg-2); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 10px; padding-bottom: 10px; }
.cmp .grp td:first-child { background: var(--bg-2); }
.cmp td:first-child { font-weight: 500; }
.cmp td:first-child i { color: var(--muted); margin-right: 8px; }
.cmp .yes { color: var(--green); font-size: 1.15rem; }
.cmp .no { color: #c7c7cc; }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp .num { font-weight: 700; font-variant-numeric: tabular-nums; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 24px 0; font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em;
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-3px) rotate(45deg); transition: transform 250ms var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq .faq-a { padding: 0 40px 26px 0; color: var(--ink-2); }
.faq details[open] .faq-a { animation: faq-in 260ms var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } }

/* ── CTA band ─────────────────────────────────────────────────────────── */
.cta-band { padding: 40px 0 120px; }
.cta-card {
  border-radius: 32px; padding: 80px 32px; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(60% 80% at 20% 0%, rgba(47,98,217,.14), transparent 70%),
    radial-gradient(50% 70% at 90% 100%, rgba(14,169,116,.14), transparent 70%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.cta-card h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -0.035em; line-height: 1.06; font-weight: 800; max-width: 760px; margin: 0 auto; }
.cta-card p { margin: 18px auto 0; max-width: 560px; color: var(--muted); font-size: 1.12rem; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* ── Page hero (inner pages) ──────────────────────────────────────────── */
.phero { padding: 88px 0 56px; text-align: center; }
.phero::before {
  content: ''; position: absolute; inset: -30% 0 auto; height: 560px; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 60% at 50% 30%, rgba(47,98,217,.10), transparent 70%);
}
.phero .lead { max-width: 640px; margin: 20px auto 0; }
.phero .display { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }

/* ── Features page ────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 120px; }
.split.flip .split-text { order: 2; }
.split-text .h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.split-text .lead { margin-top: 16px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; color: var(--ink-2); }
.ticks i { color: var(--green); font-size: 1.1rem; line-height: 1.45; }
.visual {
  border-radius: 28px; aspect-ratio: 5 / 4; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #f2f6ff, #eef9f4); box-shadow: inset 0 0 0 1px var(--line);
  display: grid; place-items: center; padding: 32px;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.flip .split-text { order: 0; }
  .split + .split { margin-top: 80px; }
}
/* visual: queue */
.v-queue { width: 100%; max-width: 380px; display: grid; gap: 14px; }
.v-now { background: var(--surface); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-2); text-align: center; }
.v-now small { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.v-now b { display: block; font-size: 4.4rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1.05; color: var(--green); font-variant-numeric: tabular-nums; }
.v-now span { font-weight: 600; color: var(--ink-2); }
.v-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.v-mini { background: var(--surface); border-radius: 16px; padding: 16px; box-shadow: var(--shadow-1); display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: .9rem; }
/* visual: player */
.v-player { display: grid; gap: 12px; width: 100%; max-width: 400px; }
.v-dev { background: var(--surface); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-1); display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; }
.v-dev-thumb { width: 44px; height: 28px; border-radius: 5px; background: linear-gradient(160deg, #2f62d9, #0ea974); }
.v-dev:nth-child(2) .v-dev-thumb { background: linear-gradient(160deg, #f7b733, #e0527a); }
.v-dev:nth-child(3) .v-dev-thumb { background: linear-gradient(160deg, #7c5cd6, #2f62d9); }
.v-dev b { display: block; font-size: .95rem; }
.v-dev small { color: var(--muted); font-size: .8rem; }
.v-dot { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: #08825a; background: var(--green-soft); padding: 4px 9px; border-radius: 999px; }
.v-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.v-dot.idle { color: #9a5b12; background: var(--amber-soft); }
.v-dot.idle::before { background: var(--amber); }
/* visual: schedule */
.v-sched { width: 100%; max-width: 420px; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-2); padding: 20px; }
.v-sched-row { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 8px 0; font-size: .85rem; }
.v-sched-row small { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.v-sched-row span { display: block; padding: 10px 12px; border-radius: 10px; font-weight: 600; }
.v-sched-row:nth-child(1) span { background: var(--amber-soft); color: #8a5310; }
.v-sched-row:nth-child(2) span { background: var(--blue-soft); color: var(--blue-ink); }
.v-sched-row:nth-child(3) span { background: var(--green-soft); color: #08714e; }
.v-sched-row:nth-child(4) span { background: var(--violet-soft); color: #5a3fb0; }
/* visual: team */
.v-team { width: 100%; max-width: 400px; display: grid; gap: 12px; }
.v-member { background: var(--surface); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-1); display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; }
.v-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--blue); }
.v-member:nth-child(2) .v-av { background: var(--green); }
.v-member:nth-child(3) .v-av { background: var(--amber); }
.v-member b { font-size: .95rem; }
.v-role { font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); }

/* widget catalogue */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; }
.filters button {
  border: 0; cursor: pointer; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem;
  background: var(--surface); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 160ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.filters button:active { transform: scale(0.97); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.filters button span { opacity: .55; margin-left: 4px; font-variant-numeric: tabular-nums; }
.wgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.w {
  background: var(--surface); border-radius: 18px; padding: 22px; box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column; gap: 6px;
  transition: opacity 200ms ease, transform 250ms var(--ease-out);
}
.w[hidden] { display: none; }
.w.fade { opacity: 0; transform: scale(0.98); }
.w h3 { font-size: 1.02rem; margin-top: 12px; }
.w p { font-size: .88rem; color: var(--muted); }
.w-plan { margin-top: auto; padding-top: 12px; font-size: .76rem; font-weight: 700; color: var(--blue-ink); }
@media (max-width: 1000px) { .wgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .wgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .wgrid { grid-template-columns: 1fr; } }

/* ── Use-cases page ───────────────────────────────────────────────────── */
.jump { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 30px; }
.jump a { padding: 8px 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: .9rem; display: inline-flex; gap: 8px; align-items: center; transition: transform 160ms var(--ease-out); }
.jump a:active { transform: scale(0.97); }
.uc { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 72px 0; border-top: 1px solid var(--line); }
.uc:first-child { border-top: 0; }
.uc.flip .uc-text { order: 2; }
.uc-text .h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-top: 14px; }
.uc-text .lead { margin-top: 14px; }
.uc-uses { margin-top: 24px; }
.uc-uses h4 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.uc-vis {
  container-type: inline-size;
  aspect-ratio: 16 / 10; border-radius: 26px; padding: 5cqw; position: relative; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
  display: grid; gap: 3cqw;
}
.uc-vis .card { background: rgba(255,255,255,.85); border-radius: 3.4cqw; padding: 4cqw; box-shadow: 0 .6cqw 3cqw rgba(30,60,120,.08); }
.uc-vis .t { font-size: 2.6cqw; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #6b7690; }
.uc-vis .big { font-size: 11cqw; font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.uc-vis .row { display: flex; justify-content: space-between; font-size: 3.4cqw; font-weight: 600; padding: 1.6cqw 0; border-bottom: .25cqw dashed rgba(0,0,0,.1); }
.uc-vis .row:last-child { border-bottom: 0; }
.uc-vis .row b { font-weight: 800; }
@media (max-width: 900px) {
  .uc { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .uc.flip .uc-text { order: 0; }
}

/* ── Free tools page ──────────────────────────────────────────────────── */
.ad-slot { margin: 0 auto 40px; max-width: 970px; min-height: 0; }
.tools-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.tools-search { position: relative; flex: 1; max-width: 420px; }
.tools-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.tools-search input {
  width: 100%; height: 46px; padding: 0 16px 0 44px; border-radius: 999px; border: 0;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); font: inherit; font-size: .98rem; color: var(--ink);
  transition: box-shadow 150ms ease;
}
.tools-search input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 4px rgba(47,98,217,.12); }
.tools-count { font-size: .9rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tcard {
  --c: var(--blue);
  position: relative; display: flex; flex-direction: column; gap: 8px; overflow: hidden;
  background: var(--surface); border-radius: var(--radius); padding: 28px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), opacity 700ms var(--ease-out);
}
.tcard::after { /* soft glow in the tool's own colour */
  content: ''; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
  background: var(--c); opacity: .07; pointer-events: none;
}
.tcard-ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem;
  color: #fff; background: var(--c); box-shadow: 0 8px 20px -8px var(--c); margin-bottom: 10px;
}
.tcard h2 { font-size: 1.15rem; letter-spacing: -0.015em; }
.tcard p { color: var(--muted); font-size: .95rem; }
.tcard-open { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--c); }
.tcard-open i { transition: transform 200ms var(--ease-out); }
.tcard:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) {
  .tcard:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2); }
  .tcard:hover .tcard-open i { transform: translateX(3px); }
}
@media (max-width: 900px) { .tgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .tgrid { grid-template-columns: 1fr; } }

/* ── Footer ───────────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 28px; font-size: .92rem; }
.foot-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand p { margin-top: 12px; color: var(--muted); max-width: 320px; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-cols h4 { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 700; }
.foot-cols a { display: block; padding: 4px 0; color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .foot-cols a:hover { color: var(--ink); } }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }

/* ── Scroll reveal (JS adds .in; without JS everything is simply visible) ─ */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }
.js .stage.rv { transform: translateY(40px) scale(0.98); transition-duration: 900ms, 1100ms; }
.js .stage.rv.in { transform: none; }

/* ── Accessibility preferences ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv, .js .stage.rv { transform: none !important; transition: opacity 300ms ease; }
  .marquee-track, .scr-ticker-track { animation: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track [aria-hidden="true"] { display: none; }
  .marquee.rev { display: none; }
  .tv { transform: none !important; }
  .plans, .w, .seg-pill, .sheet { transition-property: opacity; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .cmp thead th { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --line: rgba(0,0,0,.28); --muted: #4a4a4f; }
}
