/* ─────────────────────────────────────────────────────────────
 * Lab Trace — Landing page · stylesheet
 * Editorial voice: Georgia serif body, generous whitespace,
 * paper palette, three accents (rust / gold / green-ok).
 * No JavaScript dependencies. Pure HTML/CSS.
 * ───────────────────────────────────────────────────────────── */

:root {
  /* Ink */
  --ink:        oklch(22.00% 0.0269 81.10);
  --ink-2:      oklch(34.00% 0.0313 78.38);
  --ink-light:  oklch(50.00% 0.0303 74.47);
  --ink-dark:   oklch(15.00% 0.0180 74.42);
  --tan:        oklch(79.02% 0.0455 85.21);
  --rule:       oklch(85.00% 0.0231 84.59);
  --rule-strong: oklch(70.00% 0.0303 74.47);

  /* Paper */
  --paper:      oklch(98.40% 0.0070 88.64);
  --paper-2:    oklch(95.50% 0.0144 84.58);
  --paper-3:    oklch(92.00% 0.0231 84.59);
  --cream:      oklch(99.40% 0.0098 87.47);

  /* Accents */
  --gold:       oklch(50.00% 0.1041 84.45);
  --gold-2:     oklch(42.00% 0.0879 86.01);
  --rust:       oklch(45.30% 0.1208 42.59);
  --rust-deep:  oklch(38.00% 0.1208 42.59);
  --rust-bg:    oklch(94.00% 0.0419 42.59);
  --green-ok:   oklch(40.00% 0.0941 141.41);
  --green-bg:   oklch(91.38% 0.0419 140.85);
  --amber-bg:   oklch(94.40% 0.0509 92.55);

  /* Type */
  --serif: 'Charter', 'Iowan Old Style', 'Georgia', 'Times New Roman', serif;
  --sans:  -apple-system, BlinkMacSystemFont, 'Inter', system-ui, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Geometry */
  --radius: 3px;
  --shadow-page: 1px 1px 0 rgba(44,36,22,0.04), 2px 2px 6px rgba(44,36,22,0.06);
  --shadow-card: 0 1px 0 rgba(44,36,22,0.04), 0 6px 18px rgba(44,36,22,0.08);
  --shadow-doc:  0 1px 0 rgba(44,36,22,0.04), 0 12px 36px rgba(44,36,22,0.14);

  /* Layout */
  --wrap-max: 1120px;
  --wrap-narrow: 760px;
}

/* ─── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 0; top: 0;
  padding: 0.65rem 1rem;
  background: var(--ink-dark);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateY(-150%);
  z-index: 999;
}
.skip-link:focus { transform: translateY(0); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── Wrap ────────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* ─── Type primitives ─────────────────────────────────────── */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 5.2vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--ink-dark);
  text-wrap: balance;
}
.display .muted-h { color: var(--ink-light); font-style: italic; }

.serif-h {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.4vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -0.008em;
  color: var(--ink-dark);
  text-wrap: balance;
}

.lede {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
  max-width: 38em;
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background 0.12s ease, color 0.12s ease, box-shadow 0.12s ease, transform 0.12s ease;
}
.btn-primary {
  background: var(--rust);
  color: var(--cream);
  box-shadow: 2px 2px 0 var(--rust-deep);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--rust-deep);
  box-shadow: 3px 3px 0 var(--ink-dark);
}
.btn-primary:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--rust-deep); }
.btn-sm { padding: 0.5rem 0.85rem; font-size: 0.85rem; }
.btn-lg { padding: 0.95rem 1.5rem; font-size: 1.05rem; }
.btn-xl { padding: 1.1rem 1.85rem; font-size: 1.15rem; }

.link-secondary {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-2);
  border-bottom: 1px solid var(--tan);
  padding-bottom: 1px;
  transition: color 0.1s ease, border-color 0.1s ease;
}
.link-secondary:hover,
.link-secondary:focus-visible { color: var(--rust); border-bottom-color: var(--rust); }

.cta-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.85rem;
}
.cta-row-center { justify-content: center; }
.cta-fineprint {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-light);
  margin-top: 0.85rem;
}

