/* Sovrasign marketing site. Tokens: brand/tools/palette.mjs ("b-line", the final identity) and
   chapter 13 §4.2 neutrals with the brand session's contrast fixes (faint, control-border), from
   design/tokens.json: the token blocks below are generated (UX-001, tools/tokens/generate.mjs).
   Contrast checks: brand/contrast.md. No inline styles anywhere (strict CSP). */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2");
}

/* tokens:begin. Generated from design/tokens.json by tools/tokens/generate.mjs: edit the JSON, then run `node tools/tokens/generate.mjs`. */
:root {
  color-scheme: light dark;
  --ink: #0b6573;
  --ink-strong: #074b56;
  --ink-soft: #e1f0f1;
  --on-ink: #ffffff;
  --accent: #8a5a00;
  --accent-graphic: #e9a23b;
  --bg: #ffffff;
  --bg-alt: #f3f4f8;
  --surface: #ffffff;
  --surface-2: #f8f9fc;
  --line: #dfe2ec;
  --line-strong: #c7cbda;
  --control-border: #8289a0;
  --text: #151a2d;
  --muted: #565e78;
  --faint: #6a718b;
  --ok: #157a4a;
  --ok-soft: #e3f4ea;
  --warn: #9a5a00;
  --warn-soft: #fdf0d9;
  --info: #3d4a7a;
  --info-soft: #eceef6;
  --bad: #b3261e;
  --shadow: 0 1px 2px rgb(21 26 45 / 6%), 0 8px 24px rgb(21 26 45 / 8%);
  --radius: 16px;
  --radius-sm: 10px;
  --font-head: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --wrap: 72rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #5cc8d4;
    --ink-strong: #93dde5;
    --ink-soft: #10313a;
    --on-ink: #04232a;
    --accent: #f2b85b;
    --accent-graphic: #e9a23b;
    --bg: #0d1020;
    --bg-alt: #121628;
    --surface: #151a2e;
    --surface-2: #1a2036;
    --line: #283050;
    --line-strong: #37406a;
    --control-border: #6a739a;
    --text: #e7eaf6;
    --muted: #a6aeca;
    --faint: #8d95b3;
    --ok: #5fd39a;
    --ok-soft: #12301f;
    --warn: #f2b85b;
    --warn-soft: #33260c;
    --info: #b8c2ea;
    --info-soft: #1f2644;
    --bad: #ff8a80;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 30%);
  }
}
/* tokens:end */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2rem, 4.2vw + 1rem, 3.25rem);
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.45rem, 1.2vw + 1.1rem, 1.9rem);
}
h3 {
  font-size: 1.2rem;
}
p,
ul,
ol {
  margin: 0 0 1em;
}

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--ink-strong);
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-radius: 4px;
}
main:focus {
  outline: none;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.05em 0.3em;
}
code.hash {
  word-break: break-all;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.wrap.narrow {
  max-width: 46rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  background: var(--ink);
  color: var(--on-ink);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip:focus {
  top: 1rem;
  color: var(--on-ink);
}

/* Draft notes (draft builds only) */
.draft-note {
  max-width: 46rem;
  margin: 1.5rem auto;
  padding: 0.9rem 1.1rem;
  border: 2px dashed var(--accent-graphic);
  border-radius: var(--radius-sm);
  background: var(--warn-soft);
  font-size: 0.95rem;
}
.wrap .draft-note {
  margin-left: 0;
}
.draft-note p {
  margin: 0;
}
.draft-note strong {
  color: var(--warn);
}
mark.tbd {
  background: var(--warn-soft);
  color: var(--warn);
  border: 1px dashed var(--warn);
  border-radius: 4px;
  padding: 0 0.25em;
  font-weight: 600;
}

/* Help screenshots (BIZ-03): generated pictures of the product, framed, never wider than the
   text; a phone's at its phone width. */
.help-shot {
  margin: 1.25rem 0;
}
.help-shot img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}
.help-shot-phone img {
  max-width: min(100%, 320px);
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: auto;
}
.brand img {
  display: block;
  height: 30px;
  width: auto;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.7rem;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}
.site-nav a:hover,
.header-help:hover {
  background: var(--surface-2);
  color: var(--ink-strong);
}
.site-nav a[aria-current="page"],
.header-help[aria-current="page"] {
  color: var(--ink);
  background: var(--ink-soft);
}
/* "Sign in" before "Get started free" (bf-returning-user-sign-in, A): both fit beside the logo
   on a 390 px phone. */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
/* Help on the right, styled like a menu item (bf-site-menu-order). */
.header-help {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.7rem;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  white-space: nowrap;
}
/* Wide screens: the three menu items sit right beside the logo; the actions go right. */
@media (min-width: 52.0625rem) {
  .brand {
    margin-right: 0;
  }
  .site-nav {
    margin-left: 1rem;
    margin-right: auto;
  }
}
.header-signin {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 700;
  text-underline-offset: 4px;
  white-space: nowrap;
}
.header-signin:hover {
  color: var(--ink-strong);
}
@media (max-width: 52rem) {
  .site-nav {
    order: 3;
    flex-basis: 100%;
    margin: 0 -0.5rem;
  }
  .site-nav ul {
    gap: 0;
  }
  .site-nav a {
    white-space: nowrap;
    padding: 0 0.5rem;
  }
  .header-cta {
    padding: 0 0.75rem;
  }
  /* On the narrowest phones with long words (fr at 320 px), the button wraps to its own line
     instead of pushing the page sideways. (The earlier "hide the button under 24rem" rule never
     applied, since .btn comes later, so the button has always shown there.) */
  .header-actions {
    flex-wrap: wrap;
    gap: 0.25rem 0.9rem;
  }
  /* Help's text lines up with the logo's left edge when the actions wrap under it;
     the hover pad stays. */
  .header-help {
    margin-left: -0.7rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.2rem;
  border-radius: 10px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}
.btn-primary {
  background: var(--ink);
  color: var(--on-ink);
}
.btn-primary:hover {
  background: var(--ink-strong);
  color: var(--on-ink);
}
.btn-secondary {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-secondary:hover {
  background: var(--ink-soft);
}
.btn-large {
  min-height: 52px;
  padding: 0 1.6rem;
  font-size: 1.05rem;
}
.btn[disabled],
fieldset[disabled] .btn {
  background: var(--line);
  color: var(--muted);
  cursor: not-allowed;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

/* Icons and chips */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  vertical-align: -0.35em;
  color: var(--ink);
}
.chip {
  display: inline-block;
  padding: 0.05rem 0.55rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 0.15em;
  white-space: nowrap;
  border: 1px solid currentColor;
}
.chip-built {
  color: var(--ok);
  background: var(--ok-soft);
}
.chip-coming {
  color: var(--info);
  background: var(--info-soft);
}
.chip-decided {
  color: var(--ink);
  background: var(--ink-soft);
}

/* Sections */
.section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
.section.tight {
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
}
.section.alt {
  background: var(--bg-alt);
}
.section-title {
  margin-bottom: 0.4em;
}
.section-lede,
.lede {
  color: var(--muted);
  max-width: 46rem;
}
.lede {
  font-size: 1.2rem;
}
.small,
.hint {
  color: var(--muted);
  font-size: 0.93rem;
}
.page-head {
  padding: clamp(2rem, 5vw, 3.5rem) 0 1rem;
}
.crumb {
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.notice {
  border-left: 4px solid var(--info);
  background: var(--info-soft);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  max-width: 46rem;
}
.notice.warn {
  border-left-color: var(--warn);
  background: var(--warn-soft);
}
.more {
  font-weight: 600;
}
.more::after {
  content: " \2192";
}
/* Several "more" links in one paragraph: a gap between them, one per line when they wrap. */
.more-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

/* Hero */
.hero {
  padding: clamp(2.5rem, 7vw, 5rem) 0;
  background: linear-gradient(180deg, var(--ink-soft), var(--bg) 85%);
}
.hero-grid {
  display: grid;
  /* minmax(0, 1fr), not auto: the column never grows past a 320 px screen (reflow, DEV-08). */
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 60rem) {
  .hero-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}
.verify-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.4rem;
}
.verify-head {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-weight: 700;
  color: var(--ok);
  background: var(--ok-soft);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  margin-bottom: 1rem;
}
.verify-head .icon {
  color: var(--ok);
}
.verify-list {
  margin: 0;
}
.verify-list div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}
.verify-list dt {
  color: var(--muted);
  font-size: 0.9rem;
  grid-row: span 2;
  min-width: 6.5rem;
}
.verify-list dd {
  margin: 0;
  font-weight: 600;
  grid-column: 2;
}
.verify-list dd.how {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.92rem;
}
.verify-foot {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.verify-card figcaption {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: var(--faint);
}

/* Cards */
.card-grid,
.teaser-grid,
.plan-grid,
.steps {
  display: grid;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
@media (min-width: 40rem) {
  .card-grid.two,
  .card-grid.three,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .teaser-grid,
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 64rem) {
  /* Three columns at 100 %, fewer when the text is larger, so long words never push a card out. */
  .card-grid.three,
  .steps {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  }
  /* As many columns as fit at the text size in use (four at 100 %, two at 200 %; DEV-08). */
  .teaser-grid,
  .plan-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  }
}
.card,
.step,
.teaser,
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  overflow-wrap: break-word;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}
.card-top .icon {
  width: 2rem;
  height: 2rem;
}
.card .proof {
  font-size: 0.95rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}
.card .small,
.card p:last-child {
  margin-bottom: 0;
}
.step .icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.5rem;
}
.steps {
  counter-reset: step;
}

/* Split sections */
.split,
.two-col {
  display: grid;
  gap: 2rem;
}
@media (min-width: 56rem) {
  .split {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
  }
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}
.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.4rem;
}

