/* ----- EvenMonth Homepage — sales page additions on top of styles.css ----- */

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

/* Masthead bar at top — feels like a newspaper edition strip */
.edition-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  border-bottom: 1px solid var(--ink);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mid);
  background: var(--paper);
}

.edition-strip > * {
  display: inline-flex;
  gap: 18px;
}

/* Nav bar */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  border-bottom: 3px double var(--rule-double);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-logo {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 32px;
  letter-spacing: -0.01em;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mid);
  text-decoration: none;
  cursor: pointer;
}

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

/* Page container */
.page-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

/* Masthead — newspaper-style headline */
.masthead {
  padding: 56px 40px 48px;
  border-bottom: 1px solid var(--ink);
}

.masthead-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
  margin-bottom: 18px;
}

.masthead-eyebrow .dot-sep {
  display: inline-block;
  margin: 0 14px;
  opacity: 0.5;
}

.masthead-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(64px, 11vw, 152px);
  line-height: 0.92;
  letter-spacing: -0.018em;
  text-align: center;
  margin: 0;
  font-weight: 400;
}

.masthead-title em {
  font-style: italic;
  color: var(--hazel);
}

.masthead-deck {
  margin: 34px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-mid);
}

.masthead-deck strong {
  color: var(--ink);
  font-weight: 600;
}

.masthead-cta {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* Lede strip — the three numbers */
.lede {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 3px double var(--rule-double);
}

.lede-cell {
  padding: 36px 32px 40px;
  border-left: 1px solid var(--rule);
  position: relative;
}

.lede-cell:first-child {
  border-left: none;
}

.lede-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.lede-value {
  font-family: 'Instrument Serif', Georgia, serif;
  font-variant-numeric: tabular-nums lining-nums;
  font-size: 88px;
  line-height: 1;
  margin: 14px 0 6px;
  letter-spacing: -0.01em;
}

.lede-value .unit {
  font-size: 26px;
  color: var(--ink-mid);
  font-style: italic;
  margin-left: 6px;
}

.lede-explain {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.5;
  margin-top: 14px;
  max-width: 320px;
}

/* Section header — caps + double rule */
.section {
  padding: 80px 40px;
  border-bottom: 1px solid var(--rule);
}

.section.deep {
  background: var(--paper-2);
}

.section.dark {
  background: var(--paper-deep);
  color: var(--paper);
}

.section.dark .caps,
.section.dark .ink-mid {
  color: rgba(244, 239, 230, 0.7);
}

.section-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.section-eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule-strong);
}

.section-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  font-weight: 400;
  max-width: 14ch;
}

.section-title em {
  font-style: italic;
  color: var(--hazel);
}

.section-dek {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-mid);
  max-width: 56ch;
  margin: 0 0 36px;
}

/* Three-column op-ed grid */
.opcols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}

.opcol {
  padding: 24px 26px 28px;
  border-left: 1px solid var(--rule);
}

.opcol:first-child {
  border-left: none;
}

.opcol-num {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 22px;
  margin-bottom: 4px;
}

.opcol-h {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 28px;
  line-height: 1.05;
  margin: 0 0 12px;
  font-weight: 400;
}

.opcol-h em {
  font-style: italic;
  color: var(--hazel);
}

.opcol-body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-mid);
  margin: 0;
}

/* Pull-quote block */
.pullquote {
  margin: 56px auto;
  max-width: 900px;
  text-align: center;
  padding: 32px 24px;
  border-top: 3px double var(--rule-double);
  border-bottom: 3px double var(--rule-double);
}

.pullquote-text {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.18;
  margin: 0 0 14px;
  letter-spacing: -0.005em;
}

.pullquote-attr {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* CTA buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 2px;
  cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: background 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--hazel);
  border-color: var(--hazel);
}

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

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

.btn .arrow {
  width: 14px;
  height: 9px;
}

/* Dark variants */
.section.dark .btn-primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.section.dark .btn-primary:hover {
  background: var(--hazel);
  color: var(--paper);
  border-color: var(--hazel);
}

.section.dark .btn-ghost {
  border-color: var(--paper);
  color: var(--paper);
}

.section.dark .btn-ghost:hover {
  background: var(--paper);
  color: var(--ink);
}

