/* Togle's two websites, togle.app and studio.togle.app.
   Display: Bricolage Grotesque. Text: Inter. Both SIL Open Font License, see ../fonts.
   Indigo is Togle, teal is Togle Studio (html.theme-studio), mint is the highlight both share.
   Every animation stops for people who ask their system for less motion, and the page is complete without the script. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f5f6fb;
  --bg-tint: #eceefa;
  --surface: #ffffff;
  --ink: #0f1229;
  --ink-2: #393e5c;
  --muted: #61678a;
  --line: #e3e5f0;
  --line-strong: #d2d5e5;

  --accent: #414dd0;
  --accent-bright: #5866f3;
  --accent-soft: #e3e7ff;
  --accent-ink: #343fb0;
  --accent-rgb: 65 77 208;
  --stage: linear-gradient(140deg, #7382ff 0%, #4b57d8 42%, #282d82 100%);
  --stage-glow: 145 238 208;
  --on-stage: #e3e7ff;

  --mint: #91eed0;
  --mint-ink: #0b7a59;
  --tick: #11906a;
  --amber: #e5b865;

  --night: #0b0d1b;
  --night-2: #111428;
  --night-line: rgba(255, 255, 255, 0.1);
  --night-text: #e8eaf6;
  --night-muted: #a4aacb;

  /* The desktop apps' own colours, behind their real screenshots. */
  --app-bg: #0f1115;
  --app-panel: #171b23;
  --app-dim: #0b0c11;
  --app-line: #272d38;

  --font-display: "Bricolage Grotesque", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-1: 0 1px 2px rgba(15, 18, 41, 0.05), 0 14px 34px -16px rgba(15, 18, 41, 0.22);
  --shadow-2: 0 2px 4px rgba(15, 18, 41, 0.06), 0 34px 70px -30px rgba(31, 38, 120, 0.45);
  --radius: 22px;
  --gutter: clamp(18px, 4vw, 40px);
  --nav-h: 68px;
}

html.theme-studio {
  --accent: #08705f;
  --accent-bright: #0a826b;
  --accent-soft: #ccefe5;
  --accent-ink: #065c4e;
  --accent-rgb: 8 112 95;
  --stage: linear-gradient(140deg, #0e9479 0%, #08705f 45%, #053d34 100%);
  --on-stage: #ccefe5;
  --bg-tint: #e9f2ef;
}

*, *::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; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
button { font: inherit; color: inherit; }
kbd { font: 600 0.82em var(--font-mono); border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 7px; padding: 1px 7px; background: var(--bg); white-space: nowrap; }
code { font-family: var(--font-mono); }
:focus-visible { outline: 3px solid rgb(var(--accent-rgb) / 0.55); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; transition: top 0.2s var(--ease); }
.skip-link:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }

/* Header: clear glass that gains a line once the page has moved. */
.nav { position: sticky; top: 0; z-index: 50; background: rgb(245 246 251 / 0.72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease); }
.nav.is-scrolled { border-bottom-color: var(--line); background: rgb(245 246 251 / 0.86); }
.nav-inner { min-height: var(--nav-h); display: flex; align-items: center; gap: 8px 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; white-space: nowrap; color: var(--ink); text-decoration: none; font: 700 21px/1 var(--font-display); letter-spacing: -0.025em; }
.brand:hover { color: var(--ink); }
.brand img { width: 30px; height: 30px; }
.brand-sub { color: var(--accent); }
.nav-links { margin-left: auto; display: flex; gap: 2px; }
.nav-links a { position: relative; padding: 11px 12px; border-radius: 999px; color: var(--ink-2); font-size: 14.5px; font-weight: 500; text-decoration: none; transition: color 0.2s var(--ease), background-color 0.2s var(--ease); }
.nav-links a:hover { color: var(--ink); background: rgb(var(--accent-rgb) / 0.07); }
.nav-links a.is-current { color: var(--accent); }
.nav-links a.is-current::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .icon { width: 20px; height: 20px; }
.menu { border-top: 1px solid var(--line); padding: 8px var(--gutter) 16px; display: flex; flex-direction: column; background: rgb(245 246 251 / 0.97); }
.menu a { padding: 12px 4px; color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu a:last-child { border-bottom: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; font-size: 15.5px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { color: #fff; background: linear-gradient(180deg, var(--accent-bright) 0%, var(--accent) 100%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), 0 1px 2px rgb(var(--accent-rgb) / 0.3), 0 10px 22px -10px rgb(var(--accent-rgb) / 0.75); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.26), 0 2px 4px rgb(var(--accent-rgb) / 0.3), 0 18px 30px -12px rgb(var(--accent-rgb) / 0.8); }
.btn-ghost { color: var(--ink); background: var(--surface); border-color: var(--line-strong); }
.btn-ghost:hover { color: var(--ink); border-color: rgb(var(--accent-rgb) / 0.5); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.btn-sm { height: 44px; padding: 0 18px; font-size: 14.5px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16.5px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink-2); font-size: 16.5px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 5px; }
.link-arrow .icon { transition: transform 0.25s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Hero */
.hero { padding: clamp(28px, 4.5vw, 52px) 0 clamp(48px, 6vw, 72px); position: relative; }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgb(255 255 255 / 0.78); color: var(--ink-2); font-size: 14px; font-weight: 500; }
.pill-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgb(145 238 208 / 0.35); }
.hero-title { margin-top: 22px; max-width: 1000px; font: 740 clamp(42px, 7.2vw, 92px)/0.97 var(--font-display); letter-spacing: -0.038em; text-wrap: balance; }
.mark { background: linear-gradient(transparent 63%, var(--mint) 63%, var(--mint) 94%, transparent 94%) no-repeat 0 0 / 100% 100%; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero-lede { margin-top: 22px; max-width: 660px; color: var(--ink-2); font-size: clamp(17.5px, 1.65vw, 20px); line-height: 1.55; text-wrap: pretty; }
.cta-row { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 26px; }
.ticks { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--muted); font-size: 15px; }
.ticks li { display: inline-flex; align-items: center; gap: 7px; }
.ticks li::before { content: ""; width: 16px; height: 16px; flex: none; background: var(--tick); -webkit-mask: 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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7'/%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 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.hero-split .hero-copy { align-items: flex-start; text-align: left; }
.hero-split .cta-row, .hero-split .ticks { justify-content: flex-start; }
.hero-split .hero-title { font-size: clamp(40px, 5.3vw, 70px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); align-items: center; gap: clamp(32px, 5vw, 64px); }

/* The stage: a coloured panel that holds a real screenshot of the app. */
.stage { position: relative; margin-top: clamp(36px, 5vw, 56px); border-radius: 30px; padding: clamp(18px, 3.4vw, 44px); background: var(--stage); isolation: isolate; perspective: 1400px; }
.hero-grid .stage { margin-top: 0; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background-image: linear-gradient(rgb(255 255 255 / 0.07) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.07) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%); mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%); }
.stage-glow { position: absolute; z-index: -1; width: 46%; aspect-ratio: 1; left: 58%; top: -18%; border-radius: 50%; background: radial-gradient(circle, rgb(var(--stage-glow) / 0.5), transparent 66%); filter: blur(30px); animation: drift 16s var(--ease) infinite alternate; }
.stage-glow.two { left: -10%; top: 46%; width: 38%; background: radial-gradient(circle, rgb(255 255 255 / 0.26), transparent 66%); animation-duration: 21s; animation-direction: alternate-reverse; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-9%, 12%, 0) scale(1.18); } }
.shot { position: relative; border-radius: 14px; overflow: hidden; background: var(--app-bg); border: 1px solid rgb(255 255 255 / 0.1); box-shadow: 0 2px 0 rgb(255 255 255 / 0.06) inset, 0 40px 80px -34px rgb(11 13 27 / 0.8); transform-style: preserve-3d; transition: transform 0.5s var(--ease-out); will-change: transform; }
.shot img { width: 100%; }
.stage-bar { position: absolute; left: 50%; bottom: clamp(4px, 1.6vw, 18px); z-index: 2; translate: -50% 0; filter: drop-shadow(0 18px 26px rgb(11 13 27 / 0.55)); transition: transform 0.5s var(--ease-out); }
.stage-bar img { transition: opacity 0.25s var(--ease); }
.stage-caption { margin-top: clamp(14px, 2vw, 22px); color: var(--on-stage); font-size: 14.5px; font-weight: 500; text-align: center; }

/* The line of names under a hero */
.logos { padding: clamp(8px, 2vw, 20px) 0 8px; text-align: center; }
.logos p { color: var(--muted); font-size: 14px; font-weight: 500; }
.logos ul { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 28px; font: 600 20px/1.3 var(--font-display); color: var(--ink-2); }
.logos li.plain { font: 400 15px/1.3 var(--font-body); color: var(--muted); }

