/* Inbox Census — shared marketing-site styles.
   Ledger/registry aesthetic: paper-white, near-black ink, stamp-red reserved
   for eviction/CTA words only. Tabular numerals for all counts. No gradients,
   no glassmorphism, no illustration set. Self-hosted IBM Plex Sans/Mono (no CDN fonts);
   body copy on the system stack. */

/* ---------- Fonts (docs/growth/02c-visual-package.md §2) ----------
   Self-hosted, latin subset, woff2. Plex Sans ships as ONE variable-weight file covering the
   600–700 display range (what Google Fonts serves for both static weights of v23, ~40 KB).
   The two *-Fallback faces are metric-tuned against the system fallback so the swap causes
   no layout shift (size-adjust measured in-browser, ascent/descent from the Plex metrics
   1025/275 per 1000 upm, divided by size-adjust). */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-600-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plex Sans Fallback";
  src: local("Arial"), local("Helvetica");
  size-adjust: 98%;
  ascent-override: 104.59%;
  descent-override: 28.06%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Plex Mono Fallback";
  src: local("Menlo"), local("Consolas"), local("Courier New");
  size-adjust: 99.7%;
  ascent-override: 102.81%;
  descent-override: 27.58%;
  line-gap-override: 0%;
}

:root {
  --paper: #f7f5f0;
  --paper-raised: #ffffff;
  --ink: #17181a;
  --ink-dim: #55585e;
  --ink-faint: #63665c; /* ≥4.5:1 on paper & white (AA) — was #86898f at 3.22:1, conversion audit 2026-08-25 */
  --line: #d9d5c9;
  --line-strong: #b9b4a5;
  --stamp: #c8361e;
  --stamp-ink: #ffffff;
  --safe: #2f6d4f;
  --focus: #1257c4;
  --code-bg: #eeeae0;
  --shadow: 0 1px 0 rgba(23, 24, 26, 0.04);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121212;
    --paper-raised: #191919;
    --ink: #f1efe9;
    --ink-dim: #b7b3a8;
    --ink-faint: #858175;
    --line: #333230;
    --line-strong: #47453f;
    --stamp: #e6512f;
    --stamp-ink: #1a1a1a;
    --safe: #5cb98a;
    --focus: #6ea6ff;
    --code-bg: #1d1c19;
    --shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
  }
  /* F2 (docs/growth/02 §F): ink-faint on --code-bg was 4.38:1 at 11px — use ink-dim (8.5:1). Under the
     G7 skin the ledger is a paper sheet in both schemes, so this is the non-skin safety net. */
  table.ledger thead th { color: var(--ink-dim); }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.mono,
.num,
table.ledger td.num,
table.data td.num {
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

a { color: var(--ink); text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

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

.stamp { color: var(--stamp); }

/* ---------- Layout shell ---------- */

.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.wordmark .mark {
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  border: 2px solid var(--stamp);
  transform: rotate(45deg);
  flex: none;
}

nav.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

nav.primary-nav a {
  font-size: 0.875rem;
  color: var(--ink-dim);
  text-decoration: none;
  font-weight: 600;
}

nav.primary-nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.65rem 1.15rem;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
}

.btn-stamp {
  background: var(--stamp);
  color: var(--stamp-ink);
  border-color: var(--stamp);
}

.btn-stamp:hover { filter: brightness(1.08); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-faint); /* interactive boundary ≥3:1 (WCAG 1.4.11): --line-strong was 2.07:1 — docs/growth/02 F1 */
}

.btn-outline:hover { border-color: var(--ink); }

.btn-sm { padding: 0.4rem 0.75rem; font-size: 0.8125rem; }

/* ---------- Hero ---------- */

.hero {
  padding: 4.5rem 0 3rem;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 1rem;
}

.eyebrow::before { content: "§ "; color: var(--stamp); }

h1.headline {
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 1.1rem;
  max-width: 30ch;
}

/* Marker highlight, NOT an underline — underlined red text reads as a link (audit 2026-08-25). */
h1.headline .stamp {
  text-decoration: none;
  background: linear-gradient(transparent 62%, color-mix(in srgb, var(--stamp) 26%, transparent) 62%);
  padding: 0 0.06em;
}

p.subline {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ink-dim);
  max-width: 46ch;
  margin: 0 0 1.75rem;
}

.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.75rem; }

.hero-note { font-size: 0.8125rem; color: var(--ink-faint); margin: 0 0 3rem; }

/* ---------- Demo census table ---------- */

.demo-frame {
  border: 1px solid var(--line-strong);
  background: var(--paper-raised);
  box-shadow: var(--shadow);
}

.demo-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--line);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  flex-wrap: wrap;
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-faint);
}

.demo-badge .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--safe);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--safe) 45%, transparent); }
  70%  { box-shadow: 0 0 0 7px color-mix(in srgb, var(--safe) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--safe) 0%, transparent); }
}

.demo-totals {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 1rem 0.5rem;
  flex-wrap: wrap;
}

.demo-totals .t-cell { min-width: 7rem; }