/* Pricing teaser */
.teaser .price {
  font-family: var(--font-head);
  font-size: 2rem;
  margin: 0.2rem 0 0.5rem;
}
.teaser .price span {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--muted);
}
.teaser.featured,
.plan.featured {
  border: 2px solid var(--ink);
}

/* Pricing page */
.plan h2 {
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}
.plan-for {
  color: var(--muted);
  font-size: 0.95rem;
  min-height: 3em;
}
.price-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin: 0.8rem 0 0.5rem;
}
.price-pair.single {
  grid-template-columns: 1fr;
}
.price-pair > div {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.7rem;
}
.price-pair .amount {
  font-family: var(--font-head);
  font-size: 1.8rem;
  margin: 0.1rem 0 0.1rem;
  line-height: 1.1;
}
.price-pair .unit {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 0.2rem;
  line-height: 1.35;
}
.price-note {
  font-size: 0.88rem;
  color: var(--muted);
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  border-top: 1px solid var(--line);
}
.feature-list li {
  padding: 0.45rem 0 0.45rem 1.5rem;
  position: relative;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.85rem;
  width: 0.7rem;
  height: 0.38rem;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}
.packs,
.always-free {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}
.always-free ul {
  padding-left: 1.2rem;
}
/* Beta feedback (bf-pricing-page-tester-changes): "Always free" opens the section, the lede is as
   wide as the plans, and each plan's list starts at the same height on every card in a row. */