/* Sections */
.section { padding: clamp(64px, 7.3vw, 96px) 0; }
.band { background: var(--bg-tint); }
.night { background: radial-gradient(900px 480px at 85% -10%, rgb(var(--accent-rgb) / 0.42), transparent 62%), radial-gradient(700px 420px at 0% 110%, rgb(145 238 208 / 0.1), transparent 60%), var(--night); color: var(--night-text); }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; color: var(--accent); font-size: 14px; font-weight: 600; }
.eyebrow::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgb(145 238 208 / 0.38); }
.night .eyebrow { color: #aab3ff; }
h2 { font: 700 clamp(32px, 4.2vw, 52px)/1.05 var(--font-display); letter-spacing: -0.032em; text-wrap: balance; }
h3 { font: 700 20px/1.25 var(--font-display); letter-spacing: -0.01em; }
.lede { margin-top: 20px; max-width: 660px; color: var(--ink-2); font-size: clamp(17px, 1.5vw, 19px); text-wrap: pretty; }
.night .lede { color: var(--night-muted); }
.head { max-width: 780px; }
.head.center { margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.fine { margin-top: 22px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.night .fine { color: var(--night-muted); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(36px, 6vw, 80px); }
.points { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.points li { display: flex; flex-direction: column; gap: 2px; }
.points b { font-weight: 600; }
.points span { color: var(--ink-2); font-size: 16px; }

/* Voice: what you say becomes what is typed. The chat is a made-up app; the bar under it is Togle's own. */
.dict { border: 1px solid var(--app-line); border-radius: 16px; background: var(--app-panel); color: #e6e8ee; font-size: 14px; line-height: 1.45; overflow: hidden; box-shadow: 0 34px 70px -34px rgb(31 38 120 / 0.5); }
.dict-top { padding: 9px 14px; border-bottom: 1px solid var(--app-line); color: #9aa3b2; font-weight: 600; font-size: 12px; }
.dict-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.dict-msg { display: flex; gap: 10px; }
.dict-avatar { flex: none; width: 30px; height: 30px; border-radius: 8px; background: hsl(var(--hue, 232) 42% 24%); color: hsl(var(--hue, 232) 100% 82%); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.dict-msg b { font-weight: 600; }
.dict-msg time { color: #9aa3b2; font-weight: 400; font-size: 12px; }
.dict-box { position: relative; min-height: 92px; border: 1px solid var(--app-line); border-radius: 12px; background: var(--app-bg); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; transition: border-color 0.3s var(--ease); }
.dict-label { color: #9aa3b2; font-size: 12px; }
.dict-raw { color: #9aa3b2; min-height: 1.45em; }
.dict-clean { color: #e6e8ee; }
.dict-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.16em; background: #98a5ff; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.js .dict[data-state="idle"] .dict-raw, .js .dict[data-state="idle"] .dict-clean, .js .dict[data-state="listening"] .dict-clean, .js .dict[data-state="processing"] .dict-clean { opacity: 0; }
.js .dict[data-state="inserted"] .dict-raw { text-decoration: line-through; opacity: 0.55; }
.js .dict[data-state="listening"] .dict-box { border-color: #5866f3; }
.dict-raw, .dict-clean { transition: opacity 0.35s var(--ease); }
.js .dict:not([data-state="listening"]) .dict-caret { display: none; }
.dict-voice { display: flex; justify-content: center; min-height: 72px; align-items: center; }
.keycard { margin-top: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 16px 18px; display: flex; align-items: flex-start; gap: 14px; transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease); }
.keycard:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); }
.keycard kbd { font-size: 14px; padding: 2px 9px; }
.keycard div { display: flex; flex-direction: column; gap: 2px; }
.keycard b { font-weight: 600; }
.keycard span { color: var(--ink-2); font-size: 16px; }

/* Steps: one real picture at a time beside its step. Narrow screens and pages without the script show every picture under its step. */
.steps { margin-top: clamp(36px, 5vw, 56px); display: flex; flex-direction: column; gap: 14px; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step-head { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; width: 100%; padding: 16px 18px 18px; border: 1px solid transparent; border-radius: 18px; background: none; text-align: left; cursor: pointer; overflow: hidden; transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.step-n { grid-row: 1 / span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-size: 14px; font-weight: 700; transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
.step-t { font: 700 20px/1.25 var(--font-display); letter-spacing: -0.01em; align-self: center; }
.step-d { grid-column: 2; color: var(--ink-2); font-size: 16px; }
.step-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.step-bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.step-shot { border-radius: 18px; background: var(--shot-bg, var(--app-panel)); border: 1px solid var(--app-line); padding: clamp(12px, 2vw, 22px); box-shadow: 0 30px 60px -34px rgb(31 38 120 / 0.5); display: grid; place-items: center; }
.step-shot img { width: 100%; max-width: var(--shot-max, none); border-radius: 6px; }
/* A picture of a whole window, on a ground of its own colour: a thin line says where the window ends. */
.step-shot img.win { border-radius: 10px; box-shadow: 0 0 0 1px var(--app-line), 0 24px 44px -24px #000; }
.step-n .icon { width: 16px; height: 16px; }
.step-t .tag { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font: 600 12px/1.5 var(--font-body); letter-spacing: 0; vertical-align: 2px; }
/* One real picture by itself, on the app's own ground. */
.frame { border-radius: 18px; background: var(--shot-bg, var(--app-bg)); border: 1px solid var(--app-line); padding: clamp(12px, 2vw, 22px); box-shadow: 0 30px 60px -34px rgb(var(--accent-rgb) / 0.55); display: grid; place-items: center; }
.frame img { width: 100%; max-width: var(--shot-max, none); border-radius: 6px; }
.js .step.is-active .step-head { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-1); }
.js .step.is-active .step-n { background: var(--accent); color: #fff; }
.js .step-head:hover .step-n { background: var(--accent); color: #fff; }
.js .steps.is-auto .step.is-active .step-bar i { animation: fill 5.6s linear forwards; }
.js .steps.is-paused .step-bar i { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }

/* Spotlights: a real screenshot, and a ring that moves to the part each point is about. */
.spots { margin-top: clamp(36px, 5vw, 56px); display: flex; flex-direction: column; gap: clamp(16px, 2.6vw, 26px); }
.spot-shot { position: relative; border-radius: 14px; overflow: hidden; background: var(--app-bg); border: 1px solid var(--night-line); box-shadow: 0 50px 100px -40px rgb(0 0 0 / 0.9), 0 0 0 1px rgb(255 255 255 / 0.04); }
.spot-zoom { position: relative; transform-origin: 0 0; transition: transform 0.9s var(--ease-out); }
.spot-zoom img { width: 100%; }
.spot-ring { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 12px; border: 2px solid var(--mint); box-shadow: 0 0 0 200vmax rgb(8 10 20 / 0.34), 0 0 34px rgb(145 238 208 / 0.45); opacity: 0; pointer-events: none; transition: left 0.8s var(--ease-out), top 0.8s var(--ease-out), width 0.8s var(--ease-out), height 0.8s var(--ease-out), opacity 0.4s var(--ease); }
.js .spot-ring.is-on { opacity: 1; }
.spot-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.spot-list li { display: flex; }
.spot-list button { position: relative; width: 100%; display: flex; flex-direction: column; gap: 3px; padding: 16px 18px 18px; border: 1px solid transparent; border-radius: 16px; background: none; text-align: left; cursor: pointer; overflow: hidden; transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease); }
.spot-list b { font: 700 19px/1.25 var(--font-display); letter-spacing: -0.01em; color: var(--night-text); }
.spot-list span { color: var(--night-muted); font-size: 16px; }
.spot-list .step-bar i { background: var(--mint); }
.js .spot-list button.is-active, .spot-list button:hover { background: rgb(255 255 255 / 0.06); border-color: var(--night-line); }
.js .spots.is-auto button.is-active .step-bar i { animation: fill 5.6s linear forwards; }
.js .spots.is-paused .step-bar i { animation-play-state: paused; }

.checks { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; font-size: 16.5px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; }
.checks li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; flex: none; background: var(--tick); -webkit-mask: 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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7'/%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 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Cards */
.cards { margin-top: clamp(32px, 4.5vw, 48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 22px; transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); border-color: rgb(var(--accent-rgb) / 0.28); }
.card .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; margin-bottom: 14px; }
.card .ico .icon { width: 20px; height: 20px; }
.card p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.card .tag { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font: 600 12px/1.5 var(--font-body); letter-spacing: 0; vertical-align: 2px; }
.card figure { margin-top: 16px; border-radius: 12px; overflow: hidden; border: 1px solid var(--app-line); background: var(--app-bg); }
.cards.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.minis { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 20px 32px; }
.minis h3 { font-size: 18px; }
.minis p { margin-top: 4px; color: var(--ink-2); font-size: 16px; }

/* The other app, in one card */
.teaser { border: 1px solid var(--tz-line, #ccefe5); border-radius: var(--radius); background: var(--tz-bg, #e8f7f2); padding: clamp(22px, 3.4vw, 36px); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease); }
.teaser:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); }
.teaser.togle { --tz-line: #d5d9f7; --tz-bg: #eceefa; --tz-ink: #414dd0; }
.teaser img { flex: none; width: 56px; height: 56px; }
.teaser-copy { flex: 1 1 420px; min-width: 0; }
.teaser-copy > p { margin-bottom: 6px; color: var(--tz-ink, #08705f); font-size: 14px; font-weight: 600; }
.teaser h2 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; letter-spacing: -0.02em; }
.teaser .ticks { margin-top: 12px; justify-content: flex-start; color: var(--ink-2); gap: 6px 22px; }
.teaser .ticks li::before { background: var(--tz-ink, #08705f); }

/* Questions */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 64px); }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 0 20px; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.faq details[open] { border-color: rgb(var(--accent-rgb) / 0.35); box-shadow: var(--shadow-1); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 17px; list-style: none; }
.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 0.3s var(--ease-out); }
.faq details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.faq details p { padding-bottom: 18px; color: var(--ink-2); font-size: 16px; }
.faq details[open] p { animation: rise 0.4s var(--ease-out); }

/* Plans */
.waitlist { scroll-margin-top: 88px; margin: clamp(26px, 4vw, 44px) auto 0; max-width: 880px; padding: clamp(20px, 4vw, 36px); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); }
.waitlist h3 { font-size: clamp(24px, 4vw, 32px); }
.waitlist p { margin-top: 10px; max-width: 68ch; color: var(--ink-2); overflow-wrap: anywhere; }
.waitlist form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.waitlist label, .waitlist small { flex-basis: 100%; }
.waitlist label { color: var(--ink); font-weight: 600; }
.waitlist small { color: var(--muted); }
.waitlist input { width: min(100%, 320px); min-width: 0; min-height: 46px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); background: var(--surface); font: inherit; }
.waitlist button { cursor: pointer; }
.waitlist .link-arrow { border: 0; background: none; font: inherit; }
.waitlist button:disabled { opacity: 0.65; cursor: wait; }
#waitlist-member button { margin: 14px 12px 0 0; }
#waitlist-status:empty { margin: 0; }
.beta-pill { margin-top: 24px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border: 1px solid var(--accent-soft); border-radius: 999px; background: rgb(var(--accent-rgb) / 0.08); color: var(--accent-ink); font-size: 15px; font-weight: 600; text-align: left; }
.beta-pill::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--tick); }
.plans { margin: clamp(28px, 4vw, 40px) auto 0; max-width: 880px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.plan.pro { border: 2px solid var(--accent); padding: 27px; box-shadow: 0 34px 70px -40px rgb(var(--accent-rgb) / 0.6); }
.plan h3 { font-size: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.plan .tag { padding: 3px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font: 600 12.5px/1.5 var(--font-body); letter-spacing: 0; }
.plan .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; color: var(--muted); font-size: 15px; }
.plan .price b { font: 700 48px/1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); }
.plan > p { color: var(--ink-2); font-size: 16px; }
.plan .checks { margin-top: 4px; font-size: 16px; gap: 9px; }
.plan .checks li::before { background: var(--accent); }

/* Download */
.get { position: relative; border-radius: 30px; padding: clamp(36px, 6vw, 72px) clamp(20px, 4vw, 56px); background: var(--stage); color: #fff; display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; isolation: isolate; }
.get .stage-glow { left: 64%; top: -30%; }
.get > img { width: 72px; height: 72px; }
.get h2 { margin-top: 22px; color: #fff; }
.get > p { margin-top: 14px; max-width: 560px; font-size: 18px; color: var(--on-stage); }
.get a { color: #fff; }
.dls { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.dl { display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 22px; border: 1px solid transparent; border-radius: 16px; background: #fff; color: var(--ink) !important; text-decoration: none; text-align: left; transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease); }
a.dl:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -16px rgb(11 13 27 / 0.6); }
.dl .icon { width: 20px; height: 20px; color: var(--accent); }
.dl span { display: flex; flex-direction: column; line-height: 1.3; }
.dl b { font-weight: 600; }
.dl small { color: var(--muted); font-size: 13px; }
.dl.is-recommended { box-shadow: 0 0 0 3px var(--mint), 0 18px 34px -16px rgb(11 13 27 / 0.6); }
.dl.soon { background: transparent; border-color: rgb(255 255 255 / 0.45); color: #fff !important; }
.dl.soon small { color: var(--on-stage); }
.cmds { margin-top: 26px; width: 100%; max-width: 1000px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.cmds > p { font-size: 14px; font-weight: 600; color: var(--on-stage); }
.cmd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; background: rgb(11 13 27 / 0.38); border: 1px solid rgb(255 255 255 / 0.08); border-radius: 14px; padding: 8px 8px 8px 16px; }
.cmd > span { flex: none; width: 66px; font-size: 13px; font-weight: 600; color: var(--on-stage); }
.cmd code { flex: 1 1 220px; min-width: 0; font-size: 13.5px; line-height: 44px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; color: #fff; }
.cmd code::-webkit-scrollbar { display: none; }
.copy { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 1px solid rgb(255 255 255 / 0.45); border-radius: 999px; background: transparent; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease); }
.copy:hover { background: rgb(255 255 255 / 0.12); border-color: #fff; }
.copy.is-done { background: var(--mint); border-color: var(--mint); color: #0b3d2e; }
.get > p.get-note { margin-top: 20px; max-width: none; font-size: 14px; color: var(--on-stage); }
.hero-title .line { display: block; }
.get-phone { margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.get-phone input { width: min(100%, 420px); height: 44px; padding: 0 14px; border: 1px solid rgb(255 255 255 / 0.45); border-radius: 12px; background: rgb(11 13 27 / 0.3); color: #fff; font: 14px var(--font-mono); text-align: center; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: clamp(40px, 5vw, 64px) 0 36px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 32px clamp(32px, 6vw, 96px); }
.footer-about { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.footer-about > p { max-width: 340px; color: var(--ink-2); font-size: 15px; }
.sibling { display: inline-flex; align-items: center; gap: 12px; max-width: 340px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 12px 14px; color: var(--ink); text-decoration: none; transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease); }
.sibling:hover { color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.sibling img { flex: none; width: 36px; height: 36px; }
.sibling span { display: flex; flex-direction: column; line-height: 1.35; }
.sibling small { color: var(--muted); font-size: 12px; }
.sibling b { font-weight: 600; }
.sibling em { font-style: normal; color: var(--ink-2); font-size: 14px; }
.footer-nav { flex: 2 1 420px; min-width: 0; display: flex; flex-wrap: wrap; gap: 28px clamp(28px, 5vw, 72px); }
.footer-nav div { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.footer-nav h4 { margin-bottom: 6px; font: 700 15px/1.3 var(--font-display); }
.footer-nav a { color: var(--ink-2); text-decoration: none; padding: 5px 0; }
.footer-nav a:hover { color: var(--accent); }
.footer-fine { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 13px; line-height: 1.5; }

/* Studio: the picture of what the switch does (an illustration, and it says so). */
.mic { margin-top: 40px; border-radius: var(--radius); background: var(--night); color: var(--night-text); padding: clamp(18px, 3vw, 28px); display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-2); }
.mic-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.mic-top h3 { font-size: 22px; color: #fff; }
.mic-modes { display: inline-flex; flex-wrap: wrap; padding: 3px; border-radius: 16px; background: rgb(255 255 255 / 0.07); border: 1px solid var(--night-line); }
.mic-modes button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 12px; background: none; color: var(--night-muted); font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color 0.25s var(--ease), color 0.25s var(--ease); }
.mic-modes button[aria-checked="true"] { background: var(--mint); color: #0b3d2e; }
.mic-canvas { width: 100%; height: clamp(120px, 20vw, 180px); }
.mic-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--night-muted); }
.mic-legend li { display: inline-flex; align-items: center; gap: 8px; transition: opacity 0.4s var(--ease); }
.mic-legend li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.mic-legend li.is-faded { opacity: 0.6; }
.mic-caption { font-size: 16px; color: #fff; min-height: 1.6em; }
.mic-note { font-size: 13px; color: var(--night-muted); }
/* The bars are drawn by the script: without it there is nothing to show in their place. */
html:not(.js) .mic, html:not(.js) .waves { display: none; }
.shot-crop { aspect-ratio: var(--crop, 480 / 520); }
.shot-crop img { height: 100%; object-fit: cover; object-position: var(--at, top); }
.shot-fade { -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
.stage-duo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr); align-items: center; gap: 20px; }
.stage-side { display: flex; flex-direction: column; gap: 12px; color: #fff; font-size: 14.5px; font-weight: 500; }
.waves { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wave { border-radius: 16px; background: rgb(5 30 26 / 0.55); border: 1px solid rgb(255 255 255 / 0.12); padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.wave small { font-size: 12.5px; font-weight: 600; color: var(--on-stage); }
.wave canvas { width: 100%; height: 54px; }
.wave.is-clean { border-color: rgb(145 238 208 / 0.5); box-shadow: 0 0 0 3px rgb(145 238 208 / 0.12); }
.numbered { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; counter-reset: n; }
.numbered li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; counter-increment: n; }
.numbered li::before { content: counter(n); grid-row: 1 / span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.numbered b { font-weight: 600; align-self: center; }
.numbered span { grid-column: 2; color: var(--ink-2); font-size: 16px; }

/* A page that was not found */
.lost { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }

/* Coming into view. Without the script, or with less motion asked for, everything is simply there. */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.js [data-rise] { animation: rise 0.9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 60ms); }
.js .stage[data-rise] { animation-name: stage-in; animation-duration: 1.2s; }
@keyframes stage-in { from { opacity: 0; transform: translateY(34px) scale(0.975); } to { opacity: 1; transform: none; } }
.js .mark { background-size: 0% 100%; animation: mark 0.9s var(--ease-out) 0.75s forwards; }
@keyframes mark { to { background-size: 100% 100%; } }
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.js [data-reveal="zoom"] { transform: scale(0.96); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (min-width: 921px) {
  .js [data-reveal="left"] { transform: translateX(-30px); }
  .js [data-reveal="right"] { transform: translateX(30px); }
  .js .steps { position: relative; padding-right: 60%; min-height: clamp(410px, 38vw, 480px); justify-content: center; gap: 6px; }
  /* The picture that leaves goes quickly, and the next one comes a moment later, so two are never read at once. */
  .js .step-shot { position: absolute; right: 0; top: 50%; width: 57%; translate: 0 -50%; opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.98); transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s linear 0.22s; }
  .js .step.is-active .step-shot { opacity: 1; visibility: visible; transform: none; transition: opacity 0.55s var(--ease) 0.18s, transform 0.75s var(--ease-out) 0.18s, visibility 0s; }
}
@media (max-width: 1000px) {
  .spot-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions { margin-left: auto; }
  .split, .hero-grid, .faq, .stage-duo { grid-template-columns: minmax(0, 1fr); }
  .hero-split .hero-copy { align-items: center; text-align: center; }
  .hero-split .cta-row, .hero-split .ticks { justify-content: center; }
  .steps .step-bar { display: none; }
  .js .step.is-active .step-head { background: none; border-color: transparent; box-shadow: none; }
  .step-head { padding: 6px 0; cursor: default; }
  /* Every step shows its picture here, so none of them is the chosen one. */
  .js .step.is-active .step-n, .js .step-head:hover .step-n { background: var(--accent-soft); color: var(--accent-ink); }
  .hero-title .line { display: inline; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .stage { border-radius: 22px; }
  .spot-list { grid-template-columns: minmax(0, 1fr); }
  .spot-shot { position: sticky; top: calc(var(--nav-h) + 8px); z-index: 2; }
  .cmd > span { width: 100%; }
  .btn-lg { width: 100%; }
  .cta-row { width: 100%; }
  .nav-inner { gap: 8px 12px; }
  .btn-sm { padding: 0 14px; }
  .waves { grid-template-columns: minmax(0, 1fr); }
  .mic-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .mic-modes button { min-height: 44px; padding: 4px 6px; font-size: 12.5px; line-height: 1.2; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js [data-rise] { opacity: 1; transform: none; }
  .js .mark { background-size: 100% 100%; }
}