.demo-totals .t-n {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.demo-totals .t-k {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 0.1rem;
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

table.data th {
  text-align: left;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--line);
}

table.data td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

table.data td.num, table.data th.num { text-align: right; }

table.data tbody tr:last-child td { border-bottom: none; }

.sender-name { font-weight: 700; }
.sender-addr { display: block; font-size: 0.75rem; color: var(--ink-faint); }

.bucket-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  text-transform: uppercase;
}

.bucket-safe { background: color-mix(in srgb, var(--safe) 16%, transparent); color: var(--safe); }
.bucket-review { background: color-mix(in srgb, var(--ink-faint) 20%, transparent); color: var(--ink-dim); }

.evidence {
  font-size: 0.75rem;
  color: var(--ink-faint);
  margin-top: 0.15rem;
}

.demo-row { opacity: 0; transform: translateY(6px); animation: rowIn 0.4s ease forwards; }

@keyframes rowIn { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .demo-row { animation: none; opacity: 1; transform: none; }
  .demo-badge .live-dot { animation: none; }
}

.demo-footnote {
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  color: var(--ink-faint);
  border-top: 1px solid var(--line);
}

/* ---------- Sections ---------- */

section { padding: 4rem 0; border-bottom: 1px solid var(--line); }

section:last-of-type { border-bottom: none; }

.section-label {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 0.75rem;
}

h2.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  max-width: 34ch;
}

p.section-lede {
  font-size: 1.0625rem;
  color: var(--ink-dim);
  max-width: 52ch;
  margin: 0 0 2.5rem;
}

/* How it works */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
}

.step {
  border: 1px solid var(--line);
  background: var(--paper-raised);
  padding: 1.5rem;
}

.step-figure {
  aspect-ratio: 16 / 10;
  border: 1px dashed var(--line-strong);
  background:
    repeating-linear-gradient(135deg, transparent, transparent 7px, var(--line) 7px, var(--line) 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--ink-faint);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.5rem;
}

.step-num {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: var(--stamp);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.step h3 { margin: 0.35rem 0 0.4rem; font-size: 1.0625rem; }
.step p { margin: 0; color: var(--ink-dim); font-size: 0.9375rem; }

/* Privacy section */

.privacy-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 860px) {
  .privacy-grid { grid-template-columns: 1fr; }
}

table.ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  background: var(--paper-raised);
  border: 1px solid var(--line);
}

table.ledger caption {
  text-align: left;
  font-size: 0.75rem;
  color: var(--ink-faint);
  padding: 0.6rem 0.85rem 0;
  caption-side: top;
}

table.ledger th, table.ledger td {
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

table.ledger thead th {
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-faint);
  background: var(--code-bg);
}

table.ledger tbody tr:last-child td { border-bottom: none; }

table.ledger td.never {
  font-weight: 700;
  color: var(--safe);
}

.devtools-panel {
  border: 1px solid var(--ink);
  background: var(--paper-raised);
  padding: 1.5rem;
}

.devtools-panel h3 {
  margin: 0 0 0.6rem;
  font-size: 1.0625rem;
}

.devtools-panel p { margin: 0 0 1rem; color: var(--ink-dim); font-size: 0.9375rem; }

.devtools-steps {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  font-size: 0.875rem;
  color: var(--ink-dim);
}

.devtools-steps li { margin-bottom: 0.4rem; }

.code-line {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  background: var(--code-bg);
  border: 1px solid var(--line);
  padding: 0.6rem 0.75rem;
  overflow-x: auto;
}

.limited-use {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--ink-faint);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

/* Pricing */

.price-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 720px) {
  .price-cards { grid-template-columns: 1fr; }
}

.price-card {
  border: 1px solid var(--line-strong);
  background: var(--paper-raised);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.price-card.featured { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }

.price-card .tag {
  align-self: flex-start;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  padding: 0.15rem 0.45rem;
  margin-bottom: 0.75rem;
}

.price-card h3 { margin: 0 0 0.25rem; font-size: 1.125rem; }

.price-card .amount {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 2.25rem;
  font-weight: 800;
  margin: 0.5rem 0 0.25rem;
}

.price-card .amount small { font-size: 0.9375rem; font-weight: 600; color: var(--ink-faint); }

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  font-size: 0.875rem;
  color: var(--ink-dim);
}

.price-card li { padding-left: 1.1rem; position: relative; margin-bottom: 0.5rem; }
.price-card li::before { content: "—"; position: absolute; left: 0; color: var(--ink-faint); }

.price-card .btn { margin-top: auto; }

.price-honesty {
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.price-note { font-size: 0.8125rem; color: var(--ink-faint); margin: 0; }

/* FAQ */

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  padding: 1.1rem 0;
  font-weight: 700;
  font-size: 0.9375rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-weight: 400;
  color: var(--stamp);
  font-size: 1.25rem;
  flex: none;
}

.faq-item[open] summary::after { content: "\2212"; }

.faq-item p {
  margin: 0 0 1.1rem;
  color: var(--ink-dim);
  font-size: 0.9375rem;
  max-width: 62ch;
}

/* Footer */

footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
}

.footer-links a { color: var(--ink-dim); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

.footer-meta {
  font-size: 0.8125rem;
  color: var(--ink-faint);
  max-width: 34ch;
}

/* ---------- Policy pages ---------- */

.policy-main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.policy-main h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}

