/* Hollerpost marketing site. One stylesheet, no build step.
   Brand tokens live here and only here. They mirror design-system/tokens/*.css;
   if a token changes there, change it here too. */

:root {
  /* SMS FLAG: the one switch for "rolling out" texting labels.
     While Telnyx toll-free verification is pending:
       --sms-rolling-out: inline;  --sms-live: none;
     When texts are live, swap the two values:
       --sms-rolling-out: none;    --sms-live: inline;          */
  --sms-rolling-out: inline;
  --sms-live: none;

  /* Palette (design-system/tokens/colors.css) */
  --cream-50: #FFFBF5;
  --cream-100: #FFF6EC;   /* page */
  --cream-200: #FBE8D3;   /* deep cream band */
  --line-cream: #E9D8C4;  /* hairlines on cream */
  --paper: #FFFFFF;
  --ink-900: #1C1512;     /* footer */
  --ink-800: #2B211B;     /* ink: text on cream 14.7:1 */
  --ink-500: #6B5A4E;     /* muted text on cream 6.1:1 */
  --orange-100: #FCE3D3;
  --orange-300: #F0894F;  /* links on ink 7.2:1 */
  --orange-500: #C2410C;  /* THE action color. White on it 5.18:1 */
  --orange-600: #9A3412;
  --green-500: #1F9D6B;   /* success fills/icons only */
  --green-700: #177A53;   /* success text on cream 4.98:1 */
  /* Nugget gold #D9963F is illustration only: it lives in the SVGs, never in CSS. */

  /* Semantic aliases */
  --surface-page: var(--cream-100);
  --surface-band: var(--cream-200);
  --text-body: var(--ink-800);
  --text-muted: var(--ink-500);
  --text-link: var(--orange-500);
  --border-strong: var(--ink-800);

  /* Type (design-system/tokens/typography.css) */
  --font-display: "Nunito", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing, radii, shadows (design-system/tokens/spacing.css) */
  --gutter: clamp(16px, 4vw, 32px);
  --radius-md: 12px;
  --radius-receipt: 14px;
  --radius-lg: 22px;
  --rule: 2px solid var(--ink-800);
  --shadow-sticker: 8px 8px 0 var(--orange-500);
  --shadow-sticker-sm: 5px 5px 0 var(--orange-500);
  --shadow-float: 0 18px 28px rgba(43, 33, 27, 0.16);
}

.sms-soon { display: var(--sms-rolling-out) !important; }
.sms-now { display: var(--sms-live) !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 7.2vw, 4.5rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.0; }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.6rem); font-weight: 900; }
h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--text-link); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; transition: color .15s ease; }
a:hover { color: var(--ink-800); }
:focus-visible { outline: 3px solid var(--ink-800); outline-offset: 3px; border-radius: 4px; }
strong { font-weight: 700; }

/* Standalone figures: Nunito with tabular numerals (Atkinson draws a slashed zero). */
.fig { font-family: var(--font-display); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: 40rem; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); line-height: 1.5; max-width: 36rem; }
.muted { color: var(--text-muted); }
.small { font-size: 0.92rem; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 20; background: var(--ink-800); color: var(--cream-100); padding: 10px 14px; border-radius: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Wordmark: Nugget's head + lowercase "hollerpost" */
.wordmark {
  display: inline-flex; align-items: center; gap: 0.28em;
  font-family: var(--font-display); font-weight: 900;
  font-size: 1.55rem; letter-spacing: -0.035em; line-height: 1;
  color: var(--ink-800); text-decoration: none; white-space: nowrap;
}
.wordmark img { width: auto; height: 1.45em; margin-top: -0.12em; flex: none; }
.wordmark:hover { color: var(--ink-800); }

/* Buttons: pills, orange at rest, solid ink on hover */
.btn {
  display: inline-block;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  line-height: 1.2; text-align: center; text-decoration: none;
  padding: 0.9em 1.35em; border-radius: 999px;
  background: var(--orange-500); color: #FFFFFF;
  border: 2px solid var(--orange-500);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--ink-800); border-color: var(--ink-800); color: var(--cream-100); }
