/* KVoice site. Plain CSS, no build step.
   Colours are the apps' own tokens: the Mac app's UI v2 palette (orange =
   voice, blue = cursor, ink = the icon's navy) for the site and the Mac
   mockups, iOS system colours for the iPhone mockups. Every token is a
   light/dark pair. Mockups are drawn in em, where 1em is one point of the
   device they show (see .desk and .scr). */

:root {
  color-scheme: light dark;
  --bg: #ffffff; --bg2: #f5f5f7; --surface: #ffffff; --sidebar: #f1f1f4;
  --line: #e3e3e8; --line2: #ececf0; --text: #1d1d1f; --text2: #5e5e66;
  --fill: #ededf1; --fill2: #e2e2e8;
  --voice: #f26b1d; --voice-btn: #e35f12; --voice-ink: #b84a0b; --voice-soft: #fff1e8;
  --cursor: #2f6feb; --cursor-ink: #1f5bd6; --cursor-soft: #eaf1fe; --select: #dce6fb;
  --ink: #161d33; --ink2: #2a3556; --ink-text: #e4e8f4;
  --ok: #1e8e4e; --ok-ink: #17703d; --ok-soft: #e9f6ee;
  --warn: #e39a00; --warn-ink: #8a5300; --warn-soft: #fff4e0;
  --err: #d0342c;
  --key: #ffffff; --key-line: #d9d9df; --hud: #ffffff; --meter-off: #d9d9df; --grey: #8a8a93;
  /* iOS system colours */
  --i-blue: #007aff; --i-red: #ff3b30; --i-green: #34c759; --i-orange: #ff9500; --i-indigo: #5856d6; --i-purple: #af52de;
  --i-bg: #f2f2f7; --i-cell: #ffffff; --i-sep: rgba(60, 60, 67, .18); --i-label: #000000; --i-label2: rgba(60, 60, 67, .6);
  --i-kb: #d1d3d9; --i-key: #ffffff; --i-fkey: #adb2bc; --i-glass: rgba(255, 255, 255, .62);
  /* Call-to-action fills: white text on them is at least 4.5:1 in both modes. */
  --cta-voice: #b34a0b; --cta-voice2: #a5430a; --cta-cursor: #2a67e3; --cta-cursor2: #1f5bd6; --cta-ios: #0066d6;
  --i-blue-text: #0066d6;
  --shadow: 0 1px 2px rgba(22, 29, 51, .06), 0 8px 28px rgba(22, 29, 51, .08);
  --shadow-lg: 0 2px 6px rgba(10, 14, 30, .12), 0 24px 60px rgba(10, 14, 30, .22);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1160px;
  --r: 16px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121319; --bg2: #1c1d22; --surface: #26272d; --sidebar: #24252b;
    --line: #3a3b43; --line2: #32333a; --text: #f2f2f5; --text2: #a3a4ae;
    --fill: #35363e; --fill2: #41424b;
    --voice: #ff7a2f; --voice-btn: #f26b1d; --voice-ink: #ffa36b; --voice-soft: #3a2416;
    --cursor-ink: #8ab0fa; --cursor-soft: #1e2a45; --select: #2b3b5e;
    --ink: #121933; --ink2: #26304f; --ink-text: #d5daea;
    --ok: #3dcb7a; --ok-ink: #6bdb9a; --ok-soft: #183324;
    --warn: #ffb940; --warn-ink: #ffc966; --warn-soft: #3a2c12;
    --err: #ff6159;
    --key: #3a3b43; --key-line: #4a4b55; --hud: #23252e; --meter-off: #4a4b55; --grey: #6e6e78;
    --i-blue: #0a84ff; --i-red: #ff453a; --i-green: #30d158; --i-orange: #ff9f0a; --i-indigo: #5e5ce6; --i-purple: #bf5af2;
    --i-bg: #000000; --i-cell: #1c1c1e; --i-sep: rgba(84, 84, 88, .6); --i-label: #ffffff; --i-label2: rgba(235, 235, 245, .6);
    --i-kb: #2b2b2d; --i-key: #6b6b6f; --i-fkey: #474749; --i-glass: rgba(40, 40, 44, .62);
    --i-blue-text: #0a84ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px rgba(0, 0, 0, .35);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .4), 0 24px 60px rgba(0, 0, 0, .55);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 var(--font); overflow-x: hidden; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
:lang(zh-Hans) body, body:lang(zh-Hans) { line-height: 1.7; }
img, video, svg { max-width: 100%; }
a { color: var(--cursor-ink); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cursor); outline-offset: 3px; border-radius: 6px; }
code, kbd { font-family: var(--mono); font-size: .88em; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
.nw { white-space: nowrap; }
:lang(zh-Hans) h1, :lang(zh-Hans) h2, :lang(zh-Hans) h3 { letter-spacing: 0; line-height: 1.3; }
h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 750; }
h3 { font-size: 22px; font-weight: 700; }
p { margin: 0 0 1em; }
.i { width: 1em; height: 1em; display: inline-block; vertical-align: -.14em; flex: none; fill: currentColor; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); color: var(--text); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--text2); }
.center { text-align: center; }

