/* The marketing pages: /, /pricing/, /early-access/, /partners/, /camoufox/ and /camouwolf/.
   Tokens, buttons, badges and code blocks come from /theme/base.css, which every page loads first;
   this file is layout and the page-only pieces. */

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--s-5); }
.sprite { position: absolute; width: 0; height: 0; }   /* the icon symbols the landing page <use>s */
.sr, .visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }
.ic { flex: none; width: 20px; height: 20px; }


/* ── Header and footer ─────────────────────────────────────────────────────────────────────── */

header.site {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--outline);
  background: var(--bg);
}
.bar {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  max-width: 1120px;
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--s-5);
}
header.site nav { flex: 1; min-width: 0; }
header.site ul { display: flex; align-items: center; gap: var(--s-1); margin: 0; padding: 0; list-style: none; }
/* The page links sit centred between the brand and the account links. */
header.site li:first-child, header.site li.end { margin-left: auto; }
header.site li > a:not(.btn) {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 6px var(--s-3);
  border-radius: var(--r-full);
  color: var(--text-dim);
  font-size: 0.875rem;
  font-weight: 500;
}
header.site li > a:not(.btn):hover { background: var(--surface-2); color: var(--text); }
header.site li > a[aria-current="page"] { background: var(--surface-2); color: var(--text); }
header.site .btn { margin-left: var(--s-2); }
.btn.sm, .btn-small { height: 36px; padding: 0 var(--s-4); font-size: 0.875rem; }
.menu-btn { margin-left: auto; }   /* its look is in base.css, shared with the docs */

footer.site { padding: var(--s-7) 0; border-top: 1px solid var(--outline); }
footer.site .wrap { display: grid; gap: var(--s-4); justify-items: start; }
footer.site .row { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
footer.site .row a { color: var(--text-dim); font-size: 0.9375rem; }
footer.site .row a:hover { color: var(--text); }
footer.site small { color: var(--text-faint); font-size: 0.8125rem; }

/* ── Type and shared pieces ────────────────────────────────────────────────────────────────── */

h1 { font-size: clamp(2.5rem, 6.4vw, 4.5rem); line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); line-height: 1.12; letter-spacing: -0.02em; }
h3 { font-size: 1.125rem; line-height: 1.35; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-3);
  color: var(--text-dim);
  font-size: 0.9375rem;
  font-weight: 500;
}
.lede { max-width: 34em; margin-top: var(--s-5); color: var(--text-dim); font-size: 1.1875rem; line-height: 1.55; }
.intro { max-width: 60ch; margin-top: var(--s-3); color: var(--text-dim); font-size: 1.0625rem; }
.muted { color: var(--text-dim); }
.small { font-size: 0.875rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-6); }
main :where(p, dd, li) a:not(.btn) { color: var(--accent); }
main :where(p, dd, li) a:not(.btn):hover { text-decoration: underline; }
main :not(pre) > code {
  padding: 2px 6px;
  border-radius: var(--r-xs);
  background: var(--surface-3);
  font-family: var(--mono);
  font-size: 0.875em;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--r-full);
  background: var(--accent-container);
  color: var(--on-accent-container);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}
