/* Orchalon website: page layout, sections and the two product demos.
   Colors, type and radii come from tokens.css; the product UI pieces (bar, panel, approval
   card, capsules) come from components.css, which restates the app's own styles. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--brand-ground);
  color: var(--ink-92);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--tone-accent); }
a:hover { color: var(--brand-line); }
:focus-visible { outline: 2px solid var(--tone-accent); outline-offset: 3px; }
::selection { background: rgba(125, 211, 252, 0.3); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 20;
  padding: 10px 16px; border-radius: 9999px;
  background: var(--confirm-fill); color: var(--on-primary); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: 1168px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 24px); }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: none; border-radius: 9999px;
  font-family: var(--font-family); font-size: 16px; font-weight: 600; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: rgba(255, 255, 255, 0.92); color: rgba(0, 0, 0, 0.85); }
.btn--primary:hover { background: #ffffff; color: rgba(0, 0, 0, 0.9); }
.btn--ghost { padding: 0 22px; color: var(--ink-92); font-weight: 500; box-shadow: inset 0 0 0 1px var(--ink-18); background: transparent; }
.btn--ghost:hover { color: var(--brand-line); box-shadow: inset 0 0 0 1px var(--ink-34); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn--quiet { min-height: 44px; padding: 0 18px; font-size: 14px; font-weight: 500; background: var(--ink-08); color: var(--ink-92); }
.btn--quiet:hover { background: var(--ink-12); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ── Header (69px tall; the demo stage below accounts for it) ────────── */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-08);
}
.site-header .wrap { max-width: 1168px; display: flex; align-items: center; gap: 12px 28px; padding-top: 12px; padding-bottom: 12px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--brand-line); text-decoration: none;
  font-size: 17px; font-weight: 700; letter-spacing: -0.01em;
}
.brand:hover { color: var(--brand-line); }
.brand img, .logo-mark { object-fit: contain; filter: brightness(1.35) saturate(1.15); }
.site-nav { display: flex; gap: 6px 24px; flex: 1; justify-content: center; font-size: 14px; }
.site-nav a { color: var(--text-muted); text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--brand-line); }
.site-header .btn { margin-left: auto; }
@media (max-width: 760px) { .site-nav { display: none; } }

/* ── Sections ────────────────────────────────────────────────────────── */
.section { max-width: 1168px; margin: 0 auto; padding: clamp(88px, 12vw, 152px) clamp(16px, 4vw, 24px) 0; }
.section--center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.h2 { margin: 0; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; color: var(--brand-line); text-wrap: balance; }
.lede { margin: 0; font-size: clamp(16px, 1.5vw, 18px); color: var(--text-muted); text-wrap: balance; }
kbd, .kbd { font-family: var(--font-mono); font-size: 14px; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--ink-18); color: var(--ink-92); white-space: nowrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-55); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-circuit); flex-shrink: 0; }

/* Hero */
.hero { max-width: 1168px; margin: 0 auto; padding: clamp(56px, 8vw, 88px) clamp(16px, 4vw, 24px) 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; position: relative; isolation: isolate; }
/* Nebula behind the hero: full-bleed, tucked under the translucent header, dissolving into the ground. */
.hero::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  top: -69px; left: 50%; width: 100vw; transform: translateX(-50%) scaleX(-1); /* mirrored */
  height: clamp(720px, 118vh, 1240px);
  background: url('/assets/img/hero-bg.webp') center top / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 34%, rgba(0,0,0,0.82) 48%, rgba(0,0,0,0.5) 64%, rgba(0,0,0,0.2) 80%, rgba(0,0,0,0.05) 92%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 34%, rgba(0,0,0,0.82) 48%, rgba(0,0,0,0.5) 64%, rgba(0,0,0,0.2) 80%, rgba(0,0,0,0.05) 92%, transparent 100%);
}
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--ink-14); font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.hero h1 { margin: 0; font-size: clamp(46px, 7.4vw, 92px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 700; color: var(--brand-line); }
.hero__sub { margin: 0; max-width: 32em; font-size: clamp(17px, 1.6vw, 20px); color: var(--text-muted); text-wrap: balance; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; padding-top: 4px; }
.hero__note { margin: 0; font-size: 13.5px; color: var(--ink-55); }
.hero__count { margin: -10px 0 0; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-70); }
.hero__count::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--tone-ok); }
.hero__count strong { color: var(--ink-92); font-weight: 600; }

