/* Micdrop website: "Soft spatial" (DESIGN.md). Layered translucent planes over a soft light field.
   Light is the material; the icon's orange appears as light and as the changed characters, never as fill.
   The scroll-driven mic drop (scroll-drop.js) draws into .app-icon, .close-icon and .drop-mic. */

:root{
  --ground:#f2f2f5;
  --ground-deep:#e9e9ef;
  --ink:#16181e;
  --ink-2:#4a505d;      /* 8.1:1 on white, 7.2:1 on ground */
  --ink-3:#5d6370;      /* 6.0:1 on white, 5.4:1 on ground */
  --hair:rgb(22 24 30/.08);
  --hair-2:rgb(22 24 30/.14);
  --glass:rgb(255 255 255/.58);
  --glass-strong:rgb(255 255 255/.8);
  --glass-edge:rgb(255 255 255/.85);
  --accent:#b3360f;     /* 6.1:1 on white */
  --accent-soft:#ffe6da;
  --apricot:255 150 108;
  --lilac:178 184 236;
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang TC","Noto Sans TC","Microsoft JhengHei","Segoe UI",sans-serif;
  --font-display:-apple-system,BlinkMacSystemFont,"SF Pro Display","PingFang TC","Noto Sans TC","Microsoft JhengHei","Segoe UI",sans-serif;
  --ease:cubic-bezier(.16,1,.3,1);
  --r-panel:32px;
  --r-card:24px;
  --r-inner:16px;
  --lift:0 1px 1px rgb(30 34 48/.04),0 8px 20px -8px rgb(30 34 48/.12),0 36px 72px -32px rgb(30 34 48/.22);
  --lift-high:0 1px 2px rgb(30 34 48/.05),0 14px 30px -12px rgb(30 34 48/.18),0 56px 110px -40px rgb(30 34 48/.32);
  --rim:inset 0 1px 0 rgb(255 255 255/.9),inset 0 0 0 1px rgb(255 255 255/.5);
  --gutter:40px;
  --section:clamp(96px,11vw,168px);
}

*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:96px;-webkit-text-size-adjust:100%;scrollbar-color:#c9cad3 var(--ground)}
body{margin:0;background:var(--ground);color:var(--ink);font:400 17px/1.85 var(--font);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:clip;
  padding-bottom:calc(var(--privacy-space,0px) + env(safe-area-inset-bottom))}