.tag.blue { background: #141833; color: #cfd6fb; }


/* Hand-coloured code: the pages mark comments, keywords, strings and calls themselves. */
pre.code { margin: 0; padding: var(--s-4) 20px; overflow-x: auto; font-size: 0.875rem; line-height: 1.7; }
pre.code code { display: inline-block; min-width: 100%; padding: 0; background: none; font-family: var(--mono); }
.code .c { color: var(--text-faint); }
.code .k { color: #ff9e85; }
.code .s { color: #81c995; }
.code .f { color: #8ab4f8; }

.closer, .psec.close > .wrap {
  padding: var(--s-8) var(--s-7);
  border: 1px solid var(--outline);
  border-radius: var(--r-xl);
  background: var(--surface-1);
}

/* ── Landing: hero ─────────────────────────────────────────────────────────────────────────── */

.hero { position: relative; padding: var(--s-9) 0; overflow: hidden; }
.hero .wrap { position: relative; }
.hero h1 { max-width: 13em; }
.nw { white-space: nowrap; }   /* "anti-detect" never breaks at its hyphen */
/* The ridges: a static pattern until bg.js takes over the canvas, and for anyone without WebGL. */
.ridges {
  position: absolute;
  inset: 0;
  background: repeating-radial-gradient(ellipse 70% 90% at 78% 42%, transparent 0 9px, rgb(239 122 93 / 0.1) 9px 11px);
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 78% 42%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 90% at 78% 42%, #000 10%, transparent 75%);
}
.ridges canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
/* No mask once the shader runs: it fades itself out at the foot, which costs nothing, where a mask
   makes the browser composite the whole hero again for every frame. */
.ridges.live { background: none; -webkit-mask-image: none; mask-image: none; }
.ridges.live canvas { opacity: 1; }

/* ── Landing: sections ─────────────────────────────────────────────────────────────────────── */

.sec { padding: var(--s-9) 0; border-top: 1px solid var(--outline); }
.sec .wrap > :where(.pair, .feature-grid, .bench-wrap, .pro-list, .demo-grid, .pxy) { margin-top: var(--s-6); }

.pair-more { margin-top: var(--s-4); text-align: center; }
.pair-more .more { color: var(--accent); font-weight: 500; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.who {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-5);
  border: 1px solid var(--outline);
  border-radius: var(--r-lg);
  background: var(--surface-1);
}
a.who { color: inherit; text-decoration: none; transition: border-color 0.15s, background 0.15s; }
a.who:hover { border-color: var(--accent); background: var(--surface-2); }
.who .gh { margin-left: auto; align-self: center; color: var(--accent); font-weight: 500; font-size: 0.9375rem; white-space: nowrap; }
.who img { flex: none; width: 56px; height: 56px; }
.who h3 { font-size: 1.25rem; }
.who .meta { display: flex; align-items: center; gap: var(--s-2); margin-top: 2px; color: var(--text-dim); font-size: 0.9375rem; }

/* Coverage: a key, then one tile per fingerprint surface. */
.ikey {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: var(--s-4) 0;
  padding: 0;
  list-style: none;
  color: var(--text-dim);
  font-size: 0.875rem;
}
.ikey li { display: inline-flex; align-items: center; gap: 6px; }
.ikey .ic { width: 18px; height: 18px; }

.cov { padding: var(--s-1) var(--s-5); border: 1px solid var(--outline); border-radius: var(--r-lg); }
.cov-h, .cov-row { display: grid; grid-template-columns: 120px 1fr 1fr; align-items: center; gap: 6px 18px; padding: var(--s-3) 0; }
.cov-h { color: var(--text-faint); font-size: 0.8125rem; font-weight: 500; }
.cov-row { border-top: 1px solid var(--outline); }
.cov-g { font-size: 0.9375rem; font-weight: 500; }
.cov-t { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.cov-e { display: none; }

.s-yes { --tint: var(--success); }
.s-part { --tint: var(--warning); }
.s-no { --tint: var(--danger); }
.s-na, .s-unk { --tint: var(--text-faint); }
.tile-b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: color-mix(in srgb, var(--tint) 14%, transparent);
  cursor: pointer;
}
.tile-b .ic { width: 16px; height: 16px; }
.tile-b:hover, .tile-b[aria-expanded="true"] { box-shadow: inset 0 0 0 1.5px var(--tint); }
.tile-b:focus-visible, .bench-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* Benchmark: a browser per row, overall then one column per vendor, each cell tinted by its rate.
   The first column stays put while the vendors scroll on a narrow screen. */
.bench-wrap { overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--outline); border-radius: var(--r-lg); }
.bench { width: 100%; min-width: 900px; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 0.875rem; }
.bench th, .bench td { padding: var(--s-2); border-bottom: 1px solid var(--outline); font-weight: 400; }
.bench tbody tr:last-child > * { border-bottom: 0; }
.bench .corner { width: 190px; }
.bench .corner, .bench tbody th { position: sticky; left: 0; z-index: 2; background: var(--bg); }
.bench thead th { color: var(--text-dim); font-size: 0.8125rem; font-weight: 500; line-height: 1.3; text-align: center; vertical-align: bottom; }
.bench tbody th { padding: var(--s-2) var(--s-4); font-weight: 500; text-align: left; }
.bench tbody th span { display: block; color: var(--text-faint); font-size: 0.75rem; font-weight: 400; }
.bench tbody th .tag { display: inline-flex; margin-left: var(--s-1); height: 20px; padding: 0 8px; color: #cfd6fb; font-weight: 500; vertical-align: middle; }
.bench tr.pro th { color: var(--pro); }
.bench td { text-align: center; font-variant-numeric: tabular-nums; }
.bench td b {
  display: block;
  padding: 6px 0 2px;
  border-radius: 8px 8px 0 0;
  background: color-mix(in srgb, var(--tint) 16%, transparent);
  color: var(--text);
  font-weight: 600;
}
.bench td small {
  display: block;
  padding: 0 0 6px;
  border-radius: 0 0 8px 8px;
  background: color-mix(in srgb, var(--tint) 16%, transparent);
  color: var(--text-faint);
  font-size: 0.6875rem;
}
.bench td.all b { font-size: 1rem; }
.bench td.all, .bench thead th:nth-child(2) { border-right: 1px solid var(--outline); }
.checked { margin-top: var(--s-3); color: var(--text-faint); font-size: 0.8125rem; }

/* The detail card a tile or a mark opens. The page script places it with left/top. */
.pop {
  position: fixed;
  z-index: 90;
  max-width: min(320px, calc(100vw - 24px));
  padding: var(--s-3) 40px var(--s-3) var(--s-4);
  border: 1px solid var(--outline-strong);
  border-radius: var(--r-md);
  background: var(--surface-3);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
  white-space: normal;
}
.pop h3 { font-size: 0.9375rem; }
.pop p { margin-top: var(--s-2); }
.pop .pd { color: var(--text-dim); }
.pop .pl { display: flex; align-items: flex-start; gap: var(--s-2); }
.pop .pl .ic { width: 18px; height: 18px; }
.pop .pa { display: flex; flex-direction: column; gap: 2px; }
.pop a { word-break: break-all; }
.pop .px {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--text-dim);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
}
.pop .px:hover { background: var(--surface-4); color: var(--text); }

.how-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: var(--s-7); }
.code-note { margin-top: var(--s-3); color: var(--text-faint); font-size: 0.875rem; }

.pro-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.pro-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--s-3); padding: 0; list-style: none; }
.pro-list li {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4);
  border: 1px solid var(--outline);
  border-radius: var(--r-md);
  background: var(--surface-1);
  font-size: 0.9375rem;
  font-weight: 500;
}
.note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  margin-top: var(--s-5);
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-lg);
  background: var(--accent-container);
  color: var(--on-accent-container);
}