.btn:active { transform: translateY(1px); }
.btn-line { background: transparent; color: var(--ink-800); border-color: var(--ink-800); }
.btn-line:hover { background: var(--ink-800); color: var(--cream-100); }
.btn-sm { font-size: 0.95rem; padding: 0.6em 1.05em; }
.fine { font-size: 0.95rem; color: var(--text-muted); margin-top: 0.8rem; }

/* Header: the 2px ink rule */
.site-header { border-bottom: var(--rule); background: var(--cream-100); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding-top: 14px; padding-bottom: 14px; }
.site-header .wordmark { font-size: 1.55rem; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; font-weight: 700; }
.site-nav a:not(.btn) { color: var(--ink-800); text-decoration: none; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange-500); text-decoration-thickness: 3px; }
@media (max-width: 560px) {
  .site-header .wordmark { font-size: 1.35rem; }
  .site-nav { order: 3; width: 100%; gap: 4px 16px; font-size: 0.95rem; }
  .site-nav .btn { display: none; }
}
.header-cta { display: none; }
@media (max-width: 560px) { .header-cta { display: inline-block; } }

/* Sections: flat bands only (cream, deep cream, ink) */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tight { padding: clamp(40px, 6vw, 64px) 0; }
.band-deep { background: var(--surface-band); }
.band-ink { background: var(--ink-800); color: var(--cream-100); }
.band-ink a:not(.btn) { color: var(--orange-300); }
.band-ink a:not(.btn):hover { color: var(--cream-100); }

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }
.hero .lead { margin: 1.1rem 0 1.8rem; }
.page-hero { padding: clamp(44px, 7vw, 80px) 0 clamp(28px, 4vw, 44px); }

/* Page heroes with Nugget beside the words */
.hero-with-art { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(20px, 5vw, 64px); align-items: end; }
.hero-art { width: clamp(120px, 20vw, 200px); height: auto; }
.hero-art.wide { width: clamp(170px, 28vw, 300px); }
@media (max-width: 640px) {
  .hero-with-art { grid-template-columns: 1fr; }
  .hero-with-art .hero-art { order: -1; width: 120px; }
  .hero-with-art .hero-art.wide { width: 180px; }
}

/* The receipt: the one loud thing on the home page. 1.6deg tilt, zigzag bottom, float shadow. */
.receipt-stage { position: relative; justify-self: center; width: 100%; max-width: 26rem; padding-bottom: 40px; }
.receipt-wrap { filter: drop-shadow(var(--shadow-float)); width: 100%; transform: rotate(1.6deg); }
.receipt {
  position: relative; margin: 0 0 14px;
  background: var(--paper); color: var(--ink-800);
  border-radius: var(--radius-receipt) var(--radius-receipt) 0 0;
}
.receipt::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 14px;
  background:
    linear-gradient(-45deg, transparent 7px, var(--paper) 0) 0 0 / 14px 14px repeat-x,
    linear-gradient(45deg, transparent 7px, var(--paper) 0) 0 0 / 14px 14px repeat-x;
}
.receipt-top {
  background: var(--orange-500); color: #FFFFFF; border-radius: var(--radius-receipt) var(--radius-receipt) 0 0;
  padding: 14px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-weight: 700; font-size: 0.95rem;
}
.receipt-top .wordmark { font-size: 1.2rem; color: var(--cream-100); }
.receipt-body { padding: 20px 22px 26px; }
.receipt-title { font-family: var(--font-display); font-weight: 900; font-size: 1.45rem; letter-spacing: -0.02em; margin: 0 0 12px; line-height: 1.15; }
.receipt table { width: 100%; border-collapse: collapse; }
.receipt th, .receipt td { padding: 11px 0; border-bottom: 2px dashed var(--line-cream); vertical-align: top; text-align: left; font-weight: 400; }
.receipt td { text-align: right; padding-left: 16px; white-space: nowrap; font-family: var(--font-display); font-weight: 800; font-variant-numeric: tabular-nums; }
.receipt .total th, .receipt .total td { border-bottom: 0; border-top: var(--rule); font-weight: 700; font-size: 1.1rem; padding-top: 14px; }
.receipt .total td { font-weight: 900; }
.receipt-note { font-size: 0.9rem; color: var(--text-muted); margin: 14px 0 0; }
/* Nugget staring over the receipt's corner */
.receipt-nugget { position: absolute; right: -28px; bottom: -30px; width: 118px; height: auto; }
@media (max-width: 480px) { .receipt-nugget { right: -6px; bottom: -34px; width: 96px; } }