.always-free:first-child {
  border-top: 0;
  padding-top: 0;
  margin-bottom: 1.25rem;
}
.page-head .lede.wide {
  max-width: none;
}
/* Founder 2026-11-18 (bf-pricing-page-review-2): about 30 px between the header's lede and "Always
   free", instead of the page head's bottom padding plus a whole section's top padding. */
#pricing > .section.tight:first-child {
  padding-top: 0;
}
/* The envelope pack table and "What counts as an envelope", under the packs heading. */
table.pack-prices {
  min-width: 34rem;
}
table.pack-prices th[scope="row"] {
  font-weight: 600;
}
.envelope-counts {
  margin-top: 1.25rem;
}
.count-lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 0.5rem 2rem;
}
.count-lists h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}
.count-lists ul {
  padding-left: 1.2rem;
  margin: 0;
}
@supports (grid-template-rows: subgrid) {
  .plan-grid > .plan {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 5;
    row-gap: 0;
    align-content: start;
  }
}

/* Under the plan cards and at the end of the pricing page (t-site-pricing-live-only): quiet lines. */
.plan-more,
.whats-next-link {
  margin: 0;
  color: var(--muted);
}
.whats-next-link {
  margin-top: 1.5rem;
}
/* What's next: plain bullets, not the plan cards' check marks (nothing here is built yet). */
.roadmap-list {
  margin: 0;
  padding-left: 1.2rem;
}
.roadmap-list li + li {
  margin-top: 0.5rem;
}

