/* Basalt marketing site: shared tokens, chrome and page components.
   Direction: design/README.md (revision 4). Black, white, one red for CRITICAL. */
:root {
  --bg: #000000;
  --surface: #0c0c0c;
  --surface-2: #121212;
  --surface-3: #1b1b1b;
  --fg: #ededed;
  --fg-strong: #ffffff;
  --muted: #8f8f8f;
  --subtle: #5e5e5e;
  --faint: #2f2f2f;
  --critical: #ff453a;

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --t-display: clamp(40px, 5vw, 64px);
  --t-title: clamp(26px, 2.6vw, 34px);
  --t-body: 17px;
  --t-small: 14px;
  --t-mono: 12.5px;

  --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px;
  --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 160px;

  --r-pill: 999px;
  --r-card: 16px;

  --maxw: 1120px;
  --gutter: 24px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 var(--t-body)/1.55 var(--font-sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
::selection { background: var(--fg-strong); color: var(--bg); }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; color: var(--fg-strong); }
code { font-family: var(--font-mono); font-size: 0.86em; color: var(--fg-strong); }
canvas { display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .4s, backdrop-filter .4s; }
.nav.scrolled, .nav.open { background: rgba(0,0,0,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav .wrap { display: flex; align-items: center; height: 68px; gap: var(--s-6); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.02em; color: var(--fg-strong); }
.nav-links { display: flex; gap: var(--s-5); font-size: var(--t-small); color: var(--muted); }
.nav-links a, .signin, .lang a { transition: color .25s; }
.nav-links a:hover, .signin:hover, .lang a:hover, .nav-links a[aria-current="page"] { color: var(--fg-strong); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: var(--s-5); }
.signin { font-size: var(--t-small); color: var(--muted); }
.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--r-pill); background: var(--surface-2); font: 500 11px/1 var(--font-mono); letter-spacing: .04em; }
.lang a { padding: 6px 8px; border-radius: var(--r-pill); color: var(--subtle); }
.lang a[aria-current="true"] { background: var(--surface-3); color: var(--fg-strong); }
.menu-btn { display: none; width: 36px; height: 36px; border: 0; border-radius: var(--r-pill); background: var(--surface-2); color: var(--fg-strong); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 14px; height: 1.25px; background: currentColor; position: relative; transition: transform .3s var(--ease), background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; }
.nav.open .menu-btn span { background: transparent; }
.nav.open .menu-btn span::before { transform: translateY(5px) rotate(45deg); }
.nav.open .menu-btn span::after { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px;
  border: 0; border-radius: var(--r-pill); font: 500 var(--t-small)/1 var(--font-sans); cursor: pointer;
  background: var(--fg-strong); color: var(--bg);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); white-space: nowrap;
}
.btn:hover { background: #dadada; }
.btn .ar { transition: transform .35s var(--ease); }
.btn:hover .ar { transform: translateX(3px); }
.btn-sm { height: 36px; padding: 0 16px; }
.btn-ghost { background: var(--surface-2); color: var(--fg-strong); }
.btn-ghost:hover { background: var(--surface-3); }
.btn[disabled] { opacity: .5; cursor: progress; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 1px solid var(--fg-strong); outline-offset: 3px; }
.link { color: var(--fg-strong); display: inline-flex; gap: 6px; align-items: center; font-size: var(--t-small); }
.link .ar { transition: transform .35s var(--ease); }
.link:hover .ar { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-5); }

/* ---------- sections ---------- */
section.block { padding: var(--s-10) 0; }
section.block.tight { padding: var(--s-9) 0; }
.head { max-width: 40em; }
.head h2 { font-size: var(--t-title); line-height: 1.15; letter-spacing: -0.03em; }
.head p { margin-top: var(--s-3); color: var(--muted); }
.head.center { margin: 0 auto; text-align: center; }

.sev { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 12px; border-radius: var(--r-pill); background: rgba(255,69,58,.1); color: var(--critical); font: 500 12px/1 var(--font-mono); letter-spacing: 0.04em; margin-bottom: var(--s-4); }
.sev::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sev.high { background: var(--surface-2); color: var(--fg); }
.sev.high::before { border-radius: 1px; }

.card { background: var(--surface); border-radius: var(--r-card); padding: var(--s-5); transition: background .4s var(--ease); }
.card:hover { background: var(--surface-2); }
.card h3 { font-size: var(--t-small); font-weight: 400; color: var(--subtle); margin-bottom: var(--s-2); }
.card p { font-size: 15px; line-height: 1.55; color: var(--fg); }
.grid { display: grid; gap: var(--s-3); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); } .mt-8 { margin-top: var(--s-8); }