/* Demo — Three things today */
.demo-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}

.demo-card {
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 24px 26px;
  box-shadow: 6px 6px 0 var(--rule);
}

.demo-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 3px double var(--rule-double);
  margin-bottom: 16px;
}

.demo-card-h {
  font-family: 'Instrument Serif', serif;
  font-size: 28px;
  margin: 0;
}

.demo-card-h em {
  font-style: italic;
  color: var(--hazel);
}

.demo-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
  transition: opacity 0.4s, transform 0.4s, max-height 0.4s;
  max-height: 200px;
  overflow: hidden;
}

.demo-item.removing {
  opacity: 0;
  transform: translateX(40px);
  max-height: 0;
  padding: 0;
  border-bottom-width: 0;
}

.demo-item-num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
  margin-right: 6px;
}

.demo-item-h {
  font-family: 'Newsreader', serif;
  font-size: 16px;
  line-height: 1.3;
  margin: 0 0 4px;
}

.demo-item-body {
  font-size: 13.5px;
  font-style: italic;
  color: var(--ink-mid);
  line-height: 1.5;
  margin: 4px 0 10px;
}

.demo-item-actions {
  display: flex;
  gap: 8px;
}

.mini-btn {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--ink);
  background: transparent;
  border-radius: 2px;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.12s, color 0.12s;
}

.mini-btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.mini-btn.primary {
  background: var(--ink);
  color: var(--paper);
}

.mini-btn.primary:hover {
  background: var(--hazel);
  border-color: var(--hazel);
}

.demo-empty {
  padding: 48px 24px;
  text-align: center;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 26px;
  color: var(--ink-soft);
  line-height: 1.3;
}

.demo-empty .small {
  display: block;
  margin-top: 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.demo-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-top: 18px;
}

.demo-reset:hover {
  color: var(--ink);
}

/* Hazel section voice table */
.voice-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.voice-cell {
  padding: 22px 24px;
  border-top: 1px solid var(--rule);
}

.voice-cell:nth-child(odd) {
  border-right: 1px solid var(--rule-strong);
}

.voice-cell:nth-child(1),
.voice-cell:nth-child(2) {
  border-top: none;
}

.voice-cell .voice-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.voice-cell.yes .voice-label {
  color: var(--good);
}

.voice-cell.no .voice-label {
  color: var(--trouble);
}

.voice-cell .voice-text {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 16.5px;
  line-height: 1.4;
  margin: 0;
}

.voice-cell.no .voice-text {
  color: var(--ink-soft);
  text-decoration: line-through;
  text-decoration-color: rgba(178, 59, 34, 0.55);
}

/* The Daily — digest mock */
.daily-mock {
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 32px 36px 36px;
  box-shadow: 8px 8px 0 var(--rule);
  max-width: 640px;
  margin: 0 auto;
}

.daily-mock-head {
  text-align: center;
  border-bottom: 3px double var(--rule-double);
  padding-bottom: 14px;
  margin-bottom: 22px;
}

.daily-mock-title {
  font-family: 'Instrument Serif', serif;
  font-size: 48px;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1;
}

.daily-mock-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 10px;
}

.daily-mock-lede {
  font-family: 'Newsreader', serif;
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 18px;
}

.daily-mock-lede::first-letter {
  font-family: 'Instrument Serif', serif;
  font-size: 3.6em;
  float: left;
  line-height: 0.85;
  padding: 4px 8px 0 0;
}

.daily-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin: 18px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.daily-stat {
  padding: 12px 14px;
  border-left: 1px solid var(--rule);
}

.daily-stat:first-child {
  border-left: none;
}

.daily-stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.daily-stat-value {
  font-family: 'Instrument Serif', serif;
  font-variant-numeric: tabular-nums lining-nums;
  font-size: 28px;
  line-height: 1.1;
  margin-top: 4px;
}

.daily-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.daily-tab {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--ink-mid);
  border-left: 1px solid var(--rule);
}

.daily-tab:first-child {
  border-left: none;
}

.daily-tab.active {
  background: var(--ink);
  color: var(--paper);
}