/* ─── Site header ─────────────────────────────────────────── */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.1);
}
.header-wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--serif);
}
.brand-mark {
  width: 30px; height: 30px;
  background: var(--ink-dark);
  color: var(--cream);
  font-style: italic;
  font-weight: 700;
  font-size: 1rem;
  display: grid;
  place-items: center;
  border-radius: 4px;
}
.brand-name {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink-dark);
}
.site-nav {
  margin-left: auto;
}
.site-nav ul {
  display: flex;
  gap: 1.75rem;
}
.site-nav a,
.site-nav button {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.1s ease, border-color 0.1s ease;
}
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav button:hover,
.site-nav button:focus-visible { color: var(--rust); border-bottom-color: var(--rust); }
.header-cta { /* button on right */ }

@media (max-width: 720px) {
  .site-nav { display: none; }
  .header-wrap { gap: 1rem; }
  .header-cta { margin-left: auto; }
}

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(3.5rem, 8vw, 7rem);
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule-strong), transparent);
  pointer-events: none;
}
.hero-wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.hero-text .lede { margin-top: 1.25rem; font-size: 1.15rem; }
.hero-text h1 { margin-top: 0.25rem; }

.hero-figure { margin: 0; }
.paper-stack {
  position: relative;
  padding: 1rem 1rem 0 0;
}
.paper-back {
  position: absolute;
  inset: 0;
  background: var(--paper-3);
  border: 1px solid var(--rule);
  transform: rotate(-1.6deg) translate(8px, 10px);
  box-shadow: var(--shadow-page);
  border-radius: 2px;
}
.paper-image {
  position: relative;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  background: var(--cream);
  box-shadow: var(--shadow-card);
  border-radius: 2px;
}
.figcaption {
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-light);
  font-style: italic;
  text-wrap: pretty;
  max-width: 32em;
}

@media (max-width: 880px) {
  .hero-wrap { grid-template-columns: 1fr; }
  .hero-figure { order: 2; max-width: 520px; }
}

/* ─── Bands (sections) ───────────────────────────────────── */
.band {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
}
.band-tinted { background: var(--paper); }
.band-pricing { background: var(--paper-2); }

.band-head {
  max-width: var(--wrap-narrow);
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}
.band-lede {
  margin-top: 1rem;
  font-size: 1.08rem;
  color: var(--ink-2);
  text-wrap: pretty;
  max-width: 38em;
}

/* ─── Callouts (numbered, editorial) ─────────────────────── */
.callouts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  counter-reset: cl;
  border-top: 1px solid var(--rule);
}
.callouts > li {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.callout-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  font-feature-settings: "smcp";
}
.callouts h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.25;
  color: var(--ink-dark);
  margin-bottom: 0.55rem;
  text-wrap: balance;
}
.callouts p {
  font-size: 1.02rem;
  color: var(--ink-2);
  text-wrap: pretty;
  max-width: 38em;
}

@media (max-width: 640px) {
  .callouts > li { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ─── Capabilities (alternating screenshot rows) ─────────── */
.capability {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 1px dashed var(--rule);
}
.capability:last-child { border-bottom: 0; padding-bottom: 0; }
.capability-reverse .capability-text { order: 2; }
.capability-reverse .capability-figure { order: 1; }

.capability-text { max-width: 34em; }
.capability-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--rust);
  margin-bottom: 0.65rem;
}
.capability h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.55rem;
  line-height: 1.2;
  color: var(--ink-dark);
  margin-bottom: 0.85rem;
  text-wrap: balance;
}
.capability p {
  font-size: 1.02rem;
  color: var(--ink-2);
  text-wrap: pretty;
}

.capability-figure {
  margin: 0;
  border: 1px solid var(--rule);
  background: var(--cream);
  box-shadow: var(--shadow-card);
  border-radius: 2px;
  overflow: hidden;
}
.capability-figure img { display: block; width: 100%; height: auto; }

.capability-figure-placeholder {
  background: var(--paper-3);
  border-style: dashed;
  border-color: var(--rule-strong);
  box-shadow: none;
  padding: 1.75rem;
  display: grid;
  place-items: center;
  min-height: 280px;
}
.placeholder { width: 100%; max-width: 360px; }
.placeholder-key {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.45rem;
}
.placeholder-rows { display: grid; gap: 0.55rem; }
.placeholder-rows li {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 0.85rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.86rem;
}
.placeholder-rows li:last-child { border-bottom: 0; }
.placeholder-role { font-weight: 700; color: var(--ink-dark); }
.placeholder-scope { color: var(--ink-light); font-family: var(--mono); font-size: 0.78rem; }

@media (max-width: 880px) {
  .capability { grid-template-columns: 1fr; }
  .capability-reverse .capability-text { order: 1; }
  .capability-reverse .capability-figure { order: 2; }
}

