/* ============================================================
   PressLifters — Editorial Wire Design System
   Newsroom aesthetic: ivory paper, warm ink, editorial crimson.
   Fraunces display serif · Newsreader body serif · Courier Prime
   for wire/teletype labels. Hairline rules instead of shadows.
   ============================================================ */

:root {
  --paper: #F7F3EA;       /* ivory page */
  --paper2: #EFE9DB;      /* deeper cream band */
  --sheet: #FCFAF4;       /* card sheets */
  --ink: #191612;         /* warm near-black */
  --ink2: #2E2A23;        /* soft ink panels */
  --text: #26221B;        /* body ink */
  --muted: #6B6354;       /* muted stone */
  --dim: #9C937F;         /* faint */
  --hairline: #DCD3BF;    /* warm rule */
  --hairline-dark: #B9AE95;
  --crimson: #B3231B;     /* editorial red */
  --crimson-deep: #8C1B14;
  --brass: #8E6F2F;       /* premium/brass accent */
  --wire-green: #2F6B44;  /* "on the wire" confirmations */
  --on-ink: #F3EDDF;      /* text on dark anchors */
  --on-ink-muted: #A79E8B;

  --shadow-sheet: 0 1px 2px rgba(25, 22, 18, .06), 0 10px 30px rgba(25, 22, 18, .07);
  --shadow-lift: 0 2px 4px rgba(25, 22, 18, .08), 0 18px 44px rgba(25, 22, 18, .12);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Newsreader", Georgia, serif;
  --font-mono: "Courier Prime", "Courier New", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

/* Anchor targets land below the sticky masthead */
[id] { scroll-margin-top: 130px; }

body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Subtle print-paper grain over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--crimson); color: #FFF6EE; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 2; }

main { position: relative; z-index: 2; }

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.h1 { font-size: clamp(42px, 5.4vw, 74px); line-height: 1.04; font-weight: 640; }
.h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; }
.h3 { font-size: 21px; line-height: 1.3; font-weight: 600; }

.h1 em, .h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--crimson);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--crimson);
}
.kicker--ink { color: var(--muted); }
.kicker .tick { color: var(--hairline-dark); font-weight: 400; }

.lead {
  font-size: 20px;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 400;
}

.mono { font-family: var(--font-mono); }
.body-muted { color: var(--muted); }

/* Marker underline — crimson hand-drawn stroke under key words */
.uline {
  position: relative;
  white-space: nowrap;
}
.uline svg {
  position: absolute;
  left: -2%;
  bottom: -0.12em;
  width: 104%;
  height: 0.34em;
  overflow: visible;
  pointer-events: none;
}
.uline svg path {
  fill: none;
  stroke: var(--crimson);
  stroke-width: 5;
  stroke-linecap: round;
  opacity: .85;
}

/* Drop cap for editorial paragraphs */
.dropcap::first-letter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.3em;
  line-height: 0.82;
  float: left;
  padding: 0.08em 0.14em 0 0;
  color: var(--crimson);
}