/* Proofs: three columns divided by 2px ink rules */
.proofs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: var(--rule); }
.proof { padding: 28px 28px 8px 0; }
.proof + .proof { padding-left: 28px; border-left: var(--rule); }
@media (max-width: 820px) {
  .proofs { grid-template-columns: 1fr; }
  .proof, .proof + .proof { padding: 24px 0 8px; border-left: 0; }
  .proof + .proof { border-top: var(--rule); }
}
.proof h3 { font-size: 1.45rem; }

/* Tables: ink rule under the head, cream hairlines between rows */
.table-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1rem; border-radius: var(--radius-md); }
.data {
  width: 100%; border-collapse: collapse; background: var(--paper); color: var(--ink-800);
  font-variant-numeric: tabular-nums; font-size: 1rem;
}
.data caption { text-align: left; font-weight: 700; padding: 0 0 10px; }
.data th, .data td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line-cream); vertical-align: top; }
.data thead th { font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; border-bottom: var(--rule); background: var(--paper); }
.data tbody tr:last-child th, .data tbody tr:last-child td { border-bottom: 0; }
.data .num { text-align: right; white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; }
.data thead .num { font-weight: 800; }
.data .num .muted { font-family: var(--font-body); }
.data .us { font-weight: 900; }
.data .save { color: var(--green-700); font-weight: 800; white-space: nowrap; }
.data tbody th { font-family: var(--font-display); font-weight: 800; font-variant-numeric: tabular-nums; }
.table-frame { position: relative; border: var(--rule); border-radius: var(--radius-md); overflow: hidden; background: var(--paper); }
.table-frame .table-scroll { margin: 0; border-radius: 0; }
@media (max-width: 480px) {
  .data { font-size: 0.92rem; }
  .data th, .data td { padding: 10px 9px; }
}
.source { font-size: 0.92rem; margin-top: 12px; }

/* The sticker: 8px hard orange offset. ONE per view, on the most important card. */
.sticker { box-shadow: var(--shadow-sticker); }
.table-frame.sticker { overflow: visible; }
.table-frame.sticker .table-scroll { border-radius: 10px; }
@media (max-width: 480px) { .sticker { box-shadow: var(--shadow-sticker-sm); } }

/* Steps: a real sequence, so numbers (ink discs, Nunito figures) */
.steps { list-style: none; padding: 0; margin: 2rem 0 0; counter-reset: step; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; position: relative; padding-left: 3.4rem; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -0.1rem;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--ink-800); color: var(--cream-100);
  font-family: var(--font-display); font-weight: 900; font-size: 1.25rem; font-variant-numeric: tabular-nums;
  display: grid; place-items: center;
}
.steps h3 { margin-bottom: 0.3em; }
.steps p { margin: 0; }

/* Josh */
.josh { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 820px) { .josh { grid-template-columns: 1fr; } }
.josh h2 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin: 0; }
.josh p { font-size: 1.15rem; max-width: 36rem; }

/* FAQ: ink rules between questions */
.faq { max-width: 46rem; border-top: var(--rule); }
.faq details { border-bottom: var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 44px 18px 0; position: relative;
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 1.7rem; height: 1.7rem; border-radius: 50%; border: var(--rule); color: var(--ink-800);
  display: grid; place-items: center; font-weight: 900; line-height: 1;
  transition: background-color .15s ease, color .15s ease;
}
.faq summary:hover::after { background: var(--ink-800); color: var(--cream-100); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 20px; max-width: 40rem; }