/* Pricing switches (BIZ-13): shown by assets/pricing.mjs */
[hidden] {
  display: none !important;
}
.price-switches {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem 1.5rem;
  margin: 0 0 0.75rem;
}
.switch-group {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem 1.5rem;
}
.switch {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.switch legend {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  padding: 0;
}
.switch-options {
  display: inline-flex;
  flex-wrap: wrap;
  border: 1.5px solid var(--control-border);
  border-radius: 999px;
  padding: 3px;
  background: var(--surface);
}
.switch-options label {
  position: relative;
  cursor: pointer;
}
.switch-options input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.switch-options span {
  display: inline-block;
  min-height: 40px;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
}
.switch-options input:checked + span {
  background: var(--ink);
  color: var(--on-ink);
}
.switch-options input:focus-visible + span {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}
.price-switches .field {
  margin-bottom: 0;
}
.price-switches .field select {
  width: auto;
  min-width: 14rem;
}
.tax-note {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 0.25rem;
}
.promises {
  background: var(--surface);
  border: 2px solid var(--accent-graphic);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.promise-list {
  display: grid;
  gap: 0.8rem 2rem;
  padding-left: 1.4rem;
}
@media (min-width: 56rem) {
  .promise-list {
    grid-template-columns: 1fr 1fr;
  }
}
.promise-list li::marker {
  color: var(--accent);
  font-weight: 700;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
}
caption {
  text-align: left;
  font-weight: 700;
  padding: 0.8rem 1rem 0.2rem;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
}
thead th {
  background: var(--surface-2);
  font-weight: 700;
}
tbody tr:last-child > * {
  border-bottom: 0;
}
tbody th {
  font-weight: 600;
}
table.compare {
  table-layout: fixed;
  min-width: 34rem;
}
table.compare th:first-child {
  width: 36%;
}
.wrap > h2:not(:first-child),
.wrap > h3:not(:first-child) {
  margin-top: 2.25rem;
}
table.breach th[scope="row"] {
  min-width: 12rem;
}
@media (max-width: 40rem) {
  table.breach thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  table.breach,
  table.breach tbody,
  table.breach tr,
  table.breach th,
  table.breach td {
    display: block;
    min-width: 0;
  }
  table.breach tr {
    border-bottom: 1px solid var(--line-strong);
  }
  table.breach th[scope="row"] {
    background: var(--surface-2);
    border-bottom: 0;
  }
  table.breach td {
    border-bottom: 0;
    padding-top: 0.4rem;
  }
  table.breach td::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
  }
}

/* Lists */
ul.plain {
  padding-left: 1.2rem;
}
ul.plain li,
ol.numbered li,
.checks li {
  margin-bottom: 0.6rem;
}
.checks {
  list-style: none;
  padding: 0;
}
.checks li {
  position: relative;
  padding-left: 1.7rem;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.5em;
  width: 0.75rem;
  height: 0.4rem;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}
.status-list {
  list-style: none;
  padding: 0;
}
.status-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.status-list li .chip {
  flex: none;
}
.step-title {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.step-title .icon {
  width: 2rem;
  height: 2rem;
}
.sources li {
  margin-bottom: 0.5rem;
}
.doc-list {
  list-style: none;
  padding: 0;
}
.doc-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}
.doc-list a {
  font-weight: 600;
}

/* Help center search (BIZ-03) */
.help-search {
  margin-top: 1.5rem;
  max-width: 36rem;
}
.help-search label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.help-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.help-search input {
  flex: 1 1 14rem;
  min-width: 0;
  min-height: 48px;
  padding: 0.5rem 0.75rem;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--control-border);
  border-radius: 8px;
}
.help-search .small {
  display: block;
  margin-top: 0.35rem;
}
.help-results li {
  display: block;
}
.help-results li > span.small {
  margin-left: 0.5rem;
}
.help-results p {
  margin: 0.3rem 0 0;
}
.help-results mark {
  background: var(--warn-soft);
  color: inherit;
  border-radius: 3px;
  padding: 0 0.1em;
}

