/* Tapy website. Tokens follow tapy.css on the design canvas, which mirrors Shared/Theme.swift.
   Be Vietnam Pro (SIL Open Font License, see /assets/fonts/OFL.txt) sets the brand text; the rest
   uses the system font. */
@font-face{font-family:"Be Vietnam Pro";font-style:normal;font-weight:800;font-display:swap;src:url("/assets/fonts/be-vietnam-pro-800.woff2") format("woff2")}
:root{
  --paper:#F6F6F3; --surface:#FFFFFF; --surface-line:#E6E6E0;
  --text:#111317; --text-2:#3F4550; --text-3:#646B77; --head:#0E2240;
  --ink:#173A63; --ink-text:#173A63; --ink-tint:rgba(23,58,99,.10); --ink-shadow:rgba(23,58,99,.35);
  --night:#0E2240; --on-night:#FFFFFF; --on-night-2:rgba(255,255,255,.76); --night-link:#A9C4EA; --night-line:rgba(255,255,255,.16);
  --kb-bg:#D4D7DE; --key:#FFFFFF; --key-special:#B3B8C2; --key-text:#111317; --key-shadow:rgba(0,0,0,.28);
  --chip:#F4F5F7; --chip-text:#1F2937; --line:rgba(60,60,67,.29);
  --record:#D93A2F; --record-text:#8E1F17; --session:#1E8A5A; --success:#1E7F55; --success-text:#14532D;
  --led:#D93A2F; --led-on:#1E8A5A; --led-off:#8E8E93;
  --host-bg:#FFFFFF; --host-bubble:#E9E9EB; --host-text:#000000; --host-2:#8E8E93; --host-line:#D1D1D6; --caret:#0A84FF;
  --frame-line:rgba(14,34,64,.12); --frame-shadow:rgba(14,34,64,.28);
  --brand-font:"Be Vietnam Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,"Helvetica Neue",Helvetica,Arial,sans-serif;
  --mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace;
}
@media (prefers-color-scheme: dark){
  :root{
    color-scheme:dark;
    --paper:#111214; --surface:#1C1D20; --surface-line:#2C2D31;
    --text:#F2F3F5; --text-2:#B8BDC7; --text-3:#9097A3; --head:#FFFFFF;
    --ink:#3E6FB0; --ink-text:#A9C4EA; --ink-tint:rgba(62,111,176,.30); --ink-shadow:rgba(62,111,176,.35);
    --kb-bg:#1F2024; --key:#5A5B60; --key-special:#3A3B40; --key-text:#FFFFFF;
    --chip:#3A3B40; --chip-text:#E5E7EB; --line:rgba(84,84,88,.6);
    --record-text:#FF8A80; --success-text:#6EE7A8;
    --host-bg:#000000; --host-bubble:#262628; --host-text:#FFFFFF; --host-line:#38383A;
    --frame-line:rgba(255,255,255,.13); --frame-shadow:rgba(0,0,0,.7);
  }
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
body{margin:0;display:flex;flex-direction:column;min-height:100vh;min-height:100svh;background:var(--paper);color:var(--text);font:400 16px/1.55 var(--font);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3,p,ul,ol,dl,dd,figure{margin:0}
ul,ol{padding:0}
main{flex:1 0 auto;display:flex;flex-direction:column}
main > .page-head:only-child{flex:1 0 auto}
a{color:var(--ink-text);text-underline-offset:3px}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible{outline:2px solid var(--caret);outline-offset:3px;border-radius:6px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:16px;top:-60px;z-index:10;padding:10px 14px;border-radius:10px;background:var(--surface);color:var(--text);font-weight:600;text-decoration:none;box-shadow:0 1px 0 var(--key-shadow)}
.skip:focus{top:12px}
section[id],[id^="p-"],[id^="s-"]{scroll-margin-top:16px}
.wrap{width:100%;max-width:1160px;margin-inline:auto;padding-inline:clamp(16px,4.5vw,40px)}
.band{padding-block:clamp(56px,9vw,112px)}
.band-kb{background:var(--kb-bg)}
.band-night{background:var(--night);color:var(--on-night)}
.split{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(36px,5vw,72px);align-items:center}
@media (min-width:920px){
  .split{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .split.rev > .copy{order:2}
}
.copy{display:flex;flex-direction:column;gap:18px;max-width:560px}
.copy.narrow{max-width:720px}
.art{display:flex;flex-direction:column;align-items:center;gap:16px;width:100%}

/* ---------- Type ---------- */
.display{font:800 clamp(46px,11.6vw,92px)/.98 var(--brand-font);letter-spacing:-.02em;color:var(--head);text-wrap:balance}
.h1{font:800 clamp(38px,8vw,60px)/1.02 var(--brand-font);letter-spacing:-.02em;color:var(--head);text-wrap:balance}
.h2{font:800 clamp(30px,5.6vw,48px)/1.06 var(--brand-font);letter-spacing:-.02em;color:var(--head);text-wrap:balance}
.h3{font:600 19px/1.3 var(--font);color:var(--text)}
.eyebrow{font:600 12px/16px var(--font);letter-spacing:.08em;text-transform:uppercase;color:var(--text-2)}
.lede{font-size:clamp(17px,1.9vw,20px);line-height:1.5;color:var(--text-2)}
.note{font-size:15px;line-height:1.5;color:var(--text-2)}
.led{color:var(--led)}
.wordmark{font:800 22px/1 var(--brand-font);letter-spacing:-.02em;color:var(--head)}
.band-night .h2{color:#FFFFFF}
.band-night .lede,.band-night .eyebrow,.band-night .note{color:var(--on-night-2)}
.band-night a{color:var(--night-link)}
.ticks{list-style:none;display:flex;flex-direction:column;gap:10px}
.ticks li{display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px;align-items:start}
.ticks li svg{margin-top:2px;color:var(--ink-text)}

/* ---------- The Tapy key ---------- */
.k-sh{fill:var(--key-shadow)}
.k-face{fill:var(--key)}
.k-t{fill:none;stroke:var(--key-text);stroke-width:64;stroke-linecap:round;stroke-linejoin:round}
.k-led{fill:var(--led)}
.led-off .k-led{fill:var(--led-off)}
.led-on .k-led{fill:var(--led-on)}
.k-h1{fill:var(--led);fill-opacity:.10}
.k-h2{fill:var(--led);fill-opacity:.22}
@keyframes halo{0%,100%{opacity:1}50%{opacity:.35}}
.pulse .k-h1,.pulse .k-h2{animation:halo 1.8s ease-in-out infinite}

/* ---------- Icons (Lets Icons, plus Apple's own ⇧ ⌫ ↵ and Paste) ---------- */
svg.g{display:block;flex-shrink:0;width:var(--s,20px);height:var(--s,20px);fill:currentColor}

/* ---------- Header ---------- */
.site-head{background:var(--kb-bg)}
.head-in{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding-block:10px}
.lockup{display:inline-flex;align-items:center;gap:9px;text-decoration:none;border-radius:8px}
.lockup .key-mark{width:22px;height:27px}
.site-nav{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.nav-chip{height:32px;padding:0 12px;border-radius:16px;display:inline-flex;align-items:center;background:var(--chip);color:var(--chip-text);font:600 13px/1 var(--font);text-decoration:none;white-space:nowrap;box-shadow:0 1px 0 var(--key-shadow)}
.nav-chip:hover{color:var(--ink-text)}
.nav-chip[aria-current="page"]{background:var(--ink);color:#FFFFFF}

/* ---------- Hero ---------- */
.hero{background:var(--kb-bg);padding-block:clamp(20px,4vw,48px) clamp(56px,8vw,96px)}
.hero-in{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(40px,5vw,64px);align-items:center}
@media (min-width:920px){.hero-in{grid-template-columns:minmax(0,1fr) 420px}}
.hero-copy{display:flex;flex-direction:column;gap:20px;max-width:600px}
.hero-copy .lede{max-width:29em}
.cta{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:6px}
.soon{display:inline-flex;align-items:center;gap:10px;min-height:50px;padding:10px 20px 10px 16px;border-radius:12px;background:var(--key);color:var(--key-text);box-shadow:0 1px 0 var(--key-shadow);font:600 16px/1.25 var(--font)}
.soon svg{color:var(--ink-text)}
.free{font:500 15px/1.4 var(--font);color:var(--text)}
.req{font:400 13px/1.4 var(--font);color:var(--text-2)}
.hero-demo{display:flex;flex-direction:column;align-items:center;gap:20px;width:100%}
.steps{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%;max-width:393px;counter-reset:st}
.steps li{display:flex;flex-direction:column;gap:4px;padding-top:10px;border-top:2px solid var(--line);transition:border-color .25s}
.steps b{display:flex;align-items:center;gap:7px;font:600 14px/1.25 var(--font);color:var(--text)}
.steps b::before{counter-increment:st;content:counter(st);flex-shrink:0;width:18px;height:18px;border-radius:9px;background:var(--ink-tint);color:var(--ink-text);font:700 11px/18px var(--font);text-align:center;transition:background .25s,color .25s}
.steps span{font:400 13px/1.35 var(--font);color:var(--text-2)}
.steps li.on{border-top-color:var(--ink)}
.steps li.on b::before{background:var(--ink);color:#FFFFFF}

/* ---------- Drawings of the app (from the canvas components) ---------- */
.dw{font-family:var(--font);color:var(--key-text);line-height:normal;-webkit-user-select:none;user-select:none;text-align:left}
.dw *,.dw *::before,.dw *::after{box-sizing:border-box}
.dw.screen{width:100%;max-width:393px;border-radius:34px;overflow:hidden;background:var(--host-bg);color:var(--host-text);box-shadow:0 0 0 1px var(--frame-line),0 30px 60px -30px var(--frame-shadow);display:flex;flex-direction:column}
.dw .host{display:flex;flex-direction:column;padding-top:8px}
.dw .h-nav{height:44px;position:relative;display:flex;align-items:center;justify-content:center;font:600 17px/22px var(--font)}
.dw .h-back{position:absolute;left:6px;top:0;width:44px;height:44px;display:flex;align-items:center;justify-content:center;color:var(--caret)}
.dw .chat{display:flex;flex-direction:column;justify-content:flex-end;gap:6px;padding:4px 12px 12px}
.dw .bubble{align-self:flex-start;max-width:88%;padding:8px 13px;border-radius:18px;background:var(--host-bubble);font:400 16px/21px var(--font)}
.dw .field{margin-top:8px;min-height:36px;padding:7px 14px;border-radius:18px;border:1px solid var(--host-line);font:400 16px/21px var(--font)}
.dw .field .ph{color:var(--host-2)}
.dw .field.empty .ft{display:none}
.dw .field:not(.empty) .ph{display:none}
.dw .caret{display:inline-block;width:2px;height:20px;margin:0 1px;vertical-align:-4px;border-radius:1px;background:var(--caret);animation:blink 1.1s steps(1) infinite}
@keyframes blink{50%{opacity:0}}
.dw .kb{background:var(--kb-bg);color:var(--key-text);border-radius:26px 26px 0 0}
.dw .kb-body{display:flex;flex-direction:column;gap:8px;padding:8px 6px 10px}
.dw .kb-body.tight{gap:6px}
.dw .kb-dock{height:58px;display:flex;justify-content:space-between;padding:10px 24px 0;color:var(--text-2)}
.dw .toolbar{height:40px;padding:0 2px;display:flex;align-items:center;gap:6px;min-width:0}
.dw .spacer{flex-grow:1}
.dw .chip{height:32px;padding:0 12px;border-radius:16px;flex-shrink:0;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;background:var(--chip);color:var(--chip-text);font:600 13px/1 var(--font)}
.dw .chip.mode{padding:0 10px 0 12px}
.dw .paste{width:38px;height:38px;border-radius:19px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;background:var(--ink);color:#FFFFFF}
.dw .paste.off{opacity:.3}
.dw .icon-key{width:32px;height:32px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:var(--chip-text)}
.dw .sdot{width:28px;height:28px;flex-shrink:0;display:flex;align-items:center;justify-content:center}
.dw .sdot i{width:10px;height:10px;border-radius:5px;background:var(--text-2);opacity:.5}
.dw .sdot.on i{background:var(--session);opacity:1}
.dw .panel{display:flex;flex-direction:column;gap:4px;padding:9px 12px;border-radius:10px;background:var(--key);box-shadow:0 1px 0 var(--key-shadow);color:var(--key-text)}
.dw .panel-head{display:flex;align-items:center;gap:6px;min-height:17px;min-width:0}
.dw .panel-head .i{color:var(--ink-text)}
.dw .panel-head .t{font:600 14px/17px var(--font);color:var(--ink-text);white-space:nowrap}
.dw .panel-head .d{min-width:0;font:400 13px/16px var(--font);color:var(--text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dw .panel-x{width:28px;height:28px;margin:-6px -6px -6px auto;display:flex;align-items:center;justify-content:center;color:var(--chip-text);flex-shrink:0}
.dw .panel-text{font:400 15px/20px var(--font);color:var(--key-text)}
.dw .status-line{height:40px;padding:0 8px;display:flex;align-items:center;gap:10px;min-width:0}
.dw .status-line .dot{width:10px;height:10px;border-radius:5px;background:var(--record);flex-shrink:0}
.dw .status-line .t{font:600 14px/17px var(--font);white-space:nowrap}
.dw .status-line .t.rec{color:var(--record-text)}
.dw .status-line .t.ink{color:var(--ink-text)}
.dw .status-line .d{min-width:0;font:400 12px/15px var(--font);color:var(--text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dw .wave{flex-grow:1;min-width:0;height:30px;display:flex;align-items:center;justify-content:center;gap:3px;overflow:hidden}
.dw .wave i{display:block;width:3px;flex-shrink:0;border-radius:1.5px;background:var(--ink)}
.dw .mode-tag{height:30px;padding:0 12px;border-radius:15px;flex-shrink:0;display:inline-flex;align-items:center;background:var(--chip);color:var(--chip-text);font:500 13px/1 var(--font);white-space:nowrap}
.dw .spinner{display:block;width:16px;height:16px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;flex-shrink:0;animation:spin .8s linear infinite}
.dw .spinner.ink{color:var(--ink-text)}
@keyframes spin{to{transform:rotate(360deg)}}
.dw .qe-line{height:36px;padding:0 6px;display:flex;align-items:center;gap:8px}
.dw .qe-line .ok-i{color:var(--success)}
.dw .qe-line .ok{font:600 14px/17px var(--font);color:var(--success-text);white-space:nowrap}
.dw .qa-row{height:34px;display:flex;gap:6px}
.dw .qa-chips{flex:1 1 0;width:0;min-width:0;display:flex;gap:6px;padding:0 2px;overflow:hidden;-webkit-mask-image:linear-gradient(to right,#000 86%,transparent);mask-image:linear-gradient(to right,#000 86%,transparent)}
.dw .qa{height:34px;padding:0 12px;border-radius:17px;flex-shrink:0;display:inline-flex;align-items:center;background:var(--chip);color:var(--chip-text);font:500 13px/1 var(--font);white-space:nowrap}
.dw .qa-set{width:40px;height:34px;border:1px dashed var(--ink-text);border-radius:17px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:var(--ink-text)}
.dw .vpad{display:flex;flex-direction:column;gap:8px}
.dw .vpad.short{gap:6px}
.dw .pad-row{height:146px;display:flex;align-items:center;justify-content:space-between;padding:0 4px}
.dw .vpad.short .pad-row{height:114px}
.dw .side{width:64px;height:56px;border-radius:10px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:var(--key-special);box-shadow:0 1px 0 var(--key-shadow);color:var(--key-text)}
.dw .side.dim{opacity:.55}
.dw .side.held{background:var(--key);color:var(--ink-text);box-shadow:0 1px 0 var(--key-shadow),inset 0 0 0 2px var(--ink-text)}
.dw .mic-slot{width:112px;height:104px;display:flex;align-items:center;justify-content:center}
.dw .vpad.short .mic-slot{width:104px;height:96px}
.dw .mic{position:relative;width:96px;height:96px;border-radius:48px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:var(--ink);color:#FFFFFF;box-shadow:0 6px 20px var(--ink-shadow)}
.dw .mic.m88{width:88px;height:88px;border-radius:44px}
.dw .mic.rec{background:var(--record);box-shadow:0 6px 20px rgba(217,58,47,.35);outline:8px solid rgba(217,58,47,.18);outline-offset:4px}
.dw .mic-stop{width:30px;height:30px;border-radius:5px;background:#FFFFFF}
.dw .mic .spinner{width:30px;height:30px;border-width:3px;color:#FFFFFF}
.dw .tap{position:absolute;left:50%;top:50%;width:46px;height:46px;border-radius:23px;background:rgba(120,120,128,.45);box-shadow:0 0 0 2px rgba(255,255,255,.9);opacity:0;pointer-events:none;transform:translate(-50%,-50%)}
.dw .tap.tapping{animation:tap .5s ease-out}
@keyframes tap{0%{transform:translate(-50%,-50%) scale(.4);opacity:0}30%{opacity:.95}100%{transform:translate(-50%,-50%) scale(1.2);opacity:0}}
.dw .timer-key{width:64px;height:56px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font:500 17px/1 var(--mono);color:var(--key-text);font-variant-numeric:tabular-nums}
.dw .row{height:46px;display:flex;gap:6px}
.dw .key{flex:1 1 0;min-width:0;height:46px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:var(--key);box-shadow:0 1px 0 var(--key-shadow);color:var(--key-text);font:400 21px/1 var(--font)}
.dw .key.special{background:var(--key-special)}
.dw .key.w44{flex:0 0 44px}
.dw .key.w52{flex:0 0 52px;font:500 15px/1 var(--font)}
.dw .key.w72{flex:0 0 72px}
.dw .key.space{color:var(--text-2);font:400 14px/1 var(--font);white-space:nowrap;overflow:hidden}
.dw .key.on{background:var(--key);color:var(--ink-text);box-shadow:0 1px 0 var(--key-shadow),inset 0 0 0 2px var(--ink-text)}
@media (max-width:374px){
  .dw .key.w52{flex-basis:46px}
  .dw .key.w72{flex-basis:58px}
  .dw .side,.dw .timer-key{width:56px}
}
/* The demo: one keyboard, four moments */
.demo .chat{min-height:132px}
.demo .st{display:none}
.demo[data-state="ready"] .st-ready,
.demo[data-state="listen"] .st-listen,
.demo[data-state="write"] .st-write,
.demo[data-state="done"] .st-done{display:flex}
.demo[data-state="listen"] .wave i{animation:wv .7s ease-in-out infinite alternate;animation-delay:calc(var(--i) * -.09s)}
@keyframes wv{0%{transform:scaleY(.45)}100%{transform:scaleY(1)}}
/* Keyboard on its own: typing keys, number pad */
.dw.kbonly{width:100%;max-width:393px;background:var(--kb-bg);border-radius:24px;box-shadow:0 0 0 1px var(--frame-line);padding:8px 6px 10px}
.dw .typing-bar{height:40px;display:flex;align-items:center;gap:6px;padding:0 2px 0 0;margin-bottom:10px}
.dw .mic-small{width:44px;height:40px;flex-shrink:0;display:flex;align-items:center;justify-content:center}
.dw .mic-small > span{width:36px;height:36px;border-radius:18px;background:var(--ink);color:#FFFFFF;display:flex;align-items:center;justify-content:center}
.dw .lang-switch{width:38px;height:30px;border-radius:15px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:var(--chip);color:var(--chip-text);font:600 13px/1 ui-rounded,var(--font)}
.dw .icon36{width:36px;height:36px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:var(--chip-text)}
.dw .typing{display:flex;flex-direction:column;gap:12px;padding:0 1px}
.dw .tr{display:grid;grid-template-columns:repeat(20,minmax(0,1fr));column-gap:6px}
.dw .l{grid-column:span 2;height:42px;padding-bottom:3px;border-radius:6px;display:flex;align-items:center;justify-content:center;background:var(--key);box-shadow:0 1px 0 var(--key-shadow);color:var(--key-text);font:400 22px/1 var(--font)}
.dw .tr.r2 .l:first-child{grid-column:2 / span 2}
.dw .tr.r3 .l.s{grid-column:span 3}
.dw .l.s{padding:0;background:var(--key-special);font:500 15px/1 var(--font)}
.dw .tr.r4{display:flex;gap:6px}
.dw .tr.r4 .l{height:39px;flex:0 0 auto}
.dw .tr.r4 .l.w123{flex-basis:18%}
.dw .tr.r4 .l.wem{flex-basis:9%}
.dw .tr.r4 .l.space{flex:1 1 0;min-width:0;color:var(--text-2);font:400 15px/1 var(--font);padding:0;white-space:nowrap;overflow:hidden}
.dw .tr.r4 .l.wret{flex-basis:18%}
.dw .numpad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.dw .num{height:47px;padding-bottom:2px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:var(--key);box-shadow:0 1px 0 var(--key-shadow);color:var(--key-text);font:400 25px/1 var(--font)}
.dw .num.special{padding:0;background:var(--key-special);font:500 15px/1 var(--font)}
.dw.numonly{max-width:300px;padding:8px 8px 10px}
/* The Microphone on screen */
.dw.session{width:100%;max-width:360px;border-radius:34px;background:var(--kb-bg);color:var(--key-text);box-shadow:0 0 0 1px var(--frame-line),0 30px 60px -30px var(--frame-shadow);padding:16px 0 20px;display:flex;flex-direction:column}
.dw .s-brand{height:36px;display:flex;align-items:center;justify-content:center;font:800 21px/1 var(--brand-font);letter-spacing:-.02em;color:var(--head)}
.dw .s-key{display:block;width:104px;height:124px;margin:20px auto 0}
.dw .s-title{padding:18px 24px 0;font:700 26px/32px var(--font);text-align:center}
.dw .s-sub{padding:8px 28px 0;font:400 15px/20px var(--font);color:var(--text-2);text-align:center}
.dw .s-pill{align-self:center;margin:16px 16px 0;min-height:34px;padding:8px 14px;border-radius:17px;background:var(--chip);color:var(--chip-text);display:flex;align-items:center;gap:8px;font:400 13px/16px var(--font)}
.dw .s-pill svg{color:var(--text-2)}
.dw .s-actions{padding:26px 16px 0;display:flex;flex-direction:column;gap:10px}
.dw .s-hint{min-height:50px;padding:8px 14px;border-radius:12px;background:var(--key);box-shadow:0 1px 0 var(--key-shadow);display:flex;align-items:center;justify-content:center;gap:8px;color:var(--key-text);font:500 15px/20px var(--font);text-align:center}
.dw .s-off{height:50px;border-radius:12px;background:var(--key-special);box-shadow:0 1px 0 var(--key-shadow);color:var(--key-text);display:flex;align-items:center;justify-content:center;font:500 16px/1 var(--font)}
/* The Live Activity: the same in light and dark */
.dw.la{width:100%;max-width:380px;border-radius:24px;background:#0E2240;color:#FFFFFF;padding:16px;display:flex;flex-direction:column;gap:12px;box-shadow:0 0 0 1px var(--frame-line)}
.dw .la-row{display:flex;align-items:center;gap:12px}
.dw .la-key{width:40px;height:40px;flex-shrink:0}
.dw .la-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.dw .la-t{font:600 17px/22px var(--font)}
.dw .la-s{font:400 15px/20px var(--font);color:rgba(255,255,255,.75)}
.dw .la-clock{margin-left:auto;padding-left:8px;font:400 20px/25px var(--font);font-variant-numeric:tabular-nums}
.dw .la-btn{height:34px;border-radius:17px;background:rgba(255,255,255,.18);color:#FFFFFF;font:600 15px/34px var(--font);text-align:center}
/* Settings › Your plan */
.dw.plan-cell{width:100%;max-width:393px}
.dw .sec-h{padding:0 20px 7px;font:400 13px/18px var(--font);color:var(--text-2);text-transform:uppercase}
.dw .cell{border-radius:22px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--surface-line);padding:14px 20px;display:flex;flex-direction:column;gap:9px;color:var(--text);font:400 17px/22px var(--font)}
.dw .cell-top{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.dw .cell-top span:last-child{color:var(--text-2)}
.dw .meter{height:8px;border-radius:4px;background:var(--surface-line);overflow:hidden}
.dw .meter i{display:block;height:100%;width:100%;border-radius:4px;background:var(--ink)}

/* ---------- Home sections ---------- */
.plate{background:var(--kb-bg);border-radius:22px;padding:16px 12px}
.modes-plate{width:100%;max-width:440px;display:flex;flex-direction:column;gap:10px;justify-self:center}
.swap{display:flex;align-items:center;justify-content:center;gap:10px;height:28px;color:var(--text-2);font:500 13px/1 var(--font)}
.swap .arrows{display:flex;gap:2px}
.plate-sep{height:1px;background:var(--line);margin:6px 4px}
.plate-cap{padding:0 6px;font:400 13px/1.4 var(--font);color:var(--text-2)}
.modes{display:grid;gap:16px;margin-top:4px}
.modes > div{display:grid;gap:3px;align-content:start}
.modes dt{font:600 16px/1.3 var(--font);color:var(--text)}
.modes dd{margin:0;color:var(--text-2);font-size:15px;line-height:1.5}
@media (min-width:600px){.modes{grid-template-columns:1fr 1fr;gap:20px 28px}}
.pair{display:grid;grid-template-columns:minmax(0,1fr);gap:44px;margin-top:clamp(36px,5vw,56px);justify-items:center}
@media (min-width:860px){.pair{grid-template-columns:repeat(2,minmax(0,393px));justify-content:center;align-items:start;gap:48px}}
.shot{display:flex;flex-direction:column;gap:16px;width:100%;max-width:393px}
.shot figcaption{display:grid;grid-template-columns:26px minmax(0,1fr);gap:10px;font:400 15px/1.45 var(--font);color:var(--on-night-2)}
.shot figcaption b{width:26px;height:26px;border-radius:13px;background:rgba(255,255,255,.14);color:#FFFFFF;font:700 13px/26px var(--font);text-align:center}
.result{width:100%;max-width:393px;background:var(--surface);border-radius:18px;box-shadow:inset 0 0 0 1px var(--surface-line);padding:14px 16px;display:grid;gap:10px}
.result-row{display:grid;grid-template-columns:62px minmax(0,1fr);gap:10px;align-items:baseline}
.result-row .k{font:600 12px/16px var(--font);letter-spacing:.06em;text-transform:uppercase;color:var(--text-2)}
.result-row .v{font:400 16px/1.45 var(--font);color:var(--text)}
.result mark{background:var(--ink-tint);color:inherit;border-radius:3px;padding:0 1px;font-weight:600}
.art-cap{font:400 13px/1.4 var(--font);color:var(--text-2);text-align:center;max-width:393px}
.lights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;background:var(--kb-bg);border-radius:22px;padding:26px 12px 22px;margin-top:clamp(28px,4vw,44px)}
.light{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px}
.light svg{width:clamp(66px,13vw,120px);height:auto}
.light b{font:600 15px/1.3 var(--font);color:var(--key-text)}
.light span{font:400 13px/1.4 var(--font);color:var(--text-2);max-width:20em}
.mic-split{margin-top:clamp(44px,6vw,72px);align-items:start}
.mic-copy{display:flex;flex-direction:column;gap:14px;max-width:560px}
.mic-copy .h3 + p{margin-top:-4px}
.mic-copy .h3:not(:first-child){margin-top:14px}
.mic-art{display:flex;flex-direction:column;align-items:center;gap:22px;width:100%}
.limits{display:grid;margin-top:28px;border-top:1px solid var(--surface-line)}
.limits > div{padding:20px 0;border-bottom:1px solid var(--surface-line);display:grid;gap:6px;align-content:start}
.limits p{color:var(--text-2)}
@media (min-width:760px){.limits{grid-template-columns:1fr 1fr;column-gap:56px}}
.flow-card{width:100%;max-width:470px;justify-self:center;background:var(--surface);border-radius:22px;box-shadow:inset 0 0 0 1px var(--surface-line);padding:26px 14px 22px}
.flow{display:flex;align-items:flex-start;justify-content:space-between;gap:2px}
.flow-node{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.flow-node .i{width:46px;height:46px;border-radius:12px;background:var(--ink-tint);color:var(--ink-text);display:flex;align-items:center;justify-content:center}
.flow-node b{font:600 13px/1.25 var(--font);color:var(--text)}
.flow-node small{font:400 12px/1.3 var(--font);color:var(--text-2)}
.flow-arrow{margin-top:13px;color:var(--text-3);flex-shrink:0}
.more{display:inline-flex;align-items:center;gap:6px;font-weight:600}
.pricing-grid{align-items:start}
.plans{display:flex;flex-direction:column;gap:10px;width:100%}
.plans-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:2px}
.badge{height:26px;padding:0 10px;border-radius:13px;background:var(--ink-tint);color:var(--ink-text);font:600 12px/26px var(--font);white-space:nowrap}
.plan{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:16px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--surface-line)}
.plan-l{display:flex;flex-direction:column;gap:2px;min-width:0}
.plan-name{font:600 17px/22px var(--font);color:var(--text)}
.plan-d{font:400 14px/19px var(--font);color:var(--text-2)}
.plan-price{margin-left:auto;flex-shrink:0;text-align:right;font:800 20px/24px var(--brand-font);letter-spacing:-.01em;color:var(--head);font-variant-numeric:tabular-nums}
.plan-price small{display:block;font:400 12px/16px var(--font);letter-spacing:0;color:var(--text-2)}
.fine{font:400 13px/1.5 var(--font);color:var(--text-2)}
.sub{display:flex;flex-direction:column;gap:8px;max-width:720px;margin-top:clamp(56px,7vw,88px)}
.sub-h{font:800 clamp(22px,3vw,28px)/1.2 var(--brand-font);letter-spacing:-.01em;color:#FFFFFF}
.sub + .pair{margin-top:clamp(24px,3vw,36px)}
.points{list-style:none;display:grid;grid-template-columns:minmax(0,1fr);gap:22px;margin-top:clamp(44px,6vw,64px);padding-top:clamp(28px,4vw,40px);border-top:1px solid var(--night-line)}
@media (min-width:760px){.points{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}}
.points li{display:flex;flex-direction:column;gap:6px}
.points b{font:600 17px/1.35 var(--font);color:#FFFFFF}
.points span{font:400 15px/1.5 var(--font);color:var(--on-night-2)}

/* ---------- Footer ---------- */
.site-foot{background:var(--night);color:var(--on-night-2);padding-block:48px calc(48px + env(safe-area-inset-bottom,0px));font-size:14px;line-height:1.5}
.foot-in{display:grid;gap:28px}
@media (min-width:860px){.foot-in{grid-template-columns:1.3fr .8fr 1.3fr}}
.foot-brand{display:flex;flex-direction:column;gap:10px}
.foot-lock{display:flex;align-items:center;gap:10px}
.foot-lock .wordmark{color:#FFFFFF}
.site-foot a{color:var(--night-link)}
.foot-nav{display:flex;flex-direction:column;gap:6px}
.foot-meta{display:flex;flex-direction:column;gap:6px}

/* ---------- Support and privacy pages ---------- */
.page-head{background:var(--kb-bg);padding-block:clamp(24px,4vw,48px) clamp(36px,5vw,60px)}
.page-head .wrap{display:flex;flex-direction:column;gap:14px}
.page-head .lede{max-width:34em}
.doc-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;padding-block:clamp(32px,5vw,56px) clamp(72px,9vw,112px)}
@media (min-width:1000px){.doc-layout{grid-template-columns:220px minmax(0,1fr);gap:64px}}
.toc{align-self:start;border-radius:16px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--surface-line);padding:4px 16px}
@media (min-width:1000px){.toc{position:sticky;top:calc(env(safe-area-inset-top,0px) + 20px);background:transparent;box-shadow:none;padding:0}}
.toc summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 0;font:600 12px/16px var(--font);letter-spacing:.08em;text-transform:uppercase;color:var(--text-2)}
.toc summary::-webkit-details-marker{display:none}
.toc[open] summary svg{transform:rotate(180deg)}
.toc ol{list-style:none;display:flex;flex-direction:column;padding-bottom:10px}
.toc a{display:block;padding:6px 0;color:var(--text-2);text-decoration:none;font-size:14px;line-height:1.35}
.toc a:hover{color:var(--ink-text)}
.doc{max-width:68ch;display:flex;flex-direction:column;gap:14px;min-width:0}
.doc h2{font:800 24px/1.2 var(--brand-font);letter-spacing:-.01em;color:var(--head);margin-top:30px}
.doc > h2:first-child{margin-top:0}
.doc h3{font:600 17px/1.35 var(--font);color:var(--text);margin-top:6px}
.doc ul,.doc ol.plain{padding-left:1.3em;display:flex;flex-direction:column;gap:9px}
.doc li::marker{color:var(--ink-text)}
.doc .meta{font-size:15px;color:var(--text-2)}
.who{list-style:none;padding:0 !important;display:grid !important;gap:0 !important;border-top:1px solid var(--surface-line)}
.who li{display:grid;gap:3px;padding:12px 0;border-bottom:1px solid var(--surface-line)}
.who li b{font-weight:600}
.who li span{color:var(--text-2)}
.contact{background:var(--surface);border-radius:20px;box-shadow:inset 0 0 0 1px var(--surface-line);padding:20px;display:flex;flex-direction:column;gap:12px}
.email-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.email{font:600 18px/1.3 var(--font);color:var(--text);-webkit-user-select:all;user-select:all}
.copy-btn{height:36px;padding:0 14px 0 10px;border-radius:18px;border:0;background:var(--chip);color:var(--chip-text);box-shadow:0 1px 0 var(--key-shadow);font:600 14px/1 var(--font);display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.setup{list-style:none;padding:0 !important;display:flex;flex-direction:column;gap:14px !important;counter-reset:s}
.setup li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;align-items:start}
.setup li::before{counter-increment:s;content:counter(s);width:28px;height:28px;border-radius:14px;background:var(--ink-tint);color:var(--ink-text);font:700 14px/28px var(--font);text-align:center}
.uses{display:flex;flex-direction:column;gap:16px}
.uses dt{font:600 16px/1.35 var(--font);color:var(--text)}
.uses dd{margin:3px 0 0}
.faq{display:flex;flex-direction:column;border-top:1px solid var(--surface-line)}
.faq details{border-bottom:1px solid var(--surface-line)}
.faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;font:600 16px/1.4 var(--font);color:var(--text)}
.faq summary::-webkit-details-marker{display:none}
.faq summary svg{color:var(--text-2);transition:transform .2s}
.faq details[open] summary svg{transform:rotate(180deg)}
.faq .a{padding:0 0 18px;display:flex;flex-direction:column;gap:10px}
.faq .msgs{padding-left:1.3em;display:flex;flex-direction:column;gap:8px}
.kbd{font-weight:600}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation:none !important;transition:none !important}
}
