/* Clusty site. One stylesheet for every page.
   Deal (taste-skill, software): nav-centre, footer-dark, close-word, rhythm surface-pairs,
   buttons pill, mark = the client's own app icon. Palette: the app icon's sky blue on white,
   night sky in dark mode. Type: Geist and Geist Mono (OFL, self-hosted). */

@font-face { font-family: "Geist"; src: url("/assets/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --surface: #f2f6fc;
  --surface-2: #e8eef8;
  --card: #ffffff;
  --ink: #0b1424;
  --ink-2: #26324a;
  --muted: #56627a;
  --line: #dfe6f0;
  --accent: #1d63d8;
  --accent-ink: #ffffff;
  --accent-soft: #e3edff;
  --sky-1: #4c8fe6;
  --sky-2: #7fb2f0;
  --sky-3: #b9d7f9;
  --sky-ink: #071a3a;
  --sky-muted: #183766;
  --working: #2f7cf6;
  --waiting: #e08a00;
  --done: #1a9b62;
  --error: #e5484d;
  --idle: #8b95a7;
  --term-bg: #0d1117;
  --term-ink: #d7dde8;
  --term-dim: #7d8799;
  --shadow: 0 1px 2px rgba(11, 20, 36, .06), 0 12px 32px -12px rgba(11, 20, 36, .18);
  --shadow-lg: 0 2px 6px rgba(11, 20, 36, .08), 0 40px 80px -32px rgba(11, 20, 36, .35);
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --wrap: 1200px;
  --gutter: 24px;
  --nav: 64px;
  --padt: 120px;
  --padb: 96px;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070b14;
    --surface: #0d1422;
    --surface-2: #131c2e;
    --card: #101827;
    --ink: #e9eef6;
    --ink-2: #c6cfdd;
    --muted: #97a3b8;
    --line: #1f2a3e;
    --accent: #6aa6ff;
    --accent-ink: #04112a;
    --accent-soft: #14284a;
    --sky-1: #0a1734;
    --sky-2: #12285a;
    --sky-3: #1d3c78;
    --sky-ink: #f1f6ff;
    --sky-muted: #b9cdf0;
    --working: #5b9bff;
    --waiting: #f5b544;
    --done: #3ccf8e;
    --idle: #7c879a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .5), 0 40px 80px -32px rgba(0, 0, 0, .8);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; scroll-padding-top: calc(var(--nav) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
code, kbd, pre, .mono { font-family: var(--mono); }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.08; font-weight: 640; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.2vw, 76px); letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4.2vw, 52px); }
h3 { font-size: 20px; letter-spacing: -0.01em; line-height: 1.25; font-weight: 600; }
p { margin: 0; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Nav (nav-centre) ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.nav .wrap { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 19px; letter-spacing: -0.02em; min-height: 44px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav__links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; transition: background .2s, color .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { background: var(--surface-2); color: var(--ink); }
.nav__end { justify-self: end; display: flex; align-items: center; gap: 8px; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); border-radius: 999px; cursor: pointer; }
.nav__toggle svg { margin: auto; }
.nav__toggle:hover { background: var(--surface-2); }
@media (max-width: 900px) {
  .nav .wrap { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .nav__end .btn { display: none; }
  .nav__toggle { display: grid; }
  .nav.is-open { height: 100svh; background: var(--bg); }
  .nav.is-open .wrap { grid-template-rows: var(--nav) 1fr; align-content: start; }
  .nav.is-open .nav__links { display: flex; flex-direction: column; grid-column: 1 / -1; grid-row: 2; gap: 4px; padding-top: 16px; }
  .nav.is-open .nav__links a { font-size: 26px; font-weight: 600; min-height: 56px; padding: 0 8px; }
  .nav.is-open .nav__end { grid-column: 2; grid-row: 1; }
  .nav.is-open .menu-cta { display: flex; }
}
.menu-cta { display: none; grid-column: 1 / -1; padding-top: 24px; }
.menu-cta .btn { width: 100%; }

/* ---------- Buttons (pill) ---------- */
.btn { --b: var(--accent); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; background: var(--b); color: var(--accent-ink); font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--b) 70%, transparent); }
.btn:active { transform: translateY(1px) scale(.98); box-shadow: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 22%, transparent); }
.btn--ghost:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); box-shadow: none; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; transition: transform .18s var(--ease); }
.btn:hover svg { transform: translateX(2px); }
.link { color: var(--accent); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .25s var(--ease); font-weight: 550; }
.link:hover { background-size: 100% 1.5px; }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--on { color: var(--done); background: color-mix(in srgb, var(--done) 13%, transparent); }
.badge--soon { color: var(--waiting); background: color-mix(in srgb, var(--waiting) 14%, transparent); }
.badge--plan { color: var(--muted); background: var(--surface-2); }
.badge--draft { color: var(--error); background: color-mix(in srgb, var(--error) 12%, transparent); }