/* Legal text */
.legal h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}
.legal h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
}
.legal blockquote {
  margin: 1rem 0;
  padding: 0.9rem 1.2rem;
  background: var(--surface-2);
  border-left: 4px solid var(--ink);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.legal blockquote > :last-child {
  margin-bottom: 0;
}
/* Tables with many columns (subprocessors, cookies, retention) get the page's full width instead
   of the narrow text column, centred on it; cells keep a readable width and the table scrolls
   sideways inside its frame when the screen is still too narrow. */
.legal .table-wrap {
  width: min(72rem, calc(100vw - 2rem));
  max-width: none;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.legal th,
.legal td {
  min-width: 9rem;
  overflow-wrap: break-word;
}
.legal th:first-child,
.legal td:first-child {
  min-width: 11rem;
}
.toc {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.toc h2 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}
.toc ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  columns: 2 16rem;
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  background: var(--ink);
  color: var(--on-ink);
}
.cta-band h2 {
  color: var(--on-ink);
}
.cta-band p {
  color: var(--on-ink);
  opacity: 0.92;
}
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.cta-inner > div {
  max-width: 40rem;
}
.cta-band .btn-primary {
  background: var(--on-ink);
  color: var(--ink-strong);
}
.cta-band .btn-primary:hover {
  background: var(--ink-soft);
  color: var(--ink-strong);
}
.cta-band :focus-visible {
  outline-color: var(--on-ink);
}

/* Waitlist form */
.waitlist fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.field {
  margin-bottom: 1.25rem;
}
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.field input,
.field select {
  width: 100%;
  max-width: 28rem;
  min-height: 48px;
  padding: 0.5rem 0.75rem;
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--control-border);
  border-radius: 8px;
}
.field input[aria-invalid="true"] {
  border-color: var(--bad);
}
.field .hint {
  margin: 0.35rem 0 0;
}
fieldset[disabled] input,
fieldset[disabled] select {
  background: var(--surface-2);
  color: var(--muted);
}
.privacy {
  font-size: 0.93rem;
  color: var(--muted);
  max-width: 34rem;
}
.field-error {
  color: var(--bad);
  font-weight: 600;
}
.form-status {
  margin-top: 1rem;
  font-weight: 600;
}
.form-status.ok {
  color: var(--ok);
}
.form-status.err {
  color: var(--bad);
}

/* Footer */
/* Footer, in the style of most product sites: link columns in small type, then a bottom bar with
   the fine print (imprint, no-cookies line) and the language menu in smaller muted type. Muted text
   stays above 4.5:1 on --bg-alt in both themes (WCAG AA), and links keep a 24px target (2.5.8). */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 3rem 0 1.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}