/* ---------- Rules (the newspaper kind) ---------- */
.rule-double {
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  height: 6px;
}
.rule-thin { border-top: 1px solid var(--hairline-dark); }
.rule-x { transform-origin: left center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 26px;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: background .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease;
  position: relative;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-ink {
  background: var(--ink);
  color: var(--on-ink);
}
.btn-ink:hover { background: var(--crimson); border-color: var(--crimson); color: #FFF6EE; box-shadow: var(--shadow-lift); }

.btn-ghost:hover { background: var(--ink); color: var(--on-ink); }

.btn-crimson {
  background: var(--crimson);
  border-color: var(--crimson);
  color: #FFF6EE;
}
.btn-crimson:hover { background: var(--crimson-deep); border-color: var(--crimson-deep); box-shadow: var(--shadow-lift); }

.btn-sm { padding: 10px 18px; font-size: 12px; }

.btn-paper {
  background: var(--sheet);
  border-color: var(--on-ink);
  color: var(--ink);
  border-color: transparent;
}
.btn-paper:hover { background: #fff; box-shadow: var(--shadow-lift); }

/* Arrow link */
.arrow-link {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--crimson);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.arrow-link:hover { border-color: var(--crimson); }

/* ---------- Topbar (dateline strip) ---------- */
.topbar {
  background: var(--ink);
  color: var(--on-ink-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  z-index: 60;
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 40px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.topbar b { color: var(--on-ink); font-weight: 700; }
.topbar .live-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--wire-green);
  margin-right: 7px;
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

/* ---------- Nav (masthead) ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 234, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow .3s ease, background .3s ease;
}
.nav::after {
  /* masthead double rule */
  content: "";
  display: block;
  height: 3px;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin: 0 auto;
  max-width: 1200px;
  width: calc(100% - 80px);
  transition: opacity .3s ease;
}
.nav.scrolled { box-shadow: 0 12px 30px rgba(25, 22, 18, .08); background: rgba(247, 243, 234, .97); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 40px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.logo .pilcrow {
  color: var(--crimson);
  font-weight: 700;
  font-size: 24px;
  transform: translateY(-1px);
}
.logo b { font-weight: 400; font-style: italic; }

.nav-right { display: flex; align-items: center; gap: 26px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-links a { color: var(--text); padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav-links a:hover { color: var(--crimson); border-color: var(--crimson); }
.nav-links .caret { font-size: 9px; color: var(--dim); margin-left: 3px; }

/* Dropdown */
.nav-item { position: relative; }
.nav-item .dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: -20px;
  background: var(--sheet);
  border: 1px solid var(--hairline-dark);
  border-top: 3px solid var(--ink);
  box-shadow: var(--shadow-lift);
  padding: 22px 26px;
  display: flex;
  gap: 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  min-width: 480px;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-col { display: flex; flex-direction: column; gap: 2px; min-width: 190px; }
.dropdown-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--crimson);
  margin-bottom: 10px;
}
.dropdown-col a {
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
  padding: 7px 0;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  gap: 18px;
}
.dropdown-col a:last-child { border-bottom: none; }
.dropdown-col a b { font-family: var(--font-mono); font-size: 13px; color: var(--muted); font-weight: 700; }
.dropdown-col a:hover { color: var(--crimson); }
.dropdown-col a:hover b { color: var(--crimson); }

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .25s ease;
}
.nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 96px;
  overflow: clip;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr;
  gap: 72px;
  align-items: center;
}
.hero-copy .kicker { margin-bottom: 22px; }
.hero-copy .h1 { margin-bottom: 24px; }
.hero-copy .lead { margin-bottom: 34px; max-width: 54ch; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.trust-line {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--dim);
  text-transform: uppercase;
}

/* Headline line reveal (each .line clips its inner) */
.line { display: block; overflow: hidden; }
.line-inner { display: block; }

/* Giant ghost masthead letters behind hero */
.hero-ghost {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(120px, 22vw, 300px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(25, 22, 18, .07);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ---------- Release sheet (the press-release document card) ---------- */
.release-sheet {
  position: relative;
  background: var(--sheet);
  border: 1px solid var(--hairline-dark);
  box-shadow: var(--shadow-sheet);
  padding: 34px 36px 30px;
  font-size: 14px;
  transform: rotate(0.6deg);
}
.release-sheet::before {
  /* second sheet peeking behind */
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper2);
  border: 1px solid var(--hairline);
  transform: rotate(-2.2deg) translate(-8px, 8px);
  z-index: -1;
}
.sheet-letterhead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 16px;
}
.sheet-letterhead b { color: var(--crimson); font-weight: 700; }
.sheet-headline {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.25;
  font-weight: 640;
  color: var(--ink);
  margin-bottom: 12px;
  min-height: 2.5em;
}
.sheet-headline .caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--crimson);
  vertical-align: -0.12em;
  margin-left: 2px;
  animation: blink 0.9s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.sheet-dateline {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}
.sheet-dateline b { color: var(--ink); font-weight: 700; }
.sheet-line {
  height: 8px;
  background: var(--hairline);
  margin-bottom: 9px;
  transform-origin: left center;
}
.sheet-line.short { width: 62%; }
.sheet-endmark {
  font-family: var(--font-mono);
  text-align: center;
  letter-spacing: 0.5em;
  color: var(--dim);
  margin-top: 18px;
  font-size: 13px;
}
.sheet-foot {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  border-top: 1px solid var(--hairline);
  padding-top: 12px;
  margin-top: 16px;
}
.sheet-foot .ok { color: var(--wire-green); font-weight: 700; }

/* Stamp */
.stamp {
  position: absolute;
  top: 20px;
  right: -14px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--crimson);
  border: 2.5px solid var(--crimson);
  padding: 7px 13px;
  transform: rotate(8deg);
  background: rgba(252, 250, 244, .8);
  box-shadow: 0 2px 8px rgba(140, 27, 20, .12);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='2'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='0 .3 .6 1 1 1 1 1 1 1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='120' height='60' filter='url(%23r)'/%3E%3C/svg%3E");
  mask-size: cover;
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--ink);
  color: var(--on-ink);
  overflow: hidden;
  padding: 13px 0;
  position: relative;
  z-index: 2;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 36s linear infinite;
  width: max-content;
}
.ticker-track span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-right: 24px;
}
.ticker-track b { color: var(--crimson); font-weight: 400; padding: 0 6px; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Outlet strip (as seen on) ---------- */
.outlets {
  padding: 44px 0 10px;
}
.outlets-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 26px;
}
.outlets-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 18px 44px;
}
.outlet {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  opacity: .55;
  transition: opacity .25s ease;
  white-space: nowrap;
}
.outlet:hover { opacity: 1; }
.outlet--serif-caps { text-transform: uppercase; letter-spacing: 0.08em; font-size: 16px; }
.outlet--mono { font-family: var(--font-mono); font-weight: 700; font-size: 15px; letter-spacing: 0.06em; }
.outlet--italic { font-style: italic; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section--band { background: var(--paper2); }
.section--ink {
  background: var(--ink);
  color: var(--on-ink);
}
.section--ink .h2, .section--ink .h3 { color: var(--on-ink); }
.section--ink .lead, .section--ink .body-muted { color: var(--on-ink-muted); }
.section--tight { padding: 72px 0; }

.section-head { max-width: 760px; margin-bottom: 58px; }
.section-head .kicker { margin-bottom: 16px; }
.section-head .h2 { margin-bottom: 18px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }

/* ---------- Columned grids with newspaper column rules ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px; }

.col-ruled > * {
  padding: 6px 34px;
  border-left: 1px solid var(--hairline-dark);
}
.col-ruled > *:first-child { padding-left: 0; border-left: none; }
.col-ruled > *:last-child { padding-right: 0; }

.col-item .col-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--crimson);
  display: block;
  margin-bottom: 14px;
}
.col-item .h3 { margin-bottom: 12px; }
.col-item p { font-size: 15.5px; color: var(--muted); line-height: 1.68; }

/* ---------- Paper cards ---------- */
.card {
  display: block;
  background: var(--sheet);
  border: 1px solid var(--hairline-dark);
  padding: 34px 32px;
  box-shadow: var(--shadow-sheet);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
}
.card:hover { transform: translateY(-6px) rotate(-0.4deg); box-shadow: var(--shadow-lift); }
.card .kicker { margin-bottom: 14px; }
.card .h3 { margin-bottom: 12px; }
.card p { font-size: 15.5px; color: var(--muted); line-height: 1.68; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

/* Clipping / index-card corner fold */
.card--fold::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  border-style: solid;
  border-width: 0 26px 26px 0;
  border-color: transparent var(--paper2) transparent transparent;
  filter: drop-shadow(-2px 2px 2px rgba(25,22,18,.08));
}

/* ---------- Pull quote ---------- */
.pullquote {
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 40px 8px;
  margin: 24px 0;
  position: relative;
  text-align: center;
}
.pullquote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.35;
  color: var(--ink);
  max-width: 21em;
  margin: 0 auto;
}
.pullquote blockquote::before {
  content: "“";
  display: block;
  font-size: 2.2em;
  line-height: 0.6;
  color: var(--crimson);
  margin-bottom: 14px;
  font-style: normal;
}
.pullquote cite {
  display: block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Stats ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  text-align: center;
  padding: 10px 20px;
  border-left: 1px solid var(--hairline-dark);
}
.stat:first-child { border-left: none; }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.4vw, 60px);
  font-weight: 640;
  color: var(--ink);
  line-height: 1;
}
.stat .num .aff { color: var(--crimson); font-weight: 500; }
.stat .lbl {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.section--ink .stat .num { color: var(--on-ink); }
.section--ink .stat { border-color: rgba(243, 237, 223, .18); }
.section--ink .stat .lbl { color: var(--on-ink-muted); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { position: relative; padding-top: 24px; }
.step-rule {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--ink);
  transform-origin: left center;
}
.step .step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--crimson);
  display: block;
  margin-bottom: 12px;
}
.step .h3 { margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--muted); line-height: 1.66; }
.step .step-day {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  border: 1px solid var(--hairline-dark);
  padding: 4px 10px;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  background: var(--sheet);
  border: 1px solid var(--hairline-dark);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sheet);
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.price-card .tier {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.price-card .price {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 640;
  color: var(--ink);
  line-height: 1;
}
.price-card .price .per {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--dim);
  margin-left: 6px;
}
.price-card .tagline {
  font-size: 15px;
  color: var(--muted);
  margin: 14px 0 20px;
  line-height: 1.55;
  min-height: 2.8em;
}
.price-card .feat {
  border-top: 1px solid var(--hairline);
  padding: 18px 0;
  flex: 1;
}
.price-card .feat li {
  font-size: 14.5px;
  color: var(--text);
  padding: 5.5px 0 5.5px 24px;
  position: relative;
  line-height: 1.5;
}
.price-card .feat li::before {
  content: "¶";
  position: absolute;
  left: 0;
  color: var(--crimson);
  font-weight: 700;
  font-family: var(--font-display);
}
.price-card .feat li.dim { color: var(--dim); }
.price-card .feat li.dim::before { content: "—"; color: var(--dim); }
.price-card .btn { width: 100%; }