/* ---------- Sections ---------- */
main > section, .page-section { position: relative; padding: var(--padt) 0 var(--padb); }
main > section.screen { min-height: 100svh; }
.ground-surface { background: var(--surface); }
.sec-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 56px; }
@media (min-width: 1024px) {
  .sec-head { max-width: none; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: 64px; align-items: end; }
  .sec-head p { padding-bottom: 6px; }
}
.sec-head p { font-size: 19px; color: var(--muted); max-width: 640px; }
.eyebrow { font: 600 14px/1 var(--mono); color: var(--accent); letter-spacing: 0; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; padding: calc(var(--nav) + 64px) 0 48px; background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 55%, var(--sky-3) 100%); color: var(--sky-ink); overflow: hidden; display: flex; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero__text { display: grid; gap: 24px; align-content: start; }
.hero__lead { font-size: 20px; line-height: 1.5; color: var(--sky-muted); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero .btn { --b: var(--sky-ink); color: var(--sky-1); }
@media (prefers-color-scheme: light) { .hero .btn { color: #ffffff; } }
.hero .btn--ghost { color: var(--sky-ink); border-color: color-mix(in srgb, var(--sky-ink) 35%, transparent); background: color-mix(in srgb, #ffffff 14%, transparent); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--sky-muted); margin-top: 4px; list-style: none; padding: 0; }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 16px; height: 16px; }
.hero__stage { position: relative; height: min(640px, calc(100svh - var(--nav) - 112px)); min-height: 520px; }
.hero__cloud { position: absolute; width: 330px; left: -2%; top: 6%; filter: drop-shadow(0 30px 40px rgba(7, 26, 58, .25)); z-index: 2; }
.hero__phone { position: absolute; right: 0; top: 4%; z-index: 3; }
.hero__watch { position: absolute; left: 10%; bottom: 6%; z-index: 4; }
.hero__sky { position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .9; }
.hero__sky span { position: absolute; border-radius: 999px; background: rgba(255, 255, 255, .5); filter: blur(28px); }
@media (prefers-color-scheme: dark) { .hero__sky span { background: rgba(120, 170, 255, .12); } }

/* Hero entrance (data-enter) */
[data-enter] > * { animation: rise .9s var(--ease) both; }
[data-enter] > *:nth-child(2) { animation-delay: .08s; }
[data-enter] > *:nth-child(3) { animation-delay: .16s; }
[data-enter] > *:nth-child(4) { animation-delay: .24s; }
[data-enter] > *:nth-child(5) { animation-delay: .32s; }
.hero__stage > * { animation: rise 1.1s var(--ease) both; animation-delay: .2s; }
.hero__stage > .hero__cloud { animation: cloud-in 1.4s var(--ease) both, float 6s ease-in-out 1.4s 2 alternate; }
.hero__stage > .hero__watch { animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes cloud-in { from { opacity: 0; transform: translate(-24px, 24px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes float { to { transform: translateY(-10px); } }

/* ---------- Device mocks ---------- */
.phone { width: 300px; height: 612px; border-radius: 52px; background: #0b0d12; padding: 11px; box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #2b2f38; position: relative; }
.phone__screen { width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: #f4f6fa; color: #0b1424; position: relative; font-size: 13px; display: flex; flex-direction: column; }
.phone__island { position: absolute; top: 9px; left: 50%; translate: -50% 0; width: 92px; height: 27px; border-radius: 20px; background: #000; z-index: 3; }
.phone__status { height: 46px; display: flex; justify-content: space-between; align-items: center; padding: 6px 26px 0 30px; font-weight: 600; font-size: 14px; flex: none; }
.phone__status svg { height: 11px; width: auto; }
.phone--dark .phone__screen { background: #0b0f17; color: #e9eef6; }
@media (prefers-color-scheme: dark) { .phone .phone__screen { background: #0b0f17; color: #e9eef6; } .phone .app-row { background: #141b28; } .phone .app-group__name { color: #97a3b8; } .phone .app-row small { color: #8b96aa; } .phone .app-top small { color: #8b96aa; } .phone .app-tabbar { background: rgba(20, 27, 40, .92); border-color: #232d40; } .phone .app-tabbar span { color: #8b96aa; } .phone .app-search { background: #141b28; color: #7d8799; } }

.app-top { padding: 4px 18px 10px; display: grid; gap: 2px; }
.app-top b { font-size: 26px; letter-spacing: -0.03em; font-weight: 700; }
.app-top small { color: #5a6478; font-size: 12.5px; display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot--on { background: var(--done); box-shadow: 0 0 0 3px color-mix(in srgb, var(--done) 25%, transparent); }
.app-search { margin: 4px 14px 10px; height: 34px; border-radius: 10px; background: #e7ebf2; color: #7d8799; display: flex; align-items: center; gap: 6px; padding: 0 10px; font-size: 13px; }
.app-group { padding: 0 14px; margin-bottom: 10px; }
.app-group__name { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: #5a6478; padding: 4px 4px 6px; letter-spacing: .01em; }
.app-group__name i { width: 10px; height: 10px; border-radius: 3px; }
.app-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; background: #fff; padding: 8px 10px 8px 12px; border-radius: 12px; margin-bottom: 6px; }
.app-row > div { min-width: 0; }
.app-row b { font-weight: 600; font-size: 13.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-row small { color: #6b7588; font-size: 11.5px; font-family: var(--mono); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 650; white-space: nowrap; }
.chip--working { color: var(--working); background: color-mix(in srgb, var(--working) 14%, transparent); }
.chip--waiting { color: #b06a00; background: color-mix(in srgb, var(--waiting) 20%, transparent); }
@media (prefers-color-scheme: dark) { .chip--waiting { color: var(--waiting); } }
.chip--done { color: var(--done); background: color-mix(in srgb, var(--done) 14%, transparent); }
.chip--idle { color: var(--idle); background: color-mix(in srgb, var(--idle) 14%, transparent); }
.chip--working::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; border-right-color: transparent; animation: spin 1s linear infinite; }
.chip--waiting::before, .chip--done::before, .chip--idle::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip--waiting::before { animation: blink 1.6s ease-in-out 3; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: .25; } }
.app-tabbar { margin-top: auto; height: 74px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #e3e8f0; background: rgba(255, 255, 255, .92); padding: 8px 10px 22px; }
.app-tabbar span { display: grid; justify-items: center; gap: 3px; font-size: 10px; color: #7d8799; font-weight: 550; }
.app-tabbar span.is-on { color: var(--working); }
.app-tabbar svg { width: 22px; height: 22px; }

.watch { width: 168px; height: 204px; border-radius: 48px; background: #0b0d12; padding: 10px; box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #2b2f38; position: relative; }
.watch::after { content: ""; position: absolute; right: -6px; top: 52px; width: 7px; height: 34px; border-radius: 4px; background: #23262e; }
.watch__screen { height: 100%; border-radius: 38px; background: #000; color: #fff; padding: 16px 14px 12px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.watch__screen small { color: #f5b544; font-weight: 650; font-size: 11px; display: flex; align-items: center; gap: 5px; }
.watch__screen p { font-weight: 600; line-height: 1.25; font-size: 13px; }
.watch__screen code { font-size: 11px; color: #c6cfdd; background: #1b1f27; border-radius: 6px; padding: 4px 6px; display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.watch__btns { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.watch__btns span { height: 30px; border-radius: 999px; display: grid; place-items: center; font-weight: 700; font-size: 12.5px; background: #262a33; }
.watch__btns span:first-child { background: #1a9b62; }

/* Mac terminal window */
.mac { border-radius: 14px; background: var(--term-bg); box-shadow: var(--shadow-lg); overflow: hidden; color: var(--term-ink); font: 13.5px/1.6 var(--mono); border: 1px solid #222a36; }
.mac__bar { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #161b24; border-bottom: 1px solid #232a36; }
.mac__bar i { width: 12px; height: 12px; border-radius: 50%; background: #3a404c; }
.mac__bar i:nth-child(1) { background: #ff5f57; } .mac__bar i:nth-child(2) { background: #febc2e; } .mac__bar i:nth-child(3) { background: #28c840; }
.mac__tabs { display: flex; gap: 2px; padding: 6px 8px 0; background: #11151d; font-size: 12px; overflow: hidden; }
.mac__tabs span { padding: 6px 14px; border-radius: 8px 8px 0 0; color: var(--term-dim); display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.mac__tabs span.is-on { background: var(--term-bg); color: var(--term-ink); }
.mac__body { padding: 18px 20px 22px; white-space: pre-wrap; overflow: hidden; }
.mac__body .dim { color: var(--term-dim); }
.mac__body .ok { color: #3fb950; }
.mac__body .warn { color: #f5b544; }
.mac__body .acc { color: #d97757; }
.mac__body .sel { color: #79c0ff; }
.dialog-rule { color: #3a4352; display: block; overflow: hidden; white-space: nowrap; }

/* ---------- App frame section ---------- */
.showcase { display: grid; grid-template-columns: minmax(0, 1.55fr) auto; gap: 40px; align-items: center; }
.showcase .mac { min-height: 460px; }
.showcase__link { position: relative; }
.term-phone .phone__screen { background: #0b0f17; color: #e9eef6; }
.term-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 16px 8px; font-size: 13px; }
.term-head b { font-size: 15px; }
.term-view { margin: 0 10px; flex: 1; background: #0d1117; border-radius: 12px; padding: 10px 10px; font: 10.6px/1.5 var(--mono); color: #d7dde8; white-space: pre-wrap; overflow: hidden; border: 1px solid #1c2330; }
.term-view .dim { color: #7d8799; } .term-view .acc { color: #d97757; } .term-view .sel { color: #79c0ff; }
.answer { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 10px 0; }
.answer span { height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 650; font-size: 14px; background: #1b2230; color: #e9eef6; }
.answer span:first-child { background: #1a9b62; color: #fff; }
.keys { display: flex; gap: 5px; padding: 8px 10px; }
.keys span { flex: 1; height: 28px; border-radius: 8px; background: #1b2230; display: grid; place-items: center; font: 600 10.5px var(--mono); color: #b8c2d3; }
.compose { margin: 0 10px 26px; height: 40px; border-radius: 20px; background: #1b2230; display: flex; align-items: center; justify-content: space-between; padding: 0 6px 0 14px; color: #7d8799; font-size: 13px; }
.compose i { width: 30px; height: 30px; border-radius: 50%; background: var(--working); display: grid; place-items: center; }
.compose i svg { width: 15px; height: 15px; color: #fff; }

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.ground-surface .card { border-color: transparent; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card__visual { height: 280px; position: relative; overflow: hidden; background: var(--surface); display: grid; place-items: center; }
.ground-surface .card__visual { background: var(--surface-2); }
.card__body { padding: 22px 24px 26px; display: grid; gap: 8px; }
.card__body p { color: var(--muted); font-size: 16px; }
.card__tag { justify-self: start; margin-bottom: 4px; }

/* lock screen notification */
.lock { width: 86%; display: grid; gap: 10px; }
.notif { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: start; padding: 12px 14px; border-radius: 18px; background: color-mix(in srgb, var(--card) 82%, transparent); backdrop-filter: blur(10px); box-shadow: var(--shadow); font-size: 13.5px; line-height: 1.35; }
.notif img { width: 38px; height: 38px; border-radius: 9px; }
.notif b { display: block; font-weight: 650; }
.notif small { color: var(--muted); font-size: 12px; }
.notif--in { animation: notif 3.6s var(--ease) infinite; }
.lock__time { text-align: center; font-weight: 600; font-size: 56px; letter-spacing: -0.04em; line-height: 1; color: var(--ink); opacity: .9; margin-bottom: 6px; }
@keyframes notif { 0%, 72% { opacity: 1; transform: none; } 82% { opacity: 0; transform: translateY(-6px); } 88% { opacity: 0; transform: translateY(-14px) scale(.97); } 100% { opacity: 1; transform: none; } }
[data-paused] .notif--in, [data-paused] .pulse, [data-paused] .wave i, .is-paused .notif--in, .is-paused .pulse, .is-paused .wave i { animation-play-state: paused; }

/* Face ID approval sheet */
.sheet { width: 84%; background: var(--card); border-radius: 20px; box-shadow: var(--shadow); padding: 18px; display: grid; gap: 12px; font-size: 13.5px; }
.sheet__title { display: flex; align-items: center; justify-content: space-between; font-weight: 650; }
.sheet code { display: block; background: var(--term-bg); color: #f5b544; padding: 10px 12px; border-radius: 10px; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet__face { display: flex; align-items: center; gap: 10px; justify-content: center; height: 42px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-weight: 650; }
.sheet__face svg { width: 22px; height: 22px; }
.sheet__meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }

/* voice */
.voice { width: 86%; display: grid; gap: 12px; }
.bubble { justify-self: end; max-width: 92%; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 18px 18px 4px 18px; font-size: 14px; line-height: 1.4; }
.bubble--in { justify-self: start; background: var(--card); color: var(--ink); border-radius: 18px 18px 18px 4px; box-shadow: var(--shadow); }
.wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 44px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); padding: 0 16px; }
.wave i { width: 4px; border-radius: 2px; background: var(--accent); height: 30%; animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-delay: -.3s; } .wave i:nth-child(3n) { animation-delay: -.6s; } .wave i:nth-child(5n) { animation-delay: -.9s; }
@keyframes wave { 50% { height: 85%; } }

/* ports */
.list { width: 86%; background: var(--card); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; font-size: 13.5px; }
.list__row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.list__row:last-child { border-bottom: 0; }
.list__row b { font-family: var(--mono); font-weight: 600; font-size: 13px; }
.list__row small { color: var(--muted); display: block; font-size: 12px; }
.list__row em { font-style: normal; font-weight: 650; color: var(--accent); font-size: 13px; }
.port { width: 30px; height: 30px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.port svg { width: 16px; height: 16px; }

/* ---------- How it works ---------- */
.flow { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px 32px 28px; position: relative; }
.flow svg { width: 100%; height: auto; overflow: visible; }
.flow text { font-family: var(--sans); fill: var(--ink); }
.flow .sub { fill: var(--muted); font-size: 13px; }
.flow .node { fill: var(--surface); stroke: var(--line); }
.flow .node--accent { fill: var(--accent-soft); stroke: color-mix(in srgb, var(--accent) 40%, transparent); }
.flow .wire { stroke: color-mix(in srgb, var(--ink) 22%, transparent); stroke-width: 2; fill: none; }
.flow .wire--dash { stroke-dasharray: 6 7; }
.flow .pulse { fill: var(--accent); offset-rotate: 0deg; animation: travel 3.2s linear infinite; }
.flow .pulse--b { animation-delay: -1.6s; }
.flow .pulse--back { fill: var(--waiting); animation-direction: reverse; animation-delay: -.8s; }
@keyframes travel { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.flow__legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.flow__legend span { display: inline-flex; align-items: center; gap: 8px; }
.flow .flow__legend svg { width: 16px; height: 16px; }
.flow__legend i { width: 22px; height: 0; border-top: 2px solid color-mix(in srgb, var(--ink) 30%, transparent); }
.flow__legend i.dash { border-top-style: dashed; }
.pause { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.pause:hover { background: var(--surface-2); }
.pause svg { width: 16px; height: 16px; }
.pause .i-play { display: none; } .is-paused .pause .i-play { display: block; } .is-paused .pause .i-pause { display: none; }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 6px; align-content: start; padding-top: 18px; border-top: 2px solid var(--line); }
.steps li::before { content: counter(s); font: 600 14px var(--mono); color: var(--accent); }
.steps b { font-weight: 600; font-size: 17px; }
.steps code { font-size: 14px; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.steps p { color: var(--muted); font-size: 15.5px; }

/* ---------- Grid of agents and platforms ---------- */
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.ground-surface .panel { border-color: transparent; }
.panel h3 { margin-bottom: 18px; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rows li:last-child { border-bottom: 0; }
.rows b { font-weight: 600; display: block; }
.rows small { color: var(--muted); font-size: 14px; display: block; line-height: 1.4; }
.ico { width: 40px; height: 40px; border-radius: 10px; background: var(--surface); display: grid; place-items: center; }
.ground-surface .ico { background: var(--surface-2); }
.ico span { width: 22px; height: 22px; display: block; background: var(--c, var(--ink)); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ico--mono span { --c: var(--ink); }
.ico svg { width: 22px; height: 22px; color: var(--ink); }
.ico img { width: 26px; height: 26px; border-radius: 6px; }

/* ---------- Security ---------- */
.sec-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.points li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.points .ico { width: 44px; height: 44px; }
.points p { color: var(--muted); font-size: 16px; margin-top: 4px; }
.seen { display: grid; gap: 14px; }
.seen__box { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.seen__box header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--line); }
.seen__box pre { margin: 0; padding: 16px; font-size: 12.5px; line-height: 1.6; white-space: pre-wrap; word-break: break-all; color: var(--muted); max-height: 150px; overflow: hidden; }
.seen__box--plain pre { background: var(--term-bg); color: var(--term-ink); word-break: normal; }
.seen__box--plain pre .acc { color: #d97757; } .seen__box--plain pre .dim { color: var(--term-dim); }
.seen__cloud { display: flex; align-items: center; gap: 16px; }
.seen__cloud img { width: 112px; }
.seen__cloud p { font-size: 15px; color: var(--muted); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 980px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.plan--cloud { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__price b { font-size: 52px; font-weight: 650; letter-spacing: -0.04em; line-height: 1; }
.plan__price span { color: var(--muted); }
.plan__note { color: var(--muted); font-size: 15px; min-height: 24px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 16px; }
.plan li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--done); }
.plan .btn { margin-top: auto; }
.toggle { display: inline-flex; padding: 4px; background: var(--surface-2); border-radius: 999px; gap: 2px; margin-bottom: 24px; }
.toggle button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 15px var(--sans); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.fineprint { color: var(--muted); font-size: 14px; margin-top: 20px; max-width: 980px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.faq__side { display: grid; gap: 20px; }
.faq__side img { width: 220px; }
details { border-bottom: 1px solid var(--line); }
details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; min-height: 44px; font-weight: 600; font-size: 18px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s var(--ease); }
details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
details p { color: var(--muted); padding: 0 0 22px; max-width: 640px; }
details summary:hover { color: var(--accent); }

/* ---------- Closing + footer (close-word, footer-dark) ---------- */
.closing { background: #060a12; color: #e9eef6; padding: var(--padt) 0 40px; overflow: hidden; }
.closing .wrap { display: grid; gap: 72px; }
.close__row { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.close__row h2 { max-width: 680px; }
.close__row p { color: #97a3b8; font-size: 19px; margin-top: 14px; max-width: 560px; }
.closing .btn { --b: #6aa6ff; color: #04112a; }
.close__word { margin-top: 88px; font-size: clamp(88px, 22vw, 300px); font-weight: 700; letter-spacing: -0.06em; line-height: .8; color: #e9eef6; margin-bottom: 0; display: flex; align-items: end; gap: .06em; user-select: none; }
.close__word img { width: .9em; height: auto; margin-bottom: .02em; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-top: 40px; border-top: 1px solid #1c2536; }
.foot h3 { font-size: 14px; color: #97a3b8; font-weight: 600; margin-bottom: 12px; letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot a { color: #d4dbe7; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
.foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot p { color: #97a3b8; font-size: 15px; max-width: 320px; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: #7c879a; font-size: 13.5px; padding-top: 8px; }

/* ---------- Sub pages ---------- */
.page-hero { padding: calc(var(--nav) + 72px) 0 48px; background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); }
.page-hero p { font-size: 19px; color: var(--muted); max-width: 640px; margin-top: 16px; }
.page-hero img { width: 220px; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 64px 0 16px; scroll-margin-top: calc(var(--nav) + 24px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 10px; }
.prose p, .prose li { color: var(--ink-2); font-size: 17px; }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; margin: 14px 0; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose :not(pre) > code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: .88em; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15.5px; }
.prose th, .prose td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; color: var(--muted); font-size: 14px; }
.note { border-radius: var(--r); padding: 16px 18px; background: var(--accent-soft); color: var(--ink); font-size: 16px; margin: 18px 0; }
.note--warn { background: color-mix(in srgb, var(--waiting) 14%, transparent); }
.draft-banner { border-radius: var(--r); padding: 18px 20px; background: color-mix(in srgb, var(--error) 10%, transparent); border: 1px solid color-mix(in srgb, var(--error) 35%, transparent); margin-bottom: 40px; font-size: 16px; }
.draft-banner b { color: var(--error); }

/* code block with copy */
.code { position: relative; background: var(--term-bg); color: var(--term-ink); border-radius: 12px; margin: 14px 0; border: 1px solid #1f2633; }
.code pre { margin: 0; padding: 16px 64px 16px 18px; overflow-x: auto; font: 14.5px/1.6 var(--mono); }
.code pre .dim { color: var(--term-dim); user-select: none; }
.copy { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border-radius: 10px; border: 0; background: transparent; color: #97a3b8; cursor: pointer; display: grid; place-items: center; }
.copy:hover { background: #1b2230; color: #fff; }
.copy svg { width: 18px; height: 18px; }
.copy .i-ok { display: none; color: #3fb950; }
.copy.is-done .i-ok { display: block; } .copy.is-done .i-copy { display: none; }

/* docs layout */
.docs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(var(--nav) + 24px); display: grid; gap: 2px; }
.toc b { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.toc a { text-decoration: none; color: var(--ink-2); font-size: 15px; min-height: 40px; display: flex; align-items: center; padding: 0 12px; border-radius: 10px; border-left: 2px solid transparent; }
.toc a:hover { background: var(--surface); color: var(--ink); }
.toc a.is-on { color: var(--accent); background: var(--accent-soft); }

/* install tabs */
.tabs { display: grid; gap: 20px; }
.tablist { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 999px; justify-self: start; }
.tablist button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 15px var(--sans); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.tablist button:hover { color: var(--ink); }
.tablist button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.tablist button .badge { height: 20px; font-size: 11px; padding: 0 8px; }
.tabpanel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; }
.tabpanel[hidden] { display: none; }
.tabpanel ol.how { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; counter-reset: s; }
.tabpanel ol.how > li { counter-increment: s; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; }
.tabpanel ol.how > li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font: 600 14px var(--mono); }
.tabpanel h3 { margin-bottom: 6px; }
.tabpanel p { color: var(--muted); }
.install-grid { display: grid; gap: 56px; }
.install-block h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.install-block > p { color: var(--muted); margin-bottom: 20px; font-size: 18px; }
.soon { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.soon img { width: 140px; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.qr { width: 150px; height: 150px; border-radius: 16px; background: #fff; padding: 12px; box-shadow: var(--shadow); }
.sas { font: 600 30px var(--mono); letter-spacing: .08em; }

/* 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav) + 40px) 0 60px; }
.nf .wrap { display: grid; justify-items: center; gap: 20px; }
.nf img { width: 260px; }
.nf p { color: var(--muted); font-size: 19px; max-width: 520px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero__phone .phone { zoom: .9; }
  .showcase { grid-template-columns: 1fr; }
  .showcase .term-phone { display: none; }
}
@media (max-width: 1023px) {
  :root { --padt: 104px; --padb: 80px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 8px; align-content: start; }
  .hero__stage { height: 520px; min-height: 0; }
  .hero__phone .phone { zoom: .85; }
  .hero__cloud { width: 300px; left: 0; top: 0; }
  .hero__phone { right: 4%; top: 0; }
  .hero__watch { left: 6%; bottom: 0; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .grid2, .sec-grid, .faq, .price-grid { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .docs { grid-template-columns: 1fr; }
  .toc { position: static; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .toc b { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --padt: 88px; --padb: 64px; }
  body { font-size: 16px; }
  h1 { font-size: clamp(36px, 10.4vw, 48px); }
  h2 { font-size: clamp(28px, 8vw, 36px); }
  .hero { padding-top: calc(var(--nav) + 32px); padding-bottom: 0; min-height: 0; }
  .hero__text { gap: 18px; }
  .hero__lead { font-size: 17px; }
  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero__actions .btn { width: 100%; padding: 0 12px; }
  .hero__facts { font-size: 14px; gap: 6px 14px; }
  .hero__stage { height: 360px; margin-top: 16px; }
  .hero__cloud { width: 170px; left: -6px; top: 8px; }
  .hero__phone { right: 0; top: 24px; }
  .hero__phone .phone { zoom: .78; }
  .hero__watch { display: none; }
  .sec-head { margin-bottom: 36px; }
  .sec-head p { font-size: 17px; }
  .cards { grid-template-columns: 1fr; }
  .cards .card:last-child:nth-child(odd) { grid-column: auto; }
  .card__visual { height: 240px; }
  .showcase .mac { min-height: 0; font-size: 11.5px; }
  .showcase .mac__body { max-height: 330px; -webkit-mask: linear-gradient(#000 70%, transparent); mask: linear-gradient(#000 70%, transparent); }
  .mac__body { padding: 14px; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .flow { padding: 24px 12px 18px; }
  .flow--wide { display: none; }
  .panel, .plan, .tabpanel { padding: 22px; }
  .rows li { grid-template-columns: 36px 1fr; }
  .rows li .badge { grid-column: 2; justify-self: start; margin-top: -4px; }
  .ico { width: 36px; height: 36px; }
  .plan__price b { font-size: 44px; }
  .close__row .btn { width: 100%; }
  .foot { grid-template-columns: 1fr 1fr; gap: 20px; }
  .foot > div:first-child { grid-column: 1 / -1; }
  .page-hero .wrap { grid-template-columns: 1fr; }
  .page-hero img { width: 150px; grid-row: 1; }
  .pair { grid-template-columns: 1fr; }
  .soon { grid-template-columns: 1fr; }
  .tablist { justify-self: stretch; }
  .tablist button { flex: 1; padding: 0 12px; }
  .faq__side img { width: 150px; }
  .seen__cloud img { width: 84px; }
}
@media (min-width: 641px) { .flow--narrow { display: none; } }

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

/* ---------- Additions ---------- */
.code-label { margin: 14px 0 -6px; }
.closing--lite { padding-top: 24px; }
.closing--lite .wrap { gap: 0; }
.closing--lite .foot { border-top: 0; }
.mono { font-family: var(--mono); }
@media (max-width: 640px) {
  .hero__stage { -webkit-mask: linear-gradient(#000 78%, transparent); mask: linear-gradient(#000 78%, transparent); }
}
.page-hero + .page-section { padding-top: 40px; }
@media (prefers-color-scheme: dark) { .closing { background: #0a1122; border-top: 1px solid var(--line); } }
.showcase .term-phone { zoom: .86; }
.showcase .mac__body { padding-top: 14px; padding-bottom: 16px; }
.nav.is-open .nav__links, .nav.is-open .menu-cta { align-self: start; }
.nav.is-open .nav__toggle .i-menu { display: none; }
.nav__toggle .i-close { display: none; }
.nav.is-open .nav__toggle .i-close { display: block; }
.toggle button { min-height: 44px; }

/* ---------- Beta launch: quick start, app buttons, troubleshooting ---------- */
.hero__badge { margin-bottom: -6px; }
.quick { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: q; }
.quick__step { counter-increment: q; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.quick__step::before { content: counter(q); width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font: 600 16px var(--mono); }
.quick__step h3 { font-size: 20px; }
.quick__step > p { color: var(--muted); font-size: 15.5px; }
.quick__step .code { margin: 0; }
.quick__step .code pre { font-size: 13.5px; }
.app-btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 4px 0 10px; }
.quick .app-btns { flex-direction: column; align-items: stretch; margin: 0; }
.btn__ico { width: 18px; height: 18px; display: inline-block; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.pending { border-radius: var(--r); padding: 12px 14px; background: color-mix(in srgb, var(--waiting) 14%, transparent); color: var(--ink); font-size: 15px; }
.tabpanel p.pending { color: var(--ink); }
.pending[hidden], .btn[hidden] { display: none; }
.tabs { scroll-margin-top: calc(var(--nav) + 16px); }
.tabpanel .note { margin: 24px 0 0; }
.tabpanel .note:first-child { margin: 0 0 24px; }
.tabpanel .code { margin: 10px 0; }
.spaced { margin-top: 16px; }
.faq-list { max-width: 820px; }
.faq-list details p + p { margin-top: -10px; }
.faq-list summary code { font-size: .9em; }
.install-block code, .faq-list code, .note code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: .88em; overflow-wrap: anywhere; }
.code code { background: none; padding: 0; font-size: inherit; overflow-wrap: normal; }
@media (max-width: 1023px) { .quick { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .quick__step { padding: 22px; } }
.prose :not(pre) > code { overflow-wrap: anywhere; }
@media (max-width: 1023px) { .docs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .prose th, .prose td { padding-right: 8px; font-size: 14px; overflow-wrap: anywhere; }
}
.quick__step .code pre { white-space: pre-wrap; overflow-wrap: anywhere; padding-right: 52px; }
.page-section--next { padding-top: 0; }
.quick__step .code code { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .page-hero--compact { padding-bottom: 24px; }
  .page-hero--compact img { display: none; }
}
/* Commands wrap instead of hiding under the copy button. Copy still takes the exact text. */
.code pre { white-space: pre-wrap; overflow-wrap: anywhere; padding-right: 56px; }
.code pre code { overflow-wrap: anywhere; }