/* CTA block */
.cta-block { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.cta-block h2 { margin: 0; max-width: 32rem; }

/* Pricing */
.plans {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: var(--rule); border-radius: var(--radius-lg); background: var(--paper);
}
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
.plan { padding: 28px 26px 30px; display: flex; flex-direction: column; }
.plan + .plan { border-left: var(--rule); }
@media (max-width: 860px) { .plan + .plan { border-left: 0; border-top: var(--rule); } }
.plan h3 { font-size: 1.6rem; margin-bottom: 0.15em; }
.plan .for { color: var(--text-muted); margin: 0 0 18px; min-height: 3.2em; }
@media (max-width: 860px) { .plan .for { min-height: 0; } }
.price { font-family: var(--font-display); font-variant-numeric: tabular-nums; margin: 0; line-height: 1; display: flex; align-items: baseline; gap: 4px; }
.price .amt { font-size: 3.4rem; font-weight: 900; letter-spacing: -0.04em; }
.price .per { font-size: 1.15rem; font-weight: 800; }
.yearly { margin: 8px 0 20px; color: var(--text-muted); font-size: 0.97rem; }
.yearly strong { color: var(--ink-800); }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.plan li { padding: 7px 0 7px 1.6rem; position: relative; border-top: 1px solid var(--line-cream); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 0.95em; width: 0.7rem; height: 0.38rem; border-left: 3px solid var(--green-500); border-bottom: 3px solid var(--green-500); transform: rotate(-45deg); }
.plan .btn { align-self: stretch; }

.pricing-nugget { width: clamp(120px, 16vw, 170px); height: auto; }

.badge {
  display: inline-block; font-family: var(--font-body); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.01em;
  background: var(--orange-100); color: var(--ink-800); padding: 2px 9px; border-radius: 999px; vertical-align: 0.12em; margin-left: 4px; white-space: nowrap;
}
.badge.sms-soon { display: var(--sms-rolling-out) !important; }

.included { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 8px 40px; list-style: none; padding: 0; margin: 1rem 0 0; }
.included li { padding: 10px 0; border-top: var(--rule); }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

/* Cards: white, 2px ink border, 22px corners, no shadow unless it's the sticker */
.card {
  background: var(--paper); border: var(--rule); border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 28px);
}
.open-book { padding: clamp(22px, 4vw, 40px); }
.open-book .data { background: transparent; }
.open-book .data tbody tr.minor th, .open-book .data tbody tr.minor td { color: var(--text-muted); font-size: 0.95em; }
.card > :last-child { margin-bottom: 0; }

/* Comparison lists on /vs */
.honest { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: var(--rule); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); }
@media (max-width: 760px) { .honest { grid-template-columns: 1fr; } }
.honest > div { padding: 26px; }
.honest > div + div { border-left: var(--rule); }
@media (max-width: 760px) { .honest > div + div { border-left: 0; border-top: var(--rule); } }
.honest ul { margin: 0; padding-left: 1.2rem; }
.honest li { margin: 0 0 0.6em; }

/* Legal pages */
.legal { max-width: 44rem; }
.legal h2 { font-size: 1.45rem; margin-top: 2.2rem; }
.legal ul { padding-left: 1.3rem; }
.legal li { margin-bottom: 0.5em; }
.legal .caps { font-size: 0.95rem; }

/* Footer: ink-900 */
.site-footer { background: var(--ink-900); color: var(--cream-100); padding: 56px 0 40px; }
.site-footer .wordmark { color: var(--cream-100); font-size: 1.5rem; }
.site-footer a { color: var(--cream-100); }
.site-footer a:hover { color: var(--orange-300); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.site-footer .legal-line { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 246, 236, 0.25); font-size: 0.95rem; }

/* 404 */
.lost { min-height: 50vh; display: flex; align-items: center; }
.lost .hero-with-art { align-items: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header nav, .btn { display: none; }
  body { background: #fff; }
  .sticker { box-shadow: none; }
}

/* Small utilities (no inline styles, so the CSP can stay strict) */
.pt-0 { padding-top: 0; }
.mt-14 { margin-top: 14px; }
.mt-20 { margin-top: 20px; }
.mt-22 { margin-top: 22px; }
.mt-44 { margin-top: 44px; }
.mb-0 { margin-bottom: 0; }
.mb-28 { margin-bottom: 28px; }
.fw-normal { font-weight: 400; }
.prose-wide { max-width: 44rem; }
.h2-sm { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
.footer-blurb { margin-top: 14px; max-width: 26rem; }