.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.demo video { display: block; width: 100%; height: auto; border: 1px solid var(--outline); border-radius: var(--r-lg); background: var(--surface-1); }
.demo figcaption { margin-top: var(--s-2); color: var(--text-dim); font-size: 0.9375rem; }

.pxy { width: 100%; max-width: 680px; border: 1px solid var(--outline); border-radius: var(--r-lg); border-collapse: separate; border-spacing: 0; }
.pxy th, .pxy td { padding: var(--s-3) var(--s-4); }
.pxy tbody > tr > * { border-top: 1px solid var(--outline); }
.pxy thead th { color: var(--text-dim); font-size: 0.875rem; font-weight: 500; }
.pxy tbody th { font-weight: 500; text-align: left; }
.pxy td { width: 130px; text-align: center; }
.pxy .ic { vertical-align: middle; }
.pxy-tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-5) 0 0; padding: 0; list-style: none; }
.pxy-tags li {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 36px;
  padding: 6px var(--s-4) 6px var(--s-3);
  border: 1px solid var(--outline);
  border-radius: var(--r-full);
  color: var(--text-dim);
  font-size: 0.875rem;
}

/* ── Inner pages ───────────────────────────────────────────────────────────────────────────── */

.phero { padding: var(--s-8) 0; }
.phero h1 { max-width: 18em; font-size: clamp(2.25rem, 5vw, 3.5rem); }
.stage { display: none; }   /* upstream's mascot stand */
.psec { padding: var(--s-8) 0; border-top: 1px solid var(--outline); }
.psec h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.psec.close { padding-inline: var(--s-5); }
.psec.close > .wrap { max-width: calc(1120px - 2 * var(--s-5)); }   /* the panel lines up with the text above it */

/* One rhythm for everything that follows something else inside a page. */
.inner main :where(h2, h3, p, ul, ol, dl, pre, form, table, details, fieldset, .field, .field-row, .split, .chips, label.check):not(:first-child) { margin-top: var(--s-4); }
.inner main .actions:not(:first-child) { margin-top: var(--s-5); }
.inner main :is(.split, .field, .field-row, .plan) > * { margin-top: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; gap: var(--s-7); }
.card:not(.wrap) { padding: var(--s-6); border: 1px solid var(--outline); border-radius: var(--r-lg); background: var(--surface-1); }
.card:not(.wrap) h2 { font-size: 1.375rem; letter-spacing: -0.01em; }