/* feature card: title + text, optional mono glyph */
.feat { display: flex; flex-direction: column; gap: var(--s-3); min-height: 100%; }
.feat .glyph { font: 15px/1 var(--font-mono); color: var(--fg-strong); height: 15px; white-space: pre; }
.feat h3 { font-size: 17px; color: var(--fg-strong); margin: var(--s-3) 0 0; letter-spacing: -0.01em; }
.feat p { color: var(--muted); font-size: 15px; }

/* path line: mono chain of nodes */
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font: var(--t-mono)/1.5 var(--font-mono); color: var(--muted); }
.chain b { font-weight: 400; color: var(--fg-strong); padding: 3px 9px; border-radius: 8px; background: var(--surface-3); }
.chain b.crit { color: var(--critical); background: rgba(255,69,58,.1); }
.chain i { font-style: normal; color: var(--subtle); }

/* numbers strip (only verifiable facts) */
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); }
.num { padding: var(--s-5); border-radius: var(--r-card); background: var(--surface); }
.num b { display: block; font-size: 34px; font-weight: 500; letter-spacing: -0.035em; color: var(--fg-strong); line-height: 1; font-variant-numeric: tabular-nums; }
.num span { display: block; margin-top: 10px; font-size: var(--t-small); color: var(--muted); line-height: 1.45; }

/* code */
.code { position: relative; border-radius: var(--r-card); background: var(--surface); overflow: hidden; }
.code pre { margin: 0; padding: var(--s-4) var(--s-5); overflow-x: auto; font: var(--t-mono)/1.75 var(--font-mono); color: var(--fg); }
.code .cm { color: var(--subtle); }
.code .k { color: var(--muted); }
.code .s { color: var(--fg-strong); }
.code .deny { color: var(--fg-strong); }
.code-label { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--s-5) 0; font: 12px/1 var(--font-mono); color: var(--subtle); }
.copy { border: 0; background: transparent; color: var(--subtle); font: 12px/1 var(--font-mono); cursor: pointer; padding: 4px 0; transition: color .25s; }
.copy:hover { color: var(--fg-strong); }

/* tables */
.table-wrap { overflow-x: auto; border-radius: var(--r-card); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: var(--t-small); }
th, td { text-align: left; padding: 12px var(--s-5); vertical-align: top; }
th { color: var(--subtle); font-weight: 400; }
tbody tr:nth-child(odd) td { background: rgba(255,255,255,.015); }
td code { font-size: 12px; }
td.yes { color: var(--fg-strong); }
td.no { color: var(--subtle); }

/* FAQ */
.faq { display: grid; gap: var(--s-2); }
.faq details { border-radius: var(--r-card); background: var(--surface); transition: background .35s var(--ease); }
.faq details[open], .faq details:hover { background: var(--surface-2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px var(--s-5); display: flex; justify-content: space-between; gap: var(--s-4); color: var(--fg-strong); font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--subtle); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 var(--s-5) var(--s-5); color: var(--muted); font-size: 15px; max-width: 46em; }
.faq .a p + p { margin-top: var(--s-3); }

/* notice */
.notice { display: flex; gap: var(--s-3); padding: var(--s-4) var(--s-5); border-radius: var(--r-card); background: var(--surface); color: var(--muted); font-size: var(--t-small); }
.notice b { color: var(--fg-strong); font-weight: 500; }

/* ---------- inner page header ---------- */
.page-head { padding: calc(68px + var(--s-9)) 0 var(--s-8); }
.page-head h1 { font-size: var(--t-display); line-height: 1.04; letter-spacing: -0.04em; max-width: 14em; }
.page-head p { margin-top: var(--s-5); color: var(--muted); max-width: 34em; font-size: 19px; }
.page-head .actions { margin-top: var(--s-6); }
.page-head.center { text-align: center; }
.page-head.center h1, .page-head.center p { margin-left: auto; margin-right: auto; }
.page-head.center .actions { justify-content: center; }