.policy-meta {
  font-size: 0.8125rem;
  color: var(--ink-faint);
  margin: 0 0 2.5rem;
}

.policy-main h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 2.25rem 0 0.75rem;
  padding-top: 0.25rem;
}

.policy-main h2 .num {
  color: var(--stamp);
  margin-right: 0.4rem;
}

.policy-main p, .policy-main li { color: var(--ink-dim); font-size: 0.9375rem; }
.policy-main strong { color: var(--ink); }
.policy-main ul, .policy-main ol { padding-left: 1.25rem; }
.policy-main li { margin-bottom: 0.4rem; }

.draft-notice {
  border: 1px solid var(--stamp);
  background: color-mix(in srgb, var(--stamp) 8%, var(--paper-raised));
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  margin: 0 0 2rem;
}

.draft-notice strong { color: var(--stamp); }

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--ink-dim);
  text-decoration: none;
}

.back-link:hover { color: var(--ink); }

/* ---------- Utility classes (replace one-off inline styles) ---------- */

.visually-hidden {
  position: absolute;
  left: -9999px;
}

.u-scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }

.u-mb-0 { margin-bottom: 0; }
.u-mb-tight { margin-bottom: 0.5rem; }
.u-mb-loose { margin-bottom: 2.5rem; }
.u-mt-loose { margin-top: 1.5rem; }
.u-max-w-faq { max-width: 52rem; }

.u-detail {
  color: var(--ink-faint);
  font-size: 0.75rem;
}

.footer-brand-name {
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: var(--ink);
}

.hero-lead-in { border-bottom: 1px solid var(--line); padding-bottom: 3rem; }


/* ---------- Conversion audit additions (2026-08-25) ---------- */

/* Hero: the "free" microcopy line under the CTA (the #1 missing conversion element). */
.hero-free-note {
  display: block;
  font-size: 0.875rem;
  color: var(--ink-dim);
  margin: 0.6rem 0 0;
}
.hero-free-note strong { color: var(--ink); }

/* FAQ summaries: comfortable tap target (~48px) — audit found ~36px on mobile. */
.faq-item summary { padding-top: 0.85rem; padding-bottom: 0.85rem; min-height: 44px; }

/* Final CTA section after the FAQ — the page previously just ended. */
.final-cta {
  border-top: 2px solid var(--ink);
  text-align: center;
  padding: 3.5rem 0 4rem;
}
.final-cta h2 { margin: 0 0 0.5rem; }
.final-cta p { color: var(--ink-dim); margin: 0 0 1.5rem; }

/* Real app screenshots in How-it-works (replacing the hatched placeholders). */
.step-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line-strong);
}
.step-figure.has-shot {
  border: 0;
  background: none;
  padding: 0;
  aspect-ratio: auto;
}

/* Static demo rows are ALWAYS visible without JS (crawlers, no-script). demo-census.js adds
   .demo-row for the entrance animation only when motion is allowed — rows never start hidden. */


/* Mobile nav (audit 2026-08-25): anchor links overflowed the viewport at 390px. Below 760px keep
   only the wordmark + CTA — the page is one screen of scrolling anyway. */
@media (max-width: 760px) {
  nav.primary-nav a:not(.btn) { display: none; }
}

/* Demo table inside its scroll wrapper must be allowed to be wider than the viewport without
   propagating width to the page: the section wrap needs min-width:0 on the frame. */
.demo-frame { min-width: 0; max-width: 100%; }


/* ---------- LP v2 / Mode A additions (docs/growth/02-lp-spec-v2.md §B, docs/growth/00-funnel-decision.md rows 3 + 6) ---------- */

/* The reframe line, directly above the demo table — the table is its proof (§B). */
.demo-kicker {
  font-size: clamp(1.125rem, 2.4vw, 1.375rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 2.25rem 0 0.75rem;
}

/* Copy-address fallback beside the mailto CTA: a text button, deliberately not a second primary. */
.btn-copy {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-dim);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}
.btn-copy:hover { color: var(--ink); text-decoration-color: currentColor; }

/* "Already on the test list? Open the app →" — a plain link, not a button (docs/growth/02 C5). */
.hero-secondary { font-size: 0.875rem; color: var(--ink-dim); }
.hero-secondary:hover { color: var(--ink); }

/* Demo table's "+ N more senders" subtotal row: muted, no bucket (docs/growth/02 §A). */
tr.demo-more td { color: var(--ink-faint); }
tr.demo-more td:first-child { font-weight: 600; }


/* ==========================================================================================
   LP visual package — the dark shell (P3.9 / G7, docs/growth/02c-visual-package.md, reference:
   docs/growth/design/reference-flagship.html). SKIN ONLY: zero copy, zero events.
   Scoped to `body.lp-shell` (index.html) because this sheet is shared with the policy pages,
   which the G7 brief keeps out of scope — they continue to use the token blocks above unchanged.
   Revert tripwire (02c scope law): drop `class="lp-shell"` from <body> and this layer is inert.

   The rule that generalises the page: THE SHELL IS THE DESK; EVERY CONTENT SURFACE IS A PAPER
   DOCUMENT ON IT. Dark only, in every colour scheme (Alex, 2026-08-30 — 02c §1 decision of record;
   the daylight variant was built, reviewed and removed). Paper/ink tokens are pinned to their light
   values inside the shell — a sheet is always paper.
   ========================================================================================== */

