/*
 * ProdMask site styles: concept 07, "Bento" (picked 17 October 2026; the samples are in ai-docs/landing-concepts/).
 * Warm grey page, white tiles and one or two ink tiles, wide Archivo for every claim and Martian Mono for
 * the data that proves it. Cobalt marks the copy: the fakes, the cleared settings, the passed checks.
 * Fonts: Archivo and Martian Mono, self-hosted from assets/fonts/ (Latin, with their width and weight axes;
 * see assets/fonts/NOTICE.md). The site makes no third-party requests.
 */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-wdth-normal-Wa7z_Iw.woff2") format("woff2");
}
@font-face {
  font-family: "Martian Mono";
  font-style: normal;
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  font-display: swap;
  src: url("../fonts/martian-mono-latin-wdth-normal-ImZAaEb.woff2") format("woff2");
}

:root {
  --page: #efede8;
  --tile: #fbfaf7;
  --white: #ffffff;
  --ink: #171614;
  --ink-2: #2e2c28;
  --cream: #f3efe6;
  --line: #dcd8cf;
  --line-2: #c9c4b9;
  --muted: #5d5850;
  --body: #3d3a35;
  --code-bg: #e9e6df;
  --cobalt: #2d5bff;
  --cobalt-ink: #2347e0;
  --cobalt-tint: #e8edff;
  --cobalt-line: #b9c6ff;
  --on-ink: #f3efe6;
  --on-ink-muted: #aaa49a;
  --on-ink-line: #3a3833;
  --cobalt-on-ink: #93acff;
  /* Gold marks Pro, the paid tool; cobalt marks what's free and available today. */
  --gold-ink: #6b4f0a;
  --gold-tint: #f6e7b8;
  --gold-line: #d6b157;
  --gold-on-ink: #e9c46a;
  --red: #b42318;
  --orange: #b54708;
  --amber: #8a6a00;
  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Martian Mono", ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --r: 20px;
  --gut: 24px;
  color-scheme: light;
}
@media (max-width: 600px) { :root { --gut: 16px; } }

/* Base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 16px/1.55 var(--sans); }
main, .site-footer { overflow-x: clip; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--cobalt-ink); }
:focus-visible { outline: 2.5px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--cobalt-tint); }
svg { flex: none; }

h1, h2, h3, h4 { margin: 0 0 1rem; font-weight: 740; line-height: 1.06; letter-spacing: -.02em; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-stretch: 125%; letter-spacing: -.035em; line-height: 1; max-width: 22ch; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.6rem); font-stretch: 125%; letter-spacing: -.03em; max-width: 26ch; }
h3 { font-size: 1.15rem; font-stretch: 112%; }
p { margin: 0 0 1rem; max-width: 68ch; }
code, kbd, pre, .m { font-family: var(--mono); font-stretch: 87.5%; }
code { font-size: .84em; font-weight: 420; }
:not(pre) > code { padding: .08em .35em; background: var(--code-bg); border-radius: 5px; }

.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 8px 12px; background: var(--ink); color: var(--cream); border-radius: 8px; font-weight: 650; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--cream); }
.hp, .sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: min(1280px, calc(100% - 2 * var(--gut))); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 2 * var(--gut))); margin-inline: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Header and footer */

