/* www.shotdemo.com: a dark studio for the product pages, light paper for reading.
   Fonts are self-hosted (Latin subset, SIL Open Font License): Geist, Geist Mono, Instrument Serif. */
@font-face { font-family: "Geist"; src: url("/fonts/geist-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono-normal.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #07070b;
  --bg-1: #0b0b11;
  --bg-2: #101018;
  --bg-3: #171722;
  --line: rgba(255, 255, 255, 0.075);
  --line-2: rgba(255, 255, 255, 0.13);
  --line-3: rgba(255, 255, 255, 0.22);
  --text: #f3f3f7;
  --text-2: #b4b6c8;
  --text-3: #80839a;
  --brand: #6366f1;
  --brand-hi: #8e90ff;
  --brand-lo: #4f46e5;
  --lilac: #cdcbff;
  --mint: #6ee7b7;
  --amber: #fbbf24;
  --rec: #ff4d5e;
  --nav-bg: rgba(7, 7, 11, 0.72);
  --ghost: rgba(255, 255, 255, 0.035);
  --ghost-2: rgba(255, 255, 255, 0.075);
  --chip-bg: rgba(255, 255, 255, 0.03);
  --card: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  --card-solid: #0e0e15;
  --panel: linear-gradient(180deg, #15151f, #0d0d14);
  --price-card: radial-gradient(110% 80% at 0% 0%, rgba(99, 102, 241, 0.26), transparent 62%), linear-gradient(180deg, #13131d, #0c0c13);
  --amount: linear-gradient(180deg, #fff 30%, #c4c2ff);
  --code-bg: rgba(0, 0, 0, 0.35);
  --icon-bg: rgba(99, 102, 241, 0.15);
  --shadow-deep: 0 44px 100px -40px rgba(0, 0, 0, 0.95);
  --tile-shadow: none;
  --glow-1: rgba(99, 102, 241, 0.34);
  --glow-2: rgba(168, 85, 247, 0.14);
  --glow-3: rgba(56, 189, 248, 0.09);
  --glow-finale: rgba(99, 102, 241, 0.36);
  --grain: 0.045;
  --strong: #ffffff;
  --paper: #0b0b11;
  --paper-ink: #f3f3f7;
  --paper-text: #c3c5d4;
  --paper-muted: #8a8da3;
  --paper-line: rgba(255, 255, 255, 0.09);
  --paper-card: #111119;
  --paper-link: #a5a7ff;
  --tick-bg: rgba(99, 102, 241, 0.16);
  --tick-fg: #9a9cff;
  --aside-shadow: 0 24px 60px -34px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
  --wrap: 1200px;
  --section: clamp(72px, 9vw, 124px);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Light (data-theme="light", set by the boot script in base.html; the cookie shotdemo_theme is
   shared with app.shotdemo.com). The studio stays: indigo light, the serif accent, the dark editor. */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #fbfbfd;
  --bg-1: #f4f4f8;
  --bg-2: #ffffff;
  --bg-3: #eeeef4;
  --line: rgba(20, 21, 40, 0.085);
  --line-2: rgba(20, 21, 40, 0.14);
  --line-3: rgba(20, 21, 40, 0.24);
  --text: #12131c;
  --text-2: #4b4f63;
  --text-3: #767a90;
  --brand-hi: #4f46e5;
  --lilac: #5a4fe3;
  --mint: #0e9f6e;
  --amber: #b7791f;
  --rec: #e5484d;
  --nav-bg: rgba(251, 251, 253, 0.8);
  --ghost: rgba(20, 21, 40, 0.03);
  --ghost-2: rgba(20, 21, 40, 0.065);
  --chip-bg: #ffffff;
  --card: linear-gradient(180deg, #ffffff, #fcfcfe);
  --card-solid: #ffffff;
  --panel: linear-gradient(180deg, #ffffff, #f8f8fc);
  --price-card: radial-gradient(110% 80% at 0% 0%, rgba(99, 102, 241, 0.13), transparent 62%), linear-gradient(180deg, #ffffff, #fbfbff);
  --amount: linear-gradient(180deg, #12131c 30%, #4f46e5);
  --code-bg: #f4f4f9;
  --icon-bg: #eef0ff;
  --shadow-deep: 0 30px 70px -36px rgba(20, 21, 40, 0.35);
  --tile-shadow: 0 1px 2px rgba(20, 21, 40, 0.04), 0 14px 34px -24px rgba(20, 21, 40, 0.25);
  --glow-1: rgba(99, 102, 241, 0.16);
  --glow-2: rgba(168, 85, 247, 0.08);
  --glow-3: rgba(56, 189, 248, 0.06);
  --glow-finale: rgba(99, 102, 241, 0.16);
  --grain: 0.025;
  --strong: #000000;
  --paper: #fafafc;
  --paper-ink: #12131c;
  --paper-text: #353849;
  --paper-muted: #62667a;
  --paper-line: #e5e6ee;
  --paper-card: #ffffff;
  --paper-link: #4338ca;
  --tick-bg: #eef0ff;
  --tick-fg: #4f46e5;
  --aside-shadow: 0 24px 60px -34px rgba(17, 19, 40, 0.3);
}
/* A dark island: the editor window keeps its dark look in both themes. */
.island {
  --line: rgba(255, 255, 255, 0.075); --line-2: rgba(255, 255, 255, 0.13); --line-3: rgba(255, 255, 255, 0.22);
  --text: #f3f3f7; --text-2: #b4b6c8; --text-3: #80839a; --brand-hi: #8e90ff; --bg-3: #171722;
  --mint: #6ee7b7; --amber: #fbbf24; --rec: #ff4d5e; color: var(--text); color-scheme: dark;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--bg); }
body {
  margin: 0; font: 400 16.5px/1.65 var(--font); color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
body::before {  /* film grain over everything, barely there */
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand-hi); text-decoration-thickness: 1px; text-underline-offset: 3px; }
::selection { background: rgba(99, 102, 241, 0.45); color: #fff; }
:focus-visible { outline: 2px solid var(--brand-hi); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: #fff; color: #000; font-weight: 600; }
.skip:focus { top: 12px; }
.ico { width: 20px; height: 20px; flex: none; }

h1, h2, h3 { margin: 0; color: var(--text); font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.45rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.06; }
h3 { font-size: 1.12rem; line-height: 1.3; letter-spacing: -0.015em; }
h1 em, h2 em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em;
  color: var(--lilac); padding-right: 0.05em;
}
.lead { margin: 24px 0 0; max-width: 36rem; font-size: clamp(1.06rem, 1.25vw, 1.2rem); line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px;
  font: 500 12px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-hi);
}
.eyebrow::before { content: ""; width: 20px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow:has(.rec) { padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--chip-bg); color: var(--text-2); }
.eyebrow:has(.rec)::before { display: none; }
.rec { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 4px rgba(255, 77, 94, 0.16); animation: rec 1.6s ease-in-out infinite; }
@keyframes rec { 50% { opacity: 0.35; } }
.dim { color: var(--text-3); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
section { position: relative; padding: var(--section) 0; }
.section-head { position: relative; max-width: 760px; margin: 0 0 60px; }
.section-head .sub { margin: 20px 0 0; max-width: 40rem; font-size: 1.1rem; color: var(--text-2); }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px;
  border: 1px solid transparent; border-radius: 12px; font: 550 15px/1 var(--font); letter-spacing: -0.01em;
  color: var(--text); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, border-color 0.2s;
}
.btn .ico { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary {
  color: #fff; background: linear-gradient(180deg, #7678ff 0%, #5d57f1 55%, #4f46e5 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 0 1px rgba(99, 102, 241, 0.6), 0 12px 32px -12px rgba(99, 102, 241, 0.95);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 0 0 1px rgba(142, 144, 255, 0.85), 0 18px 44px -14px rgba(99, 102, 241, 1); }
.btn-ghost { background: var(--ghost); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--ghost-2); border-color: var(--line-3); }
.btn-lg { min-height: 52px; padding: 0 26px; border-radius: 14px; font-size: 16px; }
.btn-sm { min-height: 38px; padding: 0 16px; border-radius: 10px; font-size: 14px; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 0; }
.actions-center { justify-content: center; }

/* ------------------------------------------------------------------ header */
.top {
  position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line);
  background: var(--nav-bg); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand .mark { width: 28px; height: 28px; flex: none; }
.brand .word { font-size: 1.2rem; font-weight: 650; letter-spacing: -0.03em; }
.brand .word b { font-weight: 650; color: var(--brand-hi); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 8px 12px; border-radius: 8px; color: var(--text-2); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.nav-link:hover { color: var(--text); background: var(--ghost-2); }
.nav .btn { margin-left: 10px; }

/* ------------------------------------------------------------------ hero */
.hero { padding: clamp(56px, 7.5vw, 100px) 0 clamp(72px, 8vw, 116px); overflow: clip; }
.hero-glow {
  position: absolute; inset: -30% -10% -10%; pointer-events: none;
  background:
    radial-gradient(42% 42% at 72% 42%, var(--glow-1), transparent 70%),
    radial-gradient(30% 30% at 18% 8%, var(--glow-2), transparent 70%),
    radial-gradient(30% 30% at 95% 90%, var(--glow-3), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 88%);
  mask-image: linear-gradient(to bottom, #000 40%, transparent 88%);
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(65% 60% at 62% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(65% 60% at 62% 40%, #000 20%, transparent 75%);
}
.hero-layout { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 5vw, 76px); align-items: center; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--text-2); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts .ico { width: 16px; height: 16px; color: var(--mint); stroke-width: 2.4; }

/* the studio: a monitor with the real video and its timeline, and the tall shape beside it */
.studio { position: relative; }
.monitor {
  position: relative; overflow: hidden; border: 1px solid var(--line-2); border-radius: 18px;
  background: linear-gradient(180deg, #16161f, #0d0d14);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 50px 110px -40px rgba(0, 0, 0, 0.9), 0 0 140px -50px rgba(99, 102, 241, 0.55);
}
.monitor-bar {
  display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line);
  font: 500 12px/1 var(--mono); color: var(--text-3);
}
.dots { display: inline-flex; gap: 6px; flex: none; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #34343f; }
.dots i:nth-child(1) { background: #f0625b; }
.dots i:nth-child(2) { background: #f2bb44; }
.dots i:nth-child(3) { background: #45c95c; }
.monitor-title { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.monitor-tc { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: var(--text); white-space: nowrap; }
.monitor-tc .rec { width: 7px; height: 7px; box-shadow: none; }
.monitor-screen { aspect-ratio: 16 / 9; background: #f4f5f9; }
.monitor-screen video, .monitor-screen img { width: 100%; height: 100%; object-fit: cover; }

.timeline { --lw: 66px; position: relative; padding: 10px 14px 12px; border-top: 1px solid var(--line); background: #0b0b11; font: 500 10.5px/1 var(--mono); color: var(--text-3); }
.tl-row { display: grid; grid-template-columns: var(--lw) minmax(0, 1fr); align-items: center; height: 22px; margin-top: 5px; }
.tl-ruler { height: 18px; margin-top: 0; }
.tl-label { font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.tl-lane { position: relative; height: 100%; }
.tick { position: absolute; bottom: 0; width: 1px; height: 4px; background: var(--line-2); }
.tick.major { height: 8px; background: var(--line-3); }
.tick b { position: absolute; bottom: 10px; left: 0; transform: translateX(-50%); font-weight: 500; font-size: 9.5px; color: var(--text-3); }
.tick:first-child b { transform: none; }
.tick:last-child b { transform: translateX(-100%); }
.clip {
  position: absolute; top: 2px; bottom: 2px; display: flex; align-items: center; gap: 6px; padding: 0 8px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1); border-right: 2px solid #0b0b11; border-radius: 6px;
  font-size: 10px; white-space: nowrap; color: rgba(255, 255, 255, 0.86);
}
.clip-scene { background: linear-gradient(180deg, rgba(99, 102, 241, 0.6), rgba(79, 70, 229, 0.42)); border-color: rgba(142, 144, 255, 0.5); }
.clip-camera { justify-content: space-between; background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.35); color: #fcd34d; }
.key { width: 7px; height: 7px; flex: none; background: var(--amber); transform: rotate(45deg); }
.clip-caption { display: block; line-height: 16px; text-overflow: ellipsis; background: rgba(255, 255, 255, 0.07); color: var(--text-2); }
.clip-voice { justify-content: space-between; gap: 1px; padding: 0 5px; background: rgba(110, 231, 183, 0.07); border-color: rgba(110, 231, 183, 0.3); }
.clip-voice i { flex: 1 1 1px; max-width: 2.5px; min-width: 1px; border-radius: 2px; background: var(--mint); opacity: 0.85; }
.clip-music {
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.04), rgba(168, 85, 247, 0.2) 10%, rgba(168, 85, 247, 0.2) 90%, rgba(168, 85, 247, 0.04));
  border-color: rgba(192, 132, 252, 0.3); color: #d8b4fe;
}
.tl-playhead-lane { position: absolute; top: 6px; bottom: 10px; left: calc(14px + var(--lw)); right: 14px; pointer-events: none; }
.tl-playhead { position: absolute; top: 0; bottom: 0; left: calc(var(--p, 0) * 100%); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 14px rgba(255, 255, 255, 0.55); }
.tl-playhead::before { content: ""; position: absolute; top: -3px; left: -5px; width: 12px; height: 10px; background: #fff; clip-path: polygon(0 0, 100% 0, 50% 100%); }
html:not(.synced) .tl-playhead { animation: playhead 15s linear infinite; }
@keyframes playhead { from { left: 0; } to { left: 100%; } }

.phone {
  position: absolute; right: -3.5%; bottom: 31%; width: 21%; min-width: 118px; margin: 0; padding: 6px;
  border: 1px solid var(--line-3); border-radius: 22px; background: linear-gradient(160deg, #2b2b39, #0e0e15);
  box-shadow: 0 34px 70px -24px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.6); transform: rotate(4deg);
}
.phone img { width: 100%; border-radius: 16px; }
.phone figcaption {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%) rotate(-4deg); padding: 6px 10px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-3); font: 500 11px/1 var(--mono); color: var(--text-2);
}

/* ------------------------------------------------------------------ marquee */
.marquee {
  position: relative; overflow: hidden; padding: 18px 0; border-block: 1px solid var(--line); background: var(--bg-1);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 56s linear infinite; }
.marquee span {
  flex: none; margin-right: 12px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--chip-bg); font: 500 12.5px/1 var(--mono); letter-spacing: 0.02em; color: var(--text-2);
}
.marquee span:nth-child(4n + 1) { color: var(--lilac); border-color: rgba(142, 144, 255, 0.3); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ how it works */
.how-layout { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 72px; align-items: start; }
.steps { margin: 0; padding: 0; list-style: none; }
.step { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 8px; padding: 30px 0; border-top: 1px solid var(--line); transition: opacity 0.45s var(--ease); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num { font: 500 13px/1.9 var(--mono); color: var(--brand-hi); }
.step h3 { margin: 0 0 10px; font-size: 1.45rem; letter-spacing: -0.025em; }
.step p { margin: 0; color: var(--text-2); }
.step-shot { margin-top: 22px; }
.how-stage { display: none; position: sticky; top: 112px; }
.browser {
  overflow: hidden; border: 1px solid var(--line-2); border-radius: 14px; background: var(--card-solid);
  box-shadow: var(--shadow-deep), 0 0 110px -50px rgba(99, 102, 241, 0.6);
}
.browser-bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.url {
  flex: 1; max-width: 380px; margin: 0 auto; padding: 6px 12px; overflow: hidden; border-radius: 7px; background: var(--ghost-2);
  font: 500 11.5px/1 var(--mono); color: var(--text-3); text-align: center; text-overflow: ellipsis; white-space: nowrap;
}
.browser-view { position: relative; aspect-ratio: 16 / 9; background: #f4f5f9; }
.browser-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.02); transition: opacity 0.55s var(--ease), transform 0.9s var(--ease); }
.browser-view img.on { opacity: 1; transform: none; }
@media (min-width: 961px) {
  .js .how-stage { display: block; }
  .js .step-shot { display: none; }
  .js .step { min-height: 34vh; opacity: 0.38; }
  .js .step.on { opacity: 1; }
  .js .step.on .step-num { color: var(--strong); text-shadow: 0 0 18px rgba(142, 144, 255, 0.9); }
}

/* ------------------------------------------------------------------ split sections */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(40px, 6vw, 92px); align-items: center; }
.split-rev { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
.split-copy h2 { margin-bottom: 24px; }
.split-copy p:not(.eyebrow) { margin: 0 0 16px; font-size: 1.06rem; color: var(--text-2); }
.ticks { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; }
.ticks .ico { width: 22px; height: 22px; margin-top: 1px; padding: 4px; border-radius: 7px; background: var(--icon-bg); color: var(--brand-hi); stroke-width: 2.6; }

/* the camera demo: a real screen, pushed toward its target the way the renderer does */
.cam-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--line-2); border-radius: 16px; background: #f4f5f9; box-shadow: var(--shadow-deep), 0 0 120px -50px rgba(99, 102, 241, 0.6); }
.cam-move { position: absolute; inset: 0; transform-origin: 38% 52%; animation: push 9s var(--ease) infinite; }
.cam-move img { width: 100%; height: 100%; object-fit: cover; }
@keyframes push {
  0%, 8% { transform: translate(0, 0) scale(1); }
  46%, 72% { transform: translate(4.6%, -2%) scale(1.12); }
  94%, 100% { transform: translate(0, 0) scale(1); }
}
.cam-target { position: absolute; left: 38%; top: 52%; width: 30%; aspect-ratio: 16 / 9; border: 2px solid var(--brand); border-radius: 10px; box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18); transform: translate(-50%, -50%); animation: target 9s var(--ease) infinite; }
@keyframes target {
  0%, 4% { opacity: 0; transform: translate(-50%, -50%) scale(1.3); }
  12%, 38% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  46%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}
.cam-caption {
  position: absolute; left: 50%; bottom: 7%; padding: 9px 15px; border-radius: 9px; background: rgba(17, 17, 26, 0.88);
  font-weight: 550; font-size: clamp(11px, 1.15vw, 14.5px); white-space: nowrap; color: #fff; transform: translateX(-50%);
  animation: cap 9s var(--ease) infinite;
}
@keyframes cap {
  0%, 18% { opacity: 0; transform: translate(-50%, 10px); }
  26%, 86% { opacity: 1; transform: translate(-50%, 0); }
  94%, 100% { opacity: 0; transform: translate(-50%, 0); }
}
.cam-corner { position: absolute; width: 22px; height: 22px; border: 0 solid var(--brand); }
.cam-corner.tl { top: 12px; left: 12px; border-top-width: 2.5px; border-left-width: 2.5px; border-top-left-radius: 6px; }
.cam-corner.tr { top: 12px; right: 12px; border-top-width: 2.5px; border-right-width: 2.5px; border-top-right-radius: 6px; }
.cam-corner.bl { bottom: 12px; left: 12px; border-bottom-width: 2.5px; border-left-width: 2.5px; border-bottom-left-radius: 6px; }
.cam-corner.br { bottom: 12px; right: 12px; border-bottom-width: 2.5px; border-right-width: 2.5px; border-bottom-right-radius: 6px; }
.cam-readout { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cam-readout span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--chip-bg); font: 500 12px/1 var(--mono); color: var(--text-2); }
.cam-readout b { margin-right: 6px; font-weight: 500; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }

/* ------------------------------------------------------------------ shapes */
.shapes { border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-1), var(--bg)); }
.shape-row { display: flex; align-items: flex-end; justify-content: center; gap: clamp(14px, 2vw, 26px); }
.shape { --h: clamp(150px, 18.2vw, 250px); flex: none; margin: 0; }
.shape-media { height: var(--h); aspect-ratio: var(--ar); overflow: hidden; border: 1px solid var(--line-2); border-radius: 14px; background: #f4f5f9; box-shadow: var(--shadow-deep); transition: transform 0.4s var(--ease); }
.shape:hover .shape-media { transform: translateY(-4px); }
.shape-media img { width: 100%; height: 100%; object-fit: cover; }
.shape figcaption { display: grid; gap: 5px; margin-top: 16px; }
.shape figcaption b { font: 600 15px/1 var(--mono); color: var(--text); }
.shape figcaption span { width: 0; min-width: 100%; font-size: 13.5px; line-height: 1.45; color: var(--text-3); }
.cuts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; }
.cut { padding: 24px 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--tile-shadow); }
.cut-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.cut-head b { font-size: 1.12rem; letter-spacing: -0.02em; }
.cut-head span { font-size: 14px; color: var(--text-3); }
.cut-bar { height: 10px; margin-top: 18px; overflow: hidden; border-radius: 99px; background: var(--ghost-2); }
.cut-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand-lo), var(--brand-hi)); }

/* ------------------------------------------------------------------ voice */
.panel { padding: 18px; border: 1px solid var(--line-2); border-radius: 20px; background: var(--panel); box-shadow: var(--shadow-deep), 0 0 110px -50px rgba(99, 102, 241, 0.5); }
.panel-head { display: flex; align-items: center; gap: 8px; padding: 2px 4px 14px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.panel-head .ico { width: 18px; height: 18px; color: var(--brand-hi); }
.panel-head .dim { margin-left: auto; font: 500 12px/1 var(--mono); }
.voices { display: grid; gap: 4px; margin: 10px 0 0; padding: 0; list-style: none; }
.voices li { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border: 1px solid transparent; border-radius: 11px; font-size: 14px; color: var(--text-2); }
.voices li.on { border-color: rgba(142, 144, 255, 0.38); background: rgba(99, 102, 241, 0.13); color: var(--text); }
.v-play { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--ghost-2); color: var(--text-2); }
.v-play .ico { width: 12px; height: 12px; margin-left: 2px; }
.voices li.on .v-play { background: var(--brand); color: #fff; }
.voices b { min-width: 64px; font-weight: 600; color: var(--text); }
.v-note { font-size: 12.5px; color: var(--text-3); }
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; margin-left: auto; }
.eq i { width: 3px; height: 40%; border-radius: 2px; background: var(--brand-hi); animation: eq 1.05s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -0.35s; }
.eq i:nth-child(3) { animation-delay: -0.7s; }
.eq i:nth-child(4) { animation-delay: -0.15s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.caption-preview {
  display: grid; place-items: center; min-height: 118px; margin-top: 14px; padding: 20px 16px; border-radius: 13px;
  background: radial-gradient(80% 90% at 50% 0%, rgba(99, 102, 241, 0.25), transparent 70%), #0a0a10; border: 1px solid var(--line);
}
.caption-preview span {
  padding: 9px 14px; border-radius: 8px; background-color: rgba(0, 0, 0, 0.6); font-weight: 550; font-size: 14.5px; text-align: center;
  background-image: linear-gradient(90deg, #fff 50%, rgba(255, 255, 255, 0.38) 50%); background-size: 200% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: karaoke 6s linear infinite;
}
@keyframes karaoke { 0% { background-position: 100% 0; } 70%, 100% { background-position: 0 0; } }
.mix { display: grid; gap: 10px; margin-top: 14px; }
.mix div { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 12px; font-size: 12.5px; color: var(--text-3); }
.mix span { display: inline-flex; align-items: center; gap: 6px; }
.mix .ico { width: 14px; height: 14px; }
.mix i { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--brand) var(--w), var(--ghost-2) var(--w)); }

/* ------------------------------------------------------------------ bento */
.features { border-top: 1px solid var(--line); }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; overflow: hidden; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: var(--tile-shadow); transition: border-color 0.3s, transform 0.3s var(--ease); }
.tile:hover { border-color: var(--line-2); transform: translateY(-2px); }
.tile > .ico, .info-card > .ico { width: 40px; height: 40px; margin-bottom: 20px; padding: 9px; border-radius: 11px; background: var(--icon-bg); color: var(--brand-hi); }
.tile h3 { margin-bottom: 8px; }
.tile p { margin: 0; font-size: 15px; color: var(--text-2); }
.tile-wide { grid-column: span 2; }
.tile-cc { grid-row: span 2; }
.res { display: flex; align-items: flex-end; gap: 12px; margin-top: 24px; }
.res span { display: grid; place-items: center; height: 58px; aspect-ratio: var(--ar); border: 1.5px solid var(--line-3); border-radius: 7px; font: 500 10px/1 var(--mono); color: var(--text-3); }
.srt { margin: 22px 0 0; padding: 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--code-bg); font: 11px/1.7 var(--mono); white-space: pre; color: var(--text-2); }
.srt b { color: var(--brand-hi); font-weight: 500; }
.swatches { display: flex; gap: 8px; margin-top: 20px; }
.swatches i { width: 30px; height: 30px; border: 1px solid var(--line-2); border-radius: 9px; }
.tile-repeat { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 22px; border-color: rgba(142, 144, 255, 0.3); background: linear-gradient(100deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.03) 65%); }
.tile-repeat > .ico { grid-row: span 2; margin: 0; }
.tile-repeat h3 { margin: 0; }

/* ------------------------------------------------------------------ pricing */
.price-sec { border-top: 1px solid var(--line); }
.price-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.price-card {
  position: relative; overflow: hidden; padding: clamp(28px, 4vw, 46px); border: 1px solid rgba(142, 144, 255, 0.38); border-radius: 26px;
  background: var(--price-card);
  box-shadow: 0 44px 110px -44px rgba(99, 102, 241, 0.6);
}
.price-big { display: flex; align-items: flex-end; gap: 18px; margin: 4px 0 16px; }
.price-big .amount {
  font-size: clamp(4.6rem, 9vw, 7.2rem); font-weight: 600; line-height: 0.85; letter-spacing: -0.06em;
  background: var(--amount); -webkit-background-clip: text; background-clip: text; color: transparent;
  /* the gradient paints only inside the box, and the tight spacing and line height leave the ink of the
     "8" (right) and the "$" (top, bottom) up to 0.04em outside it: pad past the ink, and take the same
     back with margins so the layout does not move */
  padding: 0.07em 0.1em 0.07em 0; margin: -0.07em -0.1em -0.07em 0;
}
.price-big .per { padding-bottom: 8px; font: 500 12.5px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.price-tax { margin: 0 0 24px; font-size: 15px; color: var(--text-2); }
.price-card .ticks { margin: 0 0 30px; }
.price-note { margin: 14px 0 0; font-size: 13.5px; text-align: center; color: var(--text-3); }
.compare { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 42px); border: 1px solid var(--line); border-radius: 26px; background: var(--bg-1); }
.compare h3 { margin-bottom: 24px; font-size: 1.28rem; }
.compare ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.compare li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--ghost); }
.compare .who { display: grid; gap: 3px; font-weight: 550; }
.compare small { font-size: 13px; font-weight: 400; color: var(--text-3); }
.compare .cost { font: 500 17px/1 var(--mono); white-space: nowrap; color: var(--text-2); }
.compare li.us { border-color: rgba(142, 144, 255, 0.5); background: rgba(99, 102, 241, 0.13); }
.compare li.us .cost { font-size: 21px; color: var(--strong); }
.compare .fine { margin: auto 0 0; padding-top: 20px; font-size: 12.5px; color: var(--text-3); }
.price-sec-page { border-top: 0; padding-top: clamp(40px, 5vw, 64px); }
.info { padding-top: 0; }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.info-card { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: var(--tile-shadow); }
.info-card h2 { margin: 0 0 12px; font-size: 1.3rem; letter-spacing: -0.02em; }
.info-card p { margin: 0; font-size: 15.5px; color: var(--text-2); }

/* ------------------------------------------------------------------ faq */
.faq { border-top: 1px solid var(--line); }
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.faq .section-head { position: sticky; top: 112px; margin: 0; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; font-size: 1.06rem; font-weight: 550; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--strong); }
.faq-ico { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border: 1px solid var(--line-2); border-radius: 50%; transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s; }
.faq-ico .ico { width: 15px; height: 15px; }
.faq-list details[open] .faq-ico { transform: rotate(45deg); border-color: rgba(142, 144, 255, 0.45); background: rgba(99, 102, 241, 0.2); }
.faq-list p { margin: 0; padding: 0 56px 24px 4px; color: var(--text-2); }

/* ------------------------------------------------------------------ finale */
.finale { overflow: clip; border-top: 1px solid var(--line); text-align: center; }
.finale-glow { position: absolute; left: 50%; top: 55%; width: min(1100px, 130vw); aspect-ratio: 2 / 1; pointer-events: none; transform: translate(-50%, -50%); background: radial-gradient(closest-side, var(--glow-finale), transparent); }
.finale-inner { position: relative; max-width: 880px; }
.finale h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.finale p { max-width: 34rem; margin: 22px auto 0; font-size: 1.12rem; color: var(--text-2); }

/* ------------------------------------------------------------------ inner pages */
.page-hero { overflow: clip; padding: clamp(64px, 8vw, 108px) 0 clamp(48px, 6vw, 80px); }
.page-hero-inner { position: relative; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.page-hero-doc { padding-bottom: clamp(44px, 5vw, 68px); border-bottom: 1px solid var(--line); }
.page-hero-doc h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
.page-hero-split h1 { font-size: clamp(2.2rem, 4.3vw, 3.6rem); }
.studio-still .monitor { transform: perspective(1600px) rotateY(-5deg) rotateX(2deg); }

.paper { padding: clamp(56px, 7vw, 100px) 0; background: var(--paper); color: var(--paper-ink); }
.paper a:not(.btn) { color: var(--paper-link); }
.prose { font-size: 17px; line-height: 1.78; color: var(--paper-text); }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 2.3em 0 0.6em; font-size: clamp(1.45rem, 2.2vw, 1.85rem); line-height: 1.2; letter-spacing: -0.025em; color: var(--paper-ink); }
.prose h3 { margin: 1.8em 0 0.4em; color: var(--paper-ink); }
.prose p { margin: 0 0 1.15em; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.prose li { margin: 0.45em 0; padding-left: 0.2em; }
.prose li::marker { color: var(--brand); }
.prose strong { color: var(--paper-ink); }
.prose > p:first-child > em:only-child {
  display: inline-block; padding: 8px 13px; border: 1px solid var(--paper-line); border-radius: 999px; background: var(--paper-card);
  font: 500 12px/1 var(--mono); font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; color: var(--paper-muted);
}
.prose-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.prose-aside { position: sticky; top: 104px; }
.aside-card { padding: 26px; border: 1px solid var(--paper-line); border-radius: 20px; background: var(--paper-card); box-shadow: var(--aside-shadow); }
.aside-card .eyebrow { margin-bottom: 14px; color: var(--tick-fg); }
.aside-price { margin: 0 0 18px; color: var(--paper-muted); }
.aside-price b { margin-right: 6px; font-size: 2.5rem; font-weight: 600; letter-spacing: -0.045em; color: var(--paper-ink); }
.aside-card .ticks { gap: 10px; margin: 0 0 22px; }
.aside-card .ticks li { font-size: 15px; color: var(--paper-text); }
.aside-card .ticks .ico { background: var(--tick-bg); color: var(--tick-fg); }

.related { padding: clamp(72px, 9vw, 116px) 0; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.related-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--ghost); color: var(--text); font-weight: 550; text-decoration: none;
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}
.related-card .ico { color: var(--brand-hi); transition: transform 0.25s var(--ease); }
.related-card:hover { border-color: rgba(142, 144, 255, 0.45); background: rgba(99, 102, 241, 0.09); transform: translateY(-2px); }
.related-card:hover .ico { transform: translateX(4px); }

/* ------------------------------------------------------------------ footer */
.foot { padding: 76px 0 34px; border-top: 1px solid var(--line); background: var(--bg-1); }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-brand p { max-width: 22rem; margin: 18px 0; font-size: 14.5px; color: var(--text-3); }
.foot-mail { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--text-2); text-decoration: none; }
.foot-mail .ico { width: 16px; height: 16px; }
.foot nav h2 { margin: 6px 0 16px; font: 500 11.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.foot nav a { display: block; padding: 5px 0; font-size: 14.5px; color: var(--text-2); text-decoration: none; }
.foot nav a:hover, .foot-mail:hover { color: var(--text); }
.foot-btn { display: block; padding: 5px 0; border: 0; background: none; font: inherit; font-size: 14.5px; color: var(--text-2); text-align: left; cursor: pointer; }
.foot-btn:hover { color: var(--text); }
.foot-btn[hidden] { display: none; }

/* ------------------------------------------------------------------ cookie choice
   Shown by site.js until the visitor answers (the cookie shotdemo_consent, shared with the app,
   whose twin is web/src/components/CookieBanner.vue). Hidden without JavaScript: nothing loads then. */
.consent {
  position: fixed; right: 20px; bottom: 20px; z-index: 80; width: min(440px, calc(100vw - 32px));
  padding: 20px 22px 18px; border: 1px solid var(--line-2); border-radius: 16px;
  background: var(--card-solid); color: var(--text); box-shadow: var(--shadow-deep);
}
.consent[hidden] { display: none; }
.consent-title { margin: 0 0 6px; font-size: 15.5px; font-weight: 600; }
.consent-text { margin: 0 0 16px; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.consent-text a { white-space: nowrap; }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }
.foot-base { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 58px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }

/* ------------------------------------------------------------------ motion */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rec, .marquee-track, .tl-playhead, .cam-move, .cam-target, .cam-caption, .eq i, .caption-preview span { animation: none !important; }
  .caption-preview span { background-position: 0 0; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .tile, .shape-media, .related-card, .browser-view img { transition: none; }
}

/* ------------------------------------------------------------------ smaller screens */
@media (max-width: 1080px) {
  .hero-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 720px; }
  .studio { max-width: 780px; }
  .page-hero-split .studio { display: none; }
}
@media (max-width: 960px) {
  .how-layout, .split, .split-rev, .faq-layout, .price-layout { grid-template-columns: minmax(0, 1fr); }
  .how-layout { gap: 0; }
  .split-rev .voice-mock { order: 2; }
  .faq .section-head { position: static; margin-bottom: 36px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-cc { grid-row: auto; }
  .info-grid { grid-template-columns: minmax(0, 1fr); }
  .prose-layout { grid-template-columns: minmax(0, 1fr); }
  .prose-aside { position: static; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-link:not(.nav-keep) { display: none; }
  .shape-row { justify-content: flex-start; margin: 0 -16px; padding: 0 16px 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .shape-row::-webkit-scrollbar { display: none; }
  .shape { --h: 230px; scroll-snap-align: start; }
  .cuts { grid-template-columns: minmax(0, 1fr); }
  .phone { right: 2%; bottom: 36%; width: 24%; min-width: 0; border-radius: 14px; padding: 4px; }
  .phone img { border-radius: 10px; }
  .phone figcaption { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section-head { margin-bottom: 40px; }
  .step { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .step-num { line-height: 1; }
  .timeline { --lw: 50px; padding: 8px 10px 10px; }
  .tl-playhead-lane { left: calc(10px + var(--lw)); right: 10px; }
  .clip { padding: 0 5px; font-size: 9px; }
  .clip-caption, .clip-camera { font-size: 0; }
  .monitor-bar { height: 36px; gap: 10px; padding: 0 12px; }
  .monitor-title { display: none; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile-wide { grid-column: auto; }
  .tile-repeat { grid-template-columns: minmax(0, 1fr); }
  .tile-repeat > .ico { grid-row: auto; margin-bottom: 16px; }
  .compare li { padding: 15px 14px; }
  .price-big { gap: 14px; }
  .faq-list p { padding-right: 8px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 24px; }
  .foot-base { flex-direction: column; gap: 6px; }
  .actions .btn { flex: 1 1 auto; }
  .consent { right: 16px; bottom: 16px; }
  .consent-actions .btn { flex: 1 1 0; }
}
@media (max-width: 520px) {  /* the theme toggle and the call to action keep the bar; Pricing is in the hero and the footer */
  .nav-keep { display: none; }
  .nav .btn { margin-left: 6px; }
}

/* ------------------------------------------------------------------ theme toggle
   The same button as the app (web/src/components/ThemeToggle.vue, ported from oidata): one SVG
   morphing between a half-shaded ring (Auto), a sun (Light) and a crescent (Dark), drawn from
   <html data-theme-pref>; the click logic is in site.js. */
.theme-toggle { position: relative; }
.theme-toggle__btn {
  display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line-2); border-radius: 10px;
  background: transparent; color: var(--text); cursor: pointer; transition: background 0.2s, border-color 0.2s;
}
.theme-toggle__btn:hover { background: var(--ghost-2); border-color: var(--line-3); }
.theme-toggle__icon { display: block; width: 20px; height: 20px; overflow: visible; }
.tt-rays, .tt-disc, .tt-half, .tt-bite {
  transform-box: view-box; transform-origin: 12px 12px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, fill-opacity 0.3s ease, stroke-opacity 0.3s ease,
    r 0.45s cubic-bezier(0.4, 0, 0.2, 1), cx 0.45s cubic-bezier(0.4, 0, 0.2, 1), cy 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.tt-rays { opacity: 0; transform: rotate(-90deg) scale(0.4); }
.tt-disc { r: 8; fill-opacity: 0; stroke-opacity: 1; }
.tt-half { opacity: 1; transform: scale(1); }
.tt-bite { cx: 30; cy: -6; r: 0; }
:root[data-theme-pref="light"] .tt-rays { opacity: 1; transform: rotate(0deg) scale(1); }
:root[data-theme-pref="light"] .tt-disc { r: 5; fill-opacity: 1; stroke-opacity: 0; }
:root[data-theme-pref="light"] .tt-half { opacity: 0; transform: scale(0.4); }
:root[data-theme-pref="light"] .theme-toggle__btn:hover .tt-rays { transform: rotate(30deg) scale(1); }
:root[data-theme-pref="dark"] .tt-rays { opacity: 0; transform: rotate(90deg) scale(0.4); }
:root[data-theme-pref="dark"] .tt-disc { r: 8; fill-opacity: 1; stroke-opacity: 0; }
:root[data-theme-pref="dark"] .tt-half { opacity: 0; transform: scale(0.4); }
:root[data-theme-pref="dark"] .tt-bite { cx: 16; cy: 8; r: 6.5; }
:root[data-theme-pref="dark"] .theme-toggle__btn:hover .tt-disc { transform: rotate(-12deg); }
.theme-toggle__hint {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 8px;
  background: var(--bg-2); color: var(--text); font-size: 12.5px; font-weight: 500; white-space: nowrap;
  box-shadow: var(--shadow-deep); opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease;
}
.theme-toggle__hint.show { opacity: 1; transform: none; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

/* screenshots of the app in the page's own theme (the dark twins are app-N-dark.webp) */
.only-dark { display: none !important; }
:root[data-theme="dark"] .only-dark { display: block !important; }
:root[data-theme="dark"] .only-light { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .tt-rays, .tt-disc, .tt-half, .tt-bite, .theme-toggle__hint { transition: none; }
}
