/* Recopilot: sky and cockpit. Light, dark or auto (follows the visitor's Mac), like the app. */

:root{
  --bg:#F3F7FF;
  --bg-soft:#E8EFFF;
  --surface:#FFFFFF;
  --surface-2:#F6F9FF;
  --ink:#0B1430;
  --ink-2:#34405F;
  --muted:#5A6786;
  --line:rgba(11,20,48,.12);
  --line-strong:rgba(11,20,48,.24);
  --blue:#2B72EA;
  --violet:#6A57F2;
  --cyan:#0A94B3;
  --tile-a:#DCE9FF;
  --tile-b:#ECE6FF;
  --sky-glow:rgba(76,148,255,.28);
  --panel-bg:#F5F8FF;
  --panel-ink:#18213D;
  --panel-muted:#6B7899;
  --panel-rim:#E3EAF9;
  --panel-line:rgba(24,33,61,.12);
  --face:#2F86F0;
  --foco-ink:#0A0D14;
  --w-top:#F8FAFD; --w-bot:#E9EDF7; --w-caption:#616E8A; --w-timer:#1A243D; --w-field:#FFFFFF; --w-fieldtext:#141C30;
  --w-disc:#E6EBF5; --w-hair:rgba(0,0,0,.10); --w-warm:#EE9E05;

  --red-a:#FF5E6E;
  --red-b:#E32B45;
  --yellow:#F2A413;
  --yellow-text:#B97800;

  --display:'Bricolage Grotesque', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
  --body:'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max:1120px;
  --pad:clamp(18px, 4vw, 40px);
  --nav:64px;
  color-scheme:light;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#0A1020; --bg-soft:#0E1525; --surface:#111A30; --surface-2:#0D1528;
    --ink:#EEF2FF; --ink-2:#C5CEE6; --muted:#9AA6C2; --line:rgba(255,255,255,.1); --line-strong:rgba(255,255,255,.22);
    --blue:#6AA3FF; --violet:#A292FF; --cyan:#4DD1E6;
    --tile-a:#12203F; --tile-b:#1C1946; --sky-glow:rgba(77,140,255,.2);
    --panel-bg:#0C1324; --panel-ink:#F1F4FF; --panel-muted:#8F9BB5; --panel-rim:#131C33; --panel-line:rgba(255,255,255,.1);
    --face:#85E0F7; --yellow-text:#FFC73D;
    --w-top:#0A101E; --w-bot:#0E1525; --w-caption:#8F9CB5; --w-timer:#D6DBE8; --w-field:#0F1421; --w-fieldtext:#FFFFFF;
    --w-disc:#121724; --w-hair:rgba(255,255,255,.06); --w-warm:#FFC73D;
    color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --bg:#0A1020; --bg-soft:#0E1525; --surface:#111A30; --surface-2:#0D1528;
  --ink:#EEF2FF; --ink-2:#C5CEE6; --muted:#9AA6C2; --line:rgba(255,255,255,.1); --line-strong:rgba(255,255,255,.22);
  --blue:#6AA3FF; --violet:#A292FF; --cyan:#4DD1E6;
  --tile-a:#12203F; --tile-b:#1C1946; --sky-glow:rgba(77,140,255,.2);
  --panel-bg:#0C1324; --panel-ink:#F1F4FF; --panel-muted:#8F9BB5; --panel-rim:#131C33; --panel-line:rgba(255,255,255,.1);
  --face:#85E0F7; --yellow-text:#FFC73D;
  --w-top:#0A101E; --w-bot:#0E1525; --w-caption:#8F9CB5; --w-timer:#D6DBE8; --w-field:#0F1421; --w-fieldtext:#FFFFFF;
  --w-disc:#121724; --w-hair:rgba(255,255,255,.06); --w-warm:#FFC73D;
  color-scheme:dark;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:calc(var(--nav) + 16px); -webkit-text-size-adjust:100%; background:var(--bg); }
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--body);
  font-size:1.0625rem;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:clip;
}
img,svg,canvas{ display:block; max-width:100%; }
a{ color:inherit; }
p{ margin:0; }
h1,h2,h3{ font-family:var(--display); margin:0; letter-spacing:-.025em; }
:focus-visible{ outline:3px solid var(--blue); outline-offset:3px; border-radius:6px; }
.sr-only{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.wrap{ max-width:var(--max); margin:0 auto; padding:0 var(--pad); }

/* two copies of every screenshot, light and dark; only the right one is shown */
.is-dark{ display:none; }
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .is-light{ display:none; }
  :root:not([data-theme="light"]) .is-dark{ display:block; }
}
:root[data-theme="dark"] .is-light{ display:none; }
:root[data-theme="dark"] .is-dark{ display:block; }