/* Featured card — "front page" ink treatment */
.price-card--featured {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
  transform: scale(1.03);
}
.price-card--featured:hover { transform: scale(1.03) translateY(-8px); }
.price-card--featured .tier { color: var(--on-ink-muted); }
.price-card--featured .price { color: var(--on-ink); }
.price-card--featured .tagline { color: var(--on-ink-muted); }
.price-card--featured .feat { border-color: rgba(243, 237, 223, .18); }
.price-card--featured .feat li { color: var(--on-ink); }
.price-card--featured .feat li.dim { color: var(--on-ink-muted); opacity: .7; }
.price-card--featured .btn { border-color: var(--crimson); }

/* Newspaper section flag on featured tier */
.flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--crimson);
  color: #FFF6EE;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 14px;
  white-space: nowrap;
}
.flag--brass { background: var(--brass); }

.price-note {
  text-align: center;
  margin-top: 34px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- Compare table ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--hairline-dark); background: var(--sheet); box-shadow: var(--shadow-sheet); }
.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
  font-size: 14.5px;
}
.compare th, .compare td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--hairline);
  text-align: center;
}
.compare th:first-child, .compare td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text);
}
.compare thead th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid var(--ink);
  padding-top: 20px;
}
.compare thead th.feat-col { color: var(--crimson); }
.compare td .yes { color: var(--wire-green); font-weight: 700; }
.compare td .no { color: var(--dim); }
.compare tbody tr:hover { background: var(--paper2); }
.compare .row-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--crimson);
  background: var(--paper2);
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--hairline-dark); }
.faq-item:first-child { border-top: 3px solid var(--ink); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
}
.faq-q .faq-ic {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--crimson);
  transition: transform .3s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-q .faq-ic { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.faq-a p {
  padding: 0 4px 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 62ch;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--on-ink);
  text-align: center;
  padding: 96px 0;
  position: relative;
  overflow: clip;
}
.cta-band .h2 { color: var(--on-ink); margin-bottom: 18px; }
.cta-band .lead { color: var(--on-ink-muted); max-width: 46ch; margin: 0 auto 36px; }
.cta-band .kicker { justify-content: center; margin-bottom: 18px; }
.cta-ghost {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(100px, 18vw, 240px);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 237, 223, .08);
  white-space: nowrap;
  pointer-events: none;
}