.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 22px; font-weight: 800; font-stretch: 125%; letter-spacing: -.045em; text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand .mark-ink { fill: var(--ink); }
.brand .mark-line { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.brand .mark-cobalt { fill: var(--cobalt); }
.site-nav { display: flex; flex-wrap: wrap; gap: 2px; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 520; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--tile); color: var(--ink); }
/* Small screens: a menu button opens the links (menu_controller.js). Without JavaScript they stay in a row. */
.menu-button { display: none; }
@media (max-width: 720px) {
  .site-header .container { flex-wrap: wrap; min-height: 0; padding: 12px 0; }
  html:not(.js) .site-nav { width: 100%; margin-left: -8px; }
  html:not(.js) .site-nav a { padding: 6px 8px; font-size: 14.5px; }
  .js .menu-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -4px; padding: 0; background: transparent; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); cursor: pointer; }
  .js .menu-button:hover, .js .menu-button[aria-expanded="true"] { background: var(--tile); }
  .menu-button[aria-expanded="true"] .icon-open, .menu-button[aria-expanded="false"] .icon-close { display: none; }
  .js .site-nav { display: none; }
  .js .is-menu-open .site-nav { display: flex; flex-direction: column; gap: 2px; width: 100%; margin-top: 6px; padding: 8px; background: var(--tile); border: 1px solid var(--line-2); border-radius: 18px; }
  .js .is-menu-open .site-nav a { padding: 12px 14px; border-radius: 12px; color: var(--ink); font-size: 16px; }
  .js .is-menu-open .site-nav a:hover, .js .is-menu-open .site-nav a[aria-current="page"] { background: var(--page); }
}

.site-footer { margin-top: 0; padding: 40px 0 80px; border-top: 1px solid var(--line-2); color: var(--muted); font-size: 14px; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; }
.site-footer p { margin: 0 0 6px; }
.site-footer .brand { margin-bottom: 6px; font-size: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px 18px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }

/* Buttons, links and tags */

.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: 0 22px; border: 1.5px solid var(--ink); border-radius: 999px; font: 650 15.5px/1.2 var(--sans); text-align: center; text-decoration: none; cursor: pointer; }
.button-primary { background: var(--ink); color: var(--cream); }
.button-primary:hover { background: var(--ink-2); color: var(--cream); }
.button-secondary { background: transparent; color: var(--ink); }
.button-secondary:hover { background: var(--tile); color: var(--ink); }
.button-small { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.button[disabled] { opacity: .6; cursor: not-allowed; }
.link-arrow { color: var(--cobalt-ink); font-weight: 650; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }

/* Tags: a filled dot is available today, a hollow dot is Pro (beta). */
.tier, .badge { display: inline-flex; flex: none; align-items: center; gap: 7px; width: fit-content; padding: 6px 10px 6px 9px; background: var(--tile); border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font: 600 12px/1 var(--sans); letter-spacing: 0; white-space: nowrap; vertical-align: middle; }
.tier::before, .badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
.tier.now { background: var(--cobalt-tint); border-color: var(--cobalt-line); color: var(--cobalt-ink); }
.tier.now::before { background: currentColor; }
.tier.pro { background: linear-gradient(180deg, #fdf8e8, var(--gold-tint)); border-color: var(--gold-line); color: var(--gold-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7); }
.tier.pro::before { background: linear-gradient(135deg, #f5d36b, #b5840f); box-shadow: none; }

.replay { display: inline-flex; flex: none; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; background: var(--tile); border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font: 600 12.5px/1 var(--sans); cursor: pointer; }
.replay:hover { border-color: var(--ink); color: var(--ink); }

/* Page structure */

.section { padding: 104px 0; border-top: 1px solid var(--line-2); }
@media (max-width: 760px) { .section { padding: 72px 0; } }
.section-tint { background: transparent; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p, .muted { color: var(--muted); }
/* Heading on the left, its one-paragraph summary on the right. */
.sec-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 16px 64px; align-items: end; margin-bottom: 48px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; max-width: 54ch; color: var(--muted); font-size: 17px; }
@media (max-width: 900px) { .sec-head { grid-template-columns: minmax(0, 1fr); } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--muted); font-size: 15px; font-weight: 560; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--cobalt); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); } }
.grid-3 > div { padding-top: 18px; border-top: 2px solid var(--ink); }
.grid-3 p { color: var(--muted); }
.card { padding: 28px; background: var(--tile); border: 1px solid var(--line); border-radius: var(--r); }
.card p:last-child { margin-bottom: 0; }
@media (max-width: 600px) { .card { padding: 22px 18px; } }
.caption, .fig-cap { margin-top: 16px; color: var(--muted); font-size: 14px; }
.fig-cap b { color: var(--ink); font-weight: 650; }

/* The homepage hero */

.hero { padding: 36px 0 40px; }
.hero h1 { max-width: none; font-size: clamp(2.2rem, 5.8vw, 5.2rem); line-height: .98; }
.hero h1 span { display: block; }
.hero h1 .strong { font-weight: 820; }
.hero h1 .light { font-weight: 300; }
.hero-row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 28px 72px; align-items: start; margin-top: 36px; }
.lede { max-width: 60ch; color: var(--body); font-size: clamp(1.06rem, 1.35vw, 1.22rem); line-height: 1.6; }
.hero-status { display: grid; gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; }
.hero-status li { display: grid; gap: 6px; color: var(--muted); font-size: 15px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 36px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line-2); color: var(--muted); font-size: 14.5px; list-style: none; }
.hero-meta .destinations { color: var(--ink); font-weight: 600; }
.hero-note { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .hero-row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .hero h1 { font-stretch: 100%; letter-spacing: -.03em; } .hero-meta { gap: 4px 18px; } }

