:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #f2f2f4;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --line: rgba(0, 0, 0, .1);
  --accent: #14915f;
  --accent-ink: #ffffff;
  --accent-soft: rgba(20, 145, 95, .1);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .28);
  --bezel: #101112;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --col: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #0b0b0c;
    --surface: #1c1c1e;
    --surface-2: #2c2c2e;
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --text-3: #86868b;
    --line: rgba(255, 255, 255, .14);
    --accent: #5cd19e;
    --accent-ink: #04130c;
    --accent-soft: rgba(92, 209, 158, .14);
    --shadow: 0 24px 60px -20px rgba(0, 0, 0, .8);
    --bezel: #1b1c1d;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.5 var(--sans);
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
code, kbd { font-family: var(--mono); }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: min(var(--col), 100% - 48px); margin-inline: auto; }

/* ---------- navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav ul { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--text-2); }
.nav ul a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 17px; font-weight: 500; line-height: 1;
  padding: 13px 24px; border-radius: 980px; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-ink);
  transition: opacity .15s;
}
.btn:hover { opacity: .88; }
.btn.secondary { background: transparent; color: var(--accent); padding-inline: 8px; }
.btn.secondary:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.btn.small { font-size: 13px; padding: 8px 15px; }

/* ---------- type ---------- */
h1, h2, h3, .lede { text-wrap: balance; }
p { text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; }
h1 { font-size: clamp(42px, 7.4vw, 88px); letter-spacing: -0.04em; line-height: 1.02; }
h2 { font-size: clamp(30px, 4.6vw, 52px); }
h3 { font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; font-weight: 600; }
.eyebrow { color: var(--accent); font-size: 14px; font-weight: 600; margin: 0 0 12px; }
.lede { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.4; color: var(--text-2); margin: 20px auto 0; max-width: 40em; letter-spacing: -0.014em; }
.center { text-align: center; }
section { padding: 120px 0; }
.alt { background: var(--bg-alt); }

/* ---------- hero ---------- */
.hero { padding: 84px 0 0; text-align: center; overflow: hidden; }
.hero .eyebrow { margin-bottom: 18px; }
.hero .actions { display: flex; gap: 18px; justify-content: center; align-items: center; margin-top: 34px; flex-wrap: wrap; }
.hero .fine { margin-top: 18px; font-size: 13px; color: var(--text-3); }
.cluster { position: relative; margin: 56px auto 0; width: min(940px, 100%); }
.cluster::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 12%; bottom: -30%;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 75%);
}
.cluster { display: flex; justify-content: center; align-items: flex-end; gap: 1%; max-width: 900px; }
.cluster img { height: auto; filter: drop-shadow(0 28px 34px rgba(0,0,0,.35)); }
.d-side { width: 24%; }
.d-duo { width: 44%; }
.duo-big { width: min(430px, 100%); margin-inline: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.4)); }