/* ---------- robot symbol colours ---------- */
.robot{ --rb:url(#rc-grad); --rf:var(--face); --rd:#F34352; }

/* ---------- nav ---------- */
.nav{
  position:sticky; top:0; z-index:50;
  height:var(--nav);
  background:color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.nav .wrap{ height:100%; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.brand{ display:flex; align-items:center; gap:.55em; text-decoration:none; font-family:var(--display); font-weight:800; font-size:1.3rem; letter-spacing:-.02em; }
.brand .robot{ width:34px; height:32px; }
.nav-links{ display:flex; align-items:center; gap:clamp(12px, 2.4vw, 28px); font-size:.95rem; font-weight:500; }
.nav-links a{ text-decoration:none; color:var(--ink-2); }
.nav-links a:hover{ color:var(--ink); }
.theme-btn{
  display:inline-flex; align-items:center; gap:.45em;
  padding:.45em .8em; border-radius:999px;
  background:transparent; color:var(--ink-2);
  border:1px solid var(--line-strong);
  font:inherit; font-size:.85rem; font-weight:600; cursor:pointer;
}
.theme-btn:hover{ color:var(--ink); border-color:var(--ink-2); }
.theme-btn svg{ width:16px; height:16px; }
.theme-btn .t-light, .theme-btn .t-dark, .theme-btn .t-auto{ display:none; }
html[data-mode="light"] .theme-btn .t-light,
html[data-mode="dark"] .theme-btn .t-dark,
html[data-mode="auto"] .theme-btn .t-auto{ display:inline-flex; align-items:center; gap:.45em; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.6em;
  padding:.85em 1.5em; border-radius:999px;
  font:inherit; font-weight:700; font-size:1rem; line-height:1.1;
  text-decoration:none; cursor:pointer; border:1.5px solid transparent;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn svg{ width:20px; height:20px; flex:none; }
.btn-primary{
  color:#fff;
  background:linear-gradient(135deg, #2B72EA, #6A57F2);
  box-shadow:0 10px 28px -10px rgba(75,92,240,.7);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 16px 34px -10px rgba(75,92,240,.8); }
.btn-ghost{ color:var(--ink); border-color:var(--line-strong); background:transparent; }
.btn-ghost:hover{ border-color:var(--ink); transform:translateY(-2px); }
.btn-sm{ padding:.55em 1.1em; font-size:.92rem; }

/* ---------- hero ---------- */
.hero{
  position:relative; overflow:hidden;
  padding:clamp(28px, 5vw, 64px) 0 clamp(56px, 8vw, 110px);
  background:
    radial-gradient(60% 55% at 78% 20%, var(--sky-glow), transparent 70%),
    radial-gradient(45% 40% at 8% 90%, color-mix(in srgb, var(--violet) 14%, transparent), transparent 70%);
}
.hero::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:70px; background:linear-gradient(to bottom, transparent, var(--bg)); z-index:0; pointer-events:none; }
.wavebg{ position:absolute; left:0; right:0; top:0; width:100%; height:84px; z-index:0; pointer-events:none; opacity:.34; -webkit-mask-image:linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); mask-image:linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent); }
.hero-grid{ position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:clamp(28px, 5vw, 72px); align-items:center; }
.eyebrow{
  display:inline-flex; align-items:center; gap:.55em;
  padding:.35em .9em .35em .5em; border-radius:999px;
  background:var(--surface); border:1px solid var(--line);
  font-size:.86rem; font-weight:600; color:var(--ink-2);
}
.eyebrow i{ width:.6em; height:.6em; border-radius:50%; background:linear-gradient(135deg,var(--red-a),var(--red-b)); box-shadow:0 0 0 4px color-mix(in srgb, var(--red-a) 25%, transparent); animation:blink 2.2s ease-in-out infinite; }
@keyframes blink{ 50%{ box-shadow:0 0 0 7px color-mix(in srgb, var(--red-a) 0%, transparent); } }
.hero h1{ margin:.45em 0 .4em; font-size:clamp(2.7rem, 5vw, 4.7rem); font-weight:800; line-height:.98; letter-spacing:-.04em; }
.grad{ display:inline-block; white-space:nowrap; background:linear-gradient(95deg, #2FA6F8, #6A57F2 75%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.lede{ max-width:34em; font-size:clamp(1.05rem, 1.6vw, 1.25rem); color:var(--ink-2); }
.cta-row{ display:flex; flex-wrap:wrap; gap:12px; margin:1.7em 0 1.2em; }
.facts{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:8px 18px; font-size:.92rem; color:var(--muted); }
.facts li{ display:inline-flex; align-items:center; gap:.45em; }
.facts li::before{ content:""; width:.42em; height:.42em; border-radius:50%; background:var(--cyan); }

/* ---------- the live demo: a true-size copy of the app's window (300 x 320 pt), scaled to fit ---------- */
.demo{ display:grid; justify-items:center; gap:14px; }
.rcw{ position:relative; width:min(100%, 400px); height:calc(320px * var(--s, 1.2)); }
.rc{
  position:absolute; left:0; top:0; width:300px; height:320px;
  transform-origin:0 0; transform:scale(var(--s, 1.2));
  border-radius:20px;
  background:linear-gradient(var(--w-top), var(--w-bot));
  box-shadow:inset 0 0 0 1px var(--w-hair), 0 26px 50px -16px rgba(5,10,30,.55), 0 3px 10px rgba(5,10,30,.18);
  font-family:-apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
  color:var(--w-timer);
  user-select:none; -webkit-user-select:none;
  overflow:hidden;
}
.rc-logo{ position:absolute; top:16px; left:50%; transform:translateX(-50%); height:52px; width:auto; max-width:none; pointer-events:none; }
.rc-stage{ position:absolute; left:0; top:69px; width:300px; height:200px; }
.ringwrap{ position:absolute; inset:0; opacity:0; transform:scale(.7); transition:opacity .45s ease, transform .55s cubic-bezier(.3,1.5,.5,1); pointer-events:none; }
.ringwrap canvas{ position:absolute; left:0; top:0; width:300px; height:200px; }
.ringwrap .glow{ filter:blur(5px); }
.rc:is([data-state="recording"],[data-state="quiet"]) .ringwrap{ opacity:1; transform:none; }
.rc[data-state="paused"] .ringwrap{ opacity:.4; transform:none; }

.rec{
  position:absolute; left:84px; top:34px; width:132px; height:132px; padding:0; border:0; background:none; border-radius:50%; cursor:pointer; color:#fff;
  transition:opacity .25s ease;
}
.rec .halo{ position:absolute; inset:0; border-radius:50%; background:rgba(227,43,69,.07); box-shadow:inset 0 0 0 1px rgba(255,94,110,.22); transition:opacity .3s ease; }
.rec .disc{ position:absolute; left:14px; top:14px; width:104px; height:104px; border-radius:50%; background:var(--w-disc); box-shadow:inset 0 0 0 1px var(--w-hair); opacity:0; transition:opacity .3s ease; }
.rec .face{
  position:absolute; left:50%; top:50%; width:102px; height:102px; margin:-51px 0 0 -51px; border-radius:50%;
  background:linear-gradient(#FF5E6E, #E32B45);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.18), 0 0 24px rgba(227,43,69,.55);
  transition:width .5s cubic-bezier(.3,1.5,.5,1), height .5s cubic-bezier(.3,1.5,.5,1), margin .5s cubic-bezier(.3,1.5,.5,1), box-shadow .4s ease;
}
.rec .mic, .rec .sq{ position:absolute; left:50%; top:50%; transition:opacity .25s ease, transform .4s ease; }
.rec .mic{ width:27px; height:39.5px; margin:-19.75px 0 0 -13.5px; opacity:.95; }
.rec .sq{ width:27px; height:27px; margin:-13.5px 0 0 -13.5px; border-radius:7px; background:rgba(255,255,255,.94); opacity:0; transform:scale(.5); }
.rc:is([data-state="recording"],[data-state="quiet"],[data-state="paused"]) .rec .halo{ opacity:0; }
.rc:is([data-state="recording"],[data-state="quiet"],[data-state="paused"]) .rec .disc{ opacity:1; }
.rc:is([data-state="recording"],[data-state="quiet"],[data-state="paused"]) .rec .face{ width:78px; height:78px; margin:-39px 0 0 -39px; box-shadow:inset 0 0 0 1px rgba(255,255,255,.18), 0 0 10px rgba(227,43,69,.35); }
.rc:is([data-state="recording"],[data-state="quiet"],[data-state="paused"]) .rec .mic{ opacity:0; transform:scale(.6); }
.rc:is([data-state="recording"],[data-state="quiet"],[data-state="paused"]) .rec .sq{ opacity:1; transform:none; }
.rec:hover .face{ filter:brightness(1.06); }
.rc[data-state="naming"] .rec{ opacity:0; pointer-events:none; }

/* naming */
.naming{ position:absolute; inset:0; opacity:0; pointer-events:none; transition:opacity .25s ease; }
.rc[data-state="naming"] .naming{ opacity:1; pointer-events:auto; }
.naming .deco{ position:absolute; left:50px; top:0; width:200px; height:200px; border-radius:50%; background:radial-gradient(circle at center, color-mix(in srgb, var(--w-warm) 10%, transparent) 20px, transparent 100px); pointer-events:none; }
.naming .r1, .naming .r2{ position:absolute; border-radius:50%; pointer-events:none; }
.naming .r1{ left:52px; top:2px; width:196px; height:196px; box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--w-warm) 16%, transparent); }
.naming .r2{ left:75px; top:25px; width:150px; height:150px; box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--w-warm) 10%, transparent); }
.name-pill{
  position:absolute; left:24px; top:76px; width:252px; height:48px;
  display:flex; align-items:center; gap:8px; padding:0 7px 0 16px;
  background:var(--w-field); border-radius:999px;
  box-shadow:inset 0 0 0 2px var(--w-warm), 0 0 12px color-mix(in srgb, var(--w-warm) 35%, transparent);
}
.name-pill input{ flex:1; min-width:0; border:0; outline:0; background:transparent; color:var(--w-fieldtext); font:inherit; font-size:15px; caret-color:var(--w-warm); padding:0; }
.name-pill input::placeholder{ color:var(--w-caption); opacity:1; }
.name-pill button{ flex:none; width:34px; height:34px; padding:0; border:0; border-radius:50%; background:var(--w-warm); color:#1A1A1F; display:grid; place-items:center; cursor:pointer; }
.name-pill button:disabled{ opacity:.45; cursor:default; }
.name-pill button svg{ width:15px; height:15px; }
.nm-bars{ position:absolute; left:50%; top:137px; width:0; height:30px; display:flex; gap:5px; align-items:center; justify-content:center; pointer-events:none; }
.nm-bars i{ flex:none; width:3.5px; border-radius:2px; background:var(--w-warm); }
.nm-bars i:nth-child(1), .nm-bars i:nth-child(5){ height:10px; } .nm-bars i:nth-child(2), .nm-bars i:nth-child(4){ height:20px; } .nm-bars i:nth-child(3){ height:30px; }

/* the line under the stage */
.rc-cap{ position:absolute; left:0; top:270px; width:300px; height:40px; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; text-align:center; }
.rc-cap > *{ position:absolute; top:0; left:0; right:0; display:flex; flex-direction:column; align-items:center; opacity:0; pointer-events:none; transition:opacity .2s ease; }
.rc .c-idle{ font-size:15px; line-height:18px; padding-top:1px; color:var(--w-caption); }
.rc[data-state="idle"] .c-idle{ opacity:1; }
.rc-time{ font:400 20px/24px ui-rounded, 'SF Pro Rounded', 'Figtree', sans-serif; font-variant-numeric:tabular-nums; color:var(--w-timer); }
.rc-hint{ margin-top:3px; min-height:13px; font-size:10.5px; line-height:13px; font-weight:600; letter-spacing:1.2px; text-transform:uppercase; color:var(--w-warm); }
.rc-hint.red{ color:#F54D5C; }
.rc:is([data-state="recording"],[data-state="paused"]) .c-rec, .rc[data-state="quiet"]:not([data-alert]) .c-rec, .rc[data-state="naming"] .c-name{ opacity:1; }
.rc .c-still{ background:none; border:0; padding:0; font:inherit; color:inherit; cursor:pointer; }
.rc[data-state="quiet"][data-alert] .c-still{ opacity:1; pointer-events:auto; }
.wave{ display:flex; font:600 15px/18px ui-rounded, 'SF Pro Rounded', 'Figtree', sans-serif; color:var(--w-warm); }
.wave span{ display:inline-block; white-space:pre; animation:letter 2s ease-in-out infinite; animation-delay:calc(var(--i) * .045s); }
@keyframes letter{ 0%{ transform:none; filter:none; } 8.5%{ transform:translateY(-7px) scale(1.12); filter:brightness(1.25); } 17%{ transform:none; filter:none; } 100%{ transform:none; } }
.c-still small{ margin-top:3px; font-size:11px; line-height:13px; color:var(--w-caption); }

/* corner buttons */
.rc-aux{ position:absolute; bottom:8px; width:34px; height:34px; padding:0; border:0; border-radius:8px; background:none; color:var(--w-caption); cursor:pointer; display:none; place-items:center; transition:color .12s ease; }
.rc-aux svg{ width:16px; height:16px; }
.rc-aux:hover{ color:var(--w-warm); }
.rc-left{ left:12px; } .rc-right{ right:12px; }
.rc:is([data-state="recording"],[data-state="quiet"],[data-state="paused"]) .rc-pause{ display:grid; }
.rc[data-state="naming"] .rc-skip, .rc[data-state="naming"] .rc-del{ display:grid; }
.rc-pause .i-play{ display:none; } .rc[data-state="paused"] .rc-pause .i-play{ display:block; } .rc[data-state="paused"] .rc-pause .i-pause{ display:none; }
.rc-del:hover, .rc-del.armed{ color:#F54D5C; }
.rc .rec:focus-visible, .rc-aux:focus-visible, .c-still:focus-visible{ outline:3px solid #4D8DFF; outline-offset:2px; }

.reddot{ display:inline-block; width:.8em; height:.8em; margin:0 .12em; border-radius:50%; vertical-align:-.04em; background:radial-gradient(circle at 50% 30%, #FF5E6E, #E32B45); box-shadow:0 0 0 .22em color-mix(in srgb, #E32B45 22%, transparent); }
.demo-note{ font-size:.9rem; color:var(--muted); text-align:center; min-height:1.4em; max-width:30em; }
.demo-chips{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; }
.chip{
  padding:.4em .95em; border-radius:999px; font:inherit; font-size:.88rem; font-weight:600;
  background:var(--surface); color:var(--ink-2); border:1px solid var(--line-strong); cursor:pointer;
}
.chip:hover:not(:disabled){ border-color:var(--ink-2); color:var(--ink); }
.chip:disabled{ opacity:.45; cursor:default; }
.chip[aria-pressed="true"]{ background:color-mix(in srgb, var(--yellow) 24%, var(--surface)); border-color:var(--yellow); color:var(--ink); }

.vm{
  width:min(100%, 400px); background:var(--surface); border:1px solid var(--line); border-radius:20px; padding:12px 14px 6px;
  font-size:.92rem;
}
.vm h3{ font-family:var(--body); font-size:.72rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); margin-bottom:4px; display:flex; justify-content:space-between; }
.vm ul{ list-style:none; margin:0; padding:0; }
.vm ul{ height:calc(4 * 2.7em); overflow:hidden; }
.vm li{ display:flex; align-items:center; justify-content:space-between; gap:10px; height:2.7em; border-top:1px solid var(--line); color:var(--ink-2); }
.vm li:first-child{ border-top:0; }
.vm li span:last-child{ color:var(--muted); font-variant-numeric:tabular-nums; flex:none; }
.vm li.new{ color:var(--ink); font-weight:700; animation:rowin .6s cubic-bezier(.2,1.2,.4,1); }
.vm li.new span:last-child{ color:var(--cyan); }
.vm li.live span:last-child{ color:var(--ink); display:inline-flex; align-items:center; gap:.5em; }
.vm li.live span:last-child::before{ content:""; width:.55em; height:.55em; border-radius:50%; background:linear-gradient(#FF5E6E,#E32B45); animation:blink 1.6s ease-in-out infinite; }
@keyframes rowin{ from{ opacity:0; transform:translateY(-14px); background:color-mix(in srgb, var(--yellow) 30%, transparent); } to{ opacity:1; transform:none; } }

/* ---------- generic sections ---------- */
.section{ padding:clamp(56px, 9vw, 120px) 0; }
.section.alt{ background:var(--bg-soft); }
.kicker{ font-size:.82rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--cyan); }
.h2{ font-size:clamp(2rem, 4.6vw, 3.5rem); font-weight:800; line-height:1.02; margin:.35em 0 .5em; letter-spacing:-.035em; }
.sub{ max-width:38em; color:var(--ink-2); font-size:1.12rem; }
.center{ text-align:center; }
.center .sub{ margin-inline:auto; }

.reveal{ transition:opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .reveal:not(.in){ opacity:0; transform:translateY(26px); }

/* the two small things */
.pair{ display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:44px; }
.card{ background:var(--surface); border:1px solid var(--line); border-radius:28px; padding:clamp(22px, 3vw, 36px); }
.card h3{ font-size:1.6rem; font-weight:700; margin-bottom:.4em; }
.card p{ color:var(--ink-2); }
.mock{ position:relative; margin:0 0 22px; border:1px solid var(--line); border-radius:16px; background:var(--surface-2); overflow:visible; height:150px; }
.mock-bar{ height:30px; border-bottom:1px solid var(--line); display:flex; align-items:center; gap:6px; padding:0 12px; }
.mock-bar i{ width:9px; height:9px; border-radius:50%; background:var(--line-strong); }
.mock-bar span{ flex:1; height:14px; margin-left:10px; border-radius:7px; background:var(--line); }
.mock-body{ padding:14px 16px; display:grid; gap:9px; }
.mock-body b{ display:block; height:8px; border-radius:4px; background:var(--line); }
.mock-body b:first-child{ height:12px; width:46%; background:var(--line-strong); }
.mock img{ position:absolute; right:-8px; bottom:-30px; width:128px; height:auto; }
.swap{ display:inline-flex; padding:4px; border-radius:999px; background:var(--bg-soft); border:1px solid var(--line); margin-bottom:16px; }
.swap button{ border:0; background:transparent; font:inherit; font-size:.88rem; font-weight:700; color:var(--muted); padding:.4em 1em; border-radius:999px; cursor:pointer; }
.swap button[aria-pressed="true"]{ background:var(--surface); color:var(--ink); box-shadow:0 2px 8px rgba(10,16,48,.14); }
.names{ list-style:none; margin:0; padding:0; font-size:1.05rem; }
.names li{ padding:.5em .2em; border-top:1px solid var(--line); display:flex; justify-content:space-between; gap:12px; }
.names li:first-child{ border-top:0; }
.names li span:last-child{ color:var(--muted); font-size:.9rem; }
.names.fade{ opacity:0; transform:translateY(6px); }
.names{ transition:opacity .22s ease, transform .22s ease; }

/* ---------- the flight plan ---------- */
.flight{ display:grid; grid-template-columns:72px minmax(0,1fr); gap:0 clamp(8px, 2vw, 28px); margin-top:clamp(40px, 6vw, 72px); }
.rail{ position:relative; }
.rail::before{ content:""; position:absolute; left:50%; top:20px; bottom:20px; border-left:2.5px dotted var(--line-strong); transform:translateX(-50%); }
.pilot{ position:sticky; top:44vh; width:64px; height:64px; margin:0 auto; border-radius:50%; background:var(--surface); border:1.5px solid var(--line-strong); display:grid; place-items:center; box-shadow:0 10px 26px -10px rgba(10,16,48,.4); }
.pilot .robot{ width:40px; height:38px; }
.stop{ padding:clamp(28px, 5vw, 64px) 0; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(24px, 5vw, 64px); align-items:center; }
.stop + .stop{ border-top:1px solid var(--line); }
.stop.flip .copy{ order:2; }
.tag{ display:inline-flex; align-items:center; gap:.7em; font-size:.8rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--cyan); }
.tag b{ display:inline-grid; place-items:center; min-width:2.2em; height:2.2em; padding:0 .4em; border-radius:999px; background:var(--cyan); color:var(--bg); font-size:.9em; letter-spacing:0; }
.stop h3{ font-size:clamp(1.8rem, 3.4vw, 2.7rem); font-weight:800; line-height:1.04; margin:.4em 0 .5em; letter-spacing:-.03em; }
.stop .copy > p{ color:var(--ink-2); max-width:32em; }
.ticks{ list-style:none; margin:1.2em 0 0; padding:0; display:grid; gap:.7em; }
.ticks li{ position:relative; padding-left:1.8em; color:var(--ink-2); }
.ticks li::before{ content:""; position:absolute; left:0; top:.32em; width:1.1em; height:1.1em; border-radius:50%; background:color-mix(in srgb, var(--cyan) 22%, transparent); }
.ticks li::after{ content:""; position:absolute; left:.38em; top:.5em; width:.3em; height:.55em; border:solid var(--cyan); border-width:0 2.5px 2.5px 0; transform:rotate(40deg) translate(-1px,-2px); }
.ticks b{ color:var(--ink); }
.ticks .caveat{ font-size:.95rem; color:var(--muted); }
.tile{ position:relative; display:grid; place-items:center; }
.tile img{ width:min(100%, 420px); height:auto; }
.tile.wide img{ width:min(100%, 520px); }
.stack{ display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:clamp(8px, 2vw, 22px); }
.stack img{ width:clamp(104px, 24%, 170px); }
.stack img.long{ width:min(100%, 330px); }
.sound-row{ display:flex; flex-wrap:wrap; gap:8px; margin-top:1.3em; }
.snd{
  display:inline-flex; align-items:center; gap:.55em;
  padding:.5em 1em .5em .6em; border-radius:999px; border:1px solid var(--line-strong); background:var(--surface);
  font:inherit; font-size:.92rem; font-weight:600; color:var(--ink-2); cursor:pointer;
}
.snd svg{ width:22px; height:22px; flex:none; padding:5px; border-radius:50%; background:var(--blue); color:#fff; }
:root[data-theme="dark"] .snd svg{ color:#0A1020; }
.snd:hover{ color:var(--ink); border-color:var(--ink-2); }
.snd.playing{ border-color:var(--yellow); background:color-mix(in srgb, var(--yellow) 18%, var(--surface)); color:var(--ink); }
.snd.playing svg{ animation:blink 1s ease-in-out infinite; }
.keys{ display:inline-flex; gap:6px; vertical-align:middle; }
.key{ display:inline-grid; place-items:center; min-width:2em; height:2em; padding:0 .4em; border-radius:8px; background:var(--surface); border:1px solid var(--line-strong); border-bottom-width:3px; font-family:var(--display); font-weight:700; font-size:.95em; color:var(--ink); }
.menubar{ display:flex; gap:10px; margin-top:1.3em; flex-wrap:wrap; }
.mb{ display:inline-flex; align-items:center; gap:.55em; height:30px; padding:0 14px; border-radius:8px; background:#1F1F22; color:#fff; font-size:.9rem; font-weight:600; font-variant-numeric:tabular-nums; }
.mb.light{ background:#EBEBEE; color:#111; }
.mb .robot{ --rb:currentColor; --rf:currentColor; --rd:currentColor; width:20px; height:19px; }
.mb .dot{ width:14px; height:14px; border-radius:50%; background:#FF3B47; }
.drop{ display:grid; place-items:center; }
.drop img{ width:min(100%, 560px); height:auto; }
.reveal.in .drop img{ animation:cardin .9s cubic-bezier(.2,1.25,.4,1) .35s both; }
@keyframes cardin{ from{ transform:translateY(-46px); opacity:0; } to{ transform:none; opacity:1; } }
.chips{ display:flex; flex-wrap:wrap; gap:6px; margin-top:1.2em; }
.chips span{ padding:.25em .75em; border-radius:999px; font-size:.86rem; font-weight:600; background:var(--surface); border:1px solid var(--line); color:var(--ink-2); }

/* ---------- straight talk ---------- */
.nots{ display:grid; grid-template-columns:repeat(4, 1fr); gap:16px; margin-top:44px; }
.not{ background:var(--surface); border:1px solid var(--line); border-radius:24px; padding:22px; }
.not .x{ width:34px; height:34px; border-radius:50%; display:grid; place-items:center; background:color-mix(in srgb, var(--red-b) 14%, transparent); color:var(--red-b); margin-bottom:14px; }
.not .x svg{ width:16px; height:16px; }
.not h3{ font-size:1.12rem; font-weight:700; letter-spacing:-.01em; margin-bottom:.3em; }
.not p{ font-size:.95rem; color:var(--ink-2); }

/* ---------- privacy ---------- */
.privacy > :last-child{ position:sticky; top:96px; }
.privacy{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(24px, 5vw, 64px); align-items:start; }
.zero{ font-family:var(--display); font-weight:800; font-size:clamp(5rem, 14vw, 10rem); line-height:.85; letter-spacing:-.06em; }
.perm{ width:100%; border-collapse:collapse; font-size:.95rem; }
.perm th, .perm td{ text-align:left; padding:.75em .6em .75em 0; border-top:1px solid var(--line); vertical-align:top; }
.perm th{ font-weight:700; white-space:nowrap; padding-right:1em; }
.perm td{ color:var(--ink-2); }
.perm .req{ display:inline-block; margin-left:.4em; font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:.1em .55em; border-radius:999px; background:var(--bg-soft); color:var(--muted); }
.perm .req.yes{ background:color-mix(in srgb, var(--blue) 16%, transparent); color:var(--blue); }

/* ---------- FAQ ---------- */
.faq{ max-width:780px; margin:44px auto 0; }
.faq details{ border-top:1px solid var(--line); }
.faq details:last-child{ border-bottom:1px solid var(--line); }
.faq summary{ list-style:none; cursor:pointer; padding:1.1em 0; font-family:var(--display); font-weight:700; font-size:1.2rem; letter-spacing:-.015em; display:flex; justify-content:space-between; gap:16px; align-items:center; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; flex:none; width:30px; height:30px; display:grid; place-items:center; border-radius:50%; border:1.5px solid var(--line-strong); font-family:var(--body); font-weight:500; font-size:1.2rem; line-height:1; transition:transform .25s ease; }
.faq details[open] summary::after{ transform:rotate(45deg); }
.faq details p{ padding:0 3em 1.3em 0; color:var(--ink-2); }

/* ---------- FOCO promo ---------- */
.foco{
  --fa:#FF7A29;
  position:relative; overflow:hidden; border-radius:36px;
  background:var(--foco-ink); color:#F3F0EA;
  padding:clamp(28px, 5vw, 60px);
  display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:clamp(24px, 5vw, 56px); align-items:center;
  border:1px solid rgba(255,255,255,.08);
}
.foco::before{ content:""; position:absolute; right:-10%; top:-30%; width:60%; aspect-ratio:1; border-radius:50%; background:radial-gradient(circle, rgba(255,122,41,.28), transparent 65%); }
.foco > *{ position:relative; }
.foco .kicker{ color:var(--fa); }
.foco h2{ font-size:clamp(1.9rem, 4vw, 3rem); font-weight:800; line-height:1.04; margin:.35em 0 .5em; }
.foco p{ color:#C9C6BF; max-width:32em; }
.foco .row{ display:flex; flex-wrap:wrap; gap:10px; margin-top:1.5em; }
.foco .btn-fa{ background:var(--fa); color:#1A0C02; }
.foco .btn-fa:hover{ transform:translateY(-2px); box-shadow:0 14px 30px -10px rgba(255,122,41,.7); }
.foco .btn-line{ color:#F3F0EA; border-color:rgba(255,255,255,.28); }
.foco .btn-line:hover{ border-color:#fff; transform:translateY(-2px); }
.foco-vis{ display:grid; gap:18px; justify-items:center; }
.foco-icon{ width:104px; height:104px; border-radius:24px; box-shadow:0 18px 40px -12px rgba(255,122,41,.55); }
.hl-sample{ width:100%; background:#10192B; border:1px solid rgba(255,255,255,.08); border-radius:18px; padding:18px 20px; font-size:1rem; line-height:1.9; color:#B9BFD0; }
.hl-sample mark{ color:#10141F; border-radius:5px; padding:.08em .3em; font-weight:600; }
.hl-sample .a{ background:#F4C244; } .hl-sample .p{ background:#F2739A; } .hl-sample .g{ background:#7ED17A; }

/* ---------- final call ---------- */
.final{ text-align:center; padding:clamp(64px, 10vw, 130px) 0; position:relative; overflow:hidden; background:radial-gradient(55% 70% at 50% 100%, var(--sky-glow), transparent 70%); }
.final .icon{ width:112px; height:112px; margin:0 auto 22px; border-radius:26px; box-shadow:0 22px 50px -16px rgba(10,16,48,.6); animation:bob 5s ease-in-out infinite; }
@keyframes bob{ 50%{ transform:translateY(-8px); } }
.final .h2{ margin-top:0; }
.final .cta-row{ justify-content:center; }

/* version line under a download button, and the quiet "Support Recopilot" block */
.dl-meta{ margin:-.3em 0 1.3em; font-size:.9rem; color:var(--muted); }
.dl-meta a{ color:var(--ink-2); text-underline-offset:3px; }
.dl-meta a:hover{ color:var(--ink); }
.final .dl-meta, .dlhero .dl-meta{ margin:.9em 0 0; }
.support{ max-width:30rem; margin:2.2em auto 0; padding:1.4em 1.6em 1.3em; border:1px solid var(--line); border-radius:22px; background:var(--surface); text-align:center; }
.support h3{ font-size:1.25rem; font-weight:700; letter-spacing:-.015em; }
.support p{ margin:.4em 0 1em; color:var(--ink-2); font-size:.98rem; }
.support .fine{ margin:.9em 0 0; font-size:.82rem; color:var(--muted); }
.btn .coin, .support .btn svg, .hero-tip .btn svg{ width:20px; height:20px; color:var(--w-warm); }
.hero-tip{ margin:1.1em 0 0; }

/* download page */
.dlhero{ padding:clamp(40px, 7vw, 90px) 0 clamp(48px, 7vw, 90px); text-align:center; background:radial-gradient(55% 70% at 50% 0%, var(--sky-glow), transparent 70%); }
.dlhero .icon{ width:104px; height:104px; margin:0 auto 18px; border-radius:24px; box-shadow:0 22px 50px -16px rgba(10,16,48,.6); }
.dlhero h1{ font-size:clamp(2.4rem, 6vw, 4.2rem); font-weight:800; letter-spacing:-.04em; line-height:1; margin-bottom:.35em; }
.dlhero .lede{ margin:0 auto; }
.dlhero .cta-row{ justify-content:center; }
.wrap.narrow{ max-width:780px; }
.steps{ margin:1.2em 0 0; padding-left:1.3em; color:var(--ink-2); display:grid; gap:.9em; }
.steps b{ color:var(--ink); }
.note{ margin-top:1.4em; color:var(--muted); font-size:.95rem; }
.note a, .versions a{ color:var(--blue); text-underline-offset:3px; }
.release{ margin-top:1.6em; padding:clamp(20px, 3vw, 32px); background:var(--surface); border:1px solid var(--line); border-radius:24px; }
.release header{ display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:6px 16px; margin-bottom:.4em; }
.release h3{ font-size:1.5rem; font-weight:800; letter-spacing:-.02em; }
.release header span{ color:var(--muted); font-size:.92rem; }
.sub-h{ margin:2.2em 0 .5em; font-size:1.25rem; font-weight:700; }
.versions th, .versions td{ padding:.7em .8em .7em 0; }
.versions thead th{ font-size:.78rem; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); border-top:0; }

/* ---------- footer ---------- */
footer{ border-top:1px solid var(--line); padding:34px 0 46px; font-size:.9rem; color:var(--muted); }
footer .wrap{ display:grid; gap:14px; }
.foot-row{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px 24px; align-items:center; }
.foot-links{ display:flex; flex-wrap:wrap; gap:6px 20px; }
.foot-links a{ text-decoration:none; color:var(--ink-2); }
.foot-links a:hover{ color:var(--ink); text-decoration:underline; }
.legal{ font-size:.82rem; line-height:1.55; max-width:62em; }

/* ---------- simple text pages (privacy, support) ---------- */
.doc{ padding:clamp(40px, 7vw, 90px) 0; }
.doc .wrap{ max-width:780px; }
.doc h1{ font-size:clamp(2.2rem, 5vw, 3.6rem); font-weight:800; line-height:1.02; letter-spacing:-.035em; margin:.3em 0 .5em; }
.doc h2{ font-size:1.5rem; font-weight:700; margin:2em 0 .5em; letter-spacing:-.02em; }
.doc p, .doc li{ color:var(--ink-2); }
.doc p + p{ margin-top:1em; }
.doc ul{ padding-left:1.2em; }
.doc li + li{ margin-top:.4em; }
.doc .callout{ margin:1.6em 0; padding:1.1em 1.4em; border-radius:20px; background:var(--surface); border:1px solid var(--line); }
.doc .callout p{ color:var(--ink); }
.doc a:not(.btn){ color:var(--blue); text-underline-offset:3px; }
.doc .perm{ margin-top:1em; }

/* ---------- responsive ---------- */
@media (max-width: 960px){
  .hero-grid{ grid-template-columns:1fr; }
  .demo{ order:2; }
  .flight{ grid-template-columns:1fr; }
  .rail{ display:none; }
  .stop, .stop.flip{ grid-template-columns:1fr; }
  .stop.flip .copy{ order:0; }
  .nots{ grid-template-columns:1fr 1fr; }
  .privacy, .foco{ grid-template-columns:1fr; }
  .privacy > :last-child{ position:static; }
}
@media (max-width: 700px){
  .pair{ grid-template-columns:1fr; }
  .nav-links .hide-s{ display:none; }
  .nots{ grid-template-columns:1fr; }
  .theme-btn span.lbl{ display:none; }
  .faq details p{ padding-right:0; }
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation:none !important; transition:none !important; }
  .js .reveal:not(.in){ opacity:1; transform:none; }
}
.doc ol{ padding-left:1.3em; color:var(--ink-2); }
.doc ol li + li{ margin-top:.5em; }