/* ---------- Article / legal prose ---------- */
.prose { max-width: 720px; margin: 0 auto; }
.prose h1 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 14px; }
.prose h2 { font-size: 26px; margin: 42px 0 14px; }
.prose h3 { font-size: 20px; margin: 30px 0 10px; font-family: var(--font-display); }
.prose p { margin-bottom: 16px; color: var(--text); }
.prose ul { margin: 0 0 16px 20px; list-style: square; }
.prose ul li { margin-bottom: 8px; color: var(--text); }
.prose ul li::marker { color: var(--crimson); }
.prose .updated {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 34px;
  display: block;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 76px 0 60px;
  position: relative;
  overflow: clip;
}
.page-hero .kicker { margin-bottom: 18px; }
.page-hero .h1 { font-size: clamp(38px, 4.6vw, 62px); margin-bottom: 20px; }
.page-hero .lead { max-width: 60ch; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 0.85fr; gap: 60px; align-items: start; }
.contact-form { background: var(--sheet); border: 1px solid var(--hairline-dark); border-top: 3px solid var(--ink); padding: 38px 36px; box-shadow: var(--shadow-sheet); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-grid > * { min-width: 0; }
.contact-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--hairline-dark);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--text);
  transition: border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--crimson);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13.5px; color: var(--dim); margin-top: 14px; font-style: italic; }