/* ---------- how ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px 30px 0; overflow: hidden; display: flex; flex-direction: column; }
.card .n { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 600; display: grid; place-items: center; margin-bottom: 18px; }
.card p { color: var(--text-2); font-size: 16px; margin: 10px 0 26px; }
.card .shot { margin-top: auto; }
.card .shot.phone-s { width: 68%; height: 230px; overflow: hidden; margin-inline: auto; background: var(--bezel); border-radius: 30px 30px 0 0; padding: 8px 8px 0; box-shadow: 0 0 0 1px var(--line); }
.card .shot.phone-s img { border-radius: 24px 24px 0 0; width: 100%; }
.win { border-radius: 12px; overflow: hidden; background: #1e1e1e; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.win .bar { display: flex; gap: 7px; padding: 11px 13px; background: #2a2a2c; }
.win .bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.win .bar i:nth-child(2) { background: #febc2e; }
.win .bar i:nth-child(3) { background: #28c840; }
.card .win { border-radius: 12px 12px 0 0; box-shadow: 0 0 0 1px var(--line); height: 230px; overflow: hidden; }

/* ---------- features ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 30px; }
.feat svg { width: 30px; height: 30px; color: var(--accent); margin-bottom: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feat p { margin: 10px 0 0; color: var(--text-2); font-size: 16px; line-height: 1.45; }
.feat code { font-size: 13px; background: var(--surface-2); padding: 1px 6px; border-radius: 5px; color: var(--text); }

/* ---------- security ---------- */
.sec-panel { background: #000; color: #f5f5f7; border-radius: 32px; padding: clamp(36px, 6vw, 80px); position: relative; overflow: hidden; }
.sec-panel::before { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 90%; background: radial-gradient(closest-side, rgba(92, 209, 158, .22), transparent 70%); pointer-events: none; }
@media (prefers-color-scheme: dark) { .sec-panel { background: #121214; box-shadow: 0 0 0 1px var(--line); } }
.sec-panel .eyebrow { color: #5cd19e; }
.sec-panel .lede { color: #a1a1a6; margin-left: 0; }
.sec-panel h2 { max-width: 14em; }
.sec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; margin-top: 56px; position: relative; }
.sec-list div { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.14); }
.sec-list h3 { font-size: 19px; }
.sec-list p { margin: 8px 0 0; color: #a1a1a6; font-size: 16px; line-height: 1.45; }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.14); position: relative; }
.nums b { display: block; font-size: clamp(34px, 4.6vw, 52px); font-weight: 700; letter-spacing: -0.04em; color: #5cd19e; line-height: 1; }
.nums span { display: block; margin-top: 8px; font-size: 14px; color: #a1a1a6; line-height: 1.4; }
.note { margin-top: 36px; font-size: 15px; color: #a1a1a6; max-width: 46em; position: relative; }
.note strong { color: #f5f5f7; font-weight: 600; }
.note a { color: #5cd19e; }
.note a:hover { text-decoration: underline; }

/* ---------- half open showpiece ---------- */
.half { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.half .lede { margin-left: 0; }
.half ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; color: var(--text-2); font-size: 17px; }
.half li { padding-left: 24px; position: relative; }
.half li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- devices ---------- */
.devs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 72px; align-items: end; }
.dev { text-align: center; }
.dev img { width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgba(0,0,0,.3)); }
.dev img { max-width: 300px; margin-inline: auto; }
.dev:first-child img { max-width: 420px; }
.dev h3 { margin-top: 26px; }
.dev p { margin: 6px 0 0; font-size: 15px; color: var(--text-2); }

/* ---------- themes ---------- */
.th { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.th .lede { margin-left: 0; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; }
.sw { font: inherit; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 980px; border: 1px solid var(--line); background: var(--surface); color: var(--text); transition: background .15s; }
.sw i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(128,128,128,.4); }
.sw:hover { background: var(--surface-2); }
.sw[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.facts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; color: var(--text-2); font-size: 16px; }
.facts li { padding-left: 24px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.term { border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), var(--shadow); font: 14px/1.7 var(--mono); transition: background .25s, color .25s; }
.term .bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: rgba(128,128,128,.14); }
.term .bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.term .bar i:nth-child(2) { background: #febc2e; }
.term .bar i:nth-child(3) { background: #28c840; }
.term .bar em { font: 12px var(--sans); margin-left: 8px; opacity: .6; font-style: normal; }
.term pre { margin: 0; padding: 20px 22px 26px; font: inherit; white-space: pre-wrap; }
.term .c1 { color: var(--c1); } .term .c2 { color: var(--c2); } .term .c3 { color: var(--c3); }
.term .c4 { color: var(--c4); } .term .c5 { color: var(--c5); } .term .c6 { color: var(--c6); }

/* ---------- mac ---------- */
.seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--surface-2); margin-top: 36px; }
.seg button { font: inherit; font-size: 14px; padding: 7px 18px; border: 0; border-radius: 8px; background: transparent; color: var(--text-2); cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.25); font-weight: 500; }
.mac-stage { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; margin-top: 56px; text-align: left; }
.mac-stage .win { max-width: 720px; }
.mac-copy h3 { font-size: 28px; letter-spacing: -0.03em; }
.mac-copy p { color: var(--text-2); margin: 12px 0 18px; }
.mac-copy ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--text-2); font-size: 16px; }
.mac-copy li { padding-left: 24px; position: relative; }
.mac-copy li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- docs teaser ---------- */
.docs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; text-align: left; }
.docs-grid a { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; min-height: 160px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.docs-grid a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.docs-grid .no { font-size: 13px; color: var(--accent); font-weight: 600; }
.docs-grid h3 { margin-top: 12px; font-size: 19px; }
.docs-grid p { margin: 6px 0 0; font-size: 14px; color: var(--text-2); line-height: 1.4; }

/* ---------- cta + footer ---------- */
.cta { text-align: center; }
.cta .actions { display: flex; gap: 18px; justify-content: center; align-items: center; margin-top: 34px; flex-wrap: wrap; }
.reqs { display: flex; gap: 8px 28px; flex-wrap: wrap; justify-content: center; margin-top: 36px; font-size: 14px; color: var(--text-3); }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 13px; color: var(--text-3); }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
footer a:hover { color: var(--text); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.rv.in { opacity: 1; transform: none; }

/* ---------- docs ---------- */
.doc-shell { display: grid; grid-template-columns: 230px minmax(0, 1fr) 200px; gap: 56px; padding: 40px 0 96px; align-items: start; }
.doc-nav { position: sticky; top: 76px; font-size: 14px; }
.doc-nav h4, .doc-toc h4 { margin: 0 0 10px; font-size: 12px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.doc-nav a { display: block; padding: 7px 12px; border-radius: 8px; color: var(--text-2); }
.doc-nav a:hover { background: var(--surface-2); color: var(--text); }
.doc-nav a.on { background: var(--accent-soft); color: var(--accent); font-weight: 500; }
.doc-nav .back { margin-top: 20px; color: var(--text-3); font-size: 13px; }
.doc-toc { position: sticky; top: 76px; font-size: 13px; }
.doc-toc a { display: block; padding: 5px 0; color: var(--text-2); }
.doc-toc a:hover { color: var(--accent); }
.prose { min-width: 0; }
.prose .crumb { color: var(--text-3); font-size: 13px; margin-bottom: 12px; }
.prose h1 { font-size: clamp(34px, 5vw, 48px); letter-spacing: -0.035em; margin-bottom: 20px; }
.prose h2 { font-size: 28px; margin: 52px 0 14px; padding-top: 28px; border-top: 1px solid var(--line); letter-spacing: -0.03em; }
.prose h3 { font-size: 19px; margin: 30px 0 8px; }
.prose p, .prose li { font-size: 17px; line-height: 1.6; color: var(--text-2); }
.prose p { margin: 0 0 16px; max-width: 42em; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 18px; max-width: 42em; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--text-3); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); }
.prose a:hover { text-decoration: underline; text-underline-offset: 3px; }
.prose code { font-size: .86em; background: var(--surface-2); padding: 2px 6px; border-radius: 5px; color: var(--text); }
.prose pre { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; overflow-x: auto; margin: 18px 0 22px; }
.prose pre code { background: none; padding: 0; font-size: 14px; color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: 15px; display: block; overflow-x: auto; }
.prose th { text-align: left; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--line); padding: 10px 16px 10px 0; white-space: nowrap; }
.prose td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
.prose td:first-child { color: var(--text); min-width: 190px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; }
.pager a { border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; transition: background .15s; }
.pager a:hover { background: var(--surface-2); }
.pager small { display: block; color: var(--text-3); font-size: 13px; }
.pager .nx { text-align: right; }
.pager span { font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  section { padding: 84px 0; }
  .steps, .grid3, .th, .mac-stage { grid-template-columns: 1fr; }
  .th { gap: 40px; }
  .devs { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .half { grid-template-columns: 1fr; gap: 40px; }
  .docs-grid { grid-template-columns: repeat(2, 1fr); }
  .sec-list { grid-template-columns: 1fr; }
  .nums { grid-template-columns: repeat(2, 1fr); }
  .doc-shell { grid-template-columns: 1fr; gap: 24px; }
  .doc-nav, .doc-toc { position: static; }
  .doc-toc { display: none; }
  .nav ul li:not(:last-child) { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: min(var(--col), 100% - 36px); }
  .docs-grid { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr; }
  .card, .feat { border-radius: 20px; }
  .hero { padding-top: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}


picture { display: block; }
.d-side img, .dev picture img { width: 100%; }

/* animated terminal on the Duo */
.duo-anim { position: relative; container-type: inline-size; filter: drop-shadow(0 28px 34px rgba(0,0,0,.4)); }
.duo-anim img { display: block; width: 100%; height: auto; filter: none !important; }
.duo-anim .screen {
  position: absolute; left: 5.5%; top: 7.5%; width: 89.3%; height: 43.8%;
  padding: .7cqw 0 0 .9cqw; overflow: hidden; white-space: pre;
  font: 500 1.95cqw/2.27cqw ui-monospace, "SF Mono", Menlo, monospace; color: #dce3eb;
}
.duo-anim .screen .p { color: #5cd19e; }
.duo-anim .screen b { font-weight: 700; color: #fff; }
.duo-anim .screen .b { color: #61afef; }
.duo-anim .screen .g { color: #5cd19e; opacity: .8; }
.duo-anim .screen .y { color: #e5c07b; }
.duo-anim .screen .r { color: #f0616d; }
.duo-anim .screen .d { color: #7c8c84; }
.duo-anim .screen .cur { display: inline-block; width: .6em; height: 1.1em; background: #c9d1d9; vertical-align: -.2em; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .duo-anim .screen .cur { animation: none; } }
.hero { padding-bottom: 90px; }

.duo-anim .screen { text-align: left; }

/* releases */
.releases { padding: 56px 0 96px; max-width: 820px; }
.releases h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 14px; }
.releases .lede.left { margin: 0 0 36px; max-width: 36em; }
.releases .lede a { color: var(--accent); }
.latest { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 56px; }
.latest-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; transition: transform .2s, box-shadow .2s; }
.latest-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.latest-card .label { font-size: 13px; color: var(--accent); font-weight: 600; }
.latest-card b { font-size: 34px; letter-spacing: -0.03em; }
.latest-card span:not(.label):not(.go) { color: var(--text-2); font-size: 14px; }
.latest-card .go { margin-top: 10px; font-size: 14px; color: var(--accent); }
.rel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.rel-head h2 { font-size: 28px; }
.rel-head .seg { margin-top: 0; }
.count { color: var(--text-3); font-size: 14px; margin: 6px 0 28px; }
.month { font-size: 15px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; margin: 40px 0 14px; }
.rel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px; margin-bottom: 14px; scroll-margin-top: 80px; }
.rel header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.rel h3 { font-size: 24px; display: flex; align-items: center; gap: 10px; }
.pill { font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 3px 10px; border-radius: 999px; }
.rel .meta { color: var(--text-3); font-size: 13px; margin: 0; }
.rel .title { font-weight: 600; margin: 14px 0 4px; }
.rel h4 { font-size: 15px; margin: 18px 0 6px; }
.rel ul { margin: 0; padding-left: 20px; color: var(--text-2); font-size: 15px; }
.rel li { margin: 5px 0; }
.rel-actions { margin-top: 22px; }
.verify { margin-top: 14px; font-size: 14px; color: var(--text-2); }
.verify summary { cursor: pointer; color: var(--accent); }
.verify code { display: block; word-break: break-all; background: var(--surface-2); padding: 10px 12px; border-radius: 8px; font-size: 12px; color: var(--text); }
.verify .hint code { display: inline; padding: 2px 6px; }
.howto { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 32px; }
.howto h2 { font-size: 24px; margin-bottom: 12px; }
.howto p { color: var(--text-2); }
@media (max-width: 640px) { .latest { grid-template-columns: 1fr; } }

/* glass buttons */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 92%, #fff) 0%, color-mix(in srgb, var(--accent) 78%, transparent) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(0,0,0,.12), 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent), 0 10px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn::before { content: ""; position: absolute; inset: 0 0 55% 0; z-index: -1; background: linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,0)); border-radius: inherit; }
.btn:hover { opacity: 1; filter: brightness(1.06); transform: translateY(-1px); }
.btn:active { transform: translateY(0); filter: brightness(.97); }
.btn.glass {
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.06));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -1px 0 rgba(0,0,0,.08), 0 0 0 1px var(--line), 0 10px 24px -12px rgba(0,0,0,.45);
}
@media (prefers-color-scheme: light) { .btn.glass { background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.5)); } }
.btn.secondary { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; overflow: visible; }
.btn.secondary::before { display: none; }
.hero .actions, .cta .actions { position: relative; }
.hero .actions::before, .cta .actions::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 460px; height: 150px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, var(--accent-soft), transparent 75%); filter: blur(10px); }

/* optical vertical centering of button labels */
.btn { padding: 12px 24px 14px; }
.btn.small { padding: 7px 15px 9px; }
.btn.secondary { padding-inline: 8px; }

.win { box-shadow: 0 0 0 1px var(--line), 0 18px 40px -22px rgba(0,0,0,.55); }
.mac-stage .win { margin-inline: auto; }

/* docs icons */
.ico { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.doc-nav a { display: flex; align-items: center; gap: 10px; }
.doc-nav a .ico { opacity: .75; }
.doc-nav a.on .ico { opacity: 1; }
.doc-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin: 4px 0 18px; }
.doc-icon .ico { stroke-width: 1.6; }
.pager a .ico { vertical-align: -3px; margin-right: 6px; }
.prose li.withico { list-style: none; margin-left: -22px; }
.prose li.withico a { display: inline-flex; align-items: center; gap: 10px; }

.legal { padding: 56px 0 96px; max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 14px; }
.legal .meta { color: var(--text-3); font-size: 14px; margin: 0 0 22px; }