/* ── The demo always fits one screen ─────────────────────────────────────
   The stage is one viewport tall and pads itself below the 69px header; the desktop's width
   is capped by the height left for it (padding 101, controls 58, gap 14, bezel 22). */
.demo-stage {
  width: 100%; margin-top: -41px;
  min-height: 100vh; min-height: 100svh;
  padding: 85px 0 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.monitor {
  position: relative; width: 100%;
  border-radius: 10px; overflow: hidden; background: #0b1626;
  box-shadow: 0 0 0 10px #0d0e11, 0 0 0 11px var(--ink-14), 0 50px 120px -40px rgba(0, 197, 254, 0.28);
}
.monitor--hero { aspect-ratio: 16 / 9; width: min(100%, 1120px, calc((100vh - 195px) * 16 / 9)); width: min(100%, 1120px, calc((100svh - 195px) * 16 / 9)); }
.demo-controls { display: flex; align-items: flex-start; gap: 6px; width: min(100%, 1120px, calc((100vh - 195px) * 16 / 9)); width: min(100%, 1120px, calc((100svh - 195px) * 16 / 9)); min-width: min(100%, 520px); }
.monitor--dict {
  aspect-ratio: 1280 / 540; border-radius: 16px 16px 0 0; box-shadow: none;
  width: min(100%, 1040px, calc((100vh - 230px) * 1280 / 540)); width: min(100%, 1040px, calc((100svh - 230px) * 1280 / 540));
  -webkit-mask-image: linear-gradient(#000 90%, transparent); mask-image: linear-gradient(#000 90%, transparent);
}
@media (max-width: 760px) {
  .monitor--hero { aspect-ratio: 1 / 1; width: min(100%, calc(100vh - 195px)); width: min(100%, calc(100svh - 195px)); }
  .demo-controls { width: 100%; min-width: 0; }
  .monitor--dict { aspect-ratio: 4 / 5; width: min(100%, calc((100vh - 230px) * 4 / 5)); width: min(100%, calc((100svh - 230px) * 4 / 5)); }
}
.play-toggle { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink-14); background: var(--ink-06); color: var(--ink-92); display: grid; place-items: center; cursor: pointer; }
.chapter { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 10px 4px 0; border: none; background: none; cursor: pointer; font-family: var(--font-family); text-align: left; min-height: 44px; }
.chapter__bar { height: 3px; border-radius: 3px; background: var(--ink-14); overflow: hidden; }
.chapter__bar > span { display: block; width: 0; height: 100%; background: var(--brand-circuit); transition: width 300ms linear; }
.chapter__label { font-size: 13px; font-weight: 600; color: var(--ink-55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chapter[aria-current="step"] .chapter__label { color: var(--ink-92); }

/* ── A Windows 11 desktop at a true logical size, scaled and framed by a camera ─ */
.screen { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; transform-origin: 0 0; overflow: hidden; font-family: 'Segoe UI', var(--font-family); text-align: left; }
/* Kept cheap to draw: no will-change (it would hold a full-size layer), and the wallpaper's soft arcs
   are gradients rather than blurred elements, so nothing large is re-rasterised while the camera moves. */
.camera { transition: transform 900ms cubic-bezier(0.45, 0, 0.2, 1); }
.wallpaper {
  position: absolute; inset: 0; overflow: hidden;
  background:
    radial-gradient(circle at 1010px 1130px, transparent 0 680px, rgba(255, 255, 255, 0.10) 690px 750px, transparent 762px),
    radial-gradient(circle at 1070px 1070px, transparent 0 500px, rgba(255, 255, 255, 0.12) 508px 546px, transparent 556px),
    radial-gradient(70% 60% at 82% 108%, rgba(0, 197, 254, 0.75) 0%, rgba(0, 150, 210, 0.35) 38%, transparent 70%),
    radial-gradient(55% 55% at 8% 18%, rgba(170, 205, 235, 0.65) 0%, transparent 70%),
    radial-gradient(80% 70% at 50% 40%, rgba(80, 140, 200, 0.55) 0%, transparent 75%),
    linear-gradient(165deg, #a9c8e2 0%, #6d9cc6 40%, #2b5f92 78%, #163c66 100%);
}

.taskbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 48px; padding: 0 12px;
  display: flex; align-items: center;
  background: rgba(24, 30, 40, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.tb-side { flex: 1 1 0; min-width: 0; display: flex; align-items: center; }
.tb-center { flex: none; display: flex; align-items: center; gap: 4px; }
.tb-tray { justify-content: flex-end; gap: 10px; color: rgba(255, 255, 255, 0.92); font-size: 12px; }
.tb-tray__group { display: flex; align-items: center; gap: 12px; padding: 0 6px; }
.tb-tray__pill { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: 6px; }
.tb-tray__clock { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; height: 34px; padding: 0 8px; line-height: 1.3; white-space: nowrap; }
.taskbar__app { position: relative; width: 40px; height: 40px; border-radius: 6px; display: grid; place-items: center; }
.taskbar__app img { width: 24px; height: 24px; }
.taskbar__app--on { background: rgba(255, 255, 255, 0.08); }
.taskbar__app--on::after { content: ''; position: absolute; bottom: 2px; left: 50%; width: 16px; height: 3px; margin-left: -8px; border-radius: 2px; background: #7dd3fc; }
.taskbar__search { display: flex; height: 32px; align-items: center; gap: 8px; padding: 0 14px 0 12px; margin: 0 6px; border-radius: 16px; background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.7); font-size: 13px; min-width: 150px; }
.is-narrow .taskbar__search, .is-narrow .tb-tray__group, .is-narrow .tb-tray__pill, .is-narrow .win__side { display: none; }

.win { position: absolute; border-radius: 8px; overflow: hidden; background: #ffffff; color: rgba(0, 0, 0, 0.86); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.10), 0 24px 60px rgba(0, 0, 0, 0.35); }
.win__title { height: 34px; display: flex; align-items: center; gap: 10px; padding-left: 12px; background: #f3f3f3; font-size: 12px; color: rgba(0, 0, 0, 0.7); flex-shrink: 0; white-space: nowrap; }
.win__title img { width: 16px; height: 16px; }
.win__controls { margin-left: auto; display: flex; height: 100%; }
.win__controls > span { width: 46px; display: grid; place-items: center; color: inherit; opacity: 0.75; }
.win__ribbon { height: 30px; display: flex; align-items: center; gap: 18px; padding: 0 14px; background: #f5f5f5; font-size: 12.5px; color: rgba(0, 0, 0, 0.7); overflow: hidden; white-space: nowrap; flex-shrink: 0; }
.win--col { display: flex; flex-direction: column; }
.win[data-scene]:not(.is-on) { display: none; }

/* Excel: one grid for headers, gridlines and cells */
.xl { position: absolute; left: 0; right: 0; top: 92px; bottom: 0; overflow: hidden; background: #ffffff; font-size: 13px; color: rgba(0, 0, 0, 0.86); }
.xl__cols { position: absolute; left: 0; top: 0; height: 24px; display: flex; width: max-content; background: #f3f3f3; border-bottom: 1px solid #d4d4d4; color: rgba(0, 0, 0, 0.6); font-size: 12px; }
.xl__cols > span { width: 110px; flex-shrink: 0; border-right: 1px solid #d4d4d4; display: grid; place-items: center; }
.xl__cols > .xl__corner { width: 40px; }
.xl__rows { position: absolute; left: 0; top: 24px; width: 40px; display: flex; flex-direction: column; background: #f3f3f3; border-right: 1px solid #d4d4d4; color: rgba(0, 0, 0, 0.6); font-size: 12px; }
.xl__rows > span { height: 24px; flex-shrink: 0; border-bottom: 1px solid #e1e1e1; display: grid; place-items: center; }
.xl__cells {
  position: absolute; left: 40px; top: 24px; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(4, 110px); grid-auto-rows: 24px; align-content: start;
  background-image: repeating-linear-gradient(180deg, transparent 0 23px, #e1e1e1 23px 24px), repeating-linear-gradient(90deg, transparent 0 109px, #e1e1e1 109px 110px);
}
.xl__cells > span { padding: 0 7px; line-height: 23px; overflow: hidden; white-space: nowrap; }
.xl__cells > .xl__h { font-weight: 700; background: #e8f3ec; box-shadow: inset 0 -1px 0 #e1e1e1, inset -1px 0 0 #e1e1e1; }
.xl__cells > .xl__n { text-align: right; }
.xl__cells > .xl__sel { outline: 2px solid #107c41; outline-offset: -2px; }

/* Word brief */
.brief { margin: 14px auto 0; width: min(640px, calc(100% - 24px)); background: #ffffff; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.14); padding: 30px clamp(18px, 6%, 48px) 40px; font-family: Aptos, Calibri, 'Segoe UI', sans-serif; color: rgba(0, 0, 0, 0.84); display: flex; flex-direction: column; gap: 12px; }
.brief h3 { margin: 0; font-size: 24px; font-weight: 400; color: #0f4761; line-height: 1.2; }
.brief__meta { font-size: 12px; color: rgba(0, 0, 0, 0.55); }
.brief table { border-collapse: collapse; font-size: 13px; width: 100%; }
.brief th { text-align: right; padding: 6px 8px; font-weight: 600; background: #0f4761; color: #ffffff; }
.brief td { text-align: right; padding: 6px 8px; }
.brief th:first-child, .brief td:first-child { text-align: left; }
.brief tbody tr:nth-child(odd) { background: #f2f6fa; }
.brief .neg { color: #b23b1e; }
.chart { display: flex; align-items: flex-end; gap: 22px; height: 112px; padding: 8px 4px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.25); }
.chart__pair { display: flex; align-items: flex-end; gap: 4px; }
.chart__pair span { width: 22px; }
.chart .ours { background: #0f4761; }
.chart .theirs { background: #e97132; }
.chart__legend { display: flex; flex-direction: column; gap: 4px; margin-left: auto; align-self: flex-start; font-size: 11px; color: rgba(0, 0, 0, 0.65); }
.chart__legend span { display: flex; align-items: center; gap: 6px; }
.chart__legend i { width: 9px; height: 9px; }
.chart__labels { display: flex; gap: 22px; padding-left: 4px; font-size: 11px; color: rgba(0, 0, 0, 0.6); }
.chart__labels span { width: 48px; }
.brief ul { margin: 4px 0 0; padding-left: 20px; font-size: 13.5px; line-height: 1.55; }
.brief sup { color: #185abd; }

/* Bar and panel motion, from tokens.ts: the box resizes first (220ms), the text lands after it (240ms hold, 180ms fade-up of 6px); the panel unfolds over 380/420ms. */
.bar { position: absolute; z-index: 3; top: 20px; left: 50%; transform: translateX(-50%); border-radius: 24px; overflow: hidden; }
.bar-live { transition: width 220ms cubic-bezier(0.4, 0, 0.2, 1), height 220ms cubic-bezier(0.4, 0, 0.2, 1); }
.bar-unfold { transition: width 380ms cubic-bezier(0.22, 1, 0.36, 1), height 420ms cubic-bezier(0.22, 1, 0.36, 1) 40ms; }
.fu { animation: fu 180ms ease 240ms both; }
@keyframes fu { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.stream-w { display: inline; animation: stream-w 320ms cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes stream-w { from { opacity: 0; filter: blur(3px); } to { opacity: 1; filter: none; } }
.filler { color: var(--ink-45); }
.keys { position: absolute; z-index: 2; display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 15px; color: #ffffff; animation: say 260ms cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes say { from { opacity: 0; } to { opacity: 1; } }
.key { padding: 6px 11px; border-radius: 8px; background: rgba(18, 22, 28, 0.88); border: 1px solid rgba(255, 255, 255, 0.24); box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.12); }
.capture-flash { position: absolute; inset: 0; z-index: 5; pointer-events: none; animation: capture-flash 720ms ease-out both; }
@keyframes capture-flash { 0% { box-shadow: inset 0 0 0 6px rgba(125, 211, 252, 0); background: rgba(255, 255, 255, 0); } 20% { box-shadow: inset 0 0 0 6px rgba(125, 211, 252, 0.85); background: rgba(255, 255, 255, 0.18); } 100% { box-shadow: inset 0 0 0 6px rgba(125, 211, 252, 0); background: rgba(255, 255, 255, 0); } }
.land { animation: land 420ms ease both; }
@keyframes land { from { opacity: 0; filter: blur(2px); } to { opacity: 1; filter: none; } }
.cursor { display: inline-block; width: 2px; height: 1.1em; vertical-align: -0.18em; margin-left: 1px; background: #0b6f9e; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.pointer { position: absolute; z-index: 6; width: 22px; height: 30px; pointer-events: none; transition: left 750ms cubic-bezier(0.45, 0, 0.2, 1), top 750ms cubic-bezier(0.45, 0, 0.2, 1); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35)); }
.ripple { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(125, 211, 252, 0.9); animation: ripple 500ms ease-out both; }
@keyframes ripple { from { transform: scale(0.3); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.fav { display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; font-size: 8.5px; font-weight: 700; color: #ffffff; box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.7); }
.fav + .fav { margin-left: -4px; }
.cite { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; padding: 1px 7px 1px 4px; border-radius: 999px; background: var(--ink-10); font-size: 10.5px; color: var(--ink-78); vertical-align: 1px; }
.file-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 8px; background: var(--ink-07); font-size: 11.5px; color: var(--ink-75); }
.file-chip img { width: 14px; height: 14px; }
.ring { box-shadow: 0 0 0 2px rgba(125, 211, 252, 0.8); }

/* Dictation tabs */
.tabs { display: flex; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; padding: 4px; gap: 4px; border-radius: 999px; background: var(--ink-06); border: 1px solid var(--ink-10); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; flex-shrink: 0; white-space: nowrap; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 10px; border: none; border-radius: 999px; cursor: pointer; font-family: var(--font-family); font-size: 14px; font-weight: 600; background: transparent; color: var(--ink-70); }
.tab[aria-selected="true"] { background: var(--confirm-fill); color: var(--on-primary); }
.tab img { width: 18px; height: 18px; }

/* "Works in the apps you already use": an endless, edge-faded marquee */
.marquee { width: 100%; max-width: 1120px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.marquee__track { display: flex; width: max-content; gap: 12px; margin: 0; padding: 6px 0; list-style: none; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }
.app-pill { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; padding: 6px 16px 6px 6px; border-radius: 14px; background: var(--ink-04); border: 1px solid var(--ink-10); font-size: 14.5px; font-weight: 500; color: var(--ink-85); white-space: nowrap; }
.app-pill__tile { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #ffffff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.app-pill__tile img { width: 24px; height: 24px; }

.facts { width: 100%; max-width: 1000px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px 32px; padding-top: 8px; text-align: left; }
.facts > div { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; border-top: 1px solid var(--ink-14); }
.facts strong { font-size: 15px; font-weight: 600; color: var(--ink-92); }
.facts span { font-size: 14.5px; color: var(--text-muted); }

/* Privacy and security */
.privacy { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: center; }
.privacy__copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.points { margin: 0; display: flex; flex-direction: column; }
.points > div { display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 16px 0; border-top: 1px solid var(--ink-14); }
.points > div:last-child { border-bottom: 1px solid var(--ink-14); }
.points dt { flex: 0 0 170px; font-size: 15px; font-weight: 600; color: var(--ink-92); }
.points dd { margin: 0; flex: 1 1 240px; font-size: 15px; color: var(--text-muted); }
.illus {
  flex: 1 1 380px; min-width: 0; padding: 56px 16px; border-radius: 24px; border: 1px solid rgba(125, 211, 252, 0.18);
  background: radial-gradient(120% 90% at 85% 0%, rgba(0, 197, 254, 0.35) 0%, transparent 55%), radial-gradient(90% 80% at 0% 100%, rgba(56, 108, 214, 0.45) 0%, transparent 60%), linear-gradient(160deg, #0d3b63 0%, #0a2647 45%, #071a33 100%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
@media (max-width: 480px) { .illus .orc-approval { zoom: 0.82; } }

/* FAQ */
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--ink-14); }
.faq { border-bottom: 1px solid var(--ink-14); padding: 18px 0; }
.faq summary { cursor: pointer; font-size: 17px; font-weight: 600; color: var(--ink-92); min-height: 28px; }
.faq p { margin: 10px 0 0; font-size: 15.5px; color: var(--text-muted); }

/* Get started */
.access { display: flex; flex-wrap: wrap; gap: 40px 72px; align-items: flex-start; padding: clamp(20px, 4vw, 48px); border-radius: 28px; background: linear-gradient(180deg, rgba(0, 197, 254, 0.06), rgba(0, 197, 254, 0) 60%), #0a0b0e; border: 1px solid var(--ink-12); }
.access__intro { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.steps-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.steps-list li { display: flex; gap: 16px; align-items: flex-start; }
.steps-list strong { display: block; font-size: 16px; font-weight: 600; color: var(--ink-92); }
.steps-list span { font-size: 14.5px; color: var(--text-muted); }
.step-num { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--ink-10); color: var(--ink-92); }
.step-num--on { background: var(--confirm-fill); color: var(--on-primary); }
.needs { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--ink-04); border: 1px solid var(--ink-10); font-size: 14px; color: var(--ink-70); }
.needs strong { color: var(--ink-92); font-weight: 600; }
.form-card { flex: 1 1 400px; min-width: 0; padding: clamp(18px, 4vw, 28px); border-radius: 22px; background: var(--ink-04); border: 1px solid var(--ink-12); }
.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: flex; flex-wrap: wrap; gap: 18px 14px; }
.form__row > .field-wrap { flex: 1 1 180px; min-width: 0; }
.field-wrap { display: flex; flex-direction: column; gap: 8px; }
.field-wrap label { font-size: 14px; font-weight: 600; }
.field-wrap label span { font-weight: 400; color: var(--ink-55); }
.field { min-height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--ink-16); background: var(--ink-06); color: var(--ink-92); font-family: var(--font-family); font-size: 16px; width: 100%; }
textarea.field { min-height: 96px; padding: 12px 16px; line-height: 1.5; resize: vertical; }
.field::placeholder { color: var(--ink-50); }
/* Phone: country code list beside the number. */
.phone { display: flex; gap: 8px; }
.phone__country { flex: 0 0 auto; width: 42%; max-width: 230px; padding: 0 10px; appearance: auto; }
.phone__country:invalid { color: var(--ink-50); }
.phone > input { flex: 1 1 auto; min-width: 0; }
.field--select { padding: 0 10px; appearance: auto; }
.field--select:invalid { color: var(--ink-50); }
select.field option { color: #111; background: #fff; }
@media (max-width: 520px) { .phone { flex-wrap: wrap; } .phone__country { width: 100%; max-width: none; } }
.form__error { margin: 0; min-height: 1.2em; font-size: 14px; color: var(--tone-fail); }
.form__note { margin: 0; font-size: 13px; color: var(--ink-55); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.success { display: flex; flex-direction: column; gap: 14px; padding: 6px 0; }
.success:focus { outline: none; }
.success__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--capsule-approved); display: flex; align-items: center; justify-content: center; }
.success h3 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.01em; color: var(--brand-line); }
.success p { margin: 0; font-size: 15.5px; color: var(--text-muted); }

.closing { max-width: 860px; margin: 0 auto; padding: clamp(110px, 14vw, 160px) clamp(16px, 4vw, 24px) clamp(96px, 12vw, 140px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.closing img { width: 72px; height: 72px; object-fit: contain; filter: brightness(1.35) saturate(1.15) drop-shadow(0 0 28px rgba(0, 197, 254, 0.35)); }
.closing p { margin: 0; font-size: clamp(34px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 700; color: var(--brand-line); text-wrap: balance; }
.closing p span { color: var(--tone-accent); }

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--ink-10); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-top: 40px; padding-bottom: 56px; }
.site-footer .about { display: flex; flex-direction: column; gap: 10px; max-width: 420px; }
.site-footer .about p { margin: 0; font-size: 14px; color: var(--ink-55); }
.site-footer .about .copy { font-size: 13px; color: var(--ink-45); }
.site-footer .brand { font-size: 15px; color: var(--ink-75); font-weight: 600; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 48px; font-size: 14px; }
.site-footer nav div { display: flex; flex-direction: column; gap: 10px; }
.site-footer nav h2 { margin: 0; font-family: var(--font-mono); font-size: 12px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-45); }
.site-footer nav a { color: var(--ink-75); text-decoration: none; }
.site-footer nav a:hover { color: var(--brand-line); }

/* ── Legal pages ─────────────────────────────────────────────────────── */
.doc .wrap { max-width: 760px; padding-top: 72px; padding-bottom: 112px; }
.doc h1 { margin: 0 0 8px; font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.03em; color: var(--brand-line); }
.doc h2 { margin: 40px 0 12px; font-size: 20px; color: var(--ink-92); }
.doc p, .doc li { color: var(--text-muted); font-size: 16px; }
.doc h3 { margin: 28px 0 8px; font-size: 17px; color: var(--ink-92); }
.doc strong { color: var(--ink-92); }
.doc a { color: var(--brand-line); }
.doc .table-scroll { overflow-x: auto; margin: 16px 0; }
.doc table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--ink-12); color: var(--text-muted); }
.doc th { color: var(--ink-92); font-weight: 600; }

/* ── Get started walkthrough (get-started.html) ──────────────────────── */
.walk { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.walk__steps { flex: 1 1 260px; max-width: 320px; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.walk__step { width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; cursor: pointer; font-family: var(--font-family); color: inherit; text-align: left; background: transparent; border: 1px solid transparent; }
.walk__step[aria-current="step"] { background: var(--ink-06); border-color: var(--ink-14); }
.walk__step .step-num { background: var(--ink-08); color: var(--ink-70); }
.walk__step[aria-current="step"] .step-num { background: var(--confirm-fill); color: var(--on-primary); }
.walk__step.is-done .step-num { background: var(--capsule-approved); color: var(--tone-ok); }
.walk__step strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink-92); }
.walk__step small { font-size: 13px; color: var(--ink-55); }
.walk__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.walk__stage { position: relative; min-height: clamp(460px, 60vw, 560px); border-radius: 24px; overflow: hidden; border: 1px solid var(--ink-12); background: #0b0c0f; isolation: isolate; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.walk__stage .wallpaper { z-index: -1; opacity: 0; transition: opacity 400ms ease; }
.walk__stage.is-desk .wallpaper { opacity: 1; }
.walk__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.walk__foot p { margin: 0; flex: 1 1 320px; font-size: 15px; color: var(--text-muted); }
@media (max-width: 760px) {
  .walk__steps { flex: 1 1 100%; max-width: 100%; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .walk__steps > li { flex-shrink: 0; }
  .walk__step { width: auto; }
}

/* ── Motion ──────────────────────────────────────────────────────────── */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 5% cover 24%; }
    @keyframes reveal { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  .cursor, .ripple, .stream-w, .fu, .land, .keys, .capture-flash { animation: none; }
  .ripple { display: none; }
  .bar-live, .bar-unfold, .pointer, .chapter__bar > span, .camera { transition: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee__track > [aria-hidden="true"] { display: none; }
}