/* The bento: one claim per tile, each with its own small proof. */

.bento-section { padding-bottom: 96px; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px;
  grid-template-areas: "a a a a a a a b b b b b" "a a a a a a a c c c c c" "d d d d e e e e f f f f" "i i i i i h h h h h h h" "g g g g g g g g g g g g"; }
.t-a { grid-area: a; } .t-b { grid-area: b; } .t-c { grid-area: c; } .t-d { grid-area: d; } .t-e { grid-area: e; }
.t-f { grid-area: f; } .t-g { grid-area: g; } .t-h { grid-area: h; } .t-i { grid-area: i; }
@media (max-width: 1099px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "a a" "b c" "d e" "f i" "h h" "g g"; } }
@media (max-width: 699px) { .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "a" "b" "c" "d" "e" "f" "i" "h" "g"; } }
.tile { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 22px 24px 20px; background: var(--tile); border: 1px solid var(--line); border-radius: var(--r); }
.tile.ink { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
@media (max-width: 699px) { .tile { padding: 20px 18px 18px; } }
/* The tag sits top right, and a long heading wraps beside it. Only when the heading would get less
   than 10 characters' width (the free scan's long tag on a phone) does the tag drop below it. */
.tile-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 14px; }
.tile-top h3 { flex: 1 1 10ch; min-width: 0; }
.tile h3 { max-width: 19ch; margin: 0; font-size: clamp(1.25rem, 1.75vw, 1.6rem); font-weight: 750; font-stretch: 125%; letter-spacing: -.03em; }
.tile h3 code { padding: 0; background: none; font-size: .86em; font-weight: 500; }
.tile p { margin: 0; }
.tile .cap { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.tile > .cap { margin-top: auto; }
.ink .cap, .ink .tname { color: var(--on-ink-muted); }
.ink .tier { background: transparent; border-color: var(--on-ink-line); color: var(--on-ink-muted); }
.ink .tier.now { border-color: rgba(147, 172, 255, .45); color: var(--cobalt-on-ink); }
.ink .tier.pro { background: rgba(214, 177, 87, .12); border-color: rgba(214, 177, 87, .5); color: var(--gold-on-ink); box-shadow: none; }
.ink .replay { background: transparent; border-color: var(--on-ink-line); color: var(--on-ink-muted); }
.ink .replay:hover { border-color: var(--on-ink-muted); color: var(--on-ink); }
.ink :not(pre) > code { background: #2b2925; color: var(--on-ink); }
.ink a:hover { color: var(--cobalt-on-ink); }
.scene { display: flex; flex: 1; flex-direction: column; gap: 16px; }
.scene-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 16px; margin-top: auto; }
.scene-foot .cap { flex: 1 1 220px; }
.scroll { overflow-x: auto; }
.tname { margin-bottom: 6px; color: var(--muted); font-size: 11.5px; }

/* Values: found by the scan (ink), changing (cobalt), settled on the fake (cobalt on tint). */
.v { display: inline-block; border-radius: 3px; transition: color .25s, background-color .25s, box-shadow .25s; }
.v.is-found { background: var(--ink); color: var(--tile); }
.v.is-scrambling { background: transparent; color: var(--cobalt); }
.v.is-masked { background: var(--cobalt-tint); color: var(--cobalt-ink); }

/* a: customers and orders */
.mt { width: 100%; border-collapse: collapse; font-size: 12px; white-space: nowrap; }
.mt th, .mt td { padding: 7px 14px 7px 8px; border-bottom: 1px solid var(--on-ink-line); text-align: left; vertical-align: baseline; }
.mt th { padding-top: 0; color: var(--on-ink-muted); font-family: inherit; font-size: 11px; font-weight: 400; }
.mt tr:last-child td { border-bottom: 0; }
.mt .ref { color: var(--on-ink-muted); }
.w12 { min-width: 12ch; } .w14 { min-width: 14ch; } .w26 { min-width: 26ch; }
.t-a .tables { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.t-a .v.is-found { background: rgba(243, 239, 230, .14); box-shadow: 0 0 0 1px rgba(243, 239, 230, .55); color: var(--on-ink); }
.t-a .v.is-scrambling, .t-a .v.is-masked { background: none; box-shadow: none; color: var(--cobalt-on-ink); }
.t-a td { transition: background-color .4s, box-shadow .4s; }
.t-a .is-played tr[data-customer="1042"] td { background: rgba(147, 172, 255, .12); }
.t-a .is-played tr[data-customer="1042"] td:first-child { box-shadow: inset 2px 0 0 var(--cobalt-on-ink); }
.link-note { color: var(--on-ink-muted); transition: color .4s; }
.t-a .is-played .link-note { color: var(--on-ink); }
@media (max-width: 560px) { .mt .ph { display: none; } .mt { font-size: 11px; font-stretch: 75%; } .mt th, .mt td { padding-right: 10px; } }

/* b: a PHP-serialised value as a two-line diff */
.diff { display: grid; gap: 6px; }
.dl { display: grid; grid-template-columns: 16px minmax(0, 1fr); margin: 0; padding: 9px 12px 9px 8px; border-radius: 10px; font-size: 12px; line-height: 1.75; overflow-wrap: anywhere; }
.dl-old { background: #f0ede6; color: var(--body); }
.dl-new { background: var(--cobalt-tint); }
.sign { color: var(--muted); }
.dl-new .sign { color: var(--cobalt-ink); }
.dl b { font-weight: 700; box-shadow: inset 0 -2px 0 currentColor; }
.dl-new .v.is-masked { background: #d2dbff; }

/* c: live settings switch off */
.fx { margin: 0; padding: 0; list-style: none; }
.fx li { display: grid; grid-template-columns: minmax(0, 1fr) 128px 36px; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.fx li:first-child { border-top: 0; }
.fx-n { font-size: 15px; font-weight: 600; }
.fx-v { font-size: 12px; }
.switch { position: relative; width: 36px; height: 20px; border-radius: 999px; background: var(--ink); transition: background-color .3s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 19px; width: 14px; height: 14px; border-radius: 50%; background: var(--tile); transition: transform .3s cubic-bezier(.3, .7, .2, 1); }
.fx li:has(.is-scrambling) .switch, .fx li:has(.is-masked) .switch { background: var(--line-2); }
.fx li:has(.is-scrambling) .switch::after, .fx li:has(.is-masked) .switch::after { transform: translateX(-16px); }
@media (max-width: 420px) { .fx li { grid-template-columns: minmax(0, 1fr) 118px 36px; gap: 8px; } .fx-n { font-size: 14px; } }

/* d: never leaves your machines */
.local { display: block; width: 100%; height: auto; max-height: 200px; }
.local .box { fill: #f2f0eb; stroke: var(--ink); stroke-width: 1.5; }
.local .db { fill: var(--tile); stroke: var(--ink); stroke-width: 1.5; }
.local .wire { stroke: var(--ink); stroke-width: 1.5; }
.local .chip { fill: var(--ink); }
.local .cloud { fill: none; stroke: var(--muted); stroke-width: 1.5; }
.local .strike { stroke: var(--cobalt); stroke-width: 2.5; stroke-linecap: round; }
.local text { fill: var(--muted); font-family: var(--sans); font-size: 11px; }
.local .chip-t { fill: var(--cream); font-family: var(--mono); font-stretch: 87.5%; font-size: 11px; }

/* e: fails closed */
.cols { margin: 0; padding: 0; list-style: none; }
.cols li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 12px; }
.cols li:first-child { border-top: 0; }
.rule { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font: 600 11.5px/1.25 var(--sans); }
.rule.safe { border: 1px solid var(--line-2); color: var(--muted); }
.rule.fake { background: var(--cobalt-tint); color: var(--cobalt-ink); }
.rule.flag { background: var(--ink); color: var(--tile); }
.rule.done { background: var(--cobalt); color: #fff; }
.cols li.newcol { overflow: hidden; transition: max-height .45s ease, opacity .35s ease, padding .45s ease, border-color .45s; }
.newcol i { margin-left: 6px; color: var(--cobalt-ink); font: 700 11px/1 var(--sans); font-style: normal; }
.sample { width: 100%; color: var(--muted); }
.newcol .rule { display: none; }
html:not(.js) .newcol .flag, .newcol:has(.is-found) .flag { display: inline-flex; }
.newcol:has(.is-scrambling) .flag, .newcol:has(.is-masked) .flag { display: none; }
.newcol:has(.is-scrambling) .done, .newcol:has(.is-masked) .done { display: inline-flex; }
.js .cols li.newcol { max-height: 0; padding-block: 0; border-top-color: transparent; opacity: 0; }
.js .fails.is-playing .cols li.newcol, .js .fails.is-played .cols li.newcol { max-height: 90px; padding-block: 7px; border-top-color: var(--line); opacity: 1; }

/* f: verify */
.verify-list { margin: 0; padding: 0; list-style: none; }
.verify-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.verify-list li:first-child { border-top: 0; }
.ck { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--cobalt); color: #fff; transition: background-color .3s, box-shadow .3s; }
.ck svg { transition: opacity .25s, transform .25s; }
.verify-list b { color: var(--cobalt-ink); font-size: 12.5px; font-weight: 500; transition: opacity .3s; }
.js .verify-list li:not(.is-done) .ck { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.js .verify-list li:not(.is-done) .ck svg { opacity: 0; transform: scale(.6); }
.js .verify-list li:not(.is-done) b { opacity: 0; }

/* i: the evidence report, as a small signed page */
.paper { display: grid; flex: 1; align-content: start; gap: 12px; padding: 18px 18px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 1px 0 var(--line), 0 20px 30px -24px rgba(23, 22, 20, .4); font-size: 12.5px; }
.paper p { margin: 0; }
.paper-top { display: grid; gap: 3px; padding-bottom: 10px; border-bottom: 1.5px solid var(--ink); }
.paper-top b { font-size: 15px; font-weight: 760; font-stretch: 125%; letter-spacing: -.02em; }
.paper-top span { color: var(--muted); font-size: 11.5px; }
.kv { margin: 0; }
.kv div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 5px 0; border-bottom: 1px dashed var(--line-2); }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.kv .m { font-size: 11.5px; }
.risk { display: grid; gap: 2px; padding: 8px 10px; background: #f4f2ed; border-left: 3px solid var(--cobalt); border-radius: 0 6px 6px 0; }
.risk span { color: var(--muted); }
.sig { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--cobalt-ink); font-weight: 650; }

/* h: the free scan */
.h-intro { max-width: 62ch; color: var(--on-ink-muted); font-size: 15px; }
.groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 24px; }
.groups h4 { margin: 0 0 8px; font-size: 15px; font-stretch: 112%; }
.groups ul { margin: 0; padding: 0; list-style: none; }
.groups li { padding: 6px 0; border-top: 1px solid var(--on-ink-line); color: #d9d4ca; font-size: 14px; }
.sample-t { margin-bottom: 8px; color: var(--on-ink-muted); font-size: 13.5px; }
.counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.counts li { padding: 10px 12px; border: 1px solid var(--on-ink-line); border-radius: 12px; }
.counts b { display: block; font-size: 30px; font-weight: 780; font-stretch: 125%; line-height: 1; letter-spacing: -.03em; }
.counts span { color: var(--on-ink-muted); font-size: 13px; }
.to-report { display: inline-block; margin-top: 14px; color: var(--cobalt-on-ink); font-weight: 650; text-decoration: none; }
.to-report:hover { color: var(--cobalt-on-ink); text-decoration: underline; }
@media (max-width: 760px) { .groups { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .counts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* g: works with */
.works { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px 32px; }
.works p { margin: 0; }
.lbl { margin-bottom: 8px !important; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.big { font-size: clamp(1.45rem, 2.2vw, 2rem); font-weight: 780; font-stretch: 125%; line-height: 1.1; letter-spacing: -.035em; }
.plat { margin: 0; padding: 0; list-style: none; }
.plat li { padding: 5px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.plat li:first-child { padding-top: 0; border-top: 0; }
.plat b { color: var(--ink); font-weight: 650; }
.works p:not(.lbl):not(.big) { color: var(--muted); font-size: 14.5px; }
@media (max-width: 1099px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .works { grid-template-columns: minmax(0, 1fr); } }

/* Calmer sections after the grid */

.four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.four li { padding-top: 18px; border-top: 2px solid var(--ink); }
.four h3 { margin-bottom: 8px; font-size: 19px; }
.four p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 1000px) { .four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .four { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

.pro-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: start; }
.pro-intro { display: grid; gap: 20px; position: sticky; top: 24px; }
.pro-intro h2, .pro-intro p { margin: 0; }
.pro-intro > p { color: var(--muted); font-size: 16.5px; }
.pro-intro .closed { padding: 18px 20px; background: var(--tile); border: 1px solid var(--line); border-radius: 16px; color: var(--body); }
.closed b { color: var(--ink); }
.pgroup + .pgroup { margin-top: 32px; }
.pgroup .tier { margin-bottom: 12px; }
.parts { margin: 0; }
.parts div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 6px 24px; padding: 16px 0; border-top: 1px solid var(--line-2); }
.parts dt { font-size: 17px; font-weight: 720; font-stretch: 112%; }
.parts dd { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 1000px) { .pro-grid { grid-template-columns: minmax(0, 1fr); } .pro-intro { position: static; } }
@media (max-width: 560px) { .parts div { grid-template-columns: minmax(0, 1fr); } }

/* Plans: one comparison table; it scrolls inside its frame on small screens. */
.plans { overflow-x: auto; background: var(--tile); border: 1px solid var(--line); border-radius: var(--r); }
.plans table { width: 100%; min-width: 780px; border-collapse: collapse; font-size: 15px; }
.plans th, .plans td { padding: 18px 22px; border-top: 1px solid var(--line); border-bottom: 0; text-align: left; vertical-align: top; font-family: var(--sans); }
.plans thead th, .plans thead td { padding-top: 26px; border-top: 0; }
.plans thead th { color: var(--ink); font-size: inherit; font-weight: 400; }
.plans tbody th { position: sticky; left: 0; z-index: 1; width: 160px; background: var(--tile); color: var(--muted); font-size: 14px; font-weight: 650; }
.plans td:not(:first-child), .plans thead th { border-left: 1px solid var(--line); }
.plans td { color: var(--body); }
.plans .featured { background: #f5f7ff; }
.plans thead .featured { box-shadow: inset 0 4px 0 var(--cobalt); }
.plans tbody th.featured { background: #f5f7ff; }
.plan-name { display: block; margin-bottom: 10px; font-size: 22px; font-weight: 780; font-stretch: 125%; letter-spacing: -.03em; }
.amount { display: block; color: var(--ink); font-size: 40px; font-weight: 800; font-stretch: 125%; line-height: 1; letter-spacing: -.045em; }
.per { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
.plans ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.plans li { position: relative; padding-left: 16px; }
.plans li::before { content: ""; position: absolute; top: .6em; left: 0; width: 7px; height: 7px; border: 1.5px solid var(--cobalt); border-radius: 50%; }
.plans tr:last-child td { padding-bottom: 26px; }
.plans .button { white-space: nowrap; }
/* The closed-source footnote marker on Pro and Agency. */
.fn { margin-left: 2px; color: var(--cobalt-ink); font-size: .7em; font-weight: 700; text-decoration: none; vertical-align: super; line-height: 0; }
.fn:hover { text-decoration: underline; }
.fine-print { margin: 18px 0 0; color: var(--muted); font-size: 14px; max-width: 100ch; }
.fine-print + .fine-print { margin-top: 6px; }

/* FAQ */

.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 64px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: 18.5px; font-weight: 650; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; flex: none; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line-2); border-radius: 50%; font-size: 19px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "−"; background: var(--ink); border-color: var(--ink); color: var(--cream); }
.faq details > div { max-width: 68ch; padding-bottom: 22px; color: var(--muted); }

/* Reserving a founding seat, and forms */

.reserve { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: start; }
.reserve-card { padding: 44px; background: var(--tile); border: 1px solid var(--line); border-radius: 28px; }
.reserve > div > p { color: var(--muted); font-size: 17px; }
@media (max-width: 900px) { .reserve { grid-template-columns: minmax(0, 1fr); } .reserve-card { padding: 28px 20px; border-radius: 22px; } }

.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 8px; }
.field > label, .field legend { padding: 0; font-size: 14.5px; font-weight: 650; }
.field legend { margin-bottom: 10px; }
.hint { color: var(--muted); font-weight: 400; }
.field p.hint { margin: 0; font-size: 14px; }
input[type="email"], input[type="text"], select {
  width: 100%; height: 52px; padding: 0 18px; background: var(--white); border: 1.5px solid var(--line-2); border-radius: 999px;
  color: var(--ink); font: 16px var(--sans);
}
select { appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 17px) 23px; background-size: 5px 5px; background-repeat: no-repeat; }
input::placeholder { color: #77726a; }
input:focus, select:focus { border-color: var(--ink); outline: none; }
input:focus-visible, select:focus-visible { outline: 2.5px solid var(--cobalt); outline-offset: 2px; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
/* Radio and checkbox choices as pills: the input sits under the label, invisible but focusable. */
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: block; padding: 10px 16px; border: 1.5px solid var(--line-2); border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 600; cursor: pointer; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.choice:has(input:focus-visible) { outline: 2.5px solid var(--cobalt); outline-offset: 2px; }
.consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 14.5px; font-weight: 400 !important; }
.consent input { margin-top: .25rem; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--ink); }
.error { color: var(--red); font-size: 14px; font-weight: 600; }
.form-error { margin: 0; padding: 12px 16px; border: 1.5px solid var(--red); border-radius: 14px; color: var(--red); font-size: 15px; }
.form .actions .button { flex: 1 1 auto; }

/* Notices */

.notice { margin: 16px 0; padding: 14px 18px; background: var(--tile); border: 1px solid var(--line); border-left: 3px solid var(--cobalt); border-radius: 0 12px 12px 0; }
.notice-warn { border-left-color: var(--red); }
.notice p:last-child { margin-bottom: 0; }
.dev-only { margin: 16px 0; padding: 14px 18px; background: var(--tile); border: 1.5px dashed var(--cobalt); border-radius: 12px; font-size: 15px; word-break: break-all; }

/* Long-form pages: legal text, the sample report, the account */

.prose { padding: 56px 0 96px; }
.prose h1 { margin-bottom: 1.2rem; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: .3rem; }
.meta { color: var(--muted); }
.eyebrow a { color: inherit; }
.prose .guide-list { margin: 28px 0 0; padding: 0; list-style: none; }
.prose .guide-list li { margin: 0; padding: 22px 0; border-top: 1px solid var(--line); }
.prose .guide-list h2 { margin-top: 0; }
.guide pre { margin: 18px 0; padding: 16px 20px; overflow-x: auto; background: var(--ink); border-radius: 14px; color: #d9d4ca; font-size: 12.5px; line-height: 1.75; }

table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: 13.5px; font-weight: 650; }
.table-wrap { overflow-x: auto; background: var(--tile); border: 1px solid var(--line); border-radius: 14px; }
.table-wrap tr:last-child td, .table-wrap tbody tr:last-child th { border-bottom: 0; }
.sev { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.sev-critical { background: #fde8e6; color: var(--red); }
.sev-high { background: #fdf0e1; color: var(--orange); }
.sev-medium { background: #f8f1d2; color: var(--amber); }
.sev-low { background: #efede8; color: var(--muted); }

/* Real scanner output, on the sample-report page only. */
.terminal { margin-top: 24px; background: var(--ink); border-radius: var(--r); color: #d9d4ca; }
.terminal-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 14px 20px; border-bottom: 1px solid var(--on-ink-line); color: var(--on-ink-muted); font-size: 13px; }
.terminal pre { margin: 0; padding: 18px 20px 22px; overflow-x: auto; font-size: 12.5px; line-height: 1.75; }
.terminal .dim { color: var(--on-ink-muted); }
.terminal .critical { color: #ff8a7a; font-weight: 700; }
.terminal .high { color: #ffb86b; font-weight: 700; }
.terminal .medium { color: #e8d67e; }
.terminal .low { color: var(--on-ink-muted); }

.licence { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.licence + .licence { margin-top: 16px; }
.licence dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 10px 0 0; font-size: 15px; }
.licence dt { color: var(--muted); font-size: 13.5px; padding-top: 2px; }
.licence dd { margin: 0; }
.status-active, .status-expired, .status-draft { margin-left: 8px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.status-active { background: var(--cobalt-tint); color: var(--cobalt-ink); }
.status-expired { background: var(--code-bg); color: var(--muted); }
.status-draft { background: #f8f1d2; color: var(--amber); }
@media (max-width: 640px) { .licence { grid-template-columns: minmax(0, 1fr); } }

/* Pro downloads, on the account page and an emailed link's page. Positioned, so the hidden column
   heading stays inside the table's scrolling frame instead of widening the page. */
.release-table { position: relative; }
.downloads th[scope="row"] { color: var(--ink); font-size: 15px; white-space: nowrap; }
.downloads th, .downloads td { vertical-align: middle; }
.downloads .hash { display: block; overflow-wrap: anywhere; font-size: 11.5px; }
.downloads form, .release-files form { margin: 0; }
/* On a phone, each build is a block: system, file, size and hash, then its button. */
@media (max-width: 640px) {
  .downloads thead { display: none; }
  .downloads, .downloads tbody, .downloads tr, .downloads th, .downloads td { display: block; }
  .downloads tr { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .downloads tr:last-child { border-bottom: 0; }
  .downloads th, .downloads td { padding: 0; border: 0; }
  .downloads td { margin-top: 6px; }
  .downloads td:last-child { margin-top: 12px; }
}
.release-files { margin: 16px 0 8px; }
.release-text { margin: 14px 0; padding: 14px 18px; overflow-x: auto; background: var(--tile); border: 1px solid var(--line); border-radius: 12px; font-size: 12.5px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.release-details { margin: 18px 0; }
.release-details summary { cursor: pointer; font-weight: 650; }

.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mt { margin-top: 20px; }