/* ─── Fit (who is/isn't this for) ────────────────────────── */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.fit-col {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ink-light);
  padding: 1.85rem 1.85rem 2rem;
  border-radius: 2px;
  box-shadow: var(--shadow-page);
}
.fit-yes { border-top-color: var(--rust); }
.fit-no  { border-top-color: var(--ink-dark); }

.fit-eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.fit-eyebrow-yes { color: var(--rust); }
.fit-eyebrow-no  { color: var(--ink-dark); }

.fit-col ul { display: grid; gap: 0.85rem; }
.fit-col li {
  font-size: 1.02rem;
  color: var(--ink-2);
  padding-left: 1.5rem;
  position: relative;
  text-wrap: pretty;
}
.fit-yes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-ok);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  top: 0.25rem;
}
.fit-no li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--ink-light);
  font-weight: 700;
  top: 0.05rem;
}

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

/* ─── Compliance ─────────────────────────────────────────── */
.compliance-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.compliance-text > p {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--ink-2);
  max-width: 38em;
  text-wrap: pretty;
}
.compliance-list {
  margin-top: 2rem;
  display: grid;
  gap: 1.25rem;
}
.compliance-list > div {
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}
.compliance-list dt {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-dark);
  margin-bottom: 0.35rem;
}
.compliance-list dd {
  font-size: 0.98rem;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* Audit aside (fake but plausible) */
.compliance-aside {
  background: var(--cream);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-card);
  padding: 1.25rem 1.35rem 1rem;
  border-radius: 2px;
  font-family: var(--sans);
  position: sticky;
  top: 88px;
}
.audit-eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-light);
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 0.75rem;
}
.audit-list { display: grid; gap: 0.05rem; }
.audit-list li {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--rule);
  font-size: 0.82rem;
}
.audit-list li:last-child { border-bottom: 0; }
.audit-ts {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-light);
  white-space: nowrap;
}
.audit-key {
  font-family: var(--mono);
  font-size: 0.72rem;
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  white-space: nowrap;
}
.audit-key-sys { color: var(--ink-2); background: var(--paper-3); }
.audit-key-smp { color: var(--green-ok); background: var(--green-bg); }
.audit-key-usr { color: var(--rust); background: var(--rust-bg); }
.audit-summary {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink);
  text-wrap: pretty;
}
.audit-summary strong { font-weight: 600; color: var(--ink-dark); }
.audit-foot {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-light);
  flex-wrap: wrap;
}

@media (max-width: 880px) {
  .compliance-wrap { grid-template-columns: 1fr; }
  .compliance-aside { position: static; }
  .audit-list li { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* ─── Pricing ────────────────────────────────────────────── */
.pricing-wrap {
  text-align: center;
  display: grid;
  justify-items: center;
}
.pricing-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}
.pricing-head .band-lede { margin-left: auto; margin-right: auto; }

.price-card {
  background: var(--cream);
  border: 1px solid var(--ink-dark);
  border-radius: 2px;
  padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 4vw, 3.5rem) 2rem;
  max-width: 520px;
  width: 100%;
  box-shadow: 4px 4px 0 var(--ink-dark);
}
.price-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.15rem;
  font-family: var(--serif);
  color: var(--rust);
  margin-bottom: 1.5rem;
  line-height: 1;
}
.price-currency {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 400;
  margin-right: 0.05rem;
}
.price-number {
  font-size: clamp(4.5rem, 11vw, 7.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.price-period {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-left: 0.35rem;
}

.price-includes {
  display: grid;
  gap: 0.55rem;
  text-align: left;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1.15rem 0;
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--ink);
}
.price-includes li {
  padding-left: 1.25rem;
  position: relative;
}
.price-includes li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.2rem;
  top: -0.15rem;
}
.price-foot {
  margin-top: 1.15rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-light);
}