/* split: text left, visual right */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-8); align-items: center; }
.split.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.steps { counter-reset: st; display: grid; gap: var(--s-3); }
.step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--s-4); padding: var(--s-5); border-radius: var(--r-card); background: var(--surface); }
.step::before { counter-increment: st; content: counter(st); width: 32px; height: 32px; border-radius: var(--r-pill); background: var(--surface-3); color: var(--fg-strong); display: grid; place-items: center; font: 500 13px/1 var(--font-mono); }
.step h3 { font-size: 17px; letter-spacing: -0.01em; }
.step p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* list with dots */
.dots { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dots li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px; font-size: 15px; color: var(--fg); }
.dots li::before { content: ""; width: 5px; height: 5px; margin-top: 10px; border-radius: 50%; background: var(--subtle); }
.dots li.x::before { background: transparent; box-shadow: inset 0 0 0 1px var(--subtle); }
.dots li.x { color: var(--subtle); }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); align-items: stretch; }
.plans.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plan { display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-6) var(--s-5); border-radius: 20px; background: var(--surface); }
.plan.pick { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--faint); }
.plan h3 { font-size: 15px; font-weight: 500; color: var(--fg-strong); display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); }
.plan h3 small { font: 500 11px/1 var(--font-mono); letter-spacing: .04em; color: var(--muted); padding: 6px 9px; border-radius: var(--r-pill); background: var(--surface-3); }
.plan .price { font-size: 38px; letter-spacing: -0.04em; font-weight: 500; color: var(--fg-strong); line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 15px; color: var(--muted); letter-spacing: 0; font-weight: 400; }
.plan .for { color: var(--muted); font-size: var(--t-small); min-height: 3em; }
.plan .dots { flex: 1; }
.plan .dots li { font-size: var(--t-small); }
.plan .btn { width: 100%; }

/* ---------- start page: choices + forms ---------- */
.choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); }
.choice { position: relative; text-align: left; display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); border: 0; border-radius: var(--r-card); background: var(--surface); color: var(--fg); font: inherit; cursor: pointer; transition: background .35s var(--ease), box-shadow .35s var(--ease); }
.choice:hover { background: var(--surface-2); }
.choice[aria-selected="true"] { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--fg-strong); }
.choice .glyph { font: 15px/1 var(--font-mono); color: var(--fg-strong); height: 15px; }
.choice b { font-weight: 500; color: var(--fg-strong); font-size: 16px; letter-spacing: -0.01em; }
.choice span { color: var(--muted); font-size: var(--t-small); line-height: 1.45; }
.choice .tag { position: absolute; top: 16px; right: 16px; font: 500 10.5px/1 var(--font-mono); letter-spacing: .05em; color: var(--critical); }
.panel[hidden] { display: none; }
.panel { margin-top: var(--s-7); }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-3); padding: var(--s-6); border-radius: 20px; background: var(--surface); }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; color: var(--muted); }
.field label i { font-style: normal; color: var(--subtle); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 11px 14px; border: 0; border-radius: 12px;
  background: var(--surface-3); color: var(--fg-strong); font: 15px/1.4 var(--font-sans);
  box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .25s, background .25s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1px var(--fg-strong); }
.field input::placeholder, .field textarea::placeholder { color: var(--subtle); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); margin-top: var(--s-2); }
.form-foot small { color: var(--subtle); font-size: 13px; max-width: 34em; }
.form-msg { grid-column: 1 / -1; font-size: var(--t-small); color: var(--muted); }
.form-msg.err { color: var(--critical); }
.form-done { padding: var(--s-7) var(--s-6); border-radius: 20px; background: var(--surface); text-align: center; }
.form-done h3 { font-size: 22px; letter-spacing: -0.02em; }
.form-done p { margin: var(--s-3) auto 0; color: var(--muted); max-width: 30em; }
.form-done .glyph { font: 15px/1 var(--font-mono); color: var(--fg-strong); margin-bottom: var(--s-5); }

.offer { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); align-items: start; }
.offer .price { font-size: 44px; letter-spacing: -0.04em; font-weight: 500; color: var(--fg-strong); line-height: 1; margin-top: var(--s-5); }
.offer .price small { font-size: 15px; letter-spacing: 0; color: var(--muted); font-weight: 400; }

/* ---------- docs ---------- */
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--s-8); padding-top: calc(68px + var(--s-8)); padding-bottom: var(--s-9); }
.toc { position: sticky; top: calc(68px + var(--s-5)); align-self: start; display: grid; gap: 2px; font-size: var(--t-small); max-height: calc(100vh - 120px); overflow: auto; }
.toc p { color: var(--subtle); font-size: 12px; font-family: var(--font-mono); letter-spacing: .04em; margin: var(--s-4) 0 6px; }
.toc p:first-child { margin-top: 0; }
.toc a { color: var(--muted); padding: 6px 12px; border-radius: var(--r-pill); transition: background .25s, color .25s; }
.toc a:hover { color: var(--fg-strong); }
.toc a.on { color: var(--fg-strong); background: var(--surface-2); }
.prose { max-width: 760px; min-width: 0; }
.prose h1 { font-size: 44px; letter-spacing: -0.04em; line-height: 1.08; }
.prose > p.lead { margin-top: var(--s-4); color: var(--muted); font-size: 19px; }
.prose h2 { font-size: 26px; letter-spacing: -0.03em; margin-top: var(--s-9); scroll-margin-top: 96px; }
.prose h3 { font-size: 18px; letter-spacing: -0.01em; margin-top: var(--s-7); scroll-margin-top: 96px; }
.prose p, .prose li { color: var(--fg); font-size: 16px; line-height: 1.7; }
.prose p { margin-top: var(--s-4); }
.prose p.muted { color: var(--muted); }
.prose ul, .prose ol { margin: var(--s-4) 0 0; padding-left: 1.2em; display: grid; gap: 6px; }
.prose .code, .prose .table-wrap, .prose .notice, .prose .grid { margin-top: var(--s-5); }
.prose a:not(.btn) { color: var(--fg-strong); text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 3px; transition: text-decoration-color .25s; }
.prose a:not(.btn):hover { text-decoration-color: var(--fg-strong); }

