/* Nugget footer pages: About, Contact, Privacy and Terms.
   The visual language follows the landing page
   (design/landing-page-revamp-v2): zinc tokens, Inter, the floating glass nav,
   the framed dark hero over grained photography, hairline cards and the
   landing page's footer. Every page opens on the dark hero; the legal pages
   then read on paper. Light by default with a dark appearance in the
   footer, shared with the landing page, which links here. The copy comes from design/footer-pages. */

@font-face { font-family: Inter; src: url("/assets/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url("/assets/inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Inter; src: url("/assets/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #ffffff;
  --card: #ffffff;
  --well: #fafafa;
  --well-2: #f4f4f5;
  --rule: #e4e4e7;
  --rule-soft: #efeff1;
  --ink: #18181b;
  --ink-2: #52525b;
  --ink-3: #a1a1aa;
  --solid: #18181b;
  --on-solid: #ffffff;
  --tag: #52525b;
  --on-tag: #ffffff;
  --glass: rgba(255, 255, 255, 0.8);
  --slate: #27272a;
  --slate-deep: #18181b;
  --page: 1180px;
  --r-card: 10px;
  --r-sm: 6px;
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #09090b;
  --card: #131316;
  --well: #18181b;
  --well-2: #1f1f23;
  --rule: #27272a;
  --rule-soft: #1f1f23;
  --ink: #fafafa;
  --ink-2: #a1a1aa;
  --ink-3: #71717a;
  --solid: #fafafa;
  --on-solid: #09090b;
  --tag: #3f3f46;
  --on-tag: #f4f4f5;
  --glass: rgba(19, 19, 22, 0.78);
  --slate: #161619;
  --slate-deep: #111113;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 15px/1.6 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink-3); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: var(--r-sm); background: var(--solid); color: var(--on-solid); font-size: 13px; }
.skip:focus { top: 12px; }
.ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.nm { width: 22px; height: 16px; fill: currentColor; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { max-width: var(--page); margin: 0 auto; padding: 0 32px; }
.num { font-family: var(--mono); font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ── waitlist bar, as on the landing page ───────────────────────── */

/* ── floating glass nav ─────────────────────────────────────────── */
/* fixed height, so the nav shrinking never shifts the page under it */
.nav-wrap { position: sticky; top: 14px; z-index: 50; height: 60px; padding: 0 32px; margin-top: 18px; }
.nav { position: relative; max-width: var(--page); margin: 0 auto; height: 60px; padding: 0 10px 0 20px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: var(--glass); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border: 1px solid var(--rule); border-radius: var(--r-card); overflow: hidden; }
.nav, .nav-links, .nav .btn-solid { transition: height 0.5s var(--out), max-width 0.6s var(--out), background 0.5s, border-color 0.5s, color 0.5s; }
.nav-wrap.is-stuck .nav { height: 52px; max-width: 980px; }
.nav-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform-origin: left; transform: scaleX(var(--pp, 0)); opacity: 0.5; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 600; letter-spacing: -0.03em; }
.nav-links { display: flex; gap: 30px; font-size: 14px; color: var(--ink-2); }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--out); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-end { display: flex; align-items: center; justify-content: flex-end; gap: 20px; font-size: 14px; }
.nav-wrap.on-dark .nav { background: rgba(24, 24, 27, 0.72); border-color: #2a2a2e; color: #fafafa; }
.nav-wrap.on-dark .nav-links { color: #a1a1aa; }
.nav-wrap.on-dark .nav-links a:hover { color: #fafafa; }
.nav-wrap.on-dark .btn-solid { background: #fafafa; color: #18181b; }
.nav-wrap.on-dark .nav-progress { background: #fafafa; }

/* menu on smaller screens, as on the landing page */
.nav-toggle { display: none; place-items: center; width: 36px; height: 36px; margin-right: 8px; border-radius: 6px; color: inherit; transition: background 0.2s; }
.nav-toggle:hover, .nav-toggle[aria-expanded="true"] { background: rgba(24, 24, 27, 0.06); }
.nav-wrap.on-dark .nav-toggle:hover, .nav-wrap.on-dark .nav-toggle[aria-expanded="true"], :root[data-theme="dark"] .nav-toggle:hover, :root[data-theme="dark"] .nav-toggle[aria-expanded="true"] { background: rgba(250, 250, 250, 0.08); }
.nav-toggle .ic { width: 18px; height: 18px; }
.nav-toggle .ic-x, .nav-toggle[aria-expanded="true"] .ic-menu { display: none; }
.nav-toggle[aria-expanded="true"] .ic-x { display: block; }
.nav-sheet { position: absolute; left: 32px; right: 32px; top: calc(100% + 8px); z-index: 60; display: grid; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, 0.96); border: 1px solid var(--rule); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 60px -28px rgba(24, 24, 27, 0.28); }
.nav-sheet[hidden] { display: none; }
.nav-sheet a { display: flex; align-items: center; height: 44px; padding: 0 12px; border-radius: 6px; font-size: 15px; color: var(--ink-2); }
.nav-sheet a:hover, .nav-sheet a:focus-visible { background: var(--well-2); color: var(--ink); }
.nav-wrap.on-dark .nav-sheet, :root[data-theme="dark"] .nav-sheet { background: rgba(24, 24, 27, 0.94); border-color: #27272a; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8); }
.nav-wrap.on-dark .nav-sheet a, :root[data-theme="dark"] .nav-sheet a { color: #d4d4d8; }
.nav-wrap.on-dark .nav-sheet a:hover, .nav-wrap.on-dark .nav-sheet a:focus-visible, :root[data-theme="dark"] .nav-sheet a:hover, :root[data-theme="dark"] .nav-sheet a:focus-visible { background: rgba(250, 250, 250, 0.06); color: #fafafa; }
html:not(.calm) .nav-sheet:not([hidden]) { animation: sheet-in 0.35s var(--out); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-6px); } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500; white-space: nowrap; transition: transform 0.2s var(--out), border-color 0.25s, opacity 0.25s; }
.btn:active { transform: scale(0.98); }
.btn-solid { background: var(--solid); color: var(--on-solid); }
.btn-solid:hover { opacity: 0.88; }
.btn-line { border: 1px solid var(--rule); background: var(--card); color: var(--ink); }
.btn-line:hover { border-color: var(--ink-3); }
.btn-lg { height: 44px; padding: 0 20px; font-size: 14.5px; }
.btn .ic { width: 15px; height: 15px; }

/* ── page header: quiet on paper by default ─────────────────────── */
.crumb { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.crumb i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.title { margin-top: 22px; max-width: 900px; font-size: clamp(34px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -0.05em; text-wrap: balance; }
.sub { margin-top: 22px; max-width: 560px; font-size: 18px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.page-foot { margin-top: 64px; border-top: 1px solid var(--rule); display: flex; align-items: flex-start; justify-content: space-between; gap: 0 32px; flex-wrap: wrap; }
.switch { display: flex; gap: 28px; font-size: 14px; color: var(--ink-3); }
.switch a { position: relative; padding: 18px 0 4px; transition: color 0.25s; }
.switch a:hover, .switch a[aria-current="page"] { color: var(--ink); }
.switch a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ink); }
.meta { display: flex; align-items: center; gap: 8px 14px; padding-top: 17px; font-size: 13px; color: var(--ink-3); flex-wrap: wrap; }
/* StageTag: solid muted fill, contrast text, 6px corners, a tiny status dot */
.stage-tag { display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 9px; border-radius: var(--r-sm); background: var(--tag); color: var(--on-tag); font-size: 12px; font-weight: 500; white-space: nowrap; }
.stage-tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.7; }

/* ── the framed dark hero over grained photography ─────────────── */
.hero { position: relative; margin: -66px 12px 0; min-height: 640px; display: flex; align-items: flex-end; overflow: hidden; border-radius: 24px; background: var(--slate-deep); color: #fafafa; isolation: isolate; }
.hero.short { min-height: 560px; }
.hero::before, .slate::before { content: ""; position: absolute; inset: 0; z-index: -3; background: linear-gradient(180deg, rgba(24, 24, 27, 0.8) 0%, rgba(24, 24, 27, 0.6) 44%, rgba(24, 24, 27, 0.86) 100%), var(--photo) center var(--photo-y, 60%) / cover no-repeat; filter: grayscale(1) contrast(1.06); }
:root[data-theme="dark"] .hero::before, :root[data-theme="dark"] .slate::before { background: linear-gradient(180deg, rgba(9, 9, 11, 0.88) 0%, rgba(9, 9, 11, 0.7) 44%, rgba(9, 9, 11, 0.9) 100%), var(--photo) center var(--photo-y, 60%) / cover no-repeat; }
.hero::after, .slate::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--grain); background-size: 200px 200px; mix-blend-mode: screen; opacity: 0.2; }
:root[data-theme="dark"] .hero, :root[data-theme="dark"] .slate { box-shadow: inset 0 0 0 1px #222226; }
.photo-hills { --photo: url("/assets/hills.jpg?v=2"); --photo-y: 66%; }
.photo-forest { --photo: url("/assets/forest.jpg?v=2"); --photo-y: 72%; }
.crop-high { --photo-y: 36%; }
.hero-inner { width: 100%; max-width: var(--page); margin: 0 auto; padding: 200px 32px 36px; }
.hero .crumb { color: #d4d4d8; }
.hero .crumb i { background: #fafafa; }
.hero .title { font-size: clamp(36px, 6vw, 78px); line-height: 1.02; }
.hero .sub { color: #d4d4d8; }
.hero .page-foot { border-top-color: rgba(255, 255, 255, 0.16); }
.hero .switch, .hero .meta { color: #a1a1aa; }
.hero .switch a:hover, .hero .switch a[aria-current="page"] { color: #fafafa; }
.hero .switch a[aria-current="page"]::after { background: #fafafa; }
.hero .stage-tag { background: #3f3f46; color: #fafafa; }

/* the header arrives once, quietly, without depending on a script */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-inner > * { animation: rise 1s var(--out) both; animation-delay: 120ms; }
.hero-inner > :nth-child(2) { animation-delay: 200ms; }
.hero-inner > :nth-child(3) { animation-delay: 280ms; }
.hero-inner > :nth-child(4) { animation-delay: 380ms; }

/* ── sections ───────────────────────────────────────────────────── */
.section { padding-top: 136px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.eyebrow.center { justify-content: center; }
.h2 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.08; letter-spacing: -0.04em; text-wrap: balance; }
.center { text-align: center; }
.eyebrow + .h2 { margin-top: 18px; }
.split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.prose { padding-top: 36px; }
.prose p { font-size: 17px; line-height: 1.72; color: var(--ink-2); text-wrap: pretty; }
.prose p + p { margin-top: 18px; }
.lede-c { max-width: 600px; margin: 20px auto 0; text-align: center; font-size: 17px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }

/* the statement band, as the landing page's dark slate */
.slate { position: relative; isolation: isolate; overflow: hidden; margin: 136px 12px 0; border-radius: 24px; background: var(--slate); color: #fafafa; }
.slate-inner { max-width: 820px; margin: 0 auto; padding: 136px 32px; text-align: center; }
.slate .eyebrow { justify-content: center; color: #d4d4d8; }
.slate .eyebrow i { background: #fafafa; }
.slate h2 { margin-top: 18px; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -0.045em; text-wrap: balance; }
.slate p { max-width: 620px; margin: 22px auto 0; font-size: 17px; line-height: 1.7; color: #d4d4d8; text-wrap: pretty; }
.slate p + p { margin-top: 14px; }
.slate .btn-solid { margin-top: 34px; background: #fafafa; color: #18181b; }

/* principle cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 56px; }
.card { display: flex; flex-direction: column; min-height: 272px; padding: 26px 26px 28px; border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--card); transition: border-color 0.3s; }
.card:hover { border-color: var(--ink-3); }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.ic-box { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--well-2); color: var(--ink); }
.ic-box .ic { width: 17px; height: 17px; }
.card h3 { margin-top: auto; padding-top: 52px; font-size: 19px; line-height: 1.32; letter-spacing: -0.02em; text-wrap: balance; }
.card p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }

/* closing call to action */
.cta { padding-top: 152px; text-align: center; }
.cta-row { display: flex; justify-content: center; gap: 10px; margin-top: 32px; flex-wrap: wrap; }

/* ── contact ────────────────────────────────────────────────────── */
.contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 56px; }
.contact { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--rule); border-radius: var(--r-card); background: var(--card); transition: border-color 0.3s; }
.contact:hover { border-color: var(--ink-3); }
.contact h3 { margin-top: 30px; font-size: 19px; letter-spacing: -0.02em; }
.contact > p { margin-top: 6px; max-width: 400px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.addr { margin-top: auto; padding-top: 30px; }
.addr-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--rule-soft); }
.mail { font-family: var(--mono); font-size: 0.92em; color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; overflow-wrap: anywhere; transition: text-decoration-color 0.25s; }
.mail:hover { text-decoration-color: var(--ink); }
.addr .mail { font-size: 13.5px; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 30px; padding: 0 10px; border: 1px solid var(--rule); border-radius: var(--r-sm); font-size: 12px; color: var(--ink-2); transition: border-color 0.25s, color 0.25s; }
.copy-btn:hover { border-color: var(--ink-3); color: var(--ink); }
.copy-btn .ic { width: 13px; height: 13px; }
.copy-btn .ic-done { display: none; }
.copy-btn.copied { color: var(--ink); border-color: var(--ink-3); }
.copy-btn.copied .ic-copy { display: none; }
.copy-btn.copied .ic-done { display: block; }
.pending { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12px; color: var(--ink-3); }
.pending::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); }
.steps-head { max-width: 620px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 52px; }
.step { position: relative; padding-top: 22px; border-top: 1px solid var(--rule); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 1px; background: var(--ink); }
.step p { margin-top: 14px; font-size: 16px; line-height: 1.65; color: var(--ink); text-wrap: pretty; }

/* ── legal documents ────────────────────────────────────────────── */
.doc { display: grid; grid-template-columns: 232px minmax(0, 680px); gap: 112px; padding-top: 96px; }
.toc { position: sticky; top: 104px; align-self: start; }
.toc-label { margin-bottom: 14px; font-size: 12px; color: var(--ink-3); }
.toc ol { border-left: 1px solid var(--rule); }
.toc a { display: grid; grid-template-columns: 26px minmax(0, 1fr); margin-left: -1px; padding: 6px 0 6px 16px; border-left: 1px solid transparent; font-size: 13px; line-height: 1.45; color: var(--ink-3); transition: color 0.2s, border-color 0.2s; }
.toc a .n { font-family: var(--mono); font-size: 11px; padding-top: 1px; }
.toc a:hover { color: var(--ink-2); }
.toc a[aria-current="true"] { color: var(--ink); border-left-color: var(--ink); }
.doc-sec { padding: 44px 0; border-top: 1px solid var(--rule); }
.doc-sec:first-child { padding-top: 0; border-top: 0; }
.doc-sec:last-child { padding-bottom: 0; }
.doc-sec h2 { margin-top: 10px; font-size: 26px; line-height: 1.22; letter-spacing: -0.03em; }
.doc-sec p { margin-top: 16px; font-size: 16px; line-height: 1.75; color: var(--ink-2); text-wrap: pretty; }
.doc-sec ul { display: grid; gap: 10px; margin-top: 18px; }
.doc-sec li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
.doc-sec li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 6px; height: 6px; border-radius: 2px; background: var(--ink-3); }

/* ── footer, as on the landing page ─────────────────────────────── */
.foot { margin-top: 152px; border-top: 1px solid var(--rule); padding: 56px 0 28px; overflow: hidden; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; }
.foot-cols { display: flex; gap: 72px; font-size: 14px; }
.foot-cols p { margin-bottom: 12px; font-size: 12px; color: var(--ink-3); }
.foot-cols a { display: block; margin-top: 8px; color: var(--ink-2); transition: color 0.2s; }
.foot-cols a:hover, .foot-cols a[aria-current="page"] { color: var(--ink); }
.foot-bot { margin-top: 28px; display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-3); }
.foot-ctl { display: inline-flex; gap: 18px; }
.theme { transition: color 0.2s; }
.theme:hover { color: var(--ink); }
.theme:disabled { cursor: default; }
.theme:disabled:hover { color: inherit; }

/* ── entrance on scroll, switched on by site.js only, never in calm mode ── */
.rv-on [data-rv] { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--out), transform 1.1s var(--out); }
.rv-on [data-rv].in { opacity: 1; transform: none; }
.rv-on .cards > :nth-child(2), .rv-on .contacts > :nth-child(2), .rv-on .steps > :nth-child(2) { transition-delay: 80ms; }
.rv-on .cards > :nth-child(3), .rv-on .contacts > :nth-child(3), .rv-on .steps > :nth-child(3) { transition-delay: 160ms; }
.rv-on .contacts > :nth-child(4) { transition-delay: 240ms; }

/* ── responsive ─────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .js .nav-toggle { display: grid; }
  .split2 { gap: 56px; }
  .doc { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 72px; }
  .toc { position: static; margin-bottom: 56px; padding-bottom: 32px; border-bottom: 1px solid var(--rule); }
  .toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; border-left: 0; }
  .toc a { margin-left: 0; padding-left: 0; border-left: 0; }
}
@media (max-width: 720px) {
  body { font-size: 14.5px; }
  .wrap { padding: 0 16px; }
  .nav-wrap { height: 54px; padding: 0 12px; top: 10px; }
  .nav { padding: 0 8px 0 14px; height: 54px; }
  .nav-wrap.is-stuck .nav { height: 50px; }
  .nav-sheet { left: 12px; right: 12px; }
  .sub { font-size: 16px; }
  .page-foot { margin-top: 44px; gap: 0; }
  .switch { gap: 22px; }
  .meta { padding: 22px 0 0; width: 100%; }
  .hero { margin: -62px 8px 0; border-radius: 18px; min-height: 600px; }
  .hero.short { min-height: 540px; }
  .hero-inner { padding: 150px 18px 28px; }
  .section { padding-top: 100px; }
  .split2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .prose { padding-top: 24px; }
  .prose p, .slate p, .lede-c { font-size: 16px; }
  .slate { margin: 100px 8px 0; border-radius: 18px; }
  .slate-inner { padding: 100px 20px; }
  .cards, .contacts, .steps { grid-template-columns: minmax(0, 1fr); }
  .card { min-height: 0; }
  .card h3 { padding-top: 36px; }
  .steps { gap: 28px; }
  .cta { padding-top: 112px; }
  .cta-row { flex-direction: column; align-items: center; }
  .cta-row .btn { width: 100%; max-width: 300px; }
  .doc { padding-top: 56px; }
  .toc ol { grid-template-columns: minmax(0, 1fr); }
  .doc-sec { padding: 36px 0; }
  .doc-sec h2 { font-size: 23px; }
  .foot { margin-top: 112px; }
  .foot-top { flex-direction: column; }
  .foot-cols { gap: 40px; }
  .foot-bot { gap: 12px 24px; flex-wrap: wrap; }
  .foot-ctl { flex-wrap: wrap; gap: 12px; }
}
@media (min-width: 1081px) { .nav-sheet { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-inner > * { animation: none; }
  .rv-on [data-rv] { opacity: 1; transform: none; transition: none; }
  .nav-sheet:not([hidden]) { animation: none; }
}
/* the calm setting, shared with the landing page */
html.calm { scroll-behavior: auto; }
html.calm .hero-inner > * { animation: none; }
@media print {
  .nav-wrap, .toc, .switch, .foot, .skip { display: none; }
  .hero { min-height: 0; margin: 0; color: #18181b; background: none; box-shadow: none; }
  .hero::before, .hero::after { display: none; }
  .hero-inner { padding: 0; }
  .hero .crumb, .hero .sub, .hero .meta { color: #52525b; }
  .doc { display: block; padding-top: 24px; }
  .doc-sec { break-inside: avoid; }
}

/* The landing page's phone offset for the nav, so the header sits in the same place. */
@media (max-width: 739px) {
  .nav-wrap { top: calc(22px + env(safe-area-inset-top, 0px)); }
}

/* Match the homepage opening offset, then settle to the shared sticky offset. */
@media (min-width: 740px) {
  .nav-wrap { transition: top 220ms ease-out; }
  .nav-wrap.is-over-hero { top: calc(50px + env(safe-area-inset-top, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .nav-wrap { transition: none; } }
html.calm .nav-wrap { transition: none; }