/* A whisper of grain keeps the large light fields from banding. */
body::before{content:"";position:fixed;inset:0;z-index:100;pointer-events:none;opacity:.035;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
::selection{background:var(--accent-soft);color:var(--ink)}
:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:10px}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-underline-offset:.22em;text-decoration-thickness:1px}
h1,h2,h3,h4,p,ol,ul,dl,dd,figure{margin:0}
p,dd,figcaption{text-wrap:pretty}
ol,ul{padding:0;list-style:none}
mark{background:none;color:inherit}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.icon{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip{position:absolute;left:16px;top:-80px;z-index:60;padding:10px 16px;border-radius:12px;background:var(--ink);color:#fff;text-decoration:none}
.skip:focus{top:16px}
.wrap{width:min(1240px,100% - var(--gutter)*2);margin-inline:auto}

/* ---------- Light: the page's material ---------- */
/* Under the content (z-index -1, above the page ground), so the washes never tint text. */
.light{position:absolute;z-index:-1;pointer-events:none;border-radius:50%;filter:blur(10px)}
.light-a{width:880px;height:720px;right:-160px;top:-180px;background:radial-gradient(closest-side,rgb(var(--apricot)/.34),rgb(var(--apricot)/.12) 55%,transparent)}
.light-b{width:980px;height:820px;left:-360px;top:120px;background:radial-gradient(closest-side,rgb(var(--lilac)/.42),rgb(var(--lilac)/.12) 60%,transparent)}
.light-c{width:900px;height:760px;left:-260px;top:12%;background:radial-gradient(closest-side,rgb(var(--lilac)/.34),transparent)}
.light-d{width:900px;height:620px;left:50%;top:38%;translate:-50% 0;background:radial-gradient(closest-side,rgb(var(--apricot)/.36),rgb(var(--apricot)/.1) 60%,transparent)}
.light-e{width:760px;height:560px;left:50%;top:0;translate:-50% 0;background:radial-gradient(closest-side,rgb(var(--apricot)/.3),transparent)}

/* ---------- Materials ---------- */
.glass{background:var(--glass);-webkit-backdrop-filter:blur(28px) saturate(1.5);backdrop-filter:blur(28px) saturate(1.5)}
.keycap{display:inline-grid;place-items:center;background:linear-gradient(180deg,#fff 0%,#f6f6f9 60%,#ececf1 100%);color:var(--ink);border-radius:18px;
  box-shadow:inset 0 1px 0 #fff,inset 0 -3px 0 rgb(22 24 30/.06),0 0 0 1px rgb(22 24 30/.07),0 2px 3px rgb(30 34 48/.08),0 14px 28px -12px rgb(30 34 48/.32)}
.keycap-talk{width:128px;height:112px;padding:14px 16px;grid-template-rows:1fr auto;justify-items:start;align-items:start;color:var(--accent)}
.keycap-talk .icon{width:34px;height:34px;stroke-width:1.7;justify-self:end}
.keycap-talk span{font:500 14px/1 var(--font);color:var(--ink-3);letter-spacing:.01em}

/* ---------- Top bar: a floating dock ---------- */
.topbar{position:sticky;top:0;z-index:40;padding:16px var(--gutter) 0;pointer-events:none}
.dock{pointer-events:auto;max-width:1240px;margin-inline:auto;display:flex;align-items:center;gap:8px;min-height:60px;padding:8px 8px 8px 18px;border-radius:999px;
  background:rgb(250 250 252/.66);-webkit-backdrop-filter:blur(24px) saturate(1.6);backdrop-filter:blur(24px) saturate(1.6);box-shadow:var(--rim),0 0 0 1px var(--hair),0 10px 30px -14px rgb(30 34 48/.22)}
.wordmark{display:inline-flex;align-items:center;gap:10px;font:600 18px/1 var(--font-display);letter-spacing:-.01em;text-decoration:none;color:var(--ink);margin-right:auto}
.wordmark img{width:30px;height:30px;filter:drop-shadow(0 3px 5px rgb(220 70 30/.22))}
.nav{display:flex;gap:2px}
.nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:999px;font-size:15px;font-weight:500;color:var(--ink-2);text-decoration:none;transition:background .3s var(--ease),color .3s var(--ease)}
.nav a:hover{background:rgb(22 24 30/.05);color:var(--ink)}
.dock-cta{display:inline-flex;align-items:center;margin-left:10px;padding:0 16px;min-height:36px;border-radius:999px;font-size:13px;font-weight:600;white-space:nowrap;text-decoration:none;color:#fff;background:linear-gradient(180deg,#2b2e37,#16181e);box-shadow:inset 0 1px 0 rgb(255 255 255/.16),0 1px 2px rgb(22 24 30/.2);transition:transform .4s var(--ease),box-shadow .4s var(--ease)}
.dock-cta:hover{transform:translateY(-1px);box-shadow:inset 0 1px 0 rgb(255 255 255/.16),0 8px 18px -8px rgb(22 24 30/.5)}
.lang{display:inline-grid;place-items:center;min-width:44px;min-height:44px;border-radius:999px;font:600 13px/1 var(--font);letter-spacing:.04em;color:var(--ink);text-decoration:none;background:#fff;box-shadow:0 0 0 1px var(--hair),0 2px 6px -2px rgb(30 34 48/.12)}
.lang:hover{background:var(--ink);color:#fff}

/* ---------- Buttons ---------- */
.actions{display:flex;flex-wrap:wrap;gap:12px}
.actions.center{justify-content:center}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:0 26px;border-radius:999px;font:600 16px/1 var(--font);text-decoration:none;transition:transform .4s var(--ease),box-shadow .4s var(--ease),background .3s var(--ease)}
.btn .icon{width:18px;height:18px;transition:translate .4s var(--ease)}
.btn-solid{color:#fff;background:linear-gradient(180deg,#2b2e37,#16181e);box-shadow:inset 0 1px 0 rgb(255 255 255/.16),0 1px 2px rgb(22 24 30/.2),0 14px 28px -12px rgb(22 24 30/.5)}
.btn-solid:hover{transform:translateY(-1px);box-shadow:inset 0 1px 0 rgb(255 255 255/.16),0 1px 2px rgb(22 24 30/.2),0 20px 36px -14px rgb(22 24 30/.55)}
.btn-solid:hover .icon{translate:3px 0}
.btn-glass{color:var(--ink);background:rgb(255 255 255/.66);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:var(--rim),0 0 0 1px var(--hair),0 10px 24px -14px rgb(30 34 48/.28)}
.btn-glass:hover{background:#fff;transform:translateY(-1px)}
.btn:active{transform:translateY(1px)}

/* ---------- Hero ---------- */
/* Move the entire hero, divider included, down 24px; the space below the divider absorbs it, so the section keeps its height. */
.hero{--hero-settle:calc(72px / 3);display:flow-root;position:relative;margin-top:-76px;padding:132px 0 0;overflow-x:clip}
.hero-grid{padding-top:var(--hero-settle);position:relative;display:grid;grid-template-columns:minmax(0,1fr) 340px;grid-template-areas:"sheet objects" "foot objects";gap:40px 64px;align-items:start}
.sheet{grid-area:sheet;position:relative;margin-top:28px;padding:56px 64px 60px;border-radius:var(--r-panel)}
/* 卡片的進場效果只作用於底板和文字，不讓裝飾圖繼承 scale。 */
.sheet::before{content:"";position:absolute;inset:0;border-radius:inherit;background:var(--glass);z-index:-1;
  -webkit-backdrop-filter:blur(30px) saturate(1.5);backdrop-filter:blur(30px) saturate(1.5);
  box-shadow:var(--rim),0 0 0 1px rgb(22 24 30/.05),var(--lift-high)}
h1{font:300 clamp(40px,5.1vw,74px)/1.3 var(--font-display);letter-spacing:-.02em;color:var(--ink);text-wrap:balance}
h1 .ln{display:block}
h1 b{font-weight:500}
.caret{display:inline-block;width:3px;height:.92em;margin-left:.08em;vertical-align:-.1em;border-radius:2px;background:#e8582c;animation:blink 1.1s steps(1) infinite}
@keyframes blink{50%{opacity:0}}

/* The floating voice bar, Micdrop's own HUD, hovers in front of the field. */
.hud{position:absolute;right:36px;top:-30px;display:flex;align-items:center;gap:12px;height:56px;padding:0 22px 0 20px;border-radius:999px;color:#fff;
  background:rgb(24 26 32/.84);-webkit-backdrop-filter:blur(20px) saturate(1.6);backdrop-filter:blur(20px) saturate(1.6);
  box-shadow:inset 0 1px 0 rgb(255 255 255/.14),0 0 0 1px rgb(22 24 30/.3),0 18px 36px -14px rgb(22 24 30/.55);font-size:15px;font-weight:500}
.wave{display:flex;align-items:center;gap:4px;height:26px}
.wave i{display:block;width:3.5px;height:40%;border-radius:2px;background:linear-gradient(180deg,#ffb08c,#ff6a3d)}
.wave i:nth-child(2){height:75%}.wave i:nth-child(3){height:100%}.wave i:nth-child(4){height:60%}.wave i:nth-child(5){height:90%}.wave i:nth-child(6){height:50%}.wave i:nth-child(7){height:30%}
.hud-state{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;min-width:76px}
.hud .done{display:none}
.hud .done .icon,.hud-static .icon{width:18px;height:18px;color:#ffb08c;stroke-width:2.2}

/* The icon's layer and the Option-key column fill one grid cell, so they have one height. Pinned below the dock by
   one rule, they pin and let go for the same scroll range: the hand stays in view as it lets go of the mic, and the
   key never slides over the icon. The icon stays in its own layer, under the falling mic; the key stays in front. */
.hero-col{grid-area:objects;align-self:stretch;display:grid;align-content:start}
.hero-col>*{grid-area:1/1;align-self:stretch}
.hero-art,.objects{position:sticky;top:96px}
.objects{display:grid;justify-items:center;gap:36px;padding-top:12px}
.app-icon,.app-icon-space{display:block;width:260px;aspect-ratio:1}
/* The Option column's spacer reserves the icon above the key. */
.hero-art{padding-top:12px;pointer-events:none}
.sheet h1{position:relative;z-index:1}
.sheet .hud{z-index:1}
/* The icon's drawn canvas is absolutely positioned: the icon, not the whole column, is its containing block. */
.hero-art .app-icon{position:relative;margin-inline:auto}
main>section>.wrap:not(.hero-grid),.footer{position:relative;z-index:1}
/* The hero is not one layer: its glass (z-index -1) stays under the falling mic so the release shows, while its
   headline, voice bar, Option key, lead and buttons (z-index 1) stay in front of it. */
.objects{z-index:1}
.hero-foot{position:relative;z-index:1}
.app-icon::before{content:"";position:absolute;inset:18% 6% -16%;border-radius:50%;background:radial-gradient(closest-side,rgb(255 110 60/.42),transparent);filter:blur(24px);z-index:-1}
.app-icon img,.app-icon .drop-canvas{width:100%;filter:drop-shadow(0 30px 34px rgb(196 60 20/.26)) drop-shadow(0 6px 10px rgb(30 34 48/.12))}
/* 下落圖層位於頁面背景之上、所有內容容器之下，不攔截點擊。 */
.app-icon picture{display:block}
.drop-canvas{position:absolute;inset:0;height:100%;pointer-events:none}
.drop-mic,.drop-loading{position:fixed;left:0;top:0;z-index:0;max-width:none;pointer-events:none;-webkit-user-select:none;user-select:none;will-change:transform,opacity;filter:drop-shadow(0 3px 6px rgb(30 34 48/.22))}
.drop-loading{filter:drop-shadow(0 30px 34px rgb(196 60 20/.26)) drop-shadow(0 6px 10px rgb(30 34 48/.12))}
.drop-floor{position:fixed;left:0;top:0;z-index:0;width:150px;height:14px;border-radius:50%;pointer-events:none;transform-origin:75px 7px;background:radial-gradient(closest-side,rgb(30 34 48/.4),rgb(30 34 48/0));will-change:transform,opacity}
.talk{display:grid;justify-items:center;gap:16px;text-align:center}
.talk figcaption{max-width:250px;font-size:14px;line-height:1.7;color:var(--ink-3)}
.talk strong{display:block;font-size:16px;font-weight:600;color:var(--ink);margin-bottom:2px}

.hero-foot{grid-area:foot;display:grid;gap:28px;padding-left:64px}
.hero-foot .actions{justify-self:start}
.lead{max-width:34em;font-size:19px;line-height:1.85;color:var(--ink-2)}
.specs{display:flex;flex-wrap:wrap;margin:72px 0 calc(var(--hero-settle) * -1);padding:20px 0;border-top:1px solid var(--hair-2);font-size:14px;color:var(--ink-3)}
.specs span{display:inline-flex;align-items:center}
.specs span+span::before{content:"";width:4px;height:4px;margin:0 16px;border-radius:50%;background:#c3c5ce}
.specs span:first-child{color:var(--ink);font-weight:500}

/* Signature moment: the headline lands like dictated text, once. */
@media (prefers-reduced-motion:no-preference){
  .sheet::before,.sheet h1{animation:rise 1.1s var(--ease) both}
  h1 .ln{animation:land .9s var(--ease) both}
  h1 .ln:nth-child(1){animation-delay:.55s}
  h1 .ln:nth-child(2){animation-delay:.85s}
  h1 .ln:nth-child(3){animation-delay:1.15s}
  .hero .hud{animation:rise .9s var(--ease) .2s both}
  .hero .wave i{animation:speak .62s ease-in-out infinite alternate;animation-iteration-count:4}
  .hero .wave i:nth-child(2n){animation-duration:.48s;animation-iteration-count:6}
  .hero .wave i:nth-child(3n){animation-duration:.72s;animation-iteration-count:4}
  .hero .hud .listen{animation:out .01s linear 2.1s both}
  .hero .hud .done{display:inline-flex;position:absolute;right:22px;animation:in .5s var(--ease) 2.1s both}
  .hero .hud{transition:none}
  .talk{animation:rise 1.2s var(--ease) .3s both}
}
/* Without motion, the field shows its finished state. */
@media (prefers-reduced-motion:reduce){
  .hero .hud .listen{display:none}
  .hero .hud .done{display:inline-flex}
  .caret{animation:none}
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}
@keyframes rise{from{opacity:0;transform:translateY(18px) scale(.985)}}
@keyframes land{from{opacity:0;filter:blur(10px);transform:translateY(8px)}}
@keyframes speak{to{transform:scaleY(.35)}}
@keyframes out{to{opacity:0;visibility:hidden}}
@keyframes in{from{opacity:0;transform:scale(.9)}}

/* ---------- Sections ---------- */
.section{position:relative;padding-top:var(--section);overflow-x:clip}
.section-head{display:grid;gap:20px;margin-bottom:64px}
.section-head.center{justify-items:center;text-align:center}
h2{font:300 clamp(32px,3.6vw,52px)/1.35 var(--font-display);letter-spacing:-.02em;color:var(--ink);text-wrap:balance}
.section-lead{max-width:36em;font-size:18px;color:var(--ink-2)}
.note{margin-top:32px;font-size:14px;line-height:1.75;color:var(--ink-3)}
.note.center{text-align:center}
h3{font:600 19px/1.5 var(--font);letter-spacing:-.005em}

/* How: one unbroken line of four steps, then the scene. */
.how .section-head{grid-template-columns:minmax(0,1fr) minmax(0,26em);align-items:end;gap:20px 64px}
.steps{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px;counter-reset:s}
.steps::before{content:"";position:absolute;left:28px;right:28px;top:28px;height:1px;background:linear-gradient(90deg,transparent,var(--hair-2) 6%,var(--hair-2) 94%,transparent)}
.steps li{position:relative;display:grid;align-content:start;gap:12px}
.keycap-num{width:56px;height:56px;border-radius:16px;font:500 20px/1 var(--font-display);color:var(--ink);margin-bottom:12px;font-variant-numeric:tabular-nums}
.steps li:nth-child(2) .keycap-num{color:var(--accent)}
.steps p{font-size:16px;line-height:1.8;color:var(--ink-2)}

.stage{position:relative;margin-top:96px;display:grid;grid-template-columns:minmax(0,1fr);padding:0 clamp(0px,6vw,120px)}
.stage::before{content:"";position:absolute;left:50%;top:-12%;width:min(1100px,120%);height:120%;translate:-50% 0;z-index:-1;pointer-events:none;border-radius:50%;background:radial-gradient(closest-side,rgb(var(--lilac)/.3),transparent)}
.window{position:relative;max-width:760px;width:100%;margin-inline:auto;border-radius:22px;background:rgb(255 255 255/.86);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);box-shadow:var(--rim),0 0 0 1px rgb(22 24 30/.06),var(--lift-high);overflow:hidden}
.window-bar{display:flex;align-items:center;gap:12px;height:48px;padding:0 18px;border-bottom:1px solid var(--hair);font-size:14px;color:var(--ink-3)}
.dots{display:flex;gap:7px}.dots i{width:11px;height:11px;border-radius:50%;background:#dcdde3}
.tag{margin-left:auto;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:500;color:var(--ink-3);background:var(--ground);box-shadow:0 0 0 1px var(--hair)}
.chat{display:grid;gap:18px;padding:32px 32px 36px}
.bubble{justify-self:start;max-width:80%;padding:12px 18px;border-radius:20px 20px 20px 6px;background:var(--ground-deep);font-size:16px;line-height:1.7}
.ghost{justify-self:end;font-size:15px;color:var(--ink-3);text-decoration:line-through;text-decoration-color:rgb(93 99 112/.6)}
.ghost mark{color:var(--ink-3)}
.field{position:relative;padding:16px 20px;border-radius:14px;background:#fff;box-shadow:0 0 0 1px var(--hair-2),0 0 0 4px rgb(232 88 44/.12);font-size:18px;line-height:1.7}
.field mark{color:var(--accent);font-weight:600;background:linear-gradient(transparent 62%,rgb(255 150 108/.24) 62%)}
.field .caret{height:1.1em;animation:none}
.hud-static{position:relative;right:auto;top:auto;justify-self:center;margin-top:-28px;z-index:2}
.keycap-stage{position:absolute;right:max(16px,calc(50% - 380px - 104px));bottom:60px;z-index:3}
.stage figcaption{margin-top:32px;max-width:40em;justify-self:center;text-align:center;font-size:14px;line-height:1.75;color:var(--ink-3)}

/* Uses: what you said sits behind, what Micdrop wrote floats in front. */
.uses .section-head{max-width:46em}
.pairs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 40px}
.pair{position:relative;display:grid}
.chip{display:inline-block;margin:0 0 12px -4px;padding:4px 12px;border-radius:999px;font-size:13px;font-weight:600;line-height:1.6;color:var(--ink-2);background:rgb(255 255 255/.7);box-shadow:0 0 0 1px var(--hair)}
/* The keys a case needs, as small keycaps inside the sentence that names them. */
.keys{margin:0 0 10px;font-size:14px;line-height:2.1;color:var(--ink-3)}
kbd{display:inline-block;margin:0 3px;padding:0 8px;border-radius:7px;font:600 13px/1.75 var(--font);color:var(--ink);white-space:nowrap;
  background:linear-gradient(180deg,#fff,#f4f4f7);box-shadow:inset 0 -1.5px 0 rgb(22 24 30/.07),0 0 0 1px rgb(22 24 30/.1),0 1px 2px rgb(30 34 48/.1)}
.said{padding:18px 28px 52px;border-radius:var(--r-card);background:rgb(233 233 239/.7);box-shadow:inset 0 0 0 1px rgb(22 24 30/.04);font-size:16px;line-height:1.8;color:var(--ink-2)}
.result{position:relative;margin:-30px 0 0 32px;padding:22px 28px;border-radius:var(--r-card);background:var(--glass-strong);-webkit-backdrop-filter:blur(24px) saturate(1.4);backdrop-filter:blur(24px) saturate(1.4);box-shadow:var(--rim),0 0 0 1px rgb(22 24 30/.05),var(--lift);font-size:18px;line-height:1.75;color:var(--ink)}
.result::before{content:"";position:absolute;left:-17px;top:28px;width:8px;height:8px;border-radius:50%;background:var(--ink);box-shadow:0 0 0 4px rgb(22 24 30/.08)}

/* Features: the real app as a floating window; details in a quiet list. */
.features-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);grid-template-areas:"head head" "shot list";gap:0 72px;align-items:start}
.features .section-head{grid-area:head}
.shot{grid-area:shot}
.shot-frame{padding:12px;border-radius:30px;background:rgb(255 255 255/.5);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);box-shadow:var(--rim),0 0 0 1px rgb(22 24 30/.05),var(--lift-high)}
.shot-frame img{border-radius:20px;width:100%}
.shot figcaption{margin-top:20px;padding-left:12px;font-size:14px;line-height:1.75;color:var(--ink-3)}
.feature-list{grid-area:list;display:grid}
.feature-list>div{padding:22px 0;border-top:1px solid var(--hair-2)}
.feature-list>div:last-child{border-bottom:1px solid var(--hair-2)}
.feature-list dt{font-size:18px;font-weight:600;line-height:1.5;margin-bottom:6px}
.feature-list dd{font-size:16px;line-height:1.8;color:var(--ink-2)}

/* Privacy: what stays near you sits in front; what goes online sits further back. */
.planes{position:relative;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr)}
.plane{border-radius:var(--r-panel)}
.plane-icon{display:block;width:26px;height:26px;color:var(--ink-3);margin-bottom:20px}
.plane-near{grid-column:1;grid-row:1;align-self:center;position:relative;z-index:2;margin-right:-56px;padding:40px;background:#fff;box-shadow:var(--rim),0 0 0 1px rgb(22 24 30/.06),var(--lift-high)}
.plane-near h3{font:300 clamp(26px,2.4vw,34px)/1.35 var(--font-display);letter-spacing:-.015em;margin-bottom:16px}
.plane-near p{color:var(--ink-2)}
.plane-far{grid-column:2;grid-row:1;padding:48px 48px 48px 112px;background:rgb(255 255 255/.42);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:inset 0 1px 0 rgb(255 255 255/.7),0 0 0 1px rgb(22 24 30/.05)}
.plane-far .fact{padding:20px 0;border-top:1px solid var(--hair)}
.plane-far .fact:first-of-type{border-top:0;padding-top:0}
.plane-far .fact:last-child{padding-bottom:0}
.plane-far h3{font-size:18px;font-weight:600;line-height:1.5;margin-bottom:6px}
.plane-far p{font-size:16px;line-height:1.8;color:var(--ink-2)}

/* Pricing: required buyout, then optional Updates. */
.pricing .section-head{margin-bottom:56px}
.plan{position:relative;max-width:980px;margin-inline:auto;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);border:2px solid transparent;border-radius:36px;background-image:linear-gradient(rgb(255 255 255/.86),rgb(255 255 255/.86)),linear-gradient(125deg,#ffb27a,#f0517a 55%,#b04ad6);background-origin:border-box;background-clip:padding-box,border-box;-webkit-backdrop-filter:blur(30px) saturate(1.4);backdrop-filter:blur(30px) saturate(1.4);box-shadow:var(--rim),0 30px 80px -36px rgb(214 64 72/.5),var(--lift-high);overflow:hidden}
.plan-price{padding:44px 48px;display:grid;align-content:center;gap:6px;background:radial-gradient(120% 90% at 0 0,rgb(255 196 150/.55),transparent 60%),radial-gradient(90% 80% at 100% 100%,rgb(244 114 150/.28),transparent 65%),#fff7f2}
.price{font:200 clamp(80px,9vw,120px)/1.05 var(--font-display);letter-spacing:-.045em;font-variant-numeric:tabular-nums lining-nums;color:var(--ink)}
.price .cur{font-size:clamp(24px,2.8vw,36px);font-weight:700;letter-spacing:0;vertical-align:.95em;margin-right:6px;color:inherit}
.sale-amount{display:inline-block;font-weight:800;white-space:nowrap;color:#b23b20}
@supports ((background-clip:text) or (-webkit-background-clip:text)){
  .sale-amount{background-image:linear-gradient(105deg,#c2410c 0%,#d42f50 50%,#a21caf 100%);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent;padding-right:.04em}
}
.price-was{font-size:19px;font-weight:500;color:var(--ink-2)}
.price .launch{display:block;font:700 17px/1.5 var(--font);letter-spacing:0;color:var(--accent)}
.price-was s{color:var(--ink-3);text-decoration:line-through 2px #d42f50}
.plan-once{font-size:19px;font-weight:600;color:var(--ink)}
.save-meter{display:grid;grid-template-columns:5fr 3fr;margin-top:14px;border-radius:999px;overflow:hidden;font:600 13px/1.3 var(--font);box-shadow:inset 0 0 0 1px rgb(178 59 32/.18)}
.save-meter span{display:grid;place-items:center;padding:9px 12px;min-width:0;text-align:center}
.save-meter .paid{background:linear-gradient(105deg,#b3360f,#be1e4a);color:#fff}
.save-meter .saved{background:repeating-linear-gradient(135deg,#ffe6da 0 6px,#fff1ea 6px 12px);color:#9c321c}
.plan-side{display:grid;align-content:center;gap:28px;padding:40px 48px;border-left:1px solid rgb(214 64 72/.14)}
.plan-terms li{display:flex;gap:14px;padding:16px 0;font-size:17px;line-height:1.7;border-top:1px solid var(--hair)}
.plan-terms li:first-child{border-top:0;padding-top:0}
.plan-terms .icon{flex:none;margin-top:4px;color:var(--accent);stroke-width:2.2}
.plan-action{display:grid;gap:12px}
.btn-sale{color:#fff;background:linear-gradient(105deg,#b3360f,#be1e4a 60%,#9b1d8f);box-shadow:inset 0 1px 0 rgb(255 255 255/.22),0 1px 2px rgb(120 20 40/.25),0 16px 30px -12px rgb(190 30 74/.55)}
.btn-sale:hover{transform:translateY(-1px);box-shadow:inset 0 1px 0 rgb(255 255 255/.22),0 1px 2px rgb(120 20 40/.25),0 22px 38px -14px rgb(190 30 74/.6)}
.btn-sale:hover .icon{translate:3px 0}
.plan-status{display:flex;align-items:center;justify-content:center;gap:8px;font-size:15px;font-weight:600;color:var(--ink-2)}
.plan-status i{width:8px;height:8px;border-radius:50%;background:#c3c5ce}
.savings-badge{justify-self:start;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;padding:10px 16px;margin-bottom:12px;border-radius:999px;background:linear-gradient(105deg,#b3360f,#be1e4a);color:#fff;font-size:16px;font-weight:700;line-height:1.5;box-shadow:0 10px 22px -12px rgb(190 30 74/.7)}
.savings-badge span{padding:0 9px;border-radius:999px;background:#fff;color:#9c321c;font-size:14px;font-weight:800}
@media (forced-colors:active){
  .sale-amount{background:none;color:CanvasText;-webkit-text-fill-color:CanvasText}
  .save-meter{display:none}
  .plan,.savings-badge,.btn-sale{border:1px solid CanvasText}
  .btn-sale{background-image:none;background-color:ButtonFace}
  .savings-badge{background-image:none;background-color:Canvas}
}
.updates-intro,.pricing-notes,.potential-updates{max-width:920px;margin-inline:auto}
.updates-intro{margin-top:56px}
.updates-intro h3,.potential-updates h3{font:400 clamp(24px,3vw,32px)/1.4 var(--font-display);margin-bottom:12px}
.updates-intro p,.pricing-notes p,.potential-updates p,.potential-updates li{font-size:16px;line-height:1.85;color:var(--ink-2)}
.comparison-hint{max-width:920px;margin:20px auto 12px;font-size:14px;color:var(--ink-2)}
.comparison-scroll{overflow-x:auto;border:1px solid var(--hair);border-radius:20px;background:#fff;scroll-margin-top:110px}
.pricing-table{width:100%;min-width:1000px;border-collapse:separate;border-spacing:0;font-size:15px;line-height:1.7;text-align:left;font-variant-numeric:tabular-nums}
.pricing-table caption{text-align:left;padding:20px 24px;color:var(--ink-2)}
.pricing-table caption span{display:block;max-width:min(75vw,800px)}
.pricing-table th,.pricing-table td{padding:20px 18px;border-top:1px solid var(--hair);vertical-align:top}
.pricing-table thead th{font-size:14px;color:var(--ink-2);font-weight:600;background:#f4f4f6}
.pricing-table th[scope="row"]{position:sticky;left:0;z-index:1;min-width:160px;max-width:180px;background:#fff;border-right:1px solid var(--hair);font-weight:600}
.pricing-table thead th:first-child{position:sticky;left:0;z-index:1;border-right:1px solid var(--hair)}
.pricing-table td{min-width:190px}
.pricing-table tbody tr:nth-child(2) td,.pricing-table tbody tr:nth-child(3) td{white-space:nowrap;font-size:18px;font-weight:600}
.pricing-table small{display:block;font-size:13px;color:var(--ink-2);margin-top:6px}
.pricing-table .annual{background:#fff4ed}
.cadence-saving{display:block;margin-top:8px;color:var(--accent);font-size:13px;font-weight:600}
.pricing-notes{display:grid;gap:14px;margin-top:24px}
.potential-updates{margin-top:40px;padding-top:28px;border-top:1px solid var(--hair)}
.potential-updates ul{list-style:disc;padding-left:22px;margin-top:16px}
.potential-updates li+li{margin-top:12px}
@media(max-width:600px){.pricing-table{width:758px;min-width:758px;table-layout:fixed}.pricing-table thead th:first-child{width:118px}.pricing-table th[scope="row"]{min-width:118px;max-width:132px;font-size:14px}.pricing-table td{min-width:0}.pricing-table th,.pricing-table td{padding:16px 12px}.updates-intro{margin-top:36px}}

/* Pricing summaries: flat cards above the retained semantic comparison. */
.pricing .price{font-weight:600;font-size:clamp(72px,8.5vw,112px)}
.tier-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:32px 0 72px}
.tier-card{display:flex;flex-direction:column;min-width:0;padding:28px 24px;border:1px solid var(--hair);border-radius:24px;background:#fff}
.tier-card.annual{border-color:var(--accent);background:#fff4ed}
.tier-label{align-self:flex-start;font-size:13px;font-weight:600;line-height:1.6;color:var(--ink-2);margin-bottom:16px}
.annual .tier-label{color:var(--accent)}
.tier-card h4{font-size:21px;font-weight:650;line-height:1.4;min-height:2.8em}
.tier-price{margin-top:28px;font-size:48px;font-weight:650;line-height:1.15;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.tier-price span{font-size:22px;letter-spacing:-.02em;margin-right:3px}
.tier-period{font-size:15px;font-weight:600;margin-top:8px}
.tier-equivalent{font-size:14px;color:var(--ink-2);margin-top:8px}
.tier-base{font-size:14px;line-height:1.7;margin-top:20px;padding-top:20px;border-top:1px solid var(--hair)}
.tier-action{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 12px;margin-top:24px;border:1px solid var(--hair);border-radius:999px;font-size:15px;font-weight:600;text-align:center;text-decoration:none;color:var(--ink);background:#fff}
.annual .tier-action{background:var(--ink);color:#fff;border-color:var(--ink)}
.tier-action:hover{border-color:var(--ink)}
.tier-card ul{margin-top:24px;padding-top:20px;border-top:1px solid var(--hair);font-size:14px;line-height:1.8}
.tier-card li+li{margin-top:12px;font-weight:600}
.comparison-title{font-size:32px;font-weight:600;text-align:center;margin-bottom:24px}
.pricing-table thead th{background:#fff;font-size:16px;color:var(--ink);padding-block:28px}
.pricing-table .annual{background:#fff4ed}
@media(max-width:1100px){.tier-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.tier-card h4{min-height:0}}
@media(max-width:600px){.tier-cards{grid-template-columns:minmax(0,1fr);gap:20px;margin-bottom:48px}.tier-card{padding:28px}.tier-price{margin-top:24px}.comparison-title{font-size:26px}}

/* FAQ */
.faq-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:0 72px;align-items:start}
.faq-grid .section-head{position:sticky;top:120px}
.faq{border-radius:var(--r-panel);padding:8px 36px;background:rgb(255 255 255/.55);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:var(--rim),0 0 0 1px rgb(22 24 30/.05),var(--lift)}
.faq details{border-top:1px solid var(--hair)}
.faq details:first-child{border-top:0}
.faq summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:72px;padding:14px 0;font-size:18px;font-weight:500;cursor:pointer;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary .icon{width:18px;height:18px;color:var(--ink-3);transition:rotate .4s var(--ease)}
.faq details[open] summary .icon{rotate:45deg;color:var(--accent)}
.faq summary:hover{color:var(--accent)}
.faq details p{padding:0 40px 24px 0;font-size:16px;line-height:1.85;color:var(--ink-2);max-width:40em}

/* Close */
.close{padding-bottom:var(--section);overflow:clip}
.close-inner{position:relative;display:grid;justify-items:center;text-align:center;gap:20px}
.close-objects{display:flex;align-items:flex-end;gap:20px;margin-bottom:24px}
.close-icon{position:relative;display:block;width:176px}
.close-icon img,.close-icon .drop-canvas{width:100%;filter:drop-shadow(0 20px 24px rgb(196 60 20/.24))}
.close-objects .keycap{width:104px;height:92px}
.close p{max-width:30em;color:var(--ink-2)}

/* Footer */
.footer{border-top:1px solid var(--hair-2);background:rgb(255 255 255/.4)}
.footer-inner{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"mark nav" "line line";gap:16px 40px;padding:36px 0 44px;align-items:center}
.footer .wordmark{grid-area:mark;font-size:16px;margin:0}
.footer .wordmark img{width:26px;height:26px}
.footer p{grid-area:line;font-size:14px;color:var(--ink-3)}
.footer nav{grid-area:nav;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px 6px}
.footer nav a,.footer nav button{display:inline-flex;align-items:center;min-height:44px;padding:0 10px;border:0;border-radius:10px;background:none;font:500 14px/1 var(--font);color:var(--ink-2);text-decoration:none;cursor:pointer}
.footer nav a:hover,.footer nav button:hover{color:var(--ink);background:rgb(22 24 30/.05)}
.footer nav button{text-decoration:underline;text-underline-offset:.3em;text-decoration-color:var(--hair-2)}
noscript p{padding:16px 0;font-size:14px}

/* ---------- Privacy controls (existing first-party module) ---------- */
html{scroll-padding-bottom:calc(var(--privacy-space,0px) + env(safe-area-inset-bottom))}
.privacy-banner,.privacy-toast{position:fixed;z-index:50;left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));margin-inline:auto;border-radius:24px;
  background:rgb(252 252 253/.82);-webkit-backdrop-filter:blur(28px) saturate(1.6);backdrop-filter:blur(28px) saturate(1.6);box-shadow:var(--rim),0 0 0 1px var(--hair),var(--lift-high)}
.privacy-banner{max-width:1160px;max-height:calc(100dvh - 32px);overflow:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px 32px;padding:20px 24px}
.privacy-banner[hidden]{display:none}
/* Wide screens: a compact card at the bottom right, on the content's right edge, so the hero actions on the left
   stay clear at any window height (docs/2026-11-08-privacy-overlay.md). */
@media (min-width:821px){
  .privacy-banner{max-width:520px;margin-left:auto;margin-right:0;right:max(16px,calc((100vw - 1240px)/2));grid-template-columns:minmax(0,1fr);gap:12px}
  .privacy-banner .privacy-actions{max-width:none}
}
.privacy-banner h2{font:600 16px/1.45 var(--font);letter-spacing:0;margin-bottom:4px}
.privacy-banner p{font-size:14px;line-height:1.65;color:var(--ink-2);max-width:80ch}
.privacy-toast{width:fit-content;display:flex;align-items:center;gap:8px 16px;padding:8px 8px 8px 20px;font-size:14px;line-height:1.6}
.privacy-toast[data-empty]{clip-path:inset(50%);width:1px;height:1px;padding:0;overflow:hidden;box-shadow:none}
.privacy-toast p{margin:0}
.privacy-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.privacy-banner .privacy-actions{margin-top:0;max-width:360px}
.privacy-actions button,.privacy-dialog-heading button,.privacy-withdraw,.privacy-toast button{min-height:44px;padding:8px 18px;border:0;border-radius:999px;background:#fff;color:var(--ink);font:600 14px/1.4 var(--font);cursor:pointer;box-shadow:0 0 0 1px var(--hair-2),0 2px 6px -3px rgb(30 34 48/.2)}
.privacy-actions button:hover,.privacy-dialog-heading button:hover,.privacy-withdraw:hover,.privacy-toast button:hover{background:var(--ink);color:#fff}
.privacy-dialog{width:min(700px,calc(100% - 32px));max-height:calc(100dvh - 48px);overscroll-behavior:contain;overflow:auto;padding:32px;border:0;border-radius:var(--r-panel);background:rgb(252 252 253/.94);color:var(--ink);box-shadow:var(--rim),0 0 0 1px var(--hair),var(--lift-high)}
.privacy-dialog::backdrop{background:rgb(233 233 239/.55);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.privacy-dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}
.privacy-dialog h2{font:400 26px/1.4 var(--font-display)}
.privacy-dialog h3{font-size:17px;margin:24px 0 10px}
.privacy-dialog p{font-size:15px;line-height:1.8;margin-bottom:14px;color:var(--ink-2)}
.privacy-categories{display:grid;gap:12px;padding:16px 18px;margin:20px 0;border-radius:16px;background:var(--ground)}
.privacy-categories label{display:flex;align-items:center;gap:10px;color:var(--ink-3);font-size:15px}
.privacy-categories input{width:20px;height:20px;flex:none;accent-color:var(--accent)}
.privacy-categories .privacy-switch:has(input:not(:disabled)){color:var(--ink);font-weight:600}
.privacy-dialog .privacy-category-note{margin:-4px 0 4px 30px;font-size:14px;line-height:1.7;color:var(--ink-3)}
.privacy-withdraw{margin-top:8px;max-width:100%}
#privacy-dialog-status{padding:12px 16px;margin-top:20px;border-radius:14px;background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent);color:var(--ink)}
.privacy-toast :focus-visible{outline-offset:2px}
@media (prefers-reduced-motion:no-preference){
  .privacy-banner,.privacy-toast:not([data-empty]){animation:privacy-in .32s var(--ease) both}
}
@keyframes privacy-in{from{opacity:0;translate:0 12px}}

/* ---------- Terms and privacy pages ---------- */
.legal-nav{display:flex;flex-wrap:wrap;gap:2px}
.legal-nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:999px;font-size:15px;font-weight:500;color:var(--ink-2);text-decoration:none}
.legal-nav a:hover{background:rgb(22 24 30/.05);color:var(--ink)}
.legal-nav a[aria-current=page]{color:var(--ink);background:#fff;box-shadow:0 0 0 1px var(--hair)}
.legal{position:relative;max-width:860px;margin:40px auto 96px;padding:56px 64px 64px;border-radius:var(--r-panel);background:rgb(255 255 255/.72);
  -webkit-backdrop-filter:blur(24px) saturate(1.4);backdrop-filter:blur(24px) saturate(1.4);box-shadow:var(--rim),0 0 0 1px rgb(22 24 30/.05),var(--lift);overflow-wrap:anywhere}
.legal h1{font:300 clamp(34px,4.2vw,52px)/1.3 var(--font-display);letter-spacing:-.02em}
.legal-intro{margin-top:20px;font-size:18px;color:var(--ink-2)}
.legal section{margin-top:48px;padding-top:40px;border-top:1px solid var(--hair)}
.legal h2{font:400 clamp(24px,2.4vw,30px)/1.4 var(--font-display);letter-spacing:-.01em;margin-bottom:16px}
.legal p{max-width:72ch;font-size:16px;line-height:1.9;color:var(--ink-2)}
.legal p+p{margin-top:16px}
.legal strong{color:var(--ink)}
.legal code{font:500 .92em/1 ui-monospace,SFMono-Regular,Menlo,monospace;padding:2px 6px;border-radius:6px;background:var(--ground)}
.legal a{color:var(--accent)}
.legal-table{overflow:auto;margin:24px 0;border-radius:16px;background:#fff;box-shadow:0 0 0 1px var(--hair)}
.legal table{border-collapse:collapse;width:100%;font-size:15px;line-height:1.7}
.legal th,.legal td{text-align:left;vertical-align:top;padding:14px 16px;border-bottom:1px solid var(--hair);overflow-wrap:anywhere}
.legal tr:last-child td{border-bottom:0}
.legal th{background:var(--ground);font-weight:600}
.legal caption{text-align:left;padding:14px 16px;font-weight:600}
.footer-inner>.back{grid-area:mark;font-size:15px;font-weight:600;color:var(--ink);text-decoration:none}
.footer-inner>.back:hover{text-decoration:underline}

/* ---------- Responsive ---------- */
@media (max-width:1180px){
  .keycap-stage{display:none}
  .privacy-banner{grid-template-columns:minmax(0,1fr);gap:12px}
  .privacy-banner .privacy-actions{max-width:none}
  .nav a{padding:0 10px;font-size:14px}
  .hero-grid{grid-template-columns:minmax(0,1fr) 260px;gap:40px 40px}
  .app-icon,.app-icon-space{width:200px}
  .sheet{padding:48px 48px 52px}
  .hero-foot{padding-left:48px}
}
@media (max-width:1020px){
  .dock{flex-wrap:wrap;border-radius:30px;row-gap:2px}
  .nav{order:5;width:100%;justify-content:center;border-top:1px solid var(--hair);padding-top:4px;margin:0 10px 0 0}
  .hero{margin-top:-128px;padding-top:164px}
  html{scroll-padding-top:140px}
  .hero-art,.objects{top:140px}
  .steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 40px}
  .steps::before{display:none}
  .features-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "shot" "list";gap:0}
  .feature-list{margin-top:48px;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px}
  .feature-list>div:last-child{border-bottom:0}
  .planes{grid-template-columns:minmax(0,1fr)}
  .plane-near{grid-column:1;grid-row:1;margin:0 32px -40px;align-self:auto}
  .plane-far{grid-column:1;grid-row:2;padding:88px 40px 40px}
  .faq-grid{grid-template-columns:minmax(0,1fr)}
  .faq-grid .section-head{position:static}
  .how .section-head{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:820px){
  .hero{--hero-settle:0px}
  :root{--gutter:24px}
  .hero-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"sheet" "objects" "foot";gap:32px}
  .hero-art,.objects{position:relative;top:auto}
  .objects{grid-template-columns:minmax(0,1fr);justify-items:center;gap:24px;padding:0 8px}
  .hero-art{padding-top:0}
  .app-icon,.app-icon-space{width:116px}
  .talk{grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center;gap:16px}
  .talk figcaption{max-width:none}
  .hero-foot{padding-left:0}
  .plan{grid-template-columns:minmax(0,1fr)}
  .plan-side{border-left:0;border-top:1px solid rgb(214 64 72/.14);padding:28px 36px 32px}
  .plan-price{padding:40px 36px 32px}
  .pairs{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:820px){
  /* The hero actions sit low on the first screen here, so the banner overlays the page just below the dock and
     scrolls away with it (docs/2026-11-08-privacy-overlay.md); the footer button reopens the choices. */
  body:has(.hero) .privacy-banner{position:absolute;top:calc(var(--privacy-top,88px) + 8px);bottom:auto}
}
@media (max-width:640px){
  :root{--gutter:16px;--section:88px}
  body{font-size:16px}
  .topbar{padding-top:10px}
  .dock{min-height:56px;padding:6px 6px 6px 14px}
  .wordmark{font-size:17px}
  .dock-cta{margin-left:0;padding:0 12px;flex:none}
  .hero{margin-top:-118px;padding-top:144px}
  .nav{justify-content:space-between;margin-right:8px;min-width:0;overflow-x:auto;scrollbar-width:none}
  .nav::-webkit-scrollbar{display:none}
  .nav a{padding:0 6px;min-height:40px;white-space:nowrap}
  :lang(en) .nav a{padding:0 3px;font-size:13px}
  .sheet{margin-top:24px;padding:40px 22px 30px;border-radius:26px}
  h1{font-size:clamp(30px,8.6vw,40px);line-height:1.4;letter-spacing:-.01em}
  .hud{right:16px;top:-24px;height:46px;padding:0 16px 0 14px;font-size:13px;gap:9px}
  .hero .hud .done{right:16px}
  .wave{height:20px;gap:3px}.wave i{width:3px}
  .objects{gap:18px;padding:0 4px}
  .app-icon,.app-icon-space{width:96px}
  .talk .keycap{width:96px;height:84px;padding:12px 13px}
  .talk figcaption{font-size:14px}
  .lead{font-size:17px}
  .actions .btn{flex:1 1 auto;padding:0 20px}
  .specs{margin-top:40px;font-size:13px}
  .specs span+span::before{margin:0 10px}
  .section-head{margin-bottom:40px}
  h2{font-size:clamp(28px,7.6vw,34px)}
  .section-lead{font-size:17px}
  .steps{grid-template-columns:minmax(0,1fr);gap:28px;padding-left:0}
  .steps li{grid-template-columns:48px minmax(0,1fr);column-gap:18px;row-gap:4px}
  .steps li .keycap-num{grid-row:span 2;width:48px;height:48px;font-size:18px;margin:0}
  .steps::before{display:block;left:24px;right:auto;top:24px;bottom:24px;width:1px;height:auto;background:var(--hair-2)}
  .steps h3{font-size:17px}
  .stage{margin-top:56px;padding:0}
  .chat{padding:20px 16px 48px;gap:14px}
  .bubble{font-size:15px;max-width:92%}
  .ghost{font-size:14px}
  .field{font-size:16px;padding:14px 16px}
  .hud-static{margin-top:-22px}
  .keycap-stage{display:none}
  .stage figcaption{font-size:13px;margin-top:22px;padding:0 8px}
  .pairs{gap:36px}
  .said{padding:16px 22px 46px}
  .result{margin:-28px 0 0 18px;padding:18px 20px;font-size:17px}
  .result::before{left:-13px;width:8px;height:8px}
  .shot-frame{padding:8px;border-radius:22px}
  .shot-frame img{border-radius:15px}
  .feature-list{grid-template-columns:minmax(0,1fr)}
  .feature-list>div:last-child{border-bottom:1px solid var(--hair-2)}
  .plane-near{margin:0 12px -32px;padding:28px 24px}
  .plane-far{padding:64px 24px 28px;border-radius:26px}
  .plan{border-radius:28px}
  .plan-price{padding:32px 22px 24px}
  .plan-side{padding:24px 22px 26px;gap:22px}
  .save-meter{font-size:12px}
  .save-meter span{padding:8px 6px}
  .plan-terms li{font-size:16px}
  .faq{padding:4px 20px;border-radius:24px}
  .faq summary{font-size:17px;min-height:64px}
  .faq details p{padding-right:8px}
  .close-icon{width:120px}
  .close-objects .keycap{width:84px;height:76px}
  .footer-inner{grid-template-columns:minmax(0,1fr);grid-template-areas:"mark" "nav" "line";gap:12px}
  .footer nav{justify-content:flex-start;margin-left:-10px}
  .privacy-banner{padding:14px 16px;gap:10px}
  .privacy-banner h2{font-size:15px}
  .privacy-banner p{font-size:13px;line-height:1.6}
  .privacy-actions{gap:8px}
  .privacy-actions button{flex:1 1 auto}
  .privacy-banner .privacy-actions button{padding:8px 12px}
  .legal{margin:24px auto 64px;padding:32px 22px 40px;border-radius:26px}
  .legal section{margin-top:36px;padding-top:32px}
  .legal-nav a{padding:0 8px;font-size:14px}
}

@media (max-width:640px){.br-wide{display:none}}
/* The section links need two rows on the narrowest phones (English from 374px, Chinese from 340px); the hero
   starts that much lower. */
@media (max-width:340px){
  :lang(zh-Hant) .nav{flex-wrap:wrap;justify-content:center;overflow:visible}
  :lang(zh-Hant) .hero{margin-top:-158px;padding-top:184px}
  html:lang(zh-Hant){scroll-padding-top:180px}
}
@media (max-width:374px){
  /* Keeps the waitlist button and the language switch on the wordmark's row. */
  .dock{column-gap:4px}
  .wordmark{gap:8px;font-size:16px}
  .dock-cta{padding:0 10px;font-size:12px}
  :lang(en) .nav{flex-wrap:wrap;justify-content:center;overflow:visible}
  :lang(en) .hero{margin-top:-158px;padding-top:184px}
  html:lang(en){scroll-padding-top:180px}
}

/* 候補表單沿用現有按鈕與玻璃色系；窄螢幕自然換行。 */
.waitlist-form{width:min(100%,620px);text-align:left;display:grid;gap:12px}
.waitlist-form label{font-weight:600}
.waitlist-fields{display:flex;flex-wrap:wrap;gap:12px}
.waitlist-fields input{min-width:0;flex:1 1 240px;min-height:54px;border:1px solid var(--hair-2);border-radius:18px;background:var(--glass-strong);color:var(--ink);padding:12px 18px;font:400 17px/1.4 var(--font)}
.waitlist-fields button{flex:1 0 auto;border:0;cursor:pointer}
.waitlist-fields button:disabled{opacity:.65;cursor:wait;transform:none}
.waitlist-form .waitlist-status{min-height:3.4em;font-size:16px;line-height:1.7}
.waitlist-status[data-state="error"]{color:var(--accent)}