/* ─── Closer ─────────────────────────────────────────────── */
.band-closer {
  background: var(--ink-dark);
  color: var(--paper);
  border-bottom: 0;
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.closer-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.75rem;
}
.band-closer .eyebrow { color: var(--gold); }
.closer-h {
  color: var(--paper);
  margin-top: 0.25rem;
  margin-bottom: 1.85rem;
}
.band-closer .display { color: var(--paper); }
.closer-body {
  display: grid;
  gap: 1.15rem;
  max-width: 36em;
  margin: 0 auto 0.5rem;
  font-size: 1.08rem;
  color: var(--paper-2);
  text-wrap: pretty;
}
.band-closer .cta-fineprint { color: var(--tan); }
.closer-secondary { margin-top: 1.5rem; }
.band-closer .link-secondary {
  color: var(--paper-2);
  border-bottom-color: var(--ink-light);
}
.band-closer .link-secondary:hover,
.band-closer .link-secondary:focus-visible {
  color: var(--cream);
  border-bottom-color: var(--cream);
}
.band-closer .btn-primary {
  background: var(--rust);
  box-shadow: 3px 3px 0 var(--paper-3);
}
.band-closer .btn-primary:hover,
.band-closer .btn-primary:focus-visible {
  background: var(--cream);
  color: var(--ink-dark);
  box-shadow: 4px 4px 0 var(--paper-3);
}

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--rule-strong);
  padding: 3rem 0 1.5rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink-2);
}
.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem 2.5rem;
}
.footer-wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink-dark);
  margin-bottom: 0.4rem;
}
.footer-tag { color: var(--ink-light); font-size: 0.88rem; }
.footer-links ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.footer-links a,
.footer-links button {
  color: var(--ink-2);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.footer-links a:hover,
.footer-links a:focus-visible,
.footer-links button:hover,
.footer-links button:focus-visible { color: var(--rust); border-bottom-color: var(--rust); }
.footer-bottom {
  max-width: var(--wrap-max);
  margin: 2.5rem auto 0;
  padding: 1.25rem 1.75rem 0;
  border-top: 1px solid var(--rule);
  font-size: 0.78rem;
  color: var(--ink-light);
  font-family: var(--sans);
}

@media (max-width: 720px) {
  .footer-wrap { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
}

/* ─── Waitlist modal ──────────────────────────────────────── */
.waitlist-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  width: calc(100% - 2rem);
  max-width: 34rem;
  margin: auto;
}
.waitlist-dialog::backdrop {
  background: oklch(15% 0.018 74.42 / 0.55);
  backdrop-filter: blur(2px);
}
.waitlist-card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 2.25rem 2.25rem 1.85rem;
  box-shadow: var(--shadow-doc);
  font-family: var(--serif);
}
.waitlist-eyebrow { color: var(--rust); }
.waitlist-card .serif-h { margin-bottom: 0.95rem; }
.waitlist-card p { margin-bottom: 1rem; line-height: 1.6; color: var(--ink-2); }
.waitlist-card p:last-of-type { margin-bottom: 0; }
.waitlist-actions { margin-top: 1.65rem; gap: 1.5rem; }
.waitlist-email {
  background: none;
  border: 0;
  padding: 0 0 1px 0;
  font: inherit;
  color: var(--rust-deep);
  border-bottom: 1px solid var(--tan);
  cursor: pointer;
  transition: color 0.1s ease, border-color 0.1s ease;
}
.waitlist-email:hover,
.waitlist-email:focus-visible { color: var(--ink-dark); border-bottom-color: var(--rust); outline: none; }
.waitlist-email[data-copied="true"] { color: var(--green-ok); border-bottom-color: var(--green-ok); }

.waitlist-form {
  margin-top: 1.65rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: stretch;
}
.waitlist-form input[type="email"] {
  flex: 1 1 14rem;
  min-width: 0;
  padding: 0.75rem 0.9rem;
  font: 1rem var(--sans);
  color: var(--ink-dark);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
}
.waitlist-form input[type="email"]:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 1px;
  border-color: var(--rust);
}
.waitlist-form .btn { flex: 0 0 auto; }

.waitlist-success {
  margin-top: 1.5rem;
  padding: 0.85rem 1rem;
  background: var(--green-bg);
  border-left: 3px solid var(--green-ok);
  color: var(--ink-dark);
  font-style: italic;
}
.waitlist-close {
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-light);
  border-radius: 2px;
  transition: color 0.12s ease, background 0.12s ease;
}
.waitlist-close:hover,
.waitlist-close:focus-visible { color: var(--ink-dark); background: var(--paper-2); }
@media (max-width: 480px) {
  .waitlist-card { padding: 1.75rem 1.5rem 1.5rem; }
  .waitlist-actions { gap: 1rem; }
}

/* ─── Print ──────────────────────────────────────────────── */
@media print {
  .site-header, .footer-bottom, .skip-link { display: none; }
  body { background: white; color: black; }
  .band, .hero { border-bottom: 1px solid #999; page-break-inside: avoid; }
}