.lp-shell {
  color-scheme: dark;
  /* paper documents — always light, regardless of scheme */
  --paper: #f7f5f0;
  --paper-raised: #ffffff;
  --paper-hi: #fffdf8;
  --ink: #17181a;
  --ink-dim: #55585e;
  --ink-faint: #63665c;
  --line: #d9d5c9;
  --line-strong: #b9b4a5;
  --stamp: #c8361e;
  --stamp-bright: #e6512f;
  --stamp-ink: #ffffff;
  --safe: #2f6d4f;
  --code-bg: #eeeae0;
  /* the desk */
  --shell: #101010;
  --shell-2: #161615;
  --shell-glow: #1b1a18;
  --grid-line: rgba(247, 245, 240, 0.04);
  --text-on-shell: #f1efe9;
  --text-dim-on-shell: #a8a49a;
  --text-faint-on-shell: #7c786e;
  --hair: rgba(241, 239, 233, 0.14);
  --hair-soft: rgba(241, 239, 233, 0.1);
  --ghost-border: rgba(241, 239, 233, 0.28);
  --ghost-border-hover: rgba(241, 239, 233, 0.6);
  --ghost-bg-hover: rgba(241, 239, 233, 0.05);
  --focus: #6ea6ff;
  --focus-on-paper: #1257c4;
  /* on-shell primary CTA: paper (the page's only paper-filled object besides the sheets) */
  --cta-bg: var(--paper);
  --cta-fg: var(--ink);
  --cta-shadow: 0 1px 0 rgba(0, 0, 0, 0.4), 0 8px 24px -8px rgba(0, 0, 0, 0.6), inset 0 1px 0 var(--paper-hi);
  --cta-shadow-hover: 0 2px 0 rgba(0, 0, 0, 0.4), 0 14px 32px -10px rgba(0, 0, 0, 0.7), inset 0 1px 0 var(--paper-hi);
  /* sheet shadow tiers */
  --sheet-border: 0 solid transparent;
  --sheet-shadow:
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 12px 40px -8px rgba(0, 0, 0, 0.65),
    0 40px 80px -24px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 var(--paper-hi);
  --sheet-shadow-deep:
    0 1px 2px rgba(0, 0, 0, 0.6),
    0 18px 56px -8px rgba(0, 0, 0, 0.75),
    0 56px 110px -24px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 var(--paper-hi);
  --sans: "IBM Plex Sans", "Plex Sans Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", "Plex Mono Fallback", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}


/* "The desk" — THE brand background (02c §1). Reusable on any surface. */
.desk,
body.lp-shell {
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    radial-gradient(ellipse 120% 80% at 50% -10%, var(--shell-glow) 0%, var(--shell) 55%);
  background-size: 48px 48px, 48px 48px, 100% 100%;
  background-color: var(--shell);
}

body.lp-shell {
  color: var(--text-on-shell);
  font-family: var(--body);
}

.lp-shell .wrap { max-width: 1200px; padding: 0 clamp(20px, 4vw, 48px); }

/* Focus rings: light blue on the desk, deep blue on paper. */
.lp-shell a:focus-visible,
.lp-shell button:focus-visible,
.lp-shell summary:focus-visible { outline-color: var(--focus); }
.lp-shell .sheet a:focus-visible,
.lp-shell .sheet button:focus-visible { outline-color: var(--focus-on-paper); }

/* On-shell text + links; inside a sheet everything reverts to ink. */
.lp-shell a { color: var(--text-on-shell); text-decoration-color: var(--hair); }
.lp-shell a:hover { text-decoration-color: currentColor; }
.lp-shell .sheet,
.lp-shell .sheet a { color: var(--ink); }
.lp-shell .sheet a { text-decoration-color: var(--line-strong); }
.lp-shell .stamp { color: var(--stamp-bright); }
.lp-shell .sheet .stamp { color: var(--stamp); }
.lp-shell .mono,
.lp-shell .num,
.lp-shell table.ledger td.num,
.lp-shell table.data td.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.lp-shell h1, .lp-shell h2, .lp-shell h3 { font-family: var(--sans); font-weight: 700; }

/* ---------- The paper sheet ---------- */
.lp-shell .sheet {
  position: relative;
  background: var(--paper);
  border: var(--sheet-border);
  border-radius: 3px;
  box-shadow: var(--sheet-shadow);
}
.lp-shell .sheet-deep { box-shadow: var(--sheet-shadow-deep); }