/* ---------- CTA + footer ---------- */
.cta-card { position: relative; overflow: hidden; border-radius: 28px; background: var(--surface); min-height: 540px; padding: var(--s-9) var(--s-6) 0; text-align: center; }
.cta-card .head { margin: 0 auto; position: relative; z-index: 1; }
.cta-card p { margin-top: var(--s-3); color: var(--muted); }
.cta-card .actions { position: relative; z-index: 1; margin-top: var(--s-6); justify-content: center; }
.cta-card canvas { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; pointer-events: none; }
.cta-card.flat { min-height: 0; padding: var(--s-8) var(--s-6); }

footer { padding: var(--s-8) 0 var(--s-7); }
.foot { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: var(--s-6); font-size: var(--t-small); }
.foot p { color: var(--subtle); margin-top: var(--s-3); max-width: 22em; }
.foot h4 { font-size: 12px; font-weight: 400; font-family: var(--font-mono); letter-spacing: .04em; color: var(--subtle); margin-bottom: var(--s-3); }
.foot nav { display: grid; gap: 10px; }
.foot nav a { color: var(--muted); transition: color .25s; }
.foot nav a:hover { color: var(--fg-strong); }
.foot-base { display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: space-between; margin-top: var(--s-8); font-size: 13px; color: var(--subtle); }

/* ---------- reveal (inner pages, no GSAP needed) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- page transitions (cross-document View Transitions; instant where unsupported) ---------- */
@view-transition { navigation: auto; }
.nav { view-transition-name: site-nav; }
::view-transition-group(site-nav) { animation: none; }
::view-transition-old(root) { animation: vt-out .32s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); filter: blur(2px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); filter: blur(3px); } }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav-links, .nav-right .signin, .nav-right .lang { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-menu { display: block; position: fixed; inset: 68px 0 auto 0; z-index: 49; background: rgba(0,0,0,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: var(--s-4) var(--gutter) var(--s-6); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .3s var(--ease), transform .4s var(--ease); }
  .nav.open + .mobile-menu { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-menu a { display: block; padding: 12px 0; font-size: 20px; color: var(--fg-strong); letter-spacing: -0.02em; }
  .mobile-menu .row { display: flex; gap: var(--s-4); align-items: center; margin-top: var(--s-4); }
  .mobile-menu .row a { font-size: var(--t-small); color: var(--muted); padding: 0; }
  .mobile-menu .lang { display: inline-flex; }
  .split, .split.even, .offer { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
  .grid-3, .grid-4, .nums, .choices, .plans.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plans.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
  .toc { position: static; max-height: none; display: flex; flex-wrap: wrap; gap: 6px; }
  .toc p { display: none; }
  .toc a { background: var(--surface); }
  .foot { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; --t-body: 16px; }
  section.block { padding: var(--s-9) 0; }
  section.block.tight { padding: var(--s-8) 0; }
  .page-head { padding: calc(68px + var(--s-8)) 0 var(--s-7); }
  .page-head p { font-size: 17px; }
  .grid-2, .grid-3, .grid-4, .choices, .plans.four, .form { grid-template-columns: minmax(0, 1fr); }
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .num { padding: var(--s-4); } .num b { font-size: 28px; }
  .form { padding: var(--s-5) var(--s-4); }
  .cta-card { padding: var(--s-8) var(--s-5) 0; border-radius: 22px; min-height: 460px; }
  .cta-card canvas { height: 50%; }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prose h1 { font-size: 34px; }
  th, td { padding: 10px var(--s-4); }
  .nav-right .btn-sm { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Complete Basalt wordmark, shared with the product. */
.brand-wordmark {
  display: inline-block;
  width: 104px;
  height: 35px;
  flex: none;
  background-color: currentColor;
  -webkit-mask: url("/brand/basalt-wordmark.png") center / contain no-repeat;
  mask: url("/brand/basalt-wordmark.png") center / contain no-repeat;
  mask-mode: luminance;
}