.ledger > div {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: var(--s-1) var(--s-5);
  padding: var(--s-3) 0;
  border-top: 1px solid var(--outline);
}
.ledger dt { font-weight: 500; }
.ledger dd { color: var(--text-dim); }
.side .ledger > div { grid-template-columns: 1fr; }


/* A panel shows the one block that matches its state; the page scripts set data-state. */
[data-state] > [data-when] { display: none; }
[data-state="loading"] > [data-when="loading"],
[data-state="signed-out"] > [data-when="signed-out"],
[data-state="member"] > [data-when="member"],
[data-state="form"] > [data-when="form"],
[data-state="running"] > [data-when="running"],
[data-state="result"] > [data-when="result"],
[data-state="error"] > [data-when="error"],
[data-state="locked"] > [data-when="locked"],
[data-state="open"] > [data-when="open"] { display: revert; }

.skeleton { height: 14px; margin-top: var(--s-3); border-radius: var(--r-full); background: var(--surface-3); }
.skeleton.w60 { width: 60%; }
.skeleton.w40 { width: 40%; }
.skeleton.h3 { height: 44px; border-radius: var(--r-sm); }

.badge.on { --tint: var(--success); }
.result-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }

/* Forms */
.field { display: grid; gap: var(--s-2); }
.field label, .field legend { font-size: 0.875rem; font-weight: 500; }
fieldset.field { display: block; min-width: 0; margin-inline: 0; padding: 0; border: 0; }
.inner main form:not(:first-child) { margin-top: var(--s-5); }
.field legend { margin-bottom: var(--s-2); padding: 0; }
.field-row { display: flex; flex-wrap: wrap; gap: var(--s-4); }
.field-row .grow { flex: 1 1 200px; }
.field-row .port { flex: 0 0 120px; }
.opt, .hint { color: var(--text-faint); font-weight: 400; }
.hint { font-size: 0.8125rem; }
main :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], textarea) {
  width: 100%;
  min-height: 44px;
  padding: 10px var(--s-3);
  border: 1px solid var(--outline-strong);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.9375rem;
}
main textarea { min-height: 112px; resize: vertical; }
main :is(input, textarea):focus-visible { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 0; }
main :is(input, textarea)[aria-invalid="true"] { border-color: var(--danger); }
main ::placeholder { color: var(--text-faint); }
main input[type="checkbox"], main input[type="radio"] { accent-color: var(--accent); }
label.check { display: flex; align-items: flex-start; gap: var(--s-2); color: var(--text-dim); font-size: 0.9375rem; }
label.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; }

/* Pick-one and pick-many options drawn as pills; the real input stays focusable underneath. */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chips label {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px var(--s-4);
  border: 1px solid var(--outline-strong);
  border-radius: var(--r-full);
  color: var(--text-dim);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}
.chips input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chips label:hover { color: var(--text); }
.chips label:has(input:checked) { border-color: transparent; background: var(--accent-container); color: var(--on-accent-container); }
.chips label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.status { margin-top: var(--s-3); color: var(--text-dim); font-size: 0.875rem; }
.status:empty { display: none; }
.status.ok { color: var(--success); }
.status.err { color: var(--danger); }

/* The proxy check: its stages while it runs, then one card per requirement. */
.stages { display: grid; gap: var(--s-3); padding: 0; list-style: none; }
.stages li { position: relative; padding-left: 28px; color: var(--text-faint); }
.stages li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 4px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--outline-strong);
  border-radius: 50%;
}
.stages .now { color: var(--text); }
.stages .now::before { border-color: var(--accent); background: var(--accent); }
.stages .done { color: var(--text-dim); }
.stages .done::before { border-color: var(--success); background: var(--success); }