/* ---------- Header / nav ---------- */
.lp-shell .site-header {
  background: color-mix(in srgb, var(--shell) 82%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair-soft);
}
.lp-shell .site-header .wrap { padding-top: 1.1rem; padding-bottom: 1.1rem; }
.lp-shell .wordmark {
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  color: var(--text-on-shell);
}
.lp-shell .wordmark .mark { width: 11px; height: 11px; border-color: var(--stamp-bright); border-width: 2.2px; }
.lp-shell nav.primary-nav { gap: 26px; }
.lp-shell nav.primary-nav a { font-size: 14px; font-weight: 400; color: var(--text-dim-on-shell); transition: color .15s; }
.lp-shell nav.primary-nav a:hover { color: var(--text-on-shell); }
/* Ghost invite button: the paper CTA is the page's ONLY paper-filled object. */
.lp-shell nav.primary-nav .btn-outline {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-on-shell);
  border-color: var(--ghost-border);
  border-radius: 2px;
  padding: 9px 16px;
  transition: border-color .15s, background .15s;
}
.lp-shell nav.primary-nav .btn-outline:hover { border-color: var(--ghost-border-hover); background: var(--ghost-bg-hover); color: var(--text-on-shell); }

/* ---------- Buttons ---------- */
.lp-shell .btn { font-family: var(--sans); font-weight: 700; border-radius: 2px; transition: transform .15s ease, box-shadow .15s ease, border-color .15s, background .15s; }
/* On-shell primary (hero, final CTA): paper on the desk; ink on paper in the light scheme. */
.lp-shell .btn-stamp {
  background: var(--cta-bg);
  color: var(--cta-fg);
  border-color: transparent;
  box-shadow: var(--cta-shadow);
}
.lp-shell .btn-stamp:hover { filter: none; transform: translateY(-1px); box-shadow: var(--cta-shadow-hover); }
/* On-paper primary (pricing slip): ink on paper, both schemes. */
.lp-shell .sheet .btn-stamp { background: var(--ink); color: var(--paper); box-shadow: 0 1px 0 rgba(23, 24, 26, 0.2), 0 10px 28px -10px rgba(23, 24, 26, 0.45); }
.lp-shell .sheet .btn-stamp:hover { box-shadow: 0 2px 0 rgba(23, 24, 26, 0.2), 0 16px 34px -12px rgba(23, 24, 26, 0.5); }
.lp-shell .sheet .btn-outline { color: var(--ink); border-color: var(--ink-faint); }
.lp-shell .sheet .btn-outline:hover { border-color: var(--ink); }

/* ---------- Hero (reference-flagship.html, dark variant) ---------- */
.lp-shell .hero,
.lp-shell .hero-lead-in {
  padding: clamp(40px, 5vw, 64px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--hair-soft);
}
.lp-shell .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); /* reference is 1.02fr/1fr; the 4-column census table needs the extra width (02c §5 fold + no-clip) */
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 920px) {
  .lp-shell .hero-grid { grid-template-columns: minmax(0, 1fr); }
}

.lp-shell .eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--stamp-bright);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.lp-shell .eyebrow::before { color: inherit; }
.lp-shell .eyebrow::after { content: ""; height: 1px; width: 64px; background: color-mix(in srgb, var(--stamp-bright) 40%, transparent); }

.lp-shell h1.headline {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(40px, 5.2vw, 72px); /* reference: clamp(44px, 6.4vw, 84px) — trimmed so the CTA + sheet header clear the 1366×768 fold (02c §5) */
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--text-on-shell);
  margin: 22px 0 0;
  max-width: none;
  text-wrap: balance;
}
/* "Evict" in stamp red — the marker highlight is retired with the light shell. */
.lp-shell h1.headline .stamp { background: none; padding: 0; color: var(--stamp-bright); }

.lp-shell p.subline { margin: 22px 0 0; font-size: clamp(16px, 1.6vw, 19px); color: var(--text-dim-on-shell); }
.lp-shell p.subline strong { color: var(--text-on-shell); font-weight: 600; font-family: var(--mono); font-variant-numeric: tabular-nums; }

.lp-shell .hero-actions { gap: 20px; margin: 34px 0 0; }
.lp-shell .hero .btn-stamp { font-size: 16px; padding: 16px 30px; }
.lp-shell .hero-free-note { flex: 1; min-width: 14rem; margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-dim-on-shell); }
.lp-shell .hero-free-note strong { display: block; color: var(--text-on-shell); font-weight: 600; }

.lp-shell .hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; margin-top: 16px; font-size: 13px; }
.lp-shell .hero-note { margin: 0; font-size: 13px; color: var(--text-dim-on-shell); }
.lp-shell .btn-copy,
.lp-shell .hero-secondary { font-size: 13px; color: var(--text-dim-on-shell); text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 3px; }
.lp-shell .btn-copy:hover,
.lp-shell .hero-secondary:hover { color: var(--text-on-shell); }

/* ---------- Invite form (ARCHITECTURE §7b; Mode A v2) — the hero's primary action ---------- */
/* Inside .hero-actions (a wrapping flex row) the form and its privacy line take the full row, so
   the free-note that follows sits beneath them, never beside a half-width field. */