.contact-aside .card { margin-bottom: 20px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--on-ink-muted);
  padding: 72px 0 36px;
  position: relative;
  z-index: 2;
}
.footer a:hover { color: var(--on-ink); }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(243, 237, 223, .16);
}
.footer .logo { color: var(--on-ink); font-size: 24px; margin-bottom: 14px; display: inline-flex; }
.footer-desc { font-size: 14.5px; line-height: 1.7; max-width: 34ch; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-ink);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}
.footer-bottom .colophon { font-style: normal; color: rgba(167, 158, 139, .75); }

/* ---------- 404 ---------- */
.err-hero { text-align: center; padding: 120px 0 140px; }
.err-hero .err-code {
  font-family: var(--font-display);
  font-size: clamp(110px, 18vw, 220px);
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}
.err-hero .err-code em { color: var(--crimson); font-style: italic; font-weight: 500; }

/* ---------- Reveal defaults (JS sets opacity) ---------- */
[data-reveal] { will-change: transform, opacity; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { gap: 48px; }
  .col-ruled > * { padding: 6px 22px; }
}

/* Longer wordmark: compress the masthead row before the burger kicks in */
@media (min-width: 961px) and (max-width: 1120px) {
  .logo { font-size: 21px; gap: 8px; }
  .logo .pilcrow { font-size: 19px; }
  .nav-links { gap: 16px; }
  .nav-right { gap: 16px; }
  .nav-links a { letter-spacing: 0.06em; }
}

@media (max-width: 960px) {
  .container { padding: 0 28px; }
  .nav::after { width: calc(100% - 56px); }
  .nav-inner { padding: 14px 28px 10px; }
  .topbar-inner { padding: 8px 28px; }
  .topbar .topbar-right { display: none; }

  .hero { padding: 60px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .release-sheet { max-width: 480px; }

  .grid-3, .grid-4, .card-grid, .steps, .stats-row, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid, .steps, .pricing-grid { gap: 20px; }
  .grid-3, .grid-4 { gap: 20px; }
  .col-ruled > * { border-left: none; padding: 6px 0; }
  .stats-row { gap: 28px 0; }
  .stat:nth-child(odd) { border-left: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; }

  .price-card--featured { transform: none; }
  .price-card--featured:hover { transform: translateY(-8px); }

  /* Burger nav */
  .nav-burger { display: flex; }
  .nav-right {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--hairline-dark);
    box-shadow: 0 24px 40px rgba(25, 22, 18, .12);
    padding: 10px 28px 26px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav.open .nav-right { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links > a, .nav-item > a {
    display: block;
    padding: 13px 2px;
    border-bottom: 1px solid var(--hairline);
  }
  .nav-item .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: none;
    background: transparent;
    min-width: 0;
    padding: 4px 0 10px 14px;
    flex-direction: column;
    gap: 14px;
  }
  .nav-right .btn { margin-top: 18px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav::after { width: calc(100% - 40px); }
  .nav-inner { padding: 12px 20px 9px; }
  .topbar-inner { padding: 7px 20px; justify-content: center; }
  .section { padding: 64px 0; }
  .section--tight { padding: 52px 0; }
  .hero { padding: 44px 0 56px; }
  .lead { font-size: 18px; }
  .hero-ctas .btn { width: 100%; }

  .grid-3, .grid-4, .card-grid, .card-grid-2, .steps, .pricing-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 30px 0; }
  .release-sheet { padding: 26px 22px 24px; }
  .stamp { right: -6px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .pullquote blockquote { font-size: 21px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .topbar .live-dot { animation: none; }
  .sheet-headline .caret { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