.reqs { display: grid; gap: var(--s-3); padding: 0; list-style: none; }
.reqs li { padding: var(--s-4); border: 1px solid var(--outline); border-radius: var(--r-md); background: var(--bg); }
.reqs .ok { --tint: var(--success); }
.reqs .bad { --tint: var(--danger); }
.reqs .soft { --tint: var(--warning); }
.reqs .na { --tint: var(--text-faint); }
.reqs .na .req-title { color: var(--text-dim); }
.req-title { display: flex; align-items: center; gap: var(--s-2); font-weight: 500; }
.reqs .level { margin-left: auto; padding-left: var(--s-3); color: var(--text-faint); font-size: 0.8125rem; font-weight: 400; white-space: nowrap; }
.mark {
  display: grid;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--tint) 16%, transparent);
  color: var(--tint);
  font-size: 0.8125rem;
}
.why { color: var(--text-dim); font-size: 0.9375rem; }
main summary { color: var(--text-dim); font-size: 0.875rem; cursor: pointer; }
.lines { overflow-x: auto; }
.lines table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.lines th, .lines td { padding: var(--s-2) var(--s-3); border-top: 1px solid var(--outline); text-align: left; }
.lines th { color: var(--text-dim); font-weight: 500; }
.lines .pass { color: var(--success); }
.lines .fail { color: var(--danger); }
.lines .skip, .lines .warn { color: var(--warning); }

/* ── Pricing ───────────────────────────────────────────────────────────────────────────────── */

/* Monthly or annual is two radios and no script: the checked one decides which prices show. */
.plan-toggle { position: absolute; opacity: 0; pointer-events: none; }
.interval { display: inline-flex; gap: var(--s-1); padding: var(--s-1); border: 1px solid var(--outline); border-radius: var(--r-full); }
.interval label {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  height: 36px;
  padding: 0 var(--s-4);
  border-radius: var(--r-full);
  color: var(--text-dim);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}
