/* Manrope and Chivo Mono (SIL Open Font License), served from this site; both files are variable fonts. */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/fonts/manrope-latin.woff2') format('woff2'); }
@font-face { font-family: 'Chivo Mono'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/fonts/chivo-mono-latin.woff2') format('woff2'); }
:root {
  color-scheme: dark light;
  --bg: #0b0c10;
  --bg-glass: rgba(11, 12, 16, 0.92);
  --panel: #12141b;
  --panel-2: #171a22;
  --line-soft: #161922;
  --line: #1e2129;
  --line-2: #2a2f3a;
  --ink: #e6e8ea;
  --ink-2: #a7aebb;
  --ink-3: #8b93a1;
  --cyan: #38bdf8;
  --cyan-2: #7dd3fc;
  --green: #34d399;
  --green-2: #6ee7b7;
  --green-bg: #10251c;
  --green-line: #1f7a52;
  --amber: #e0b341;
  --red: #f87171;
  /* Brand tiles of the free apps: each app keeps its own colors in both themes. */
  --tile-shadow: rgba(0, 0, 0, 0.22);
  --nanogames-tile: #1b1340;
  --nanogames-1: #7b5ce6;
  --nanogames-2: #ff6b3d;
  --nanogames-3: #00a8c8;
  --nanogames-4: #f0b429;
  --witsup-tile: #141a2a;
  --witsup-1: #f9df6d;
  --witsup-2: #a0c35a;
  --witsup-3: #b0c4ef;
  --witsup-4: #ba81c5;
  --scriptura-tile: #10141d;
  --scriptura-gold: #c9a45c;
  --mono: 'Chivo Mono', ui-monospace, monospace;
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lead: clamp(1.125rem, 1.6vw, 1.25rem);
  --text-lg: 1.3rem;
  --text-xl: 1.75rem;
  --text-2xl: 2.25rem;
  --text-h2: clamp(1.875rem, 4.5vw, 2.75rem);
  --text-rate: clamp(3rem, 7vw, 4.25rem);
  --text-h1: clamp(2.5rem, 7vw, 4.75rem);
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --card-pad: clamp(1.25rem, 2.5vw, 1.75rem);
  --space-3xs: 0.125rem;
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.25rem;
  --space-xl: 1.5rem;
  --space-2xl: 2rem;
  --space-3xl: 3rem;
  --space-fluid: clamp(1.5rem, 4vw, 2.5rem);
  --space-fluid-lg: clamp(2rem, 5vw, 3rem);
  --space-section: clamp(3rem, 7vw, 5rem);
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f6f7f9;
    --bg-glass: rgba(246, 247, 249, 0.92);
    --panel: #ffffff;
    --panel-2: #eef0f4;
    --line-soft: #eceef2;
    --line: #e1e4ea;
    --line-2: #c9ced8;
    --ink: #11141a;
    --ink-2: #3d4452;
    --ink-3: #5a6270;
    --cyan: #0369a1;
    --cyan-2: #075985;
    --green: #047857;
    --green-2: #065f46;
    --green-bg: #e7f6ef;
    --green-line: #7fcfab;
    --amber: #92400e;
    --red: #b91c1c;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; }
a { color: var(--cyan); }
a:hover { color: var(--cyan-2); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.offline { padding: var(--space-xs) var(--gutter); background: var(--panel-2); border-top: 1px solid var(--line); color: var(--ink); font-size: var(--text-sm); text-align: center; }
.skip:focus { left: var(--gutter); top: var(--space-xs); z-index: 50; background: var(--cyan); color: var(--bg); padding: var(--space-sm) var(--space-md); border-radius: 8px; font-weight: 700; }
/* Gutters never go under a notch or rounded corner in landscape. */
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
[hidden] { display: none !important; }
html:not(.js) .js-only { display: none; }
dfn.gloss { font-style: normal; }
.gloss-hint { color: var(--ink-3); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

.eyebrow { font-family: var(--mono); font-size: var(--text-xs); letter-spacing: 0.08em; color: var(--green); text-transform: uppercase; }
.eyebrow.cyan { color: var(--cyan); }
.kicker { font-family: var(--mono); font-size: var(--text-xs); color: var(--ink-3); }
.kicker.amber { color: var(--amber); }
.subhead { max-width: 26rem; font-size: var(--text-sm); }
h1, h2, h3 { line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; text-wrap: balance; }
h1 { font-size: var(--text-h1); }
h2, .h2 { font-size: var(--text-h2); }
h3, .h3 { font-size: var(--text-lg); line-height: 1.2; letter-spacing: -0.015em; font-weight: 700; }
p { color: var(--ink-2); }
.lead { font-size: var(--text-lead); max-width: 42rem; }
.eyebrow + h1, .eyebrow + h2, .eyebrow + h3 { margin-top: var(--space-xs); }
.eyebrow + p { margin-top: var(--space-sm); }
.card h3 { margin-block: var(--space-xs) var(--space-xs); }
.card h3 + p:not(.kicker) { font-size: var(--text-sm); }
.split h2 { margin-bottom: var(--space-md); }
.split p + p:not(.aside-note), .split ol + p { margin-top: var(--space-lg); }
.page-title { font-size: var(--text-h2); }
.page-title + p, .lead + p { margin-top: var(--space-lg); }
.legal { max-width: 46rem; }
.legal h2 { margin-top: var(--space-2xl); }
.legal h2 + p, .legal p + p { margin-top: var(--space-sm); }
.legal > .kicker:last-child { margin-top: var(--space-2xl); }

section { padding-block: var(--space-section); }
main > section + section { border-top: 1px solid var(--line); }
/* --header-h is measured by site.js so anchors land under the sticky header whatever its height. */
[id] { scroll-margin-top: calc(var(--header-h, 4.5rem) + var(--space-sm)); }

.is-on { color: var(--green); }
.is-ondemand { color: var(--amber); }
.is-private { color: var(--cyan); }
.is-off { color: var(--ink-3); }

header.site { position: sticky; top: 0; z-index: 20; padding-top: env(safe-area-inset-top); background: var(--bg-glass); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding-block: var(--space-sm); }
.brand { display: flex; align-items: center; min-height: 44px; gap: var(--space-xs); color: var(--ink); text-decoration: none; font-family: var(--mono); font-weight: 700; font-size: var(--text-base); letter-spacing: -0.02em; }
.brand svg path { stroke: var(--ink); }
.brand svg rect { fill: var(--green); }
nav.main { display: flex; align-items: center; gap: var(--space-xl); font-size: var(--text-sm); font-weight: 500; }
.menu-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.menu-links a:hover { color: var(--cyan); }
.menu-links a[aria-current] { color: var(--green); }
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); padding: var(--space-xs) var(--space-lg); border-radius: 10px; font-weight: 700; text-decoration: none; font-size: var(--text-base); font-family: inherit; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--green); color: var(--bg); }
.btn-primary:hover { background: var(--green-2); color: var(--bg); }
.btn-secondary { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-secondary:hover { border-color: var(--cyan); color: var(--ink); }
.btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.btn-row > .btn { flex: 1 1 14rem; }
.btn-row > .btn.compact { flex-basis: 8rem; }
.menu { position: relative; }
.lang-short { display: none; }
@media (min-width: 768px) { .lang-long { display: none; } .lang-short { display: inline; } }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu-links { display: flex; align-items: center; gap: var(--space-xl); }
@media (min-width: 768px) { .menu summary { display: none; } }
@media (min-width: 768px) and (max-width: 1100px) {
  nav.main, .menu-links { gap: var(--space-sm); font-size: var(--text-sm); }
  nav.main .btn { padding-inline: var(--space-sm); font-size: var(--text-sm); white-space: nowrap; }
}
@media (max-width: 767px) {
  nav.main { gap: var(--space-xs); }
  nav.main .btn { padding-inline: var(--space-sm); font-size: var(--text-sm); white-space: nowrap; }
  .menu summary.btn { padding-inline: var(--space-sm); }
  .menu-links { max-width: calc(100vw - var(--gutter) * 2); }
  .js .menu:not([data-ready]) .menu-links { display: none; }
  .menu-links a { display: flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border-radius: 8px; }
  .menu-links a:hover { background: var(--panel-2); }
  .js .menu-links { position: absolute; right: 0; top: calc(100% + var(--space-xs)); flex-direction: column; align-items: stretch; gap: 0; min-width: 12rem; padding: var(--space-xs); background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; max-height: calc(100dvh - var(--header-h, 4.5rem) - var(--space-md)); overflow-y: auto; overscroll-behavior: contain; }
  html:not(.js) header.site .wrap { flex-wrap: wrap; }
  html:not(.js) .menu summary { display: none; }
  html:not(.js) .menu-links { flex-wrap: wrap; gap: 0; }
}
/* On phones the header button gives way to a bar with Call and Write pinned to the bottom. Only with
   JavaScript, which hides the bar while the form is on screen, so it never covers the sticky Send. */
.quick { display: none; }
@media (max-width: 767px) and (min-height: 481px) {
  .js nav.main > .btn { display: none; }
  .js body { padding-bottom: calc(44px + var(--space-lg) + env(safe-area-inset-bottom)); }
  .js .quick { position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; display: flex; gap: var(--space-xs); padding: var(--space-xs) max(var(--gutter), env(safe-area-inset-right)) calc(var(--space-xs) + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left)); background: var(--bg-glass); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
  .quick .btn { flex: 1 1 0; padding-inline: var(--space-sm); white-space: nowrap; }
}

.hero { display: grid; gap: var(--space-fluid-lg); grid-template-columns: 1fr; grid-template-areas: "main" "side" "proof"; align-items: start; }
@media (min-width: 960px) { .hero { grid-template-columns: 1.15fr 0.85fr; grid-template-rows: auto 1fr; grid-template-areas: "main side" "proof side"; } }
.hero-main { grid-area: main; }
.hero-side { grid-area: side; }
.hero > .hero-proof { grid-area: proof; margin-top: 0; }
.hero h1 { margin: var(--space-sm) 0 var(--space-lg); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.hero-main > .kicker { margin-top: var(--space-xl); }
.aside-note { margin-top: var(--space-xl); padding-top: var(--space-xl); border-top: 1px solid var(--line); font-size: var(--text-sm); }
ul.proof { list-style: none; display: flex; flex-direction: column; gap: var(--space-sm); margin-top: var(--space-sm); }
ul.proof li { font-size: var(--text-sm); color: var(--ink-2); }
ul.proof strong { color: var(--ink); }
.col { display: flex; flex-direction: column; gap: var(--space-md); }
.col.tight { gap: var(--space-sm); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: var(--card-pad); }
.card.accent { border-color: var(--green-line); }
.rate-num { font-size: var(--text-rate); font-weight: 800; letter-spacing: -0.045em; line-height: 1; margin-top: var(--space-2xs); }
.rate-num + p { margin-top: var(--space-xs); font-size: var(--text-sm); }
.year { margin-top: var(--space-xl); }
.year > p { margin-top: var(--space-sm); font-size: var(--text-sm); }
.chart { display: block; width: 100%; height: auto; margin-top: var(--space-sm); }
.chart rect { fill: var(--cyan); }
.chart .zero { fill: var(--line-2); }
ol.months { list-style: none; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); margin-top: var(--space-2xs); font-family: var(--mono); font-size: var(--text-xs); line-height: 1.2; color: var(--ink-3); text-align: center; }

.grid { display: grid; gap: var(--space-md); }
.split { gap: var(--space-fluid); align-items: center; }
.g2 { grid-template-columns: 1fr; } @media (min-width: 720px) { .g2 { grid-template-columns: repeat(2, 1fr); } }
.g3 { grid-template-columns: 1fr; } @media (min-width: 900px) { .g3 { grid-template-columns: repeat(3, 1fr); } }
.g4 { grid-template-columns: 1fr; } @media (min-width: 640px) { .g4 { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1000px) { .g4 { grid-template-columns: repeat(4, 1fr); } }
.head-row { display: flex; flex-wrap: wrap; gap: var(--space-md) var(--space-2xl); align-items: end; justify-content: space-between; margin-bottom: var(--space-xl); }

ul.calls { list-style: none; display: flex; flex-direction: column; gap: var(--space-sm); margin-top: var(--space-md); }
ul.calls li { display: flex; gap: var(--space-xs); font-size: var(--text-sm); color: var(--ink); line-height: 1.5; }
ul.calls li::before { content: ">"; content: ">" / ""; color: var(--green); font-family: var(--mono); flex-shrink: 0; }
.card-cta { display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--space-xs); font-weight: 700; text-decoration: none; }
/* A link standing in a sentence or caption still gets a 44px tall hit area; inline padding does not move the line. */
:is(p, li, dd, figcaption) > a:not(.btn, .card-cta, .back-link) { padding-block: calc((44px - 1.25em) / 2); }
.back-link { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: var(--space-xs); font-family: var(--mono); font-size: var(--text-xs); text-decoration: none; }
.back-link::before { content: "<-"; content: "<-" / ""; margin-right: var(--space-xs); }
.card-cta::after { content: "->"; content: "->" / ""; margin-left: var(--space-xs); font-family: var(--mono); }
.link-row { display: flex; flex-wrap: wrap; gap: 0 var(--space-2xl); margin-top: var(--space-sm); }
.also { margin-top: var(--space-2xl); font-size: var(--text-sm); }
.also .kicker { margin-right: var(--space-xs); }
.ops { display: grid; gap: var(--space-xl) var(--space-3xl); margin-top: var(--space-fluid-lg); padding-top: var(--space-fluid-lg); border-top: 1px solid var(--line); }
@media (min-width: 960px) { .ops { grid-template-columns: 0.8fr 1.2fr; align-items: start; } }
.ops-intro p:last-child { margin-top: var(--space-sm); }
ol.flows { list-style: none; display: flex; flex-direction: column; gap: var(--space-xl); }
ol.flows > li { padding-left: var(--space-md); border-left: 2px solid var(--green-line); }
ol.flow { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); margin-top: var(--space-xs); font-family: var(--mono); font-size: var(--text-xs); }
ol.flow li { display: flex; align-items: center; gap: var(--space-xs); }
ol.flow li + li::before { content: "->"; content: "->" / ""; color: var(--green); }
ol.flow span { color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 6px; padding: var(--space-2xs) var(--space-xs); }
.flow-result { margin-top: var(--space-xs); font-weight: 700; color: var(--ink); }
dl.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--space-2xl); }
dl.stats div { border-top: 2px solid var(--green-line); padding-top: var(--space-sm); }
dl.stats dt { font-size: var(--text-xl); font-weight: 800; letter-spacing: -0.03em; line-height: 1.2; color: var(--ink); }
dl.stats dd { font-size: var(--text-sm); color: var(--ink-2); }
.triggers .lands { margin-top: var(--space-sm); }
@media (max-width: 639px) {
  .triggers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
  .triggers .card { padding: var(--space-md); }
  .triggers h3 { font-size: var(--text-md); }
  .triggers .card h3 + p { font-size: var(--text-xs); }
  .triggers .lands { display: none; }
}
.shot { margin: calc(-1 * var(--card-pad)) calc(-1 * var(--card-pad)) var(--space-lg); }
.shot img, .shot .diagram { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--line); border-radius: 15px 15px 0 0; }
.shot .diagram { display: grid; align-content: center; gap: var(--space-sm); aspect-ratio: 16 / 9; height: auto; padding: var(--space-lg); background: var(--panel-2); }
.diagram ol.flow { margin-top: 0; }
.diagram p { font-family: var(--mono); font-size: var(--text-xs); color: var(--ink-3); }
.shot figcaption { padding: var(--space-xs) var(--card-pad) 0; }
.hero-shot { margin-bottom: 0; }
dl.case-steps { display: flex; flex-direction: column; gap: var(--space-sm); margin-top: var(--space-md); }
.case-steps dt { font-family: var(--mono); font-size: var(--text-xs); color: var(--ink-3); }
.case-steps dd { font-size: var(--text-sm); color: var(--ink-2); }
a.card.system { display: block; color: var(--ink); text-decoration: none; }
a.card.system:hover { border-color: var(--line-2); }
a.card.system:hover h3 { color: var(--cyan); }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-lg) var(--space-2xl); }
.cta-band > div { flex: 1 1 22rem; }
.cta-band h2 { font-size: var(--text-lg); line-height: 1.2; letter-spacing: -0.015em; font-weight: 700; }
.cta-band p { margin-top: var(--space-xs); }
.apps { display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
a.card.app { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--space-md); align-items: start; }
.app .kicker { margin-top: var(--space-xs); }
.app-icon { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; box-shadow: inset 0 -4px 0 var(--tile-shadow); }
.app-icon svg { width: 38px; height: 38px; }
.app-icon.nanogames { background: var(--nanogames-tile); }
.app-icon.witsup { background: var(--witsup-tile); }
.app-icon.scriptura { background: var(--scriptura-tile); }
.nanogames .c1 { fill: var(--nanogames-1); }
.nanogames .c2 { fill: var(--nanogames-2); }
.nanogames .c3 { fill: var(--nanogames-3); }
.nanogames .c4 { fill: var(--nanogames-4); }
.witsup .c1 { fill: var(--witsup-1); }
.witsup .c2 { fill: var(--witsup-2); }
.witsup .c3 { fill: var(--witsup-3); }
.witsup .c4 { fill: var(--witsup-4); }
.scriptura path { fill: var(--scriptura-gold); }
.scriptura .c1 { opacity: 0.82; }