.footer-grid {
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}
.footer-col h2 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 0.5rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--muted);
  text-decoration: none;
}
.footer-col li a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.footer-brand img {
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  color: var(--muted);
  max-width: 22rem;
  margin: 0;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
}
.footer-legal p {
  margin: 0 0 0.25rem;
}
.footer-legal p:last-child {
  margin-bottom: 0;
}
/* The language menu (GAP-15): the page in each of the ten languages. */
.lang-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lang-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: var(--muted);
}
.lang-nav a:hover {
  color: var(--ink);
}
.lang-nav a[aria-current] {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

@media (prefers-reduced-motion: no-preference) {
  .btn,
  .site-nav a,
  .header-help {
    transition: background-color 0.15s ease, color 0.15s ease;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .skip {
    display: none;
  }
  body {
    font-size: 11pt;
  }
}

/* Product video on "How it works": the landscape cut on wide screens, the 9:16 cut on phones held
   upright. Only the visible one can load (preload="none"). */
.film { margin: 0; }
.film video { display: block; width: 100%; height: auto; border-radius: var(--radius); background: #0b1a20; }
.film .film-tall { display: none; }
@media (max-width: 600px) and (orientation: portrait) {
  .film .film-wide { display: none; }
  .film .film-tall { display: block; max-height: 85vh; width: auto; max-width: 100%; margin-inline: auto; }
}
.film figcaption { margin-top: 0.75rem; color: var(--muted); font-size: 0.95rem; }
.transcript { margin-top: 1rem; }
.transcript summary { cursor: pointer; font-weight: 600; }
.transcript p { margin: 0.6rem 0 0; }

/* Template gallery (BIZ-18): facts, the "Use this template" area and the document preview. */
.template-facts {
  display: grid;
  gap: 0.5rem 1.5rem;
  margin: 1.25rem 0;
}
@media (min-width: 40rem) {
  .template-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.template-facts div {
  border-block-start: 1px solid var(--line);
  padding-block-start: 0.5rem;
}
.template-facts dt {
  color: var(--muted);
  font-size: 0.9rem;
}
.template-facts dd {
  margin: 0;
}
.template-page .notice {
  margin-block: 0.75rem;
}
.gallery-use {
  margin-block-start: 1.25rem;
}
.gallery-use .actions {
  flex-wrap: wrap;
}
.template-list {
  list-style: none;
  padding: 0;
}
.template-list h3 {
  font-size: 1.1rem;
  /* Long compound words (German "Geheimhaltungsvereinbarung") wrap at 320 px (WCAG 1.4.10). */
  overflow-wrap: anywhere;
  hyphens: auto;
}
.template-list p,
.template-page h1 {
  overflow-wrap: anywhere;
  hyphens: auto;
}
.doc-preview {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: clamp(1rem, 4vw, 2.5rem);
  max-width: 46rem;
  overflow-wrap: anywhere;
}
.doc-preview .doc-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  text-align: center;
}
.doc-preview h3 {
  font-size: 1rem;
  margin-block-start: 1.25rem;
}
.blank {
  border-block-end: 1px solid var(--control-border);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.88em;
  padding: 0 0.3em;
}
.blank-who {
  color: var(--faint);
}
.blank-box {
  display: block;
  border: 1px solid var(--control-border);
  min-height: 4.5rem;
  padding: 0.4rem 0.6rem;
}
.doc-signatures {
  display: grid;
  gap: 1.25rem;
  margin-block-start: 1.5rem;
}
@media (min-width: 40rem) {
  .doc-signatures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.doc-signer p {
  margin: 0 0 0.4rem;
}
.blank-sign {
  display: block;
  min-height: 3rem;
  padding-block-start: 1.7rem;
}

/* Simpler pages (t-site-simplify-build, 2026-11-15): pictures, tiles and folds. A fold keeps its
   text in the page (search engines, the FAQ data and "find in page" still see it). */
.ill {
  display: block;
  width: 100%;
  max-width: 28rem;
  height: auto;
  margin-inline: auto;
}
.ill-sm {
  max-width: 18rem;
}
.ill .f-soft { fill: var(--ink-soft); }
.ill .f-ink { fill: var(--ink); }
.ill .f-acc { fill: var(--accent-graphic); }
.ill .f-ok { fill: var(--ok); }
.ill .f-oks { fill: var(--ok-soft); }
.ill .f-surf { fill: var(--surface); }
.ill .f-line { fill: var(--line); }
.ill .f-bad { fill: var(--bad); }
.ill .f-bg { fill: var(--bg-alt); }
.ill .f-none { fill: none; }
.ill .s-ink { stroke: var(--ink); }
.ill .s-line { stroke: var(--line-strong); }
.ill .s-ok { stroke: var(--ok); }
.ill .s-bad { stroke: var(--bad); }
.ill .s-muted { stroke: var(--muted); }
.ill .s-white { stroke: var(--surface); }
/* The price line under the hero buttons (bf-site-home-wording-review). */
.hero-price {
  margin: 0;
}
.hero-pic {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}
@media (min-width: 56rem) {
  .hero-pic {
    grid-template-columns: 1.15fr 1fr;
  }
}
.tiles,
.pic-steps,
.pair {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}
.pair {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}
/* The help center's six sections: two full rows of three on a desktop, three rows of two on a
   tablet, one column on a phone (bf-help-center-layout), never five and one. */
.tiles.help-tiles {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 40rem) {
  .tiles.help-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 60rem) {
  .tiles.help-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.tile,
.pic-step,
.pair > * {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  overflow-wrap: break-word;
  min-width: 0;
}
.tile .icon,
.pic-step .icon,
.pair .icon {
  width: 2rem;
  height: 2rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.tile h3,
.pic-step h3,
.pair h3 {
  font-size: 1.1rem;
  margin: 0 0 0.25rem;
}
.tile p,
.pic-step p,
.pair p {
  margin: 0;
  color: var(--muted);
}
.tile .tile-label {
  font-size: 0.9rem;
}
.tile .tile-value {
  color: var(--text);
  font-weight: 600;
}
.tiles.center .tile {
  text-align: center;
}
.tiles.center .icon {
  margin-inline: auto;
  display: block;
}
.pic-steps {
  counter-reset: picstep;
}
.pic-step {
  counter-increment: picstep;
}
.pic-step h3::before {
  content: counter(picstep) ". ";
  color: var(--ink);
}
/* Home: the four principles, two by two, each opening on click (bf-site-home-four-principles). */
.principles {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  /* Open cards end level in each row; a closed card stays short (bf-site-principles-equal-height). */
  align-items: stretch;
}
.principles > li {
  display: flex;
  flex-direction: column;
}
.principle[open] {
  flex: 1;
}
@media (min-width: 40rem) {
  .principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.principle {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-wrap: break-word;
}
.principle > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 1.1rem 1.2rem;
  min-height: 2.75rem;
}
.principle > summary::-webkit-details-marker {
  display: none;
}
.principle > summary .icon {
  width: 2rem;
  height: 2rem;
  flex: none;
}
.principle > summary h3 {
  flex: 1;
  min-width: 0;
  margin: 0;
}
.principle > summary::after {
  content: "+";
  font: 600 1.3rem/1 var(--font-head);
}
.principle[open] > summary::after {
  content: "\2013";
}
.principle > summary:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-radius: var(--radius);
}
.principle-body {
  padding: 0 1.2rem 1.2rem;
  min-width: 0;
}
.principle-body .proof {
  font-size: 0.95rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
  margin-bottom: 0;
}
.folds {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0;
}
/* Home: the common questions, two columns from 56.25rem (900 px), each its own list, so an open
   question only lengthens its own column (bf-site-faq-two-columns). */
.folds-columns {
  margin: 1rem 0;
}
.folds-columns > .folds {
  margin: 0;
}
.folds-columns > .folds + .folds {
  margin-top: 0.6rem;
}
@media (min-width: 56.25rem) {
  .folds-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 1rem;
    align-items: start;
  }
  .folds-columns > .folds + .folds {
    margin-top: 0;
  }
}
.fold {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.fold > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  padding: 0.8rem 1rem;
  font-weight: 600;
  color: var(--ink);
  min-height: 2.75rem;
}
.fold > summary::-webkit-details-marker {
  display: none;
}
.fold > summary > span {
  flex: 1;
  min-width: 0;
}
.fold > summary::after {
  content: "+";
  font: 600 1.3rem/1 var(--font-head);
}
.fold[open] > summary::after {
  content: "\2013";
}
.fold > summary:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
.fold > summary .icon {
  width: 1.4rem;
  height: 1.4rem;
  flex: none;
}
.fold-body {
  padding: 0 1rem 1rem;
  overflow-wrap: break-word;
  min-width: 0;
}
.fold-body > :last-child {
  margin-bottom: 0;
}
.answer {
  border-left: 4px solid var(--ink);
  padding: 0.2rem 0 0.2rem 1rem;
  max-width: 46rem;
}
.pic-step .step-text {
  color: var(--text);
}
.pic-step .step-text::before {
  content: counter(picstep) ". ";
  color: var(--ink);
  font-weight: 600;
}
.with-icon {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.with-icon .icon {
  width: 1.6rem;
  height: 1.6rem;
  flex: none;
  color: var(--ink);
}
.tile .h3 {
  font-size: 1.1rem;
  margin: 0 0 0.25rem;
}

/* Security page: six protection cards, three by two on a desktop, two by three on a tablet, one
   column on a phone (bf-security-page-simplify). */
.tiles.cols-3 {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 40rem) {
  .tiles.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 60rem) {
  .tiles.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* "How the keys work": four boxes joined by arrows, in a row on a desktop, stacked on a phone. */
.keychain {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 1.6rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 48rem) {
  .keychain {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.keychain li {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  font-size: 0.95rem;
}
.keychain li strong {
  display: block;
}
.keychain li + li::before {
  content: "\2193";
  position: absolute;
  top: -1.45rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ink);
  font-weight: 700;
}
@media (min-width: 48rem) {
  .keychain li + li::before {
    content: "\2192";
    top: 50%;
    left: -1.25rem;
    transform: translateY(-50%);
  }
}

/* Home: the "Send your first envelope" button and the how-it-works link, the link right-aligned;
   on a phone the link wraps under the button (bf-site-how-link-spacing). */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2rem;
  margin: 1.5rem 0 0;
  justify-content: space-between;
}