#m:checked ~ .interval label[for="m"], #y:checked ~ .interval label[for="y"] { background: var(--surface-3); color: var(--text); }
#m:focus-visible ~ .interval label[for="m"], #y:focus-visible ~ .interval label[for="y"] { outline: 2px solid var(--accent); outline-offset: 2px; }
.save { padding: 2px 8px; border-radius: var(--r-full); background: color-mix(in srgb, var(--success) 16%, transparent); color: var(--success); font-size: 0.75rem; }
#m:checked ~ .plans .yearly, #y:checked ~ .plans .monthly { display: none; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-6); }
.plan {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-5);
  border: 1px solid var(--outline);
  border-radius: var(--r-lg);
  background: var(--surface-1);
}
.plan.lead { border-color: var(--accent); }
.amount { font-size: 2.25rem; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
.per { margin-left: 4px; color: var(--text-dim); font-size: 0.9375rem; font-weight: 400; letter-spacing: 0; }
.billed, .after { color: var(--text-faint); font-size: 0.8125rem; }
.plan dl div { display: flex; justify-content: space-between; gap: var(--s-3); padding: var(--s-2) 0; border-top: 1px solid var(--outline); font-size: 0.9375rem; }
.plan dt { color: var(--text-dim); }
.plan dd { font-weight: 500; text-align: right; }
.inner main .plan > .btn { height: auto; min-height: 40px; margin-top: auto; padding-block: var(--s-2); text-align: center; white-space: normal; }
.plans-note { color: var(--text-faint); font-size: 0.875rem; }

/* ── Smaller screens ───────────────────────────────────────────────────────────────────────── */

@media (max-width: 1000px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  header.site nav { display: flex; }
  header.site ul { display: none; }
  header.site nav.open ul {
    position: absolute;
    top: calc(var(--header-h) + var(--s-2));
    right: var(--s-4);
    left: var(--s-4);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: var(--s-3);
    border: 1px solid var(--outline-strong);
    border-radius: var(--r-lg);
    background: var(--surface-2);
  }
  header.site li:first-child, header.site li.end { margin-left: 0; }
  header.site li > a:not(.btn) { display: flex; padding: 10px var(--s-3); font-size: 1rem; }
  header.site .btn { display: flex; margin: var(--s-2) 0 0; }
  .split, .how-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
}

@media (max-width: 640px) {
  .sec, .hero { padding: var(--s-8) 0; }
  .phero, .psec { padding: var(--s-7) 0; }
  .closer, .psec.close > .wrap { padding: var(--s-6) var(--s-5); }
  .card:not(.wrap) { padding: var(--s-5); }
  .pair, .demo-grid, .plans { grid-template-columns: minmax(0, 1fr); }
  .who { flex-wrap: wrap; }
  .ledger > div { grid-template-columns: 1fr; }
  .cov { padding: var(--s-1) var(--s-4); }
  .cov-h { display: none; }
  .cov-row { grid-template-columns: 1fr; }
  .cov-row:first-of-type { border-top: 0; }
  .cov-e { display: block; width: 20px; height: 20px; margin-right: 4px; }
  .bench .corner { width: 140px; }
  .bench tbody th { padding: var(--s-2) var(--s-3); }
  .pxy td { width: 88px; }
}

/* The fox and wolf that run and leap down the home page (assets/trail.js). */
.trail { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 20; }
.trail .actor { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform; }
.trail .actor.on { opacity: 1; }
.trail canvas { display: block; width: 100%; height: 100%; }

/* The waitlist's thank-you, marked where it is mentioned so the eye lands on it. */
.gift { display: inline-block; font-style: normal; line-height: 1; transform-origin: 50% 80%; }
.gift { animation: gift-wiggle 2.4s ease-in-out 0.8s 2; }
@keyframes gift-wiggle {
  0%, 70%, 100% { transform: rotate(0); }
  76% { transform: rotate(-12deg); }
  82% { transform: rotate(10deg); }
  88% { transform: rotate(-6deg); }
  94% { transform: rotate(3deg); }
}

/* ── /pro/: each feature is a small picture first, a line of text second ───────────────────── */
.pv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.pv-card { display: flex; flex-direction: column; padding: var(--s-5); border: 1px solid var(--outline); border-radius: var(--r-lg); background: var(--surface-1); }
.inner main .pv-card > * { margin-top: 0; }
.inner main .pv-card > h2 { margin-top: var(--s-5); font-size: 1.25rem; letter-spacing: -0.01em; }
.inner main .pv-card p:not(:first-child) { margin-top: var(--s-1); }
.pv-card > p { color: var(--text-dim); }
.pv-vis { display: grid; place-items: center; height: 230px; padding: var(--s-4); border-radius: var(--r-md); background: var(--bg); font-size: 0.875rem; }
.inner main .pv-vis * { margin-top: 0; }

.pv-flow { display: flex; align-items: center; gap: var(--s-3); width: 100%; }
.pv-box { flex: 1; display: grid; gap: 4px; padding: var(--s-3); border: 1px solid var(--outline-strong); border-radius: var(--r-md); text-align: center; }
.pv-box span { color: var(--text-faint); font-size: 0.8125rem; }
.pv-box.hot { border-color: var(--accent); background: var(--accent-container); color: var(--on-accent-container); }
.pv-box.hot span { color: var(--on-accent-container); opacity: 0.8; }
.pv-arrow { flex: 1.1; position: relative; padding-bottom: 14px; color: var(--text-dim); font-size: 0.75rem; text-align: center; }
.pv-arrow::after { content: ""; position: absolute; left: 0; right: 6px; bottom: 4px; height: 2px; background: linear-gradient(90deg, var(--outline-strong), var(--accent)); }
.pv-arrow::before { content: ""; position: absolute; right: 0; bottom: 0; border: 5px solid transparent; border-left: 8px solid var(--accent); }

.pv-par { border-collapse: collapse; }
.pv-par th, .pv-par td { padding: 4px 12px; font-weight: 400; }
.pv-par thead th { color: var(--text-faint); font-size: 0.75rem; }
.pv-par tbody th { color: var(--text-dim); text-align: left; }
.pv-par td { text-align: center; }
.pv-par .ic { width: 16px; height: 16px; vertical-align: middle; }
.pv-big { color: var(--text-dim); }
.pv-big b { color: var(--accent); font-size: 1.75rem; font-weight: 600; }
.inner main .pv-vis .pv-big { margin-top: var(--s-2); text-align: center; }

.pv-prof { display: grid; gap: var(--s-3); justify-items: center; }
.pv-id { display: grid; gap: 2px; padding: var(--s-2) var(--s-4); border: 1px solid var(--accent); border-radius: var(--r-md); background: var(--accent-container); color: var(--on-accent-container); text-align: center; }
.pv-id span { font-size: 0.75rem; opacity: 0.8; }
.pv-state, .pv-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0; list-style: none; }
.pv-state li, .pv-tags li { padding: 2px 10px; border: 1px solid var(--outline); border-radius: 999px; color: var(--text-dim); font-size: 0.8125rem; }
.pv-sync { display: flex; gap: var(--s-4); color: var(--text-faint); font-size: 0.8125rem; }
.pv-sync span::before { content: "⇄ "; color: var(--accent); }