.tally { display: flex; align-items: center; gap: var(--space-md); margin-top: var(--space-lg); padding: var(--space-md) var(--space-lg); border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.tally .kicker { line-height: 1.5; }
.tally-num { font-size: var(--text-2xl); font-weight: 800; letter-spacing: -0.04em; margin-left: auto; }
.note { font-size: var(--text-sm); margin-top: var(--space-md); padding: var(--space-md) var(--space-md); border: 1px dashed var(--line-2); border-radius: 12px; }

table.fleet { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
table.fleet th { text-align: left; font-family: var(--mono); font-size: var(--text-xs); letter-spacing: 0.08em; color: var(--ink-3); font-weight: 400; padding-bottom: var(--space-xs); border-bottom: 1px solid var(--line); text-transform: uppercase; }
table.fleet td, table.fleet tbody th { padding-block: var(--space-sm); border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.fleet .name { font-weight: 700; font-size: var(--text-md); text-align: left; letter-spacing: normal; text-transform: none; color: var(--ink); font-family: inherit; }
table.fleet .stack { font-family: var(--mono); font-size: var(--text-xs); font-weight: 400; color: var(--ink-3); display: block; margin-top: var(--space-2xs); }
table.fleet .name a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
table.fleet .name a:hover { color: var(--cyan); text-decoration-color: var(--cyan); }
.name-note { display: block; font-family: var(--mono); font-size: var(--text-xs); font-weight: 400; color: var(--amber); margin-top: var(--space-2xs); }
.state { font-family: var(--mono); font-size: var(--text-xs); white-space: nowrap; }
.tag { display: inline-block; padding: var(--space-2xs) var(--space-xs); border-radius: 6px; background: var(--bg); border: 1px solid var(--line-2); font-family: var(--mono); font-size: var(--text-xs); color: var(--ink-2); margin: 0 var(--space-2xs) var(--space-2xs) 0; }
@media (max-width: 760px) {
  table.fleet thead { display: none; }
  table.fleet tr { display: block; border-bottom: 1px solid var(--line); padding-block: var(--space-md); }
  table.fleet td, table.fleet tbody th { display: block; border: 0; padding-block: var(--space-2xs); }
  table.fleet td[data-label]::before { content: attr(data-label); display: block; margin-top: var(--space-xs); font-family: var(--mono); font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
}
.fleet-controls { margin-bottom: var(--space-md); }
.filters { display: flex; flex-direction: column; gap: var(--space-sm); margin-bottom: var(--space-md); }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); }
.filter-group > .kicker { flex-basis: 6.5rem; }
/* A .btn that stays pressed: the fleet filters. */
.btn-toggle { padding-inline: var(--space-md); font-family: var(--mono); font-size: var(--text-xs); font-weight: 400; background: var(--panel); color: var(--ink); border-color: var(--line-2); white-space: nowrap; }
.btn-toggle:hover { border-color: var(--cyan); }
.btn-toggle[aria-pressed="true"] { background: var(--cyan); color: var(--bg); border-color: var(--cyan); font-weight: 700; }
.fleet-empty { margin-top: var(--space-md); }
.fleet-empty button { margin-top: var(--space-sm); }
/* The filters stay in reach over the stacked rows on phones: one scrolling line per group. */
@media (max-width: 760px) {
  .fleet-controls { position: sticky; top: var(--header-h, 4.5rem); z-index: 10; margin-inline: calc(-1 * var(--gutter)); padding: var(--space-sm) var(--gutter) var(--space-xs); background: var(--bg-glass); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
  .filters { gap: var(--space-xs); margin-bottom: var(--space-xs); }
  .filter-group { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: var(--space-3xs); }
  .filter-group > .kicker { flex: 0 0 auto; }
  .filters .btn-toggle { padding-inline: var(--space-sm); }
}
.legend { margin-top: var(--space-md); }

dl.faq { display: flex; flex-direction: column; }
dl.faq div { padding-block: var(--space-md); border-bottom: 1px solid var(--line); }
dl.faq dt { font-weight: 700; font-size: var(--text-md); margin-bottom: var(--space-xs); }
dl.faq dd { color: var(--ink-2); }

.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { text-align: left; padding-block: var(--space-sm); border-bottom: 1px solid var(--line-soft); font-size: var(--text-sm); }
.compare thead th { font-family: var(--mono); font-size: var(--text-xs); letter-spacing: 0.08em; color: var(--ink-3); font-weight: 400; text-transform: uppercase; border-bottom-color: var(--line); }
.compare thead th.us { color: var(--green); }
.compare tbody th { color: var(--ink-3); font-weight: 400; }
.compare td:last-child { font-weight: 700; }
@media (max-width: 560px) {
  .compare thead { display: none; }
  .compare tr { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xs) var(--space-md); padding-block: var(--space-sm); border-bottom: 1px solid var(--line-soft); }
  .compare th, .compare td { padding: 0; border: 0; }
  .compare tbody th { grid-column: 1 / -1; }
  .compare td[data-label]::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: var(--text-xs); font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
  .compare td:last-child::before { color: var(--green); }
}

ol.steps { margin-top: var(--space-xl); list-style: none; display: flex; flex-direction: column; gap: var(--space-sm); }
ol.steps li { display: flex; gap: var(--space-sm); font-size: var(--text-sm); color: var(--ink-2); }
ol.steps .kicker { color: var(--green); flex-shrink: 0; padding-top: var(--space-2xs); }
ol.steps + p { font-size: var(--text-sm); }
/* sms: only does something where there is a messaging app; mice get the number as text instead. */
.mouse-only { display: none; }
@media (hover: hover) and (pointer: fine) { .touch-only { display: none; } .mouse-only { display: block; } }

.contact-form { position: relative; margin-top: var(--space-fluid); padding-top: var(--space-fluid); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--space-md); }
.contact-form h3 + p { margin-top: var(--space-xs); }
.field { display: flex; flex-direction: column; gap: var(--space-xs); }
.field label { font-weight: 600; font-size: var(--text-sm); color: var(--ink); }
.field input, .field textarea, .field select { width: 100%; min-height: 44px; padding: var(--space-sm) var(--space-md); border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); font-family: inherit; font-size: var(--text-base); line-height: 1.5; }
.field textarea { min-height: 8rem; resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-error { font-size: var(--text-xs); color: var(--red); }
.field-hint { font-size: var(--text-xs); color: var(--green); }
.field-hint:empty { display: none; }
.optional, .req { font-weight: 400; color: var(--ink-3); }
fieldset.reach { border: 0; min-width: 0; display: flex; flex-direction: column; gap: var(--space-xs); }
fieldset.reach legend { padding: 0; margin-bottom: var(--space-xs); font-weight: 600; font-size: var(--text-sm); color: var(--ink); }
.field.check { flex-direction: row; align-items: center; gap: var(--space-sm); }
.field.check input { width: 1.25rem; height: 1.25rem; min-height: 0; flex-shrink: 0; accent-color: var(--green); }
.field.check label { min-height: 44px; display: flex; align-items: center; flex-wrap: wrap; column-gap: var(--space-xs); cursor: pointer; }
.copy-buffer { position: fixed; left: -9999px; }
.trap input { font-size: var(--text-base); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-md); }
.form-actions p { font-size: var(--text-sm); flex: 1 1 18rem; }
.form-note { font-size: var(--text-sm); }
/* On phones Send stays pinned to the bottom of the screen while the form is in view. */
@media (max-width: 767px) {
  .form-send { position: sticky; bottom: 0; z-index: 5; margin-inline: calc(-1 * var(--card-pad)); padding: var(--space-sm) var(--card-pad) calc(var(--space-sm) + env(safe-area-inset-bottom)); background: var(--panel); border-top: 1px solid var(--line); }
  .form-send .btn { flex: 1 1 auto; }
}
.draft { white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--mono); font-size: var(--text-xs); line-height: 1.6; color: var(--ink-2); background: var(--bg); padding: var(--space-md) var(--space-md); border: 1px dashed var(--line-2); border-radius: 12px; }

footer.site { border-top: 1px solid var(--line); padding-block: var(--space-xl); font-family: var(--mono); font-size: var(--text-xs); color: var(--ink-3); }
footer.site .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-2xl); justify-content: space-between; }
footer.site a { display: inline-flex; align-items: center; min-height: 44px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