/* Five rules — op-ed columns */
.rules {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.rule-col {
  padding: 26px 22px 30px;
  border-left: 1px solid var(--rule);
}

.rule-col:first-child {
  border-left: none;
}

.rule-num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 36px;
  line-height: 1;
  color: var(--hazel);
  margin-bottom: 10px;
}

.rule-h {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  line-height: 1.1;
  margin: 0 0 10px;
  font-weight: 400;
}

.rule-body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-mid);
  margin: 0;
}

/* Personas — reader letters */
.letters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.letter {
  border: 1px solid var(--ink);
  padding: 26px 26px 28px;
  background: var(--paper);
  position: relative;
}

.letter-stamp {
  position: absolute;
  top: -1px;
  right: 18px;
  background: var(--ink);
  color: var(--paper);
  padding: 4px 10px 5px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.letter-name {
  font-family: 'Instrument Serif', serif;
  font-size: 24px;
  margin: 18px 0 4px;
}

.letter-bio {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.letter-quote {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 16px;
  letter-spacing: -0.005em;
}

.letter-answer {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-mid);
}

.letter-answer .caps-lbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hazel);
  display: block;
  margin-bottom: 4px;
}

/* Pricing strip */
.price-card {
  border: 1px solid var(--paper);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.price-h {
  font-family: 'Instrument Serif', serif;
  font-size: 56px;
  line-height: 1;
  margin: 0 0 12px;
}

.price-h em {
  font-style: italic;
  color: var(--hazel);
}

.price-dek {
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.8;
  margin: 0;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.price-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  font-size: 15px;
  line-height: 1.45;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(244, 239, 230, 0.15);
}

.price-list li:last-child {
  border-bottom: none;
}

.price-list .check {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--hazel);
  font-size: 20px;
  line-height: 1;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

.faq-item {
  border-top: 1px solid var(--rule-strong);
  padding: 20px 0;
}

.faq-q {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 8px;
}

.faq-q::before {
  content: 'Q. ';
  font-style: italic;
  color: var(--hazel);
}

.faq-a {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-mid);
  margin: 0;
}

.faq-a::before {
  content: 'A. ';
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-right: 6px;
  vertical-align: 1px;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 100px 40px 110px;
}

.final-cta-h {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.95;
  margin: 0 0 24px;
  letter-spacing: -0.015em;
}

.final-cta-h em {
  font-style: italic;
  color: var(--hazel);
}

.final-cta-dek {
  max-width: 580px;
  margin: 0 auto 36px;
  font-size: 18px;
  line-height: 1.5;
  opacity: 0.8;
}

/* Footer / colophon */
.colophon {
  padding: 40px 40px 36px;
  border-top: 3px double var(--rule-double);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 1.6;
}

.colophon-col-h {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}

.colophon a {
  color: var(--ink-mid);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  display: inline-block;
  margin-right: 14px;
}

.colophon a:hover {
  border-bottom-color: var(--ink);
  color: var(--ink);
}

.colophon-body {
  font-style: italic;
  font-size: 14px;
  line-height: 1.55;
}

.colophon-bottom {
  border-top: 1px solid var(--rule);
  margin-top: 28px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ============= Modern polish — additive ============= */

/* Sticky nav with glass blur when scrolled */
.nav.scrolled {
  background: rgba(244, 239, 230, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--rule-strong);
}

/* Scroll-reveal — subtle fade + lift */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Live ticker tape — single-line news strip */
.ticker {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  overflow: hidden;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mid);
  background: var(--paper);
  position: relative;
  white-space: nowrap;
}
.ticker-track {
  display: inline-block;
  padding-left: 100%;
  animation: ticker-scroll 60s linear infinite;
}
.ticker-track span {
  margin-right: 56px;
}
.ticker-track .sep {
  color: var(--hazel);
  margin: 0 28px;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Stats-grid — EvenMonth by the numbers */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.stat {
  padding: 28px 26px 30px;
  border-left: 1px solid var(--rule);
}
.stat:first-child { border-left: none; }
.stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.stat-value {
  font-family: 'Instrument Serif', serif;
  font-variant-numeric: tabular-nums lining-nums;
  font-size: 56px;
  line-height: 1;
  margin: 8px 0 6px;
  letter-spacing: -0.01em;
}
.stat-sub {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--ink-mid);
}