.pv-week { display: grid; grid-template-columns: repeat(7, 36px); gap: 6px; padding: 0; list-style: none; }
.pv-week li { display: grid; place-items: center; height: 56px; border: 1px solid var(--outline); border-radius: var(--r-sm, 8px); color: var(--text-faint); font-size: 0.6875rem; }
.pv-week li.on { border-color: var(--accent); background: var(--accent-container); color: var(--on-accent-container); }
.pv-week li.go { border-color: var(--text); color: var(--text); }
.pv-week-k { display: flex; align-items: center; gap: 6px; color: var(--text-faint); font-size: 0.75rem; }
.inner main .pv-vis .pv-week-k { margin-top: var(--s-3); }
.pv-week-k .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--accent); }
.pv-week-k .dot.go { margin-left: var(--s-2); border: 1px solid var(--text); background: none; }

.pv-pay { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.pv-tile { padding: var(--s-5); border: 1px solid var(--outline); border-radius: var(--r-lg); background: var(--surface-1); }
.inner main .pv-tile > * { margin-top: 0; }
.pv-k { color: var(--text-dim); font-size: 0.9375rem; }
.pv-n { margin: var(--s-2) 0 var(--s-4) !important; font-size: 2rem; font-weight: 600; letter-spacing: -0.02em; }
.pv-n small { color: var(--text-dim); font-size: 1rem; font-weight: 400; letter-spacing: 0; }
.pv-tile .pv-tags { justify-content: flex-start; }

.pv-status { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); padding: 0; list-style: none; }
.pv-status li { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-3) var(--s-4); border: 1px solid var(--outline); border-radius: var(--r-md); background: var(--surface-1); font-size: 0.9375rem; font-weight: 500; }

.pv-plans { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-3); }
.pv-plan { display: grid; gap: 2px; padding: var(--s-4); border: 1px solid var(--outline); border-radius: var(--r-lg); background: var(--surface-1); color: var(--text-dim); font-size: 0.875rem; }
.pv-plan:hover { border-color: var(--outline-strong); }
.pv-plan.lead { border-color: var(--accent); }
.pv-plan b { color: var(--text); font-size: 1rem; }
.pv-p { color: var(--text); font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em; }

@media (max-width: 900px) {
  .pv-status { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pv-grid, .pv-pay { grid-template-columns: minmax(0, 1fr); }
  .pv-vis { height: auto; min-height: 200px; }
  .pv-flow { flex-direction: column; }
  .pv-arrow { width: 100%; }
  .pv-week { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
  .pv-week li { font-size: 0.625rem; }
}

/* /partners/: what we ask of a proxy partner beside what they get */
.deal { width: 100%; border: 1px solid var(--outline); border-radius: var(--r-lg); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.deal th, .deal td { width: 50%; padding: var(--s-3) var(--s-5); text-align: left; vertical-align: top; }
.deal thead th { background: var(--surface-1); color: var(--text-dim); font-size: 0.875rem; font-weight: 500; }
.deal td + td, .deal th + th { border-left: 1px solid var(--outline); }
.deal tbody td { border-top: 1px solid var(--outline); }
.deal td b { color: var(--accent); font-weight: 600; }
.deal tr.key td { background: var(--accent-container); color: var(--on-accent-container); }
@media (max-width: 640px) { .deal th, .deal td { padding: var(--s-3); font-size: 0.875rem; } }

/* The fox and wolf that walk round the cards on /pro/ and /pricing/ (assets/tour.js). The back layer
   sits under the cards it walks behind; the cards are lifted over it while a walk is on. */
.trail.back { z-index: 0; }
.tour-solid { position: relative; z-index: 1; }
.trail .zz { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.trail .zz span { position: absolute; left: 0; bottom: 0; color: var(--wolf); font-size: 0.8125rem; font-weight: 600; opacity: 0; animation: zz 3.6s ease-out infinite; }
.trail .zz span:nth-child(2) { animation-delay: 1.2s; font-size: 0.9375rem; }
.trail .zz span:nth-child(3) { animation-delay: 2.4s; font-size: 1.0625rem; }
@keyframes zz { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: 0.9; } 100% { opacity: 0; transform: translate(18px, -34px); } }
/* room on the Startup card, between its figures and its button, for the wolf asleep on the button */
.plan.lead > dl { margin-bottom: 64px; }
@media (max-width: 1000px) { .plan.lead > dl { margin-bottom: 50px; } }
@media (max-width: 640px) { .plan.lead > dl { margin-bottom: 40px; } }