.lp-shell .invite-form {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px 12px;
  margin: 0;
  max-width: 34rem;
  min-width: 0;
}
.lp-shell .invite-form input[type="email"] {
  flex: 1 1 14rem;
  min-width: 0;
  min-height: 44px;
  padding: 0 14px;
  font: inherit;
  font-size: 16px; /* ≥16px: iOS Safari won't zoom the page on focus */
  color: var(--ink);
  background: var(--paper-hi);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.04);
}
.lp-shell .invite-form input[type="email"]::placeholder { color: var(--ink-faint); opacity: 1; }
.lp-shell .invite-form input[type="email"]:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-color: var(--paper-hi); }
.lp-shell .invite-form input[type="email"]:disabled { color: var(--ink-dim); background: var(--paper); }
.lp-shell .invite-form .btn-stamp { flex: 0 0 auto; min-height: 44px; white-space: nowrap; }
.lp-shell .invite-form .btn-stamp:disabled { opacity: 0.6; cursor: progress; transform: none; box-shadow: var(--cta-shadow); }
@media (max-width: 559px) {
  .lp-shell .invite-form input[type="email"],
  .lp-shell .invite-form .btn-stamp { flex-basis: 100%; width: 100%; }
}
/* The honeypot: off-canvas for everyone (aria-hidden + tabindex=-1 cover assistive tech). */
.lp-shell .invite-form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; margin: 0; padding: 0; border: 0; }
/* Status line reserves one line so the success/error text never shifts the layout. */
.lp-shell .invite-status {
  flex-basis: 100%;
  margin: 0;
  min-height: 1.4em;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text-dim-on-shell);
}
.lp-shell .invite-privacy {
  flex-basis: 100%;
  display: block;
  margin: -6px 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-faint-on-shell);
}

/* trust strip */
.lp-shell .trust {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--hair);
  border-radius: 3px;
  background: rgba(241, 239, 233, 0.03);
  padding: 14px 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-dim-on-shell);
}
.lp-shell .trust svg { flex-shrink: 0; }
.lp-shell .trust .flow { flex: 1; min-width: 80px; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.lp-shell .trust .flow-wide { flex: 2; }
.lp-shell .trust .lbl { text-align: center; letter-spacing: 0.04em; }
.lp-shell .trust .flow:not(.flow-wide) { flex: 0 1 auto; }
.lp-shell .trust .flow:not(.flow-wide) .lbl { white-space: nowrap; }
.lp-shell .trust .no { color: var(--stamp-bright); }
.lp-shell .trust .no-line { stroke: var(--stamp-bright); }
.lp-shell .trust .verify { border-left: 1px solid var(--hair); padding-left: 16px; max-width: 150px; line-height: 1.5; }
@media (max-width: 560px) {
  .lp-shell .trust { flex-wrap: wrap; }
  .lp-shell .trust .verify { border-left: none; padding-left: 0; }
}

/* kicker — the reframe line; the sheet beside/below it is its proof */
.lp-shell .demo-kicker {
  margin: 40px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--hair);
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--text-on-shell);
}
.lp-shell .demo-kicker .num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* the census sheet */
.lp-shell .hero-copy, .lp-shell .sheet-zone { min-width: 0; }
.lp-shell .sheet-zone { position: relative; }
@media (max-width: 920px) {
  .lp-shell .sheet-zone { margin-top: 32px; }
}
.lp-shell .demo-frame {
  border: var(--sheet-border);
  background: var(--paper);
  box-shadow: var(--sheet-shadow);
  border-radius: 3px;
}
@media (min-width: 921px) {
  .lp-shell .demo-frame { transform: rotate(0.4deg); }
}
/* stamp badge (demo-data mark) */
.lp-shell .demo-badge {
  position: absolute;
  top: -14px;
  right: 22px;
  z-index: 2;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--stamp);
  background: var(--paper);
  border: 2px solid var(--stamp);
  padding: 5px 11px;
  transform: rotate(3deg);
  border-radius: 1px;
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.5);
}
.lp-shell .demo-badge .live-dot { display: none; }
.lp-shell .demo-titlebar {
  padding: 14px 22px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.lp-shell .demo-totals { padding: 14px 22px 8px; font-family: var(--mono); }
.lp-shell .demo-totals .t-n { font-family: var(--mono); font-weight: 700; font-size: clamp(18px, 1.6vw, 22px); }
.lp-shell .demo-totals #demo-senders { color: var(--stamp); }
.lp-shell .demo-totals .t-k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; }