/* Trust strip — partner / press logos */
.trust {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background: var(--paper);
}
.trust-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  max-width: 200px;
  line-height: 1.4;
}
.trust-logos {
  display: flex;
  gap: 44px;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.trust-logo {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--ink-mid);
  letter-spacing: -0.005em;
  opacity: 0.7;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.trust-logo:hover { opacity: 1; }
.trust-logo.mono {
  font-family: 'IBM Plex Mono', monospace;
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Testimonials — newspaper quote columns */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.testimonial {
  padding: 28px 28px 30px;
  border-left: 1px solid var(--rule);
  position: relative;
}
.testimonial:first-child { border-left: none; }
.testimonial-mark {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 80px;
  line-height: 0.5;
  color: var(--hazel);
  position: absolute;
  top: 26px;
  left: 22px;
  opacity: 0.5;
}
.testimonial-quote {
  font-family: 'Newsreader', serif;
  font-size: 17px;
  line-height: 1.5;
  margin: 32px 0 18px;
  color: var(--ink);
  position: relative;
}
.testimonial-attr {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-attr-mark {
  width: 36px;
  height: 36px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  background: var(--paper-2);
  flex-shrink: 0;
}
.testimonial-attr-name {
  font-family: 'Instrument Serif', serif;
  font-size: 16px;
  line-height: 1.1;
}
.testimonial-attr-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* Comparison — "Table of contemporaries" */
.compare {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  border-top: 1px solid var(--rule);
}
.compare-row:first-child { border-top: none; }
.compare-row.head {
  background: var(--paper-2);
}
.compare-cell {
  padding: 18px 18px;
  border-left: 1px solid var(--rule);
  font-size: 14px;
  line-height: 1.45;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.compare-cell:first-child { border-left: none; }
.compare-cell.evenmonth {
  background: var(--paper);
  position: relative;
}
.compare-row.head .compare-cell.evenmonth {
  background: var(--ink);
  color: var(--paper);
}
.compare-cell.evenmonth::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--hazel);
}
.compare-criterion {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.3;
}
.compare-head-name {
  font-family: 'Instrument Serif', serif;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.005em;
}
.compare-head-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 5px;
}
.compare-row.head .compare-cell.evenmonth .compare-head-meta {
  color: rgba(244,239,230,0.65);
}
.compare-cell-text {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ink-mid);
}
.compare-cell.evenmonth .compare-cell-text {
  color: var(--ink);
  font-weight: 500;
}
.compare-cell-mark {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 18px;
  margin-bottom: 4px;
}
.compare-cell.yes .compare-cell-mark { color: var(--good); }
.compare-cell.no .compare-cell-mark { color: var(--trouble); opacity: 0.6; }
.compare-cell.partial .compare-cell-mark { color: var(--warn); }
.compare-cell.evenmonth .compare-cell-mark { color: var(--hazel); }