/* ---------- header ---------- */
.bar { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(1.8) blur(18px); -webkit-backdrop-filter: saturate(1.8) blur(18px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.bar-in { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; height: 56px; display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -.01em; margin-right: auto; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; gap: 2px; }
.nav a { color: var(--text); text-decoration: none; font-size: 14.5px; padding: 7px 11px; border-radius: 999px; white-space: nowrap; }
.nav a:hover { background: var(--fill); }
.nav a[aria-current="page"] { background: var(--cursor-soft); color: var(--cursor-ink); font-weight: 600; }
.lang, .gh { font-size: 14px; color: var(--text); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.lang:hover, .gh:hover { border-color: var(--text2); }
.gh .i { font-size: 16px; }
@media (max-width: 860px) {
  .bar-in { flex-wrap: wrap; height: auto; padding-top: 8px; padding-bottom: 0; row-gap: 4px; }
  .nav { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; margin: 0 -8px; padding: 0 8px 8px; }
  .nav::-webkit-scrollbar { display: none; }
  .gh span { display: none; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; font: 600 16px/1 var(--font); text-decoration: none; padding: 14px 20px; border-radius: 14px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap; }
.btn .i { font-size: 19px; }
.btn small { display: block; font-weight: 500; font-size: 12px; opacity: .92; margin-top: 4px; }
.btn > span { display: flex; flex-direction: column; align-items: flex-start; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-voice { background: linear-gradient(180deg, var(--cta-voice), var(--cta-voice2)); color: #fff; box-shadow: 0 6px 22px rgba(242, 107, 29, .35), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-cursor { background: linear-gradient(180deg, var(--cta-cursor), var(--cta-cursor2)); color: #fff; box-shadow: 0 6px 22px rgba(47, 111, 235, .35), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; border-color: color-mix(in srgb, currentColor 35%, transparent); }
.btn-ghost:hover { border-color: currentColor; }
.btn-plain { background: var(--fill); color: var(--text); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cmd { min-width: 0; display: inline-flex; align-items: center; gap: 0; max-width: 100%; border-radius: 12px; border: 1px solid var(--line); background: var(--bg2); font: 14px/1 var(--mono); overflow: hidden; }
.cmd code { min-width: 0; padding: 12px 14px; font-size: 14px; white-space: nowrap; overflow-x: auto; color: var(--text); }
.cmd code::before { content: "$ "; color: var(--text2); }
.cmd button { flex: none; white-space: nowrap; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--text2); padding: 0 13px; align-self: stretch; cursor: pointer; font: 600 13px var(--font); display: inline-flex; align-items: center; gap: 6px; }
.cmd button:hover { color: var(--text); background: var(--fill); }
.cmd button[hidden] { display: none; }
.dark-zone .cmd { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.dark-zone .cmd code { color: #fff; }
.dark-zone .cmd button { color: #c9cfe2; border-color: rgba(255, 255, 255, .16); }
.dark-zone .cmd button:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* ---------- hero ---------- */
/* Mockups keep the real app colours inside the always-dark hero. */
.dark-zone .mac-frame, .dark-zone .phone-frame { --text: #1d1d1f; --text2: #5e5e66; --line: #e3e3e8; --fill: #ededf1; color: var(--text); }
@media (prefers-color-scheme: dark) { .dark-zone .mac-frame, .dark-zone .phone-frame { --text: #f2f2f5; --text2: #a3a4ae; --line: #3a3b43; --fill: #35363e; } }
.dark-zone { color: var(--ink-text); --text: #f2f2f5; --text2: #b9bfd3; --line: rgba(255, 255, 255, .14); --fill: rgba(255, 255, 255, .08); }
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 520px at 12% 108%, rgba(214, 74, 40, .30), transparent 62%), radial-gradient(900px 600px at 92% -10%, rgba(47, 111, 235, .38), transparent 60%), linear-gradient(180deg, #161d33 0%, #1d2647 55%, #121933 100%); padding: 64px 0 72px; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(180deg, #000, transparent 75%); z-index: -1; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 650; letter-spacing: .02em; color: #ffd2b5; margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 72px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #ffb02e, #ff6a2b 45%, #2f6feb); }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); font-weight: 800; letter-spacing: -.035em; color: #fff; margin: 0 0 20px; }
:lang(zh-Hans) .hero h1 { letter-spacing: 0; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #ffb02e, #ff7a2f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: #c9cfe2; max-width: 34em; margin-bottom: 28px; }
.hero .fine { font-size: 14px; color: #a7aec6; margin: 18px 0 0; }
.hero .fine a { color: #c6d6ff; }
.hero-visual { position: relative; min-width: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 18px; }
.hero-actions span { font: 600 13px/1 var(--font); padding: 7px 12px; border-radius: 999px; color: #c9cfe2; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background .3s, color .3s, border-color .3s; }
.hero-actions span.cur { background: #1e2a45; color: #8ab0fa; border-color: #2f6feb; }
@media (max-width: 960px) { .hero-in { grid-template-columns: 1fr; gap: 36px; } .hero { padding: 40px 0 52px; } }

.page-hero { padding: 56px 0 40px; background: linear-gradient(180deg, var(--bg2), var(--bg)); border-bottom: 1px solid var(--line2); }
.page-hero.dark-zone { background: radial-gradient(800px 420px at 90% -20%, rgba(47, 111, 235, .35), transparent 60%), linear-gradient(180deg, #161d33, #121933); border: 0; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px; }
.page-hero .lead { font-size: 19px; color: var(--text2); max-width: 40em; }
.page-hero.dark-zone h1 { color: #fff; }
.crumbs { font-size: 14px; color: var(--text2); margin: 0 0 14px; }
.crumbs a { color: inherit; }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; }
@media (max-width: 860px) { .ph-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- sections ---------- */
.sec { padding: 88px 0; }
.sec.alt { background: var(--bg2); }
.sec-head { max-width: 760px; margin: 0 0 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; }
.sec-head p:not(.kicker) { font-size: 19px; color: var(--text2); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--voice-ink); margin: 0 0 12px; }
.kicker.blue { color: var(--cursor-ink); }
:lang(zh-Hans) .kicker { letter-spacing: .04em; }
@media (max-width: 700px) { .sec { padding: 60px 0; } .sec-head p:not(.kicker) { font-size: 17px; } }

/* strip of facts */
.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; padding: 22px 20px; margin: 0; list-style: none; border-bottom: 1px solid var(--line2); font-size: 15px; color: var(--text2); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts .i { color: var(--voice); font-size: 18px; }

/* product cards on the home page */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product { position: relative; display: flex; flex-direction: column; border-radius: 26px; padding: 34px 32px 0; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.product.mac { background: linear-gradient(160deg, color-mix(in srgb, var(--voice-soft) 75%, var(--surface)), var(--surface) 55%); }
.product.ios { background: linear-gradient(160deg, color-mix(in srgb, var(--cursor-soft) 85%, var(--surface)), var(--surface) 55%); }
.product header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.product header img { width: 64px; height: 64px; }
.product.ios header img { border-radius: 15px; box-shadow: 0 4px 14px rgba(22, 29, 51, .2); }
.product h3 { font-size: 26px; margin: 0; }
.product .meta { font-size: 14px; color: var(--text2); margin: 2px 0 0; }
.product ul { padding: 0; margin: 0 0 22px; list-style: none; }
.product li { position: relative; padding-left: 26px; margin: 8px 0; }
.product li .i { position: absolute; left: 0; top: .28em; color: var(--ok); }
.product .cta { margin-bottom: 26px; }
.product .peek { margin: auto -32px 0; padding: 0 24px; display: flex; justify-content: center; }
@media (max-width: 900px) { .products { grid-template-columns: 1fr; } .product { padding: 26px 22px 0; } .product .peek { margin: auto -22px 0; } }

/* generic grid of feature cards */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.card { border-radius: var(--r); padding: 22px; background: var(--surface); border: 1px solid var(--line); }
.sec.alt .card { box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 18px; margin: 12px 0 6px; letter-spacing: -.01em; }
.card p { font-size: 15px; color: var(--text2); margin: 0; }
.tile { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--ink); font-size: 20px; }
.tile.voice { background: var(--voice); } .tile.cursor { background: var(--cursor); } .tile.ok { background: var(--ok); } .tile.grey { background: var(--grey); }
.tile.i-blue { background: var(--i-blue); } .tile.i-grad { background: linear-gradient(135deg, var(--i-indigo), var(--i-purple)); }

/* the 13 AI actions, drawn like the AI Actions page */
.actions { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.action { position: relative; border-radius: 10px; padding: 14px 14px 14px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, background .2s, transform .2s; }
.action:hover { border-color: var(--cursor); background: var(--cursor-soft); transform: translateY(-2px); }
.action .emo { width: 32px; height: 32px; border-radius: 8px; background: var(--fill); display: grid; place-items: center; font-size: 17px; }
.action b { display: block; font-size: 15px; margin: 10px 0 3px; }
.action p { font-size: 13.5px; color: var(--text2); margin: 0; line-height: 1.45; }
.action .k { position: absolute; top: 14px; right: 14px; font: 600 11px/1 var(--mono); color: var(--text2); background: var(--fill); padding: 4px 6px; border-radius: 6px; }
.action .trig { display: block; font-size: 12px; color: var(--cursor-ink); margin-top: 6px; }

/* tables */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line2); vertical-align: top; }
thead th { background: var(--bg2); font-size: 13.5px; color: var(--text2); font-weight: 650; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 600; }
td .yes { color: var(--ok-ink); font-weight: 600; }
td .no { color: var(--text2); }
.min { min-width: 640px; }

/* steps (tutorials) */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 44px 0; border-top: 1px solid var(--line2); }
.step:first-child { border-top: 0; padding-top: 8px; }
.step .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 700 15px/1 var(--font); color: #fff; background: var(--cta-voice2); margin-bottom: 14px; }
.ios-zone .step .num { background: var(--cta-ios); }
.step h3 { font-size: clamp(22px, 2.6vw, 28px); }
.step .txt p, .step .txt li { color: var(--text2); }
.step .txt ol, .step .txt ul { padding-left: 1.2em; margin: 0 0 1em; }
.step .txt li { margin: 6px 0; }
.step .txt li b, .step .txt p b { color: var(--text); }
.step .vis { min-width: 0; display: flex; justify-content: center; }
.step:nth-child(even) .txt { order: 2; }
.path { display: inline; font-weight: 600; color: var(--text); }
.path .sep { color: var(--text2); margin: 0 .25em; font-weight: 400; }
.note { font-size: 15px; border-left: 3px solid var(--cursor); background: var(--cursor-soft); color: var(--text); padding: 12px 14px; border-radius: 0 10px 10px 0; margin: 14px 0; }
.note.warm { border-color: var(--voice); background: var(--voice-soft); }
@media (max-width: 860px) { .step { grid-template-columns: 1fr; gap: 26px; padding: 36px 0; } .step:nth-child(even) .txt { order: 0; } }

/* FAQ */
.faq-list { max-width: 860px; margin: 0 auto; }
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 650; font-size: 18px; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--text2); border-bottom: 2px solid var(--text2); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
details.faq[open] summary::after { transform: translateY(-30%) rotate(225deg); }
details.faq .a { padding: 0 0 20px; color: var(--text2); }
details.faq .a p:last-child { margin-bottom: 0; }
details.adv { border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; margin: 16px 0; background: var(--surface); }
details.adv summary { cursor: pointer; padding: 13px 0; font-weight: 650; color: var(--text); }
details.adv[open] summary { border-bottom: 1px solid var(--line2); margin-bottom: 10px; }

/* video */
.video { position: relative; border-radius: 18px; overflow: hidden; background: #0c1022; box-shadow: var(--shadow-lg); aspect-ratio: 1200 / 828; max-width: 960px; margin: 0 auto; }
.video video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* screenshot strip */
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 520px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 18px; margin: 0 -20px; scrollbar-width: thin; }
.shots figure { margin: 0; scroll-snap-align: start; }
.shots img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); background: var(--ink); }
.shots figcaption { font-size: 14px; color: var(--text2); margin-top: 10px; }

/* comparison of the two apps */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .vs { grid-template-columns: 1fr; } }

/* privacy points */
.priv { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.priv .card ul { margin: 10px 0 0; padding-left: 1.1em; color: var(--text2); font-size: 15.5px; }
.priv .card li { margin: 7px 0; }
@media (max-width: 760px) { .priv { grid-template-columns: 1fr; } }

/* final call to action */
.final { text-align: center; padding: 90px 0; }
.final h2 { color: #fff; }
.final p { color: #c9cfe2; font-size: 19px; }
.final .cta { justify-content: center; margin-top: 26px; }

/* prose pages (privacy, support) */
.prose { max-width: 800px; }
.prose h2 { font-size: 30px; margin-top: 1.6em; }
.prose h3 { font-size: 21px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 6px 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.toc a { display: inline-block; font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--fill); color: var(--text); text-decoration: none; }
.toc a:hover { background: var(--cursor-soft); color: var(--cursor-ink); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .two { grid-template-columns: minmax(0, 1fr); } }

/* footer */
.foot { background: var(--bg2); border-top: 1px solid var(--line2); padding: 52px 0 40px; font-size: 14.5px; color: var(--text2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.foot .foot-h { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--text); margin: 0 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 7px 0; }
.foot a { color: var(--text2); text-decoration: none; }
.foot a:hover { color: var(--text); text-decoration: underline; }
.foot .brand { margin-bottom: 10px; }
.foot .legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line2); font-size: 13px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* scroll reveal: only with .anim, so no-JS and reduced motion see everything */
.anim .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.anim .rv.in { opacity: 1; transform: none; }

/* =====================================================================
   Animated mockups. A stage ([data-steps]) plays its steps while in view;
   step n puts .on on every child whose data-show includes n. The markup's
   own .on classes are the finished frame (reduced motion, no JS).
   ===================================================================== */
[data-show]:not(.on) { opacity: 0; visibility: hidden; }
[data-show].gone:not(.on) { display: none; }
.anim [data-show] { transition: opacity .28s ease, visibility .28s, transform .34s cubic-bezier(.34, 1.3, .64, 1); }
.anim .still, .anim .still * { transition: none !important; }
.stage .fx { transition: opacity .38s ease; }
.anim .stage.out .fx { opacity: 0; }
.stage:not(.live) *, .stage:not(.live) *::before, .stage:not(.live) *::after { animation-play-state: paused !important; }
.swap { display: grid; }
.swap > * { grid-area: 1 / 1; min-width: 0; }
.anim .swap > [data-show]:not(.on) { transition-duration: 0s !important; }
.tw-c { display: none; font-size: inherit !important; }
.tw-c.r { display: inline; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -.18em; background: var(--cursor); }
.anim .live .caret { animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Mac desktop ---------- */
.mac-frame { width: 100%; max-width: 640px; container-type: inline-size; margin: 0 auto; }
.desk { --u: calc(100cqw / 600); font-size: 1px; font-size: calc(100cqw / 600); position: relative; width: 600em; height: 440em; border-radius: 14em; overflow: hidden; font-family: var(--font); color: var(--text); background: radial-gradient(160em 120em at 18% 92%, rgba(255, 106, 43, .55), transparent 70%), radial-gradient(220em 160em at 88% 8%, rgba(47, 111, 235, .7), transparent 70%), linear-gradient(160deg, #2a3556, #161d33 60%, #0c1022); box-shadow: 0 30em 70em rgba(0, 0, 0, .45), 0 0 0 1em rgba(255, 255, 255, .12) inset; }
.menubar { position: absolute; inset: 0 0 auto; height: calc(24 * var(--u)); display: flex; align-items: center; gap: calc(16 * var(--u)); padding: 0 calc(12 * var(--u)); font-size: 12.5em; color: #fff; background: rgba(20, 24, 40, .38); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.menubar > * { font-size: 1em; }
.menubar b { font-weight: 700; }
.menubar .r { margin-left: auto; display: flex; align-items: center; gap: calc(12 * var(--u)); font-size: 1em; }
.menubar .r svg { width: 1.45em; height: 1.15em; color: #fff; }
.menubar .kvi { position: relative; padding: .15em .35em; border-radius: .35em; display: flex; }
.menubar .kvi.hot { background: rgba(255, 255, 255, .22); }
.menubar .kvi .dot { position: absolute; right: -.05em; top: .05em; width: .42em; height: .42em; border-radius: 50%; background: var(--voice); }
.win { position: absolute; left: 50em; top: 44em; width: 500em; height: 206em; border-radius: 12em; background: var(--bg); box-shadow: 0 0 0 .6em rgba(0, 0, 0, .18), 0 22em 50em rgba(0, 0, 0, .45); overflow: hidden; }
@media (prefers-color-scheme: dark) { .hud { box-shadow: 0 10em 28em rgba(0, 0, 0, .45), 0 0 0 .5em rgba(255, 255, 255, .14); } .win { background: #1e1e21; box-shadow: 0 0 0 .6em rgba(255, 255, 255, .14), 0 22em 50em rgba(0, 0, 0, .6); } }
.win-bar { height: 30em; display: flex; align-items: center; gap: 8em; padding: 0 12em; border-bottom: 1em solid var(--line2); background: var(--bg2); }
.win-bar i { width: 12em; height: 12em; border-radius: 50%; background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; } .win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { flex: 1; text-align: center; font-size: 13em; font-weight: 600; color: var(--text2); margin-right: calc(44 * var(--u)); }
.win-bar span * { font-size: 1em; }
.doc { padding: calc(18 * var(--u)) calc(26 * var(--u)); font-size: 15em; line-height: 1.5; color: var(--text); }
.doc > * { font-size: 1em; }
.doc p { margin: 0 0 .55em; }
.doc .dim { color: var(--text2); }
.doc ul { margin: 0 0 .5em; padding-left: 1.2em; }
.doc li { margin: 0 0 .15em; }
.doc .todo { list-style: none; padding-left: 0; }
.doc .todo li::before { content: "☐ "; color: var(--text2); }
.doc .out { display: block; }
.keys { position: absolute; left: 50%; bottom: 150em; transform: translateX(-50%); display: flex; gap: 6em; align-items: center; }
.keycap { min-width: 30em; height: 30em; padding: 0 8em; border-radius: 7em; display: grid; place-items: center; color: var(--text); background: var(--key); border: 1em solid var(--key-line); box-shadow: 0 1.5em 0 var(--key-line), 0 6em 16em rgba(0, 0, 0, .3); transition: transform .12s cubic-bezier(.34, 1.56, .64, 1), box-shadow .12s ease; }
.keycap span { font: 600 14em/1 var(--font); }
.keycap > * { font-size: 1em; }
.keycap.wide { min-width: 30em; padding: 0 12em; }
.keys .keycap.dn { transform: translateY(2em); box-shadow: 0 0 0 var(--key-line), 0 3em 8em rgba(0, 0, 0, .25); }
.keys .lbl { font-size: 11.5em; color: rgba(255, 255, 255, .8); margin-left: calc(6 * var(--u)); white-space: nowrap; }

/* ---------- the recorder HUD (Mini), 316 x 54 ---------- */
.hud-pos { position: absolute; left: 50%; bottom: 40em; transform: translateX(-50%); }
.hud { position: relative; width: 316em; min-height: 54em; padding: 0 14em 0 11em; display: flex; flex-direction: column; justify-content: center; background: var(--hud); border-radius: 27em; box-shadow: 0 10em 28em rgba(22, 29, 51, .16), 0 0 0 .5em rgba(22, 29, 51, .14); color: var(--text); font-family: var(--font); transform-origin: 50% 100%; }
.hud.tall { border-radius: 18em; padding-top: 11em; padding-bottom: 12em; }
.anim .hud-pos[data-show] { transition: opacity .2s ease-out, visibility .2s, transform .34s cubic-bezier(.34, 1.56, .64, 1); }
.anim .hud-pos[data-show]:not(.on) { transform: translateX(-50%) translateY(6em) scale(.92); transition-duration: .18s; }
.hud-row { display: flex; align-items: center; gap: 10em; min-height: 54em; }
.hud.tall .hud-row { min-height: 30em; }
.glyph { position: relative; width: 30em; height: 30em; flex: none; }
.glyph > * { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; }
.g-ring { border: 2.5em solid var(--voice); }
.anim .live .g-ring { animation: ring .7s ease-in-out infinite; }
@keyframes ring { 50% { opacity: .4; } }
.g-rec { background: var(--voice); color: #fff; box-shadow: 0 0 0 4em var(--voice-soft); }
.anim .live .g-rec { animation: halo .9s ease-in-out infinite alternate; }
@keyframes halo { from { box-shadow: 0 0 0 2em var(--voice-soft); } to { box-shadow: 0 0 0 7em var(--voice-soft); } }
.g-rec svg, .g-done svg { width: 15em; height: 15em; }
.g-spin { background: var(--cursor-soft); }
.g-spin::after { content: ""; position: absolute; inset: 8em; border-radius: 50%; border: 2em solid var(--cursor); border-right-color: transparent; border-bottom-color: transparent; }
.anim .live .g-spin::after { animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.g-done { background: var(--cursor); color: #fff; }
.anim .live .g-done.on svg path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .24s .06s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.anim .glyph > [data-show] { transition: opacity .22s ease, visibility .22s, transform .26s cubic-bezier(.34, 1.56, .64, 1); }
.anim .glyph > [data-show]:not(.on) { transform: scale(.45); }
.hud-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1em; }
.hud-title { display: flex; align-items: center; gap: 6em; min-width: 0; }
.hud-title b { font-size: 13em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hud-sub { font-size: 11em; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip { display: inline-flex; align-items: center; gap: calc(4 * var(--u)); height: 18em; padding: 0 7em; border-radius: 9em; background: var(--cursor-soft); color: var(--cursor-ink); white-space: nowrap; flex: none; }
.chip span { font: 700 10em/1 var(--font); }
.chip span + span { font-variant-numeric: tabular-nums; }
.hud-trail { display: flex; align-items: center; gap: 10em; flex: none; }
.meter { display: flex; align-items: center; gap: 2em; height: 22em; }
.meter i { width: 3em; border-radius: 1.5em; background: var(--voice); height: 6em; transition: height .07s linear; }
.meter.off i { background: var(--meter-off); height: 6em !important; }
.meter i:nth-child(1) { height: 8em; } .meter i:nth-child(2) { height: 14em; } .meter i:nth-child(3) { height: 20em; } .meter i:nth-child(4) { height: 12em; } .meter i:nth-child(5) { height: 7em; }
.anim .live .meter:not(.off) i { animation: lvl .42s ease-in-out infinite alternate; transform-origin: center; }
.anim .live .meter:not(.off) i:nth-child(2) { animation-duration: .36s; animation-delay: -.2s; }
.anim .live .meter:not(.off) i:nth-child(3) { animation-duration: .5s; animation-delay: -.1s; }
.anim .live .meter:not(.off) i:nth-child(4) { animation-duration: .38s; animation-delay: -.3s; }
.anim .live .meter:not(.off) i:nth-child(5) { animation-duration: .46s; animation-delay: -.15s; }
@keyframes lvl { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
.clock { font: 600 12em/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--text2); min-width: 2.8em; text-align: right; }
.clock.dim { opacity: .45; }
.anim .hud-trail[data-show]:not(.on) .meter i { transform: translateX(-16em) scaleY(.4); }
.live-words { padding-left: calc(40 * var(--u)); margin-top: calc(8 * var(--u)); font-size: 13em; line-height: 1.4; color: var(--text); max-height: 2.8em; overflow: hidden; }
.live-words .w { color: var(--text2); }
.live-words .w.n { color: var(--text); }
.anim .live-words .w { display: none; }
.anim .live .live-words .w.r { display: inline; animation: word .16s ease-out both; }
@keyframes word { from { opacity: 0; filter: blur(4px); } to { opacity: 1; filter: none; } }
.hud-pos.notch { bottom: auto; top: 24em; }
.notch-hud { width: 380em; min-height: 44em; padding: 0 16em 0 12em; display: flex; flex-direction: column; justify-content: center; background: #000; color: #fff; border-radius: 0 0 18em 18em; box-shadow: 0 0 0 1em rgba(255, 255, 255, .14); }
.notch-hud .hud-row { min-height: 44em; }
.notch-hud .glyph { width: 24em; height: 24em; }
.notch-hud .hud-title b { font-size: 12em; }
.notch-hud .hud-sub, .notch-hud .clock { color: #a3a4ae; }
.notch-hud .chip { background: #1e2a45; color: #8ab0fa; }
.notch-hud .live-words { padding-left: calc(34 * var(--u)); font-size: 12em; color: #fff; max-height: 1.4em; margin: calc(-4 * var(--u)) 0 calc(8 * var(--u)); }
.notch-hud .g-rec { box-shadow: 0 0 0 3em #3a2416; background: #ff7a2f; }
.notch-hud .meter i { background: #ff7a2f; }

/* the menu-bar status panel, 320 wide */
.panel { width: 320em; border-radius: 22em; background: var(--surface); box-shadow: 0 0 0 .5em var(--line), 0 18em 40em rgba(0, 0, 0, .35); padding: 10em; font-family: var(--font); color: var(--text); }
.panel-card { border-radius: 14em; padding: 12em; background: var(--bg2); display: flex; flex-direction: column; gap: 8em; }
.panel-card .row { display: flex; align-items: center; gap: 10em; }
.panel-card .start { display: flex; align-items: center; gap: calc(8 * var(--u)); height: calc(30 * var(--u)); padding: 0 calc(12 * var(--u)); border-radius: calc(8 * var(--u)); background: var(--voice-btn); color: #fff; font: 600 13em/1 var(--font); }
.panel-card .start svg { width: 1.1em; height: 1.1em; }
.panel-card .meta { font-size: 11em; color: var(--text2); }
.panel .ph { font: 600 11em/1 var(--font); color: var(--text2); margin: calc(12 * var(--u)) calc(6 * var(--u)) calc(6 * var(--u)); }
.panel-row { display: flex; align-items: center; gap: 9em; padding: 6em; border-radius: 7em; }
.panel-row.sel { background: var(--select); }
.panel-row .pt { width: 22em; height: 22em; border-radius: 6em; display: grid; place-items: center; color: #fff; background: var(--voice); flex: none; }
.panel-row .pt svg { width: 13em; height: 13em; }
.panel-row .pt.b { background: var(--cursor); } .panel-row .pt.g { background: var(--grey); }
.panel-row .l { font-size: 13em; flex: 1; }
.panel-row .v { font-size: 12em; color: var(--text2); }
.panel-row .chev { width: 10em; height: 10em; color: var(--text2); }
.sw { width: 32em; height: 19em; border-radius: 10em; background: var(--fill2); position: relative; flex: none; transition: background .25s; }
.sw::after { content: ""; position: absolute; left: 2em; top: 2em; width: 15em; height: 15em; border-radius: 50%; background: #fff; box-shadow: 0 1em 3em rgba(0, 0, 0, .25); transition: transform .25s cubic-bezier(.34, 1.4, .64, 1); }
.sw.on-sw { background: var(--cursor); }
.sw.on-sw::after { transform: translateX(13em); }
.chips-row { display: flex; flex-wrap: wrap; gap: 5em; padding: 2em 6em 6em; }
.pchip { display: inline-flex; align-items: center; gap: 4em; height: 22em; padding: 0 9em; border-radius: 11em; background: var(--fill); color: var(--text); }
.pchip span { font: 600 11em/1 var(--font); }
.pchip.sel { background: var(--cursor); color: #fff; }
.pchip em { font-style: normal; font: 600 10em/1 var(--mono); opacity: .7; }

/* settings-style Mac window (onboarding, models) */
.mwin { width: 560em; border-radius: 12em; overflow: hidden; background: var(--bg); box-shadow: 0 0 0 .6em var(--line), 0 18em 46em rgba(0, 0, 0, .3); font-family: var(--font); color: var(--text); }
.mwin .win-bar { height: 28em; }
.mwin-body { padding: 16em 18em 18em; }
.mwin .mh { font-size: 20em; font-weight: 700; margin: 0 0 calc(4 * var(--u)); letter-spacing: -.01em; }
.mwin .sub { font-size: 12em; color: var(--text2); margin: 0 0 calc(12 * var(--u)); }
.mrow { display: flex; align-items: center; gap: 10em; padding: 10em 12em; border-radius: 10em; background: var(--surface); box-shadow: 0 0 0 1em var(--line); margin-bottom: 8em; }
.mrow .t { flex: 1; min-width: 0; }
.mrow .t b { display: block; font-size: 13em; font-weight: 600; }
.mrow .t span { display: block; font-size: 11em; color: var(--text2); }
.mrow .tl { width: 26em; height: 26em; border-radius: 7em; display: grid; place-items: center; color: #fff; background: var(--voice); flex: none; }
.mrow .tl svg { width: 15em; height: 15em; }
.mrow .tl.ok { background: var(--ok); } .mrow .tl.b { background: var(--cursor); } .mrow .tl.ink { background: var(--ink); }
.pill { display: inline-flex; align-items: center; gap: 5em; height: 20em; padding: 0 8em; border-radius: 10em; background: var(--fill); color: var(--text2); white-space: nowrap; }
.pill span { font: 600 11em/1 var(--font); }
.pill::before { content: ""; width: 6em; height: 6em; border-radius: 50%; background: currentColor; }
.pill.ok { background: var(--ok-soft); color: var(--ok-ink); }
.pill.warn { background: var(--warn-soft); color: var(--warn-ink); }
.pill.b { background: var(--cursor-soft); color: var(--cursor-ink); }
.mbtn { display: inline-flex; align-items: center; height: 24em; padding: 0 11em; border-radius: 6em; background: var(--cursor); color: #fff; white-space: nowrap; }
.mbtn span { font: 600 12em/1 var(--font); }
.mbtn.plain { background: var(--surface); color: var(--text); box-shadow: 0 0 0 1em var(--line); }
.bar-prog { height: 5em; border-radius: 3em; background: var(--fill); overflow: hidden; margin-top: 6em; }
.bar-prog i { display: block; height: 100%; width: 100%; background: var(--cursor); border-radius: 3em; }
.anim .live .bar-prog.on i { animation: fill 2.2s cubic-bezier(.3, .6, .4, 1) both; }
@keyframes fill { from { width: 4%; } to { width: 100%; } }
.term { width: 560em; border-radius: 12em; overflow: hidden; background: #15171d; box-shadow: 0 0 0 .6em rgba(255, 255, 255, .1), 0 18em 46em rgba(0, 0, 0, .35); font-family: var(--mono); color: #e7e9ef; }
.term .win-bar { background: #23252c; border-color: #000; }
.term .win-bar span { color: #9da3b4; }
.term-body { padding: calc(14 * var(--u)) calc(16 * var(--u)); font-size: 13em; line-height: 1.6; min-height: calc(150 * var(--u)); }
.term-body > * { font-size: 1em; }
.term-body p { margin: 0; white-space: pre-wrap; }
.term .ps { color: #7ee787; }
.term .ok { color: #7ee787; }
.term .dim { color: #8b93a7; }
.kb-tip { display: flex; gap: 6em; justify-content: center; margin-top: 14em; }

/* ---------- iPhone ---------- */
.phone-frame { width: min(100%, 320px); container-type: inline-size; margin: 0 auto; }
.phone-frame.sm { width: min(100%, 270px); }
.iphone { position: relative; border-radius: 15.5cqw; padding: 3.6cqw; background: linear-gradient(145deg, #3b3d44, #17181c); box-shadow: 0 0 0 .5cqw #55575f inset, var(--shadow-lg); }
.iphone::before { content: ""; position: absolute; left: -1.1cqw; top: 22cqw; width: 1.3cqw; height: 9cqw; border-radius: 1cqw 0 0 1cqw; background: #2b2c31; }
.iphone.ab::before { background: var(--i-orange); box-shadow: 0 0 0 .4cqw rgba(255, 149, 0, .35); }
.scr { --u: calc(92.8cqw / 393); position: relative; font-size: 1px; font-size: calc(92.8cqw / 393); width: 393em; height: 852em; border-radius: 55em; overflow: hidden; background: var(--i-bg); color: var(--i-label); font-family: var(--font); }
.scr * { font-size: inherit; }
.scr .t11 { font-size: 11em; } .scr .t12 { font-size: 12em; } .scr .t13 { font-size: 13em; } .scr .t15 { font-size: 15em; } .scr .t17 { font-size: 17em; } .scr .t20 { font-size: 20em; } .scr .t22 { font-size: 22em; } .scr .t28 { font-size: 28em; } .scr .t34 { font-size: 34em; }
.island { position: absolute; left: 50%; top: 11em; transform: translateX(-50%); width: 126em; height: 37em; border-radius: 19em; background: #000; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 0 14em; color: #fff; transition: width .45s cubic-bezier(.34, 1.3, .64, 1), height .45s cubic-bezier(.34, 1.3, .64, 1), border-radius .45s; }
.island.compact { width: 200em; }
.island svg { width: 16em; height: 16em; }
.island .tm { font: 600 15em/1 var(--mono); font-variant-numeric: tabular-nums; }
.island .red { color: var(--i-red); }
.status { position: absolute; inset: 0 0 auto; height: 54em; display: flex; align-items: center; justify-content: space-between; padding: 0 34em 0 46em; z-index: 15; }
.status b { font-size: 17em; font-weight: 600; }
.status .r { display: flex; align-items: center; gap: 6em; }
.status .r svg { width: 18em; height: 12em; }
.status .r svg.bt { width: 27em; height: 13em; }
.status .back { position: absolute; left: 22em; top: 40em; display: flex; align-items: center; gap: 1em; color: var(--i-blue); }
.status .back svg { width: 11em; height: 11em; }
.status .back span { font-size: 11em; font-weight: 600; }
.homebar { position: absolute; left: 50%; bottom: 8em; transform: translateX(-50%); width: 140em; height: 5em; border-radius: 3em; background: var(--i-label); opacity: .9; z-index: 30; }
.sheet-layer { position: absolute; inset: 0; }
.anim .sheet-layer[data-show] { transition: opacity .35s ease, visibility .35s, transform .45s cubic-bezier(.3, .8, .3, 1); }
.anim .slide-r[data-show]:not(.on) { transform: translateX(100%); opacity: 1; }
.anim .slide-l[data-show]:not(.on) { transform: translateX(-30%); }
.anim .slide-up[data-show]:not(.on) { transform: translateY(100%); opacity: 1; }
.anim .zoom[data-show]:not(.on) { transform: scale(.94); }

/* iOS navigation + grouped lists (Settings) */
.nav-i { padding: 58em 16em 0; }
.nav-i .navbar { display: flex; align-items: center; height: 44em; color: var(--i-blue); gap: 2em; }
.nav-i .navbar svg { width: 20em; height: 20em; }
.nav-i .navbar span { font-size: 17em; }
.nav-i .navbar b { font-size: 17em; font-weight: 600; color: var(--i-label); margin: 0 auto; transform: translateX(calc(-40 * var(--u))); }
.nav-i .big { font-size: 34em; font-weight: 700; letter-spacing: .01em; margin: calc(4 * var(--u)) 0 calc(10 * var(--u)); line-height: 1.2; }
.nav-i .search { height: 36em; border-radius: 18em; background: color-mix(in srgb, var(--i-label) 8%, transparent); display: flex; align-items: center; gap: 6em; padding: 0 12em; color: var(--i-label2); margin-bottom: 18em; }
.nav-i .search svg { width: 16em; height: 16em; }
.nav-i .search span { font-size: 17em; }
.group { background: var(--i-cell); border-radius: 26em; margin: 0 0 22em; overflow: hidden; }
.ghead { font-size: 13em; color: var(--i-label2); text-transform: uppercase; margin: 0 calc(16 * var(--u)) calc(7 * var(--u)); display: block; }
.gfoot { font-size: 13em; color: var(--i-label2); margin: calc(-14 * var(--u)) calc(16 * var(--u)) calc(22 * var(--u)); display: block; line-height: 1.35; }
.cell { position: relative; display: flex; align-items: center; gap: 12em; min-height: 52em; padding: 0 16em; transition: background .2s; }
.cell + .cell::before { content: ""; position: absolute; left: 58em; right: 0; top: 0; height: 1px; background: var(--i-sep); }
.cell.noicon + .cell.noicon::before, .group.plain .cell + .cell::before { left: 16em; }
.cell .ic { width: 30em; height: 30em; border-radius: 8em; display: grid; place-items: center; color: #fff; flex: none; background: var(--grey); }
.cell .ic svg { width: 18em; height: 18em; }
.cell .ic.blue { background: var(--i-blue); } .cell .ic.orange { background: var(--i-orange); } .cell .ic.grey { background: #8e8e93; } .cell .ic.indigo { background: var(--i-indigo); } .cell .ic.red { background: var(--i-red); } .cell .ic.green { background: var(--i-green); }
.cell .ic.kv { background: url(assets/kvoice-ios-256.png) center / cover; }
.cell .lb { flex: 1; font-size: 17em; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cell .lb small { display: block; font-size: .78em; color: var(--i-label2); }
.cell .vl { font-size: 17em; color: var(--i-label2); }
.cell .chev { width: 13em; height: 13em; color: var(--i-label2); opacity: .7; }
.cell.tap { background: color-mix(in srgb, var(--i-label) 12%, var(--i-cell)); }
.cell.blue-t .lb { color: var(--i-blue); }
.isw { width: 64em; height: 28em; border-radius: 14em; background: color-mix(in srgb, var(--i-label) 16%, transparent); position: relative; flex: none; transition: background .3s; }
.isw::after { content: ""; position: absolute; left: 2em; top: 2em; width: 38em; height: 24em; border-radius: 12em; background: #fff; box-shadow: 0 2em 6em rgba(0, 0, 0, .2); transition: transform .3s cubic-bezier(.34, 1.3, .64, 1); }
.isw.on-sw { background: var(--i-green); }
.isw.on-sw::after { transform: translateX(22em); }
.alert { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 290em; border-radius: 30em; background: var(--i-glass); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); box-shadow: 0 20em 60em rgba(0, 0, 0, .35); text-align: center; z-index: 25; overflow: hidden; }
.alert .bd { padding: 20em 18em 16em; }
.alert b { display: block; font-size: 17em; font-weight: 600; margin-bottom: calc(4 * var(--u)); line-height: 1.3; }
.alert p { font-size: 13em; margin: 0; line-height: 1.35; }
.alert .btns { display: flex; gap: 8em; padding: 0 14em 14em; }
.alert .btns span { flex: 1; height: calc(44 * var(--u)); border-radius: calc(22 * var(--u)); display: grid; place-items: center; background: color-mix(in srgb, var(--i-label) 10%, transparent); font-size: 17em; }
.alert .btns span.pri { background: var(--i-blue); color: #fff; font-weight: 600; }
.dim-layer { position: absolute; inset: 0; background: rgba(0, 0, 0, .28); z-index: 24; }

/* a host app (Notes) */
.notes { position: absolute; inset: 0; background: var(--i-cell); }
.notes .nhead { display: flex; justify-content: space-between; align-items: center; padding: 58em 18em 0; height: 102em; color: var(--i-orange); }
.notes .nhead svg { width: 22em; height: 22em; }
.notes .nhead span { font-size: 17em; }
.notes .nbody { padding: 8em 22em; }
.notes .nbody .nt-t { font-size: 26em; font-weight: 700; margin: 0 0 calc(10 * var(--u)); line-height: 1.25; }
.notes .nbody p { font-size: 17em; line-height: 1.45; margin: 0 0 calc(8 * var(--u)); }
.notes .nbody .caret { background: var(--i-orange); width: calc(2 * var(--u)); }
.chat { position: absolute; inset: 0; background: var(--i-cell); }
.chat .chead { padding: 58em 16em 10em; text-align: center; border-bottom: 1px solid var(--i-sep); }
.chat .chead .av { width: 48em; height: 48em; border-radius: 50%; margin: 0 auto 4em; background: linear-gradient(#a5b0c8, #7b86a0); display: grid; place-items: center; color: #fff; }
.chat .chead .av span { font-size: 20em; font-weight: 600; }
.chat .bubble { max-width: 74%; padding: 9em 13em; border-radius: 19em; margin: 8em 14em; line-height: 1.32; }
.chat .bubble span { font-size: 17em; }
.chat .bubble.in { background: color-mix(in srgb, var(--i-label) 9%, var(--i-cell)); }
.chat .bubble.me { background: var(--i-blue); color: #fff; margin-left: auto; }
.chat .field { position: absolute; left: 12em; right: 12em; bottom: 316em; min-height: 38em; border-radius: 19em; border: 1px solid var(--i-sep); padding: 8em 14em; line-height: 1.3; background: var(--i-cell); }
.chat .field span { font-size: 17em; }
.chat .field .ph { color: var(--i-label2); }
.chat .field .caret { background: var(--i-blue); width: calc(2 * var(--u)); }

/* the KVoice keyboard */
.kbd { position: absolute; left: 0; right: 0; bottom: 0; height: 300em; padding-bottom: 40em; background: var(--i-kb); z-index: 10; }
.kbar { display: flex; align-items: center; gap: 6em; height: 44em; padding: 0 6em 0 4em; }
.kbar .left { flex: 1; min-width: 0; position: relative; height: 32em; }
.kbar .left > * { position: absolute; inset: 0; display: flex; align-items: center; }
.mchips { display: flex; gap: 6em; padding-left: 4em; overflow: hidden; mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
.mchip { display: inline-flex; align-items: center; gap: 4em; height: 30em; padding: 0 10em; border-radius: 15em; background: var(--i-fkey); white-space: nowrap; color: var(--i-label); flex: none; }
.mchip svg { width: 13em; height: 13em; }
.mchip span { font-size: 13em; }
.mchip.act { background: var(--i-blue); color: #fff; }
.mchip.act span { font-weight: 600; }
.kstat { padding-left: 6em; gap: 6em; }
.kstat > span { font-size: 15em; white-space: nowrap; }
.kstat b { font-size: inherit; font-variant-numeric: tabular-nums; }
.kstat .rd { width: 8em; height: 8em; border-radius: 50%; background: var(--i-red); flex: none; }
.kstat .spin { width: 14em; height: 14em; border-radius: 50%; border: 2em solid var(--i-label2); border-right-color: transparent; flex: none; }
.anim .live .kstat .spin { animation: spin .8s linear infinite; }
.kround { width: 32em; height: 32em; border-radius: 50%; background: var(--i-fkey); display: grid; place-items: center; flex: none; }
.kround svg { width: 14em; height: 14em; }
.kmic { position: relative; width: 36em; height: 36em; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; }
.kmic > * { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; }
.kmic svg { width: 16em; height: 16em; }
.kmic .m { background: var(--i-blue); }
.kmic .s { background: var(--i-red); }
.kmic .b { background: #8e8e93; }
.kmic .b::after { content: ""; width: 14em; height: 14em; border-radius: 50%; border: 2em solid #fff; border-right-color: transparent; }
.anim .live .kmic .b::after { animation: spin .8s linear infinite; }
.tap-ring { position: absolute; width: 44em; height: 44em; margin: -22em 0 0 -22em; border-radius: 50%; background: rgba(255, 255, 255, .5); box-shadow: 0 0 0 2em rgba(0, 0, 0, .15); z-index: 40; pointer-events: none; }
.anim .live .tap-ring.on { animation: tap .7s ease-out both; }
@keyframes tap { 0% { transform: scale(.4); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }
html:not(.anim) .tap-ring { display: none; }
.keys-i { padding: 6em 3em 0; }
.krow { display: flex; justify-content: center; gap: 6em; margin-bottom: 11em; }
.krow i { flex: 0 0 33.5em; height: 43em; border-radius: 8em; background: var(--i-key); box-shadow: 0 1em 0 rgba(0, 0, 0, .3); display: grid; place-items: center; font-style: normal; }
.krow i span { font-size: 22em; }
.krow i.f { background: var(--i-fkey); flex-basis: 44em; }
.krow i.f svg { width: 18em; height: 18em; }
.krow i.sp { flex: 1 1 auto; }
.krow i.sp span, .krow i.f span { font-size: 15em; }
.krow i.ret { flex-basis: 88em; }
.krow.r2 { padding: 0 19em; }
.krow.r3 i:first-child, .krow.r3 i:last-child { margin: 0 8em; }

/* KVoice app screens */
.app { position: absolute; inset: 0; background: var(--i-bg); }
.handoff { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 150em 28em 0; }
.glass-pill { display: inline-flex; align-items: center; gap: 6em; height: 36em; padding: 0 14em; border-radius: 18em; background: var(--i-glass); box-shadow: 0 0 0 1px rgba(255, 255, 255, .5) inset, 0 4em 14em rgba(0, 0, 0, .08); }
.glass-pill svg { width: 15em; height: 15em; }
.glass-pill span { font-size: 15em; font-weight: 600; }
.handoff .hh { font-size: 34em; font-weight: 700; margin: calc(28 * var(--u)) 0 calc(8 * var(--u)); line-height: 1.2; }
.handoff p { font-size: 17em; color: var(--i-label2); margin: 0; line-height: 1.35; }
.wave { display: flex; align-items: center; justify-content: center; gap: 3.5em; height: 72em; margin: 26em 0 18em; width: 100%; padding: 0 20em; }
.wave i { flex: 1; max-width: 4em; min-height: 4em; border-radius: 2em; background: var(--i-red); }
.anim .live .wave i { animation: wv .5s ease-in-out infinite alternate; }
.wave i:nth-child(3n) { height: 30%; } .wave i:nth-child(3n+1) { height: 70%; } .wave i:nth-child(3n+2) { height: 45%; } .wave i:nth-child(5n) { height: 92%; } .wave i:nth-child(7n) { height: 20%; }
.wave i:nth-child(odd) { animation-delay: -.25s; } .wave i:nth-child(4n) { animation-delay: -.1s; animation-duration: .38s; }
@keyframes wv { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.hint-i { display: flex; gap: 6em; align-items: center; justify-content: center; color: var(--i-label2); padding: 0 20em; }
.hint-i svg { width: 14em; height: 14em; flex: none; }
.hint-i span { font-size: 13em; line-height: 1.3; }
.stopbig { position: absolute; left: 50%; bottom: 120em; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 16em; }
.stopbig .c { width: 96em; height: 96em; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--i-red) 88%, #fff); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .4) inset, 0 10em 30em rgba(255, 59, 48, .35); }
.stopbig .c svg { width: 34em; height: 34em; }
.stopbig .cn { height: 40em; padding: 0 18em; border-radius: 20em; background: var(--i-glass); display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5) inset; }
.stopbig .cn span { font-size: 17em; }

/* Lock Screen, Live Activity, Dynamic Island expanded */
.lock { position: absolute; inset: 0; background: radial-gradient(260em 260em at 20% 80%, #ff8b4a, transparent 70%), radial-gradient(300em 300em at 90% 10%, #3e6cf0, transparent 70%), linear-gradient(170deg, #2a3556, #121832); color: #fff; }
.lock .date { text-align: center; padding-top: 70em; }
.lock .date span { display: block; font-size: 20em; font-weight: 600; opacity: .9; }
.lock .date b { display: block; font-size: 96em; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.lock .ctl { position: absolute; bottom: 46em; width: 50em; height: 50em; border-radius: 50%; background: rgba(0, 0, 0, .32); backdrop-filter: blur(10px); display: grid; place-items: center; color: #fff; }
.lock .ctl svg { width: 22em; height: 22em; }
.lock .ctl.l { left: 46em; } .lock .ctl.rr { right: 46em; }
.lock .ctl.hl { box-shadow: 0 0 0 3em var(--i-blue); }
.la { position: absolute; left: 12em; right: 12em; top: 330em; border-radius: 26em; padding: 16em; display: flex; align-items: center; gap: 12em; background: rgba(28, 28, 32, .62); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); color: #fff; }
.la-ic { width: 44em; height: 44em; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--i-indigo), var(--i-purple)); flex: none; }
.la-ic svg { width: 22em; height: 22em; }
.la .lt { flex: 1; min-width: 0; }
.la .lt small { display: flex; align-items: center; gap: 4em; color: rgba(235, 235, 245, .6); }
.la .lt small svg { width: 12em; height: 12em; }
.la .lt small span { font-size: 12em; }
.la .lt b { display: block; font-size: 17em; font-weight: 600; white-space: nowrap; }
.la .lt b em { font-style: normal; font-family: var(--mono); color: rgba(235, 235, 245, .6); font-variant-numeric: tabular-nums; margin-left: .3em; }
.la .lt p { font-size: 12em; color: rgba(235, 235, 245, .6); margin: calc(2 * var(--u)) 0 0; line-height: 1.3; }
.la-btn { display: inline-flex; align-items: center; gap: 5em; height: 34em; padding: 0 14em; border-radius: 17em; background: var(--i-red); color: #fff; flex: none; }
.la-btn svg { width: 13em; height: 13em; }
.la-btn span { font-size: 15em; font-weight: 600; }
.la-btn.end { background: rgba(255, 255, 255, .16); }
.di-x { position: absolute; left: 10em; right: 10em; top: 11em; border-radius: 44em; background: #000; color: #fff; padding: 18em 22em 18em; z-index: 22; }
.di-x .top { display: flex; align-items: center; justify-content: space-between; }
.di-x .top small { display: flex; align-items: center; gap: 5em; }
.di-x .top small svg { width: 15em; height: 15em; }
.di-x .top small span { font-size: 15em; font-weight: 600; }
.di-x .line { margin-top: 12em; }
.di-x .line b { font-size: 17em; font-weight: 600; }
.di-x .line b em { font-style: normal; color: rgba(235, 235, 245, .6); font-family: var(--mono); margin-left: .35em; }
.anim .di-x[data-show]:not(.on) { transform: scaleX(.42) scaleY(.15); transform-origin: 50% 20%; }

/* home screen, Control Center */
.home { position: absolute; inset: 0; background: radial-gradient(300em 300em at 10% 90%, #ff8b4a, transparent 70%), radial-gradient(320em 320em at 95% 5%, #4c78f0, transparent 70%), linear-gradient(170deg, #2a3556, #121832); }
.cc { position: absolute; inset: 0; background: rgba(10, 12, 20, .55); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); padding: 70em 26em 0; color: #fff; }
.cc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16em; }
.cc-t { aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .16); display: grid; place-items: center; }
.cc-t svg { width: 26em; height: 26em; }
.cc-t.w { grid-column: span 2; aspect-ratio: auto; border-radius: 34em; }
.cc-t.kv { background: rgba(255, 255, 255, .92); color: #111; }
.cc-t.kv.lit { background: var(--i-blue); color: #fff; }
.cc-add { position: absolute; left: 50%; bottom: 110em; transform: translateX(-50%); display: flex; align-items: center; gap: 6em; width: max-content; padding: 10em 18em; border-radius: 22em; background: rgba(255, 255, 255, .18); }
.cc-add svg { width: 16em; height: 16em; }
.cc-add span { font-size: 15em; font-weight: 600; }
.edit .cc-t:not(.kv) { animation: none; }
.anim .live .cc.jiggle .cc-t:not(.kv) { animation: jig .28s ease-in-out infinite alternate; }
@keyframes jig { from { transform: rotate(-1.5deg); } to { transform: rotate(1.5deg); } }
.gallery { position: absolute; left: 0; right: 0; bottom: 0; height: 560em; border-radius: 36em 36em 0 0; background: var(--i-bg); color: var(--i-label); padding: 16em 16em 0; z-index: 12; }
.gallery .grab { width: 36em; height: 5em; border-radius: 3em; background: var(--i-label2); opacity: .5; margin: 0 auto 14em; }
.gallery .ttl { text-align: center; margin-bottom: 14em; }
.gallery .ttl b { font-size: 17em; font-weight: 600; }
.gal-ctl { display: flex; flex-direction: column; align-items: center; gap: 8em; width: 104em; text-align: center; }
.gal-ctl .cc-t { width: 64em; background: var(--i-cell); color: var(--i-label); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.gal-ctl .cc-t.sel { background: var(--i-blue); color: #fff; }
.gal-ctl .gl { font-size: 12em; line-height: 1.25; }
.gal-row { display: flex; gap: 14em; justify-content: center; }

/* Action Button settings */
.abset { position: absolute; inset: 0; background: #000; color: #fff; text-align: center; padding-top: 70em; }
.abset .hd { font-size: 17em; font-weight: 600; }
.ab-ill { position: relative; margin: 34em auto 0; width: 210em; height: 330em; border-radius: 44em; background: linear-gradient(160deg, #24262c, #101114); box-shadow: 0 0 0 2em #3a3c42 inset; }
.ab-ill::before { content: ""; position: absolute; left: -7em; top: 70em; width: 7em; height: 46em; border-radius: 4em 0 0 4em; background: var(--i-orange); }
.ab-ill .ab-ic { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 96em; height: 96em; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--i-orange); }
.ab-ill .ab-ic svg { width: 46em; height: 46em; }
.ab-name { margin-top: 26em; }
.ab-name .nm { display: block; font-size: 28em; font-weight: 700; }
.ab-name .ds { display: block; font-size: 15em; color: rgba(235, 235, 245, .6); margin-top: calc(6 * var(--u)); padding: 0 calc(30 * var(--u)); }
.ab-name > span { display: block; }
.ab-dots { display: flex; gap: 7em; justify-content: center; margin-top: 18em; }
.ab-dots i { width: 7em; height: 7em; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.ab-dots i.cur { background: #fff; }
.ab-pick { display: inline-flex; align-items: center; gap: 6em; margin-top: 20em; padding: 10em 18em; border-radius: 22em; background: rgba(255, 255, 255, .14); }
.ab-pick span { font-size: 15em; font-weight: 600; }
.ab-pick svg { width: 12em; height: 12em; }
.picker { position: absolute; left: 0; right: 0; bottom: 0; top: 60em; border-radius: 36em 36em 0 0; background: var(--i-bg); color: var(--i-label); padding: 16em; z-index: 12; text-align: left; }
.picker .ttl { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14em; }
.picker .ttl b { font-size: 17em; font-weight: 600; }
.picker .ttl span { font-size: 17em; color: var(--i-blue); }

/* Shortcuts app */
.sc-tile { border-radius: 22em; padding: 14em; color: #fff; display: flex; flex-direction: column; justify-content: space-between; height: 112em; background: linear-gradient(150deg, #a35bf0, #7b3ae0); }
.sc-tile svg { width: 26em; height: 26em; }
.sc-tile b { font-size: 15em; font-weight: 600; line-height: 1.2; }
.sc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12em; }
.siri { position: absolute; left: 0; right: 0; bottom: 0; height: 250em; z-index: 12; background: linear-gradient(0deg, rgba(0, 0, 0, .78), transparent); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding-bottom: 46em; color: #fff; }
.siri .said { font-size: 22em; font-weight: 600; margin-bottom: calc(18 * var(--u)); text-align: center; padding: 0 calc(20 * var(--u)); }
.siri .glow { width: 100%; height: 10em; background: linear-gradient(90deg, #ff6a2b, #af52de, #2f6feb, #34c759, #ff6a2b); background-size: 200% 100%; filter: blur(6em); }
.anim .live .siri.on .glow { animation: glow 2s linear infinite; }
@keyframes glow { to { background-position: -200% 0; } }

/* KVoice app home */
.kv-home { padding: 58em 16em 0; text-align: center; }
.kv-home .nt { font-size: 17em; font-weight: 600; display: block; margin: calc(12 * var(--u)) 0 calc(18 * var(--u)); }
.kv-home .mchips { justify-content: center; mask-image: none; -webkit-mask-image: none; flex-wrap: wrap; row-gap: 8em; }
.kv-home .mchip { background: var(--i-glass); box-shadow: 0 0 0 1px var(--i-sep) inset; }
.kv-home .mchip.act { background: var(--i-blue); box-shadow: none; }
.recbtn { width: 148em; height: 148em; border-radius: 50%; margin: 70em auto 20em; display: grid; place-items: center; background: var(--i-glass); box-shadow: 0 0 0 1px var(--i-sep) inset, 0 10em 40em rgba(0, 0, 0, .1); color: var(--i-blue); }
.recbtn svg { width: 54em; height: 54em; }
.kv-home .hint { font-size: 15em; color: var(--i-label2); }
.result { margin: 26em 0 0; border-radius: 22em; background: var(--i-cell); padding: 16em; text-align: left; }
.result small { display: block; font-size: 13em; color: var(--i-label2); margin-bottom: calc(6 * var(--u)); }
.result p { font-size: 16em; margin: 0; line-height: 1.4; }
.tabbar { position: absolute; left: 22em; right: 22em; bottom: 26em; height: 62em; border-radius: 31em; background: var(--i-glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 0 0 1px var(--i-sep) inset, 0 8em 30em rgba(0, 0, 0, .12); display: flex; align-items: center; justify-content: space-around; z-index: 9; }
.tabbar span { display: flex; flex-direction: column; align-items: center; gap: 2em; color: var(--i-label); }
.tabbar span svg { width: 22em; height: 22em; }
.tabbar span em { font-style: normal; font-size: 10em; font-weight: 600; }
.tabbar span.cur { color: var(--i-blue); }
.hist .row { padding: 12em 16em; border-top: 1px solid var(--i-sep); text-align: left; }
.hist .row:first-child { border-top: 0; }
.hist .row b { display: flex; justify-content: space-between; font-size: 15em; font-weight: 600; }
.hist .row b em { font-style: normal; font-weight: 400; color: var(--i-label2); }
.hist .row p { font-size: 15em; margin: calc(3 * var(--u)) 0 0; color: var(--i-label2); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hist .row .tag { display: inline-flex; align-items: center; gap: 4em; color: var(--i-blue); margin-top: 6em; }
.hist .row .tag svg { width: 12em; height: 12em; }
.hist .row .tag span { font-size: 12em; font-weight: 600; }

.vis-cap { font-size: 13.5px; color: var(--text2); text-align: center; margin: 12px 0 0; }
.pair { display: flex; gap: 18px; justify-content: center; align-items: flex-start; width: 100%; }
.pair > * { flex: 1 1 0; min-width: 0; }
@media (max-width: 600px) { .facts { flex-direction: column; align-items: flex-start; padding: 20px 24px; gap: 10px; } }

/* A mockup canvas of --w points, scaled to its frame (.mac-frame). */
.canvas { --u: calc(100cqw / var(--w)); font-size: 1px; font-size: calc(100cqw / var(--w)); position: relative; display: flex; justify-content: center; }
.canvas.pad { padding: calc(10 * var(--u)) 0 calc(14 * var(--u)); }
.chip .x { position: relative; display: inline-flex; }
.chip .x svg { width: calc(9 * var(--u)); height: calc(9 * var(--u)); }
.chip.off { background: var(--fill); color: var(--text2); }
.mini-desk { position: relative; width: 600em; height: 330em; border-radius: 14em; overflow: hidden; background: radial-gradient(160em 120em at 18% 92%, rgba(255, 106, 43, .5), transparent 70%), radial-gradient(220em 160em at 88% 8%, rgba(47, 111, 235, .6), transparent 70%), linear-gradient(160deg, #2a3556, #161d33 60%, #0c1022); }
.mini-desk .win { top: 40em; height: 150em; }
.mini-desk .keys { bottom: 104em; }
.mini-desk .hud-pos { bottom: 26em; }
.mini-desk .menubar { height: calc(24 * var(--u)); }
.style-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 700px) { .style-pair { grid-template-columns: 1fr; } }
.style-pair figure { margin: 0; }
.style-pair figcaption { font-size: 14px; color: var(--text2); margin-top: 10px; text-align: center; }
.mode-cards .card .ex { font-size: 14px; margin-top: 10px; color: var(--text); }

/* iPhone page extras */
.status.light { color: #fff; }
.micdot { position: absolute; top: 25em; left: calc(50% + 72em); width: 7em; height: 7em; border-radius: 50%; background: var(--i-orange); z-index: 21; }
.ab-press { position: absolute; left: -1.6cqw; top: 22cqw; width: 2cqw; height: 9cqw; border-radius: 1cqw; background: var(--i-orange); opacity: 0; z-index: 3; }
.ab-press.on-p { opacity: 1; box-shadow: 0 0 0 .8cqw rgba(255, 149, 0, .35), 0 0 4cqw rgba(255, 149, 0, .8); }
.anim .ab-press { transition: opacity .2s, box-shadow .2s; }
.island .lead, .island .trail { display: flex; align-items: center; }
.island .swap { display: grid; justify-items: end; }
.kstat .long { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.la.static { position: relative; left: auto; right: auto; top: auto; width: 369em; }
.la-list { display: flex; flex-direction: column; gap: 10em; align-items: center; padding: 14em; border-radius: 28em; background: radial-gradient(240em 200em at 10% 100%, #ff8b4a, transparent 70%), radial-gradient(260em 220em at 95% 0%, #4c78f0, transparent 70%), linear-gradient(170deg, #2a3556, #121832); }
.la-list .cap { font-size: 12em; color: rgba(255, 255, 255, .75); align-self: flex-start; margin: 4em 0 -4em 8em; }
.sc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 12px; }
.sc-card { border-radius: 18px; padding: 16px; color: #fff; background: linear-gradient(150deg, #a35bf0, #7b3ae0); box-shadow: var(--shadow); }
.sc-card svg { width: 26px; height: 26px; }
.sc-card b { display: block; font-size: 16px; margin: 10px 0 6px; }
.sc-card span { display: block; font-size: 13.5px; opacity: .9; line-height: 1.45; }
.kb-wide { width: 100%; max-width: 560px; margin: 0 auto; container-type: inline-size; }
.kb-wide .scr { --u: calc(100cqw / 393); font-size: calc(100cqw / 393); height: 300em; border-radius: 22em; width: 393em; }
.kb-wide .kbd { top: 0; bottom: auto; }
.mode-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.mode { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.mode .mi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--i-blue); color: #fff; flex: none; }
.mode .mi svg { width: 18px; height: 18px; }
.mode b { display: block; font-size: 15.5px; }
.mode p { margin: 2px 0 0; font-size: 14px; color: var(--text2); line-height: 1.45; }
.ios-zone .kicker { color: var(--i-blue-text); }
.ways { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.way { display: block; text-decoration: none; color: inherit; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.way:hover { border-color: var(--i-blue); transform: translateY(-2px); }
.way b { display: block; font-size: 17px; margin: 10px 0 4px; }
.way > span:not(.tile) { display: block; font-size: 14.5px; color: var(--text2); }
.page-hero.ios-hero { background: radial-gradient(700px 380px at 85% 0%, color-mix(in srgb, var(--i-indigo) 22%, transparent), transparent 70%), radial-gradient(600px 320px at 10% 100%, color-mix(in srgb, var(--i-blue) 14%, transparent), transparent 70%), var(--bg2); }
.page-hero .app-id { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.page-hero .app-id img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 6px 18px rgba(22, 29, 51, .22); }
.page-hero .app-id b { display: block; font-size: 17px; }
.page-hero .app-id span { font-size: 14px; color: var(--text2); }
.btn-ios { background: var(--cta-ios); color: #fff; box-shadow: 0 6px 22px color-mix(in srgb, var(--cta-ios) 40%, transparent); }
.nav-i .navbar.c { justify-content: center; }
.nav-i .navbar.c b { transform: none; margin: 0; }

.di-x .top > svg { width: 28em; height: 28em; color: var(--i-green); }
.di-x .line p { font-size: 13em; }
.anim .kbar .left > [data-show]:not(.on), .anim .kmic > [data-show]:not(.on), .anim .island .swap > [data-show]:not(.on) { transition-duration: 0s !important; }

.prose a, .card a { overflow-wrap: anywhere; }
.hero-in > *, .step > * { min-width: 0; }

/* Narrow frames: draw the Mac desktop 440 points wide so its text stays legible. */
@container (max-width: 520px) {
  .desk { --u: calc(100cqw / 440); font-size: calc(100cqw / 440); width: 440em; height: 420em; }
  .desk .win { left: 16em; width: 408em; }
  .desk .menubar span:nth-child(n+4):not(.r) { display: none; }
  .canvas:has(.mini-desk) { --w: 440; }
  .mini-desk { width: 440em; }
  .mini-desk .win { left: 16em; width: 408em; }
}
/* Hidden HUD titles and chips must not widen the row (the real HUD sizes to the current title). */
.hud-title .swap > [data-show]:not(.on), .hud-txt > .swap > [data-show]:not(.on) { position: absolute; }
.hud-title { overflow: hidden; }

/* ---------- review fixes: layout ---------- */
.page-hero .fine { font-size: 14px; color: var(--text2); margin: 20px 0 0; }
.page-hero.dark-zone .fine a { color: #c6d6ff; }
.shots-sec .shots { margin-top: 8px; }

/* Comparison tables become one card per row on phones. */
@media (max-width: 700px) {
  table.stack, table.stack tbody, table.stack tr, table.stack th, table.stack td { display: block; }
  table.stack, table.stack.min { min-width: 0; }
  table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.stack tr { padding: 14px 16px; border-bottom: 1px solid var(--line2); }
  table.stack tbody tr:last-child { border-bottom: 0; }
  table.stack tbody th { padding: 0 0 6px; border: 0; font-size: 16px; }
  table.stack td { padding: 5px 0; border: 0; }
  table.stack td::before { content: attr(data-label); display: block; font-size: 12.5px; font-weight: 650; color: var(--text2); }
  table.stack td:empty { display: none; }
}

/* Phones: full-width buttons, wrapping commands, 44px touch targets. */
@media (max-width: 560px) {
  .hero .cta > .btn, .page-hero .cta > .btn, .final .cta > .btn { flex: 1 1 100%; justify-content: center; }
  .cmd code { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.45; }
}
@media (max-width: 860px) {
  .nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .lang, .gh { min-height: 44px; min-width: 44px; justify-content: center; }
}
@media (max-width: 760px) {
  .foot li { margin: 0; }
  .foot li a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Phones: bigger iPhone mockups, side-by-side pairs stacked, and the mostly
   empty Settings screen cropped. */
@media (max-width: 600px) {
  .step .phone-frame { width: min(100%, 340px); }
  .pair { flex-direction: column; align-items: center; gap: 24px; }
  .pair > * { flex: none; }
  .pair .phone-frame.sm { width: min(100%, 320px); }
  .phone-frame.crop .scr { height: 600em; }
  .phone-frame.crop .alert { top: 426em; }
}

/* ---------- review fixes: animated mockups ---------- */
.mrow .t .bar-prog { font-size: inherit; display: block; }
/* A hidden trail must not take room from the title. */
.hud-trail[data-show]:not(.on) { position: absolute; right: 14em; }
/* The title never truncates; the chip gives way first. */
.hud-title > b, .hud-title > .swap:first-child { flex: none; }
.hud-title > .swap:first-child b { overflow: visible; text-overflow: clip; }
.hud-title > .chip, .hud-title > .swap + .swap, .hud-title > .swap + .chip { flex: 0 1 auto; min-width: 0; overflow: hidden; }
/* HUD text crossfades (150ms, as the app does) instead of blinking. */
.hud .swap { position: relative; }
.anim .hud .swap > [data-show], .anim .hud .swap > [data-show]:not(.on) { transition: opacity .15s ease, visibility .15s !important; }
/* The recorder leaves at the end of a loop instead of snapping away. */
.anim .stage.out .hud-pos { opacity: 0; transition: opacity .18s ease-out; }
/* iPhone stages fade out and back in between loops. */
.scr.stage::after { content: ""; position: absolute; inset: 0; z-index: 19; background: var(--i-bg); opacity: 0; pointer-events: none; transition: opacity .38s ease; }
.scr.stage:has(.home, .lock)::after { background: #000; }
.anim .scr.stage.out::after { opacity: 1; }
html:not(.anim) .scr.stage::after { display: none; }
/* Nothing animates while hidden. */
.anim [data-show]:not(.on), .anim [data-show]:not(.on) *, .anim [data-show]:not(.on)::after, .anim [data-show]:not(.on) *::after { animation: none !important; }
/* iOS push: a page the user has moved past leaves to the left. */
.anim .slide-r.past[data-show]:not(.on) { transform: translateX(-30%); opacity: 0; }
/* Narrow frames: keys above the short recorder, gone once it grows. */
@container (max-width: 520px) {
  .desk .keys { bottom: 110em; }
  .mini-desk .keys { bottom: 88em; }
  .desk[data-step="2"] .keys, .mini-desk[data-step="2"] .keys { opacity: 0; visibility: hidden; }
}
.kmic .g { background: #8e8e93; }
/* Home iPhone card: show the bottom of the phone, where the keyboard really sits */
.peek-bottom { height: 300px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 36px); mask-image: linear-gradient(to bottom, transparent 0, #000 36px); }
.peek-bottom .iphone { flex: none; margin-bottom: 14px; box-shadow: 0 0 0 .5cqw #55575f inset; }