.lp-shell table.data th {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  color: var(--ink-dim);
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.lp-shell table.data td { padding: 12px 14px; border-bottom: 1px solid #eceadf; }
.lp-shell table.data td:first-child { padding-left: 22px; }
.lp-shell table.data td:last-child, .lp-shell table.data th:last-child { padding-right: 22px; }
.lp-shell table.data th:first-child { padding-left: 22px; }
.lp-shell table.data tbody tr { transition: background .12s; }
.lp-shell table.data tbody tr:hover { background: #fbfaf5; }
.lp-shell .sender-name { font-family: var(--body); font-weight: 700; font-size: 14px; }
.lp-shell .sender-addr { font-size: 11px; overflow-wrap: anywhere; }
.lp-shell .evidence { font-family: var(--mono); font-size: 10px; color: var(--ink-faint); }
.lp-shell table.data td.num { font-weight: 700; font-size: 14px; }
.lp-shell table.data td.num + td.num { font-weight: 400; font-size: 11px; color: var(--ink-faint); }
.lp-shell .bucket-tag {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.08em;
  padding: 3px 7px;
  border-radius: 1px;
  border: 1px solid;
  white-space: nowrap;
}
.lp-shell .bucket-safe { color: var(--safe); border-color: var(--safe); background: rgba(47, 109, 79, 0.07); }
.lp-shell .bucket-review { color: var(--ink-dim); border-color: #b9b4a5; background: rgba(85, 88, 94, 0.05); }
.lp-shell tr.demo-more td { background: #efede4; font-family: var(--mono); font-size: 10.5px; color: var(--ink-dim); padding: 11px 14px; }
.lp-shell tr.demo-more td:first-child { font-weight: 400; }
.lp-shell tr.demo-more td.num { font-weight: 500; font-size: 10.5px; color: var(--ink-dim); }
.lp-shell .demo-footnote { padding: 10px 22px; font-size: 11px; color: var(--ink-faint); border-top: 1px solid var(--line); }

/* ---------- Sections on the desk ---------- */
.lp-shell section { border-bottom: 1px solid var(--hair-soft); }
.lp-shell section:last-of-type { border-bottom: none; }
.lp-shell .section-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; color: var(--stamp-bright); }
.lp-shell .section-label::before { content: "§ "; }
.lp-shell h2.section-title { color: var(--text-on-shell); letter-spacing: -0.02em; font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.08; }
.lp-shell p.section-lede { color: var(--text-dim-on-shell); }

/* How it works: screenshots as paper-framed sheets; step copy on-shell */
.lp-shell .step { border: 0; background: transparent; padding: 0; }
.lp-shell .step-figure.has-shot {
  background: var(--paper);
  border: var(--sheet-border);
  border-radius: 3px;
  box-shadow: var(--sheet-shadow);
  padding: 8px;
  margin-bottom: 1.25rem;
}
.lp-shell .step-figure img { border: 1px solid var(--line); }
.lp-shell .step-num { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stamp-bright); }
.lp-shell .step h3 { color: var(--text-on-shell); font-size: 1.125rem; }
.lp-shell .step p { color: var(--text-dim-on-shell); }
.lp-shell .step p strong { color: var(--text-on-shell); font-family: var(--mono); font-weight: 700; font-variant-numeric: tabular-nums; }

/* Privacy: the ledger IS a paper document; the DevTools panel is the second sheet */
.lp-shell .ledger-sheet { background: var(--paper); border: var(--sheet-border); border-radius: 3px; box-shadow: var(--sheet-shadow); color: var(--ink); }
.lp-shell table.ledger { border: 0; background: transparent; }
.lp-shell table.ledger caption { font-family: var(--mono); font-size: 10px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-dim); padding: 14px 22px 10px; border-bottom: 1px solid var(--ink); }
.lp-shell table.ledger th, .lp-shell table.ledger td { padding: 0.6rem 1rem; }
.lp-shell table.ledger thead th { font-family: var(--mono); font-size: 10px; letter-spacing: 0.13em; color: var(--ink-dim); background: var(--code-bg); }
.lp-shell table.ledger td.never { color: var(--safe); }
.lp-shell .u-detail { color: var(--ink-faint); }
.lp-shell .devtools-panel { border: var(--sheet-border); background: var(--paper); border-radius: 3px; box-shadow: var(--sheet-shadow); color: var(--ink); }
.lp-shell .devtools-panel h3 { font-size: 1.125rem; }
.lp-shell .devtools-panel .mono { font-family: var(--mono); }
.lp-shell .code-line { font-family: var(--mono); font-size: 12px; background: var(--code-bg); border-color: var(--line); }

/* Pricing: two paper slips; the featured slip gets the deeper shadow tier, not a colour change */
.lp-shell .price-honesty { color: var(--text-on-shell); font-family: var(--sans); }
.lp-shell .price-note { color: var(--text-dim-on-shell); }
.lp-shell .price-card { border: var(--sheet-border); background: var(--paper); border-radius: 3px; box-shadow: var(--sheet-shadow); color: var(--ink); }
.lp-shell .price-card.featured { border-color: transparent; box-shadow: var(--sheet-shadow-deep); }
.lp-shell .price-card .tag { font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em; color: var(--stamp); border: 1px solid var(--stamp); border-radius: 1px; padding: 3px 7px; }
.lp-shell .price-card h3 { font-size: 1.25rem; }
.lp-shell .price-card .amount { font-family: var(--mono); font-weight: 700; font-size: 2.5rem; letter-spacing: -0.02em; }
.lp-shell .price-card .amount small { font-family: var(--mono); font-weight: 400; font-size: 0.8125rem; }
.lp-shell .price-card ul { color: var(--ink-dim); }
.lp-shell .price-card li::before { color: var(--ink-faint); }

/* FAQ: on-shell, hairline separators, + markers in stamp-bright */
.lp-shell .faq-item { border-bottom-color: var(--hair-soft); }
.lp-shell .faq-item summary { font-family: var(--sans); font-weight: 600; color: var(--text-on-shell); }
.lp-shell .faq-item summary::after { color: var(--stamp-bright); font-family: var(--mono); }
.lp-shell .faq-item p { color: var(--text-dim-on-shell); }

/* Final CTA + footer: on-shell */
.lp-shell .final-cta { border-top: 1px solid var(--hair); }
.lp-shell .final-cta p { color: var(--text-dim-on-shell); }
.lp-shell .final-cta .btn-stamp { font-size: 16px; padding: 16px 30px; }
.lp-shell .final-cta .hero-free-note { margin-top: 1rem; color: var(--text-dim-on-shell); }
.lp-shell footer.site-footer { border-top-color: var(--hair-soft); }
.lp-shell .footer-brand-name { color: var(--text-on-shell); font-family: var(--sans); }
.lp-shell .footer-meta { color: var(--text-dim-on-shell); }
.lp-shell .footer-links a { color: var(--text-dim-on-shell); }
.lp-shell .footer-links a:hover { color: var(--text-on-shell); }

/* Policy pages (privacy/terms/refunds): the whole policy text is ONE paper document on the desk
   (02c §3). Back-link stays on-shell; everything inside `.policy-sheet` is ink on paper. */
.lp-shell .policy-main { max-width: 46rem; padding: 2.5rem 1.25rem 5rem; }
.lp-shell .policy-sheet { padding: clamp(1.5rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 3.5rem); }
.lp-shell .policy-sheet section { padding: 2.25rem 0; border-bottom-color: var(--line); }
.lp-shell .policy-sheet section:first-of-type { padding-top: 0; }
.lp-shell .policy-sheet section:last-of-type { padding-bottom: 0; }
.lp-shell .policy-sheet h2 { margin-top: 0; }
.lp-shell .policy-meta { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--ink-faint); border-bottom: 1px solid var(--ink); padding-bottom: 1.25rem; }
.lp-shell .back-link { color: var(--text-dim-on-shell); }
.lp-shell .back-link:hover { color: var(--text-on-shell); }
.lp-shell .draft-notice { border-radius: 2px; }
.lp-shell .policy-sheet table.ledger { min-width: 36rem; }

/* ---------- Entrance (reference verbatim) — static state complete without it ---------- */
@media (prefers-reduced-motion: no-preference) {
  .lp-shell .rise { opacity: 0; transform: translateY(10px); animation: rise .6s cubic-bezier(.2, .7, .2, 1) forwards; }
  .lp-shell .d1 { animation-delay: .05s; }
  .lp-shell .d2 { animation-delay: .12s; }
  .lp-shell .d3 { animation-delay: .2s; }
  .lp-shell .d4 { animation-delay: .3s; }
  /* The H1 is the LCP element: it rises by transform only (opacity stays 1) so the entrance
     animation doesn't move LCP past 02c §5's ≤200 ms budget (measured 56 → ~408 ms with the fade). */
  .lp-shell h1.rise { opacity: 1; animation-name: rise-move; }
  @keyframes rise { to { opacity: 1; transform: translateY(0); } }
  @keyframes rise-move { to { transform: translateY(0); } }
}


/* ==========================================================================================
   P3.7 / G5 — mobile tables + remaining a11y (docs/growth/02-lp-spec-v2.md §E, §F2/E5).
   Implemented against the G7 sheet markup (02c §6). Selectors use the section/table ids so the
   rules outrank the `.lp-shell` skin layer AND keep working if the skin is ever reverted.
   ========================================================================================== */

/* E1. Demo census table: keep it a table, drop the Bucket COLUMN (not the information) — the
   one-word chip moves inline next to the sender name. Hidden on desktop. */
.bucket-inline { display: none; margin-left: 0.4rem; vertical-align: 1px; }

@media (max-width: 560px) {
  #demo-table th:nth-child(2), #demo-table td:nth-child(2) { display: none; }
  #demo-table { font-size: 0.8125rem; }
  #demo-table th, #demo-table td { padding: 0.5rem 0.6rem; }
  #demo-table td.num { white-space: nowrap; }
  .bucket-inline { display: inline-block; }
  /* E4 type floors: 11px table headers / tags → 12px on mobile */
  #demo-table th, #demo-table .bucket-tag { font-size: 0.75rem; }
}

/* E2. Totals row: 14,203 · 41 · 2.8 GB must read as ONE line of proof at ≤430px. */
@media (max-width: 430px) {
  #demo-totals { gap: 1rem; flex-wrap: nowrap; }
  #demo-totals .t-cell { min-width: 0; }
  #demo-totals .t-n { font-size: 1.25rem; }
}

/* E3. Privacy ledger → card collapse: rows are facts to read, not numbers to compare; the green
   "Never" becomes always-visible instead of clipped behind a scroll. Labels come from data-label. */
@media (max-width: 680px) {
  #privacy table.ledger thead { position: absolute; left: -9999px; }
  #privacy table.ledger tr { display: block; border-bottom: 1px solid var(--line); padding: 0.6rem 0.85rem; }
  #privacy table.ledger tbody tr:last-child { border-bottom: none; }
  #privacy table.ledger td { display: block; border: none; padding: 0.15rem 0; }
  #privacy table.ledger td:first-child { font-weight: 700; }
  #privacy table.ledger td:not(:first-child)::before {
    content: attr(data-label) " — ";
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-faint);
  }
}

/* E4. Tap targets on mobile. */
@media (max-width: 760px) {
  .btn { min-height: 44px; }
  .btn-sm { min-height: 40px; }
}