@media (max-width: 900px) {
  .compare-row {
    grid-template-columns: 1fr;
  }
  .compare-cell {
    border-left: none;
    border-top: 1px solid var(--rule);
  }
  .compare-cell:first-child { border-top: none; }
  .compare-cell.evenmonth::before { display: none; }
}

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 36px;
  border: 1px solid var(--paper);
  background: var(--paper-deep);
}
.tier {
  padding: 28px 28px 32px;
  border-left: 1px solid rgba(244, 239, 230, 0.15);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.tier:first-child { border-left: none; }
.tier.featured {
  background: var(--paper);
  color: var(--ink);
  margin: -8px 0;
  box-shadow: 0 12px 36px rgba(0,0,0,0.18);
  z-index: 2;
}
.tier-badge {
  position: absolute;
  top: -1px;
  right: 20px;
  background: var(--hazel);
  color: var(--paper);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 11px;
}
.tier-name {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hazel);
}
.tier-price {
  font-family: 'Instrument Serif', serif;
  font-variant-numeric: tabular-nums lining-nums;
  font-size: 52px;
  line-height: 1;
  margin: 6px 0;
}
.tier-price em {
  font-size: 16px;
  font-style: italic;
  color: var(--ink-mid);
  margin-left: 4px;
  letter-spacing: 0;
}
.tier.featured .tier-price em,
.tier .tier-price em {
  opacity: 0.75;
}
.tier-tag {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 6px;
  line-height: 1.4;
}
.tier-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.tier-list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.45;
}
.tier-list .check {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1;
  color: var(--hazel);
}
.tier-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border: 1px solid currentColor;
  border-radius: 2px;
  cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  margin-top: auto;
  transition: background 0.12s, color 0.12s;
}
.tier:not(.featured) .tier-cta {
  color: var(--paper);
  border-color: rgba(244,239,230,0.4);
}
.tier:not(.featured) .tier-cta:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.tier.featured .tier-cta {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.tier.featured .tier-cta:hover {
  background: var(--hazel);
  border-color: var(--hazel);
}

/* Email capture input */
.email-form {
  display: inline-flex;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 2px;
  max-width: 460px;
  width: 100%;
  margin-top: 6px;
  overflow: hidden;
}
.email-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 13px 16px;
  font-family: 'Newsreader', serif;
  font-size: 15.5px;
  color: var(--ink);
  background: transparent;
  min-width: 0;
}
.email-form input::placeholder {
  color: var(--ink-soft);
  font-style: italic;
}
.email-form button {
  border: none;
  background: var(--ink);
  color: var(--paper);
  padding: 13px 18px;
  cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.12s;
}
.email-form button:hover { background: var(--hazel); }
.email-form.dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(244,239,230,0.3);
}
.email-form.dark input { color: var(--paper); }
.email-form.dark input::placeholder { color: rgba(244,239,230,0.5); }
.email-form.dark button { background: var(--paper); color: var(--ink); }
.email-form.dark button:hover { background: var(--hazel); color: var(--paper); }

/* Floating CTA that appears after hero scroll */
.float-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--ink);
  color: var(--paper);
  padding: 14px 18px;
  border-radius: 2px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 32px rgba(28,24,20,0.25);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s, background 0.15s;
  pointer-events: none;
  z-index: 60;
}
.float-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.float-cta:hover { background: var(--hazel); }
.float-cta .hazel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hazel);
  box-shadow: 0 0 0 0 rgba(122,75,47,0.6);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(122,75,47,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(122,75,47,0); }
  100% { box-shadow: 0 0 0 0 rgba(122,75,47,0); }
}

/* Lede number — emphasize the animated count */
.lede-value.counting {
  font-variant-numeric: tabular-nums lining-nums;
}

/* Live "Hazel is writing" dot — for the daily mock */
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--good);
}
.live-dot::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 0 rgba(92,122,82,0.6);
  animation: pulse-good 2.4s infinite;
}
@keyframes pulse-good {
  0% { box-shadow: 0 0 0 0 rgba(92,122,82,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(92,122,82,0); }
  100% { box-shadow: 0 0 0 0 rgba(92,122,82,0); }
}

/* Subtle grain texture overlay — newspaper print feel */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Sticky section anchor — small TOC progress on the side */
.toc {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 40;
  opacity: 0;
  transition: opacity 0.4s;
}
.toc.visible { opacity: 1; }
.toc-dot {
  width: 26px;
  height: 1px;
  background: var(--rule-strong);
  cursor: pointer;
  position: relative;
  transition: width 0.2s, background 0.2s;
}
.toc-dot:hover { width: 38px; background: var(--ink); }
.toc-dot.active { width: 38px; background: var(--hazel); }
.toc-dot:hover .toc-label,
.toc-dot.active .toc-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.toc-label {
  position: absolute;
  left: 46px;
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mid);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .toc { display: none; }
}

/* Small */
@media (max-width: 900px) {
  .lede, .opcols, .rules, .letters, .faq-grid, .demo-wrap, .price-card,
  .stats, .testimonials, .tiers {
    grid-template-columns: 1fr;
  }
  .stat, .testimonial, .tier { border-left: none; border-top: 1px solid var(--rule); }
  .stat:first-child, .testimonial:first-child, .tier:first-child { border-top: none; }
  .tier.featured { margin: 0; }
  .lede-cell, .opcol, .rule-col {
    border-left: none;
    border-top: 1px solid var(--rule);
  }
  .lede-cell:first-child, .opcol:first-child, .rule-col:first-child {
    border-top: none;
  }
  .colophon { grid-template-columns: 1fr 1fr; }
}
