:root {
  --bg: #f8f5ee;
  --surface: #ffffff;
  --surface-alt: #f3eee3;
  --surface-tint: #f1ede4;
  --surface-warm: #f5efe4;
  --ink: #171717;
  --ink-soft: #3d3a35;
  --muted: #6c675e;
  --line: #dcd5c8;
  --line-strong: #171717;
  --forest: #194030;
  --forest-dark: #102a1f;
  --forest-soft: #e7f0ea;
  --forest-line: #b4cbbd;
  --clay: #9e3922;
  --clay-soft: #f9ece8;
  --amber-soft: #f8f2e6;
  --amber-line: #ccb089;
  --amber-ink: #5e3c11;
  --radius: 3px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --shadow-soft: none;
  --shadow-card: 0 1px 2px rgba(23, 23, 23, 0.04), 0 6px 18px rgba(23, 23, 23, 0.035);
  --shadow-lift: 0 4px 12px rgba(23, 23, 23, 0.07), 0 14px 26px rgba(23, 23, 23, 0.055);
  --shadow-hover: 0 4px 12px rgba(23, 23, 23, 0.08);
  --max-width: 1220px;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.62;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--forest-soft);
  color: var(--forest-dark);
}

h1, h2, h3, .brand-wordmark {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  letter-spacing: -0.018em;
  line-height: 1.14;
  margin: 0 0 0.65rem;
  color: var(--ink);
}

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

a {
  color: var(--forest);
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Header & Masthead */
.site-header {
  background: rgba(248, 245, 238, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1.5px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 30;
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 18px rgba(23, 23, 23, 0.08);
}

.utility-bar {
  background: var(--surface-tint);
  border-bottom: 1px solid var(--line);
}

.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.34rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.utility-edition {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.utility-links {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  flex-shrink: 0;
}

.utility-link {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.utility-link:hover,
.utility-link.is-active {
  color: var(--clay);
  text-decoration: underline;
}

.read-progress-track {
  height: 2px;
  width: 100%;
  background: transparent;
}

.read-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--clay);
  transition: width 0.1s ease-out;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 1.5rem;
  flex-wrap: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-seal {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--forest);
  border-radius: 3px;
  background: var(--forest);
  color: #f8f5ee;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 0.96rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.brand:hover .brand-seal {
  background: var(--forest-dark);
  border-color: var(--forest-dark);
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-wordmark {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.brand-tagline {
  font-size: 0.73rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 0.08rem;
}

.header-controls {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.42rem 0.78rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: nowrap;
}

.nav-link {
  padding: 0.36rem 0.54rem;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-link--utility {
  display: none;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
  border-bottom-color: var(--clay);
}

.nav-cta {
  padding: 0.44rem 0.92rem;
  border-radius: var(--radius-sm);
  background: var(--forest);
  color: #fff;
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.nav-cta--desktop {
  margin-left: 0.5rem;
}

.nav-cta--mobile {
  display: none;
}

.nav-cta:hover {
  background: var(--forest-dark);
}

.page-main {
  padding-top: 2.25rem;
  padding-bottom: 4.5rem;
}

.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.5rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0;
}

/* Editorial Hero */
.hero-editorial {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 2.75rem;
  align-items: stretch;
  padding-bottom: 2.4rem;
  border-bottom: 3px double var(--ink);
  margin-bottom: 2.15rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-editorial h1 {
  font-size: clamp(2.35rem, 4.1vw, 3.45rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.07;
  margin-bottom: 1rem;
}

.hero-editorial h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--forest);
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.45rem;
}

.hero-checks {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.35rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.hero-checks span::before {
  content: "—";
  color: var(--clay);
  font-weight: 700;
  margin-right: 0.35rem;
}

.hero-ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 1.2rem 0 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid var(--line);
  gap: 0.75rem;
}

.hero-ledger div {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.08rem;
}

.hero-ledger div + div {
  padding-left: 0.85rem;
  border-left: 1px solid var(--line);
}

.hero-ledger dt {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.hero-ledger dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.hero-media {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hero-media:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: #b7ad9c;
}

.hero-media__frame {
  padding: 0.5rem 0.5rem 0;
  overflow: hidden;
  flex: 1;
}

.hero-media__frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 1px;
  transition: transform 0.35s ease;
}

.hero-media:hover .hero-media__frame img {
  transform: scale(1.02);
}

.hero-caption {
  padding: 0.95rem 1.1rem 1.05rem;
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
}

.hero-caption__eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.22rem;
}

.hero-caption strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.hero-caption a {
  font-size: 0.86rem;
  color: var(--clay);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, color 0.15s ease;
}

.hero-caption a:hover {
  text-decoration: underline;
  transform: translateX(2px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.62rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn--small {
  padding: 0.44rem 0.9rem;
  font-size: 0.84rem;
}

.btn--primary {
  background: var(--forest);
  color: #ffffff;
  border-color: var(--forest);
}

.btn--primary:hover {
  background: var(--forest-dark);
}

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

.btn--secondary:hover {
  background: var(--surface-tint);
}

/* Section Index Strip (Replaces Icon Bento Strip) */
.pillar-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.15rem;
  margin-bottom: 3rem;
}

.pillar-tile {
  border-top: 2px solid var(--ink);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  padding: 0.8rem 0.45rem 0.9rem;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.pillar-tile:hover {
  border-top-color: var(--clay);
  background: var(--surface);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.pillar-tile--deals {
  border-top-color: var(--forest);
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--clay);
}

.pillar-tile strong {
  font-family: var(--font-serif);
  font-size: 1.09rem;
  font-weight: 600;
  color: var(--ink);
}

.pillar-tile:hover strong {
  color: var(--forest);
}

.pillar-tile span:last-child {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* Sections & Lead Feature */
.section-block {
  margin-bottom: 3.4rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.35rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(1.52rem, 2.4vw, 1.98rem);
  margin: 0;
}

.text-link {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--forest);
}

.text-link:hover {
  color: var(--clay);
  text-decoration: underline;
}

.lead-feature {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 1.65rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lead-feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: #b7ad9c;
  border-top-color: var(--forest);
}

.lead-feature__media {
  overflow: hidden;
  background: var(--surface-warm);
}

.lead-feature__media img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
  transition: transform 0.32s ease;
}

.lead-feature:hover .lead-feature__media img {
  transform: scale(1.025);
}

.lead-feature__body {
  padding: 1.95rem 2.15rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.lead-feature__body h3 {
  font-size: clamp(1.45rem, 2.15vw, 1.85rem);
  margin: 0;
}

.lead-feature__body h3 a {
  text-decoration: none;
  color: var(--ink);
}

.lead-feature__body h3 a:hover {
  color: var(--forest);
  text-decoration: underline;
}

/* Key Dates Ledger Strip */
.dates-banner {
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-top: 3px double var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 1.5rem 1.7rem;
}

.dates-banner .section-head {
  border-bottom: none;
  padding-bottom: 0;
}

.dates-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.date-pill-card {
  padding: 1rem 1.05rem 0.35rem;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-decoration: none;
  color: var(--ink);
}

.date-pill-card:first-child {
  padding-left: 0;
}

.date-pill-card:last-child {
  border-right: none;
  padding-right: 0;
}

.date-pill-card strong {
  font-family: var(--font-serif);
  font-size: 1.04rem;
  line-height: 1.25;
}

.date-pill-card span:last-child {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.date-pill-card--action strong {
  color: var(--forest);
}

.date-pill-card--action:hover strong {
  color: var(--clay);
  text-decoration: underline;
}

.date-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--clay);
  font-variant-numeric: tabular-nums;
}

/* Calculators Reference Grid */
.tools-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.tool-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 1.05rem 1.15rem;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tool-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: #b7ad9c;
  border-top-color: var(--clay);
}

.tool-tile-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--clay);
  margin-bottom: 0.35rem;
}

.tool-tile strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.tool-tile:hover strong {
  color: var(--forest);
}

.tool-tile span:last-child {
  display: block;
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.48;
}

.tool-tile--highlight {
  background: var(--forest-soft);
  border-color: var(--forest-line);
  border-top-color: var(--forest);
}

.tool-tile--highlight:hover {
  border-color: var(--forest);
  border-top-color: var(--forest-dark);
}

/* Brand Spotlights */
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.spotlight-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--amber-line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.spotlight-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: #b7ad9c;
  border-top-color: var(--clay);
}

.spotlight-card__media {
  overflow: hidden;
  background: var(--surface-warm);
}

.spotlight-card__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.spotlight-card__body {
  padding: 1.4rem 1.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.52rem;
  flex: 1;
}

.spotlight-card h3 {
  font-size: 1.3rem;
  margin: 0;
}

.spotlight-card h3 a {
  text-decoration: none;
  color: var(--ink);
}

.spotlight-card h3 a:hover {
  color: var(--forest);
  text-decoration: underline;
}

.spotlight-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

/* Audience Manifesto */
.audience-band {
  background: var(--surface-tint);
  border: 1px solid var(--line);
  border-top: 3px double var(--ink);
  border-radius: var(--radius-md);
  padding: 1.85rem 2rem;
  margin-bottom: 3.3rem;
}

.audience-band .section-head {
  border-bottom: none;
  padding-bottom: 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.audience-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem 1.05rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.audience-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: #b7ad9c;
}

.audience-card strong {
  font-family: var(--font-serif);
  font-size: 1.09rem;
  color: var(--ink);
}

.audience-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.audience-promise {
  font-weight: 600;
  color: var(--forest) !important;
  margin-top: auto !important;
  padding-top: 0.35rem;
}

/* Guide Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.story-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.story-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: #b7ad9c;
}

.story-card__media {
  overflow: hidden;
  background: var(--surface-warm);
}

.story-card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.story-card__body {
  padding: 1.15rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.story-kicker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--clay);
}

.story-kicker span:last-child {
  color: var(--muted);
}

.story-card h3 {
  font-size: 1.18rem;
  margin: 0;
}

.story-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.story-card h3 a:hover {
  color: var(--forest);
  text-decoration: underline;
}

.story-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.story-card__foot {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
}

.story-card__foot a {
  font-weight: 600;
  text-decoration: none;
}

.story-card__foot a:hover {
  text-decoration: underline;
}

.disclosure-pill-subtle {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
}

.card-foot-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.save-guide-btn,
.print-guide-btn,
.copy-link-btn,
.copy-calc-btn {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  padding: 0.22rem 0.58rem;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}

.save-guide-btn:hover,
.print-guide-btn:hover,
.copy-link-btn:hover,
.copy-calc-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.save-guide-btn.is-saved {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

/* Search, Topic Chips, Filters & Pagination */
.library-controls {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.3rem 0.25rem;
  margin: 1.25rem 0 1.65rem;
  box-shadow: var(--shadow-card);
}

.search-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.library-search-input {
  flex: 1 1 320px;
  padding: 0.66rem 0.95rem 0.66rem 2.45rem;
  border-radius: var(--radius-sm);
  border: 1px solid #c4bba9;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236c675e' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 0.82rem center / 16px 16px;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.library-search-input:focus {
  background-color: var(--surface);
  border-color: var(--forest);
}

.library-match-count {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.quick-search-chips {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.quick-chips-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.quick-chip {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  padding: 0.22rem 0.62rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.quick-chip:hover,
.quick-chip.is-active {
  border-color: var(--forest);
  color: var(--forest-dark);
  background: var(--forest-soft);
}

.quick-chip--clear {
  border-style: dashed;
}

.filter-bar {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin: 0.95rem 0 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #ece6da;
}

.filter-btn {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0.44rem 0.92rem;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.filter-btn:hover {
  border-color: var(--forest);
  color: var(--forest-dark);
  background: var(--forest-soft);
}

.filter-btn.is-active {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}

.filter-btn--saved {
  border-style: dashed;
}

.library-pagination {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.85rem;
}

.empty-search-state {
  background: var(--surface);
  border: 1px dashed var(--ink);
  border-radius: var(--radius-sm);
  padding: 1.8rem;
  text-align: center;
  margin-top: 1rem;
}

.empty-search-state .btn {
  margin-top: 0.85rem;
}

/* Deal Cards */
.deal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.deal-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: #b7ad9c;
}

.deal-card__media {
  overflow: hidden;
  background: var(--surface-warm);
  border-bottom: 1px solid var(--line);
}

.deal-card__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.deal-card:hover .deal-card__media img,
.story-card:hover .story-card__media img,
.spotlight-card:hover .spotlight-card__media img {
  transform: scale(1.025);
}

.deal-card__body {
  padding: 1.25rem 1.35rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.deal-card--featured {
  border-top: 3px solid var(--clay);
  background: #fffdf9;
}

.deal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.18rem 0.48rem;
  border-radius: var(--radius-sm);
  background: var(--surface-tint);
  color: var(--forest);
}

.tag--ad {
  background: var(--clay-soft);
  color: var(--clay);
}

.tag--connected {
  background: var(--amber-soft);
  color: var(--amber-ink);
  border: 1px solid var(--amber-line);
}

.deal-card h3 {
  font-size: 1.15rem;
  margin: 0;
}

.deal-price {
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--forest);
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.deal-specs {
  margin: 0.1rem 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.87rem;
  border-top: 1px solid var(--line);
  padding-top: 0.65rem;
}

.deal-specs div {
  display: grid;
  gap: 0.08rem;
}

.deal-specs dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.deal-specs dd {
  margin: 0;
  color: var(--ink-soft);
}

.deal-disclosure {
  font-size: 0.8rem;
  color: var(--amber-ink);
  background: var(--amber-soft);
  border-left: 3px solid var(--amber-line);
  padding: 0.5rem 0.7rem;
  margin: 0;
}

.deal-cta {
  margin-top: auto;
  padding-top: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.link-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--clay);
}

.link-note--connected {
  color: var(--amber-ink);
}

/* Section Hero */
.section-hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px double var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 1.75rem 1.95rem;
  margin-bottom: 1.95rem;
}

.section-hero-card .section-head {
  border-bottom: none;
  padding-bottom: 0;
}

.section-hero-grid {
  display: grid;
  grid-template-columns: 1.32fr 1fr;
  gap: 1.75rem;
  align-items: center;
}

.section-hero-media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-warm);
}

.section-hero-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.quick-shortcuts-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0.75rem 0 1.05rem;
}

.quick-shortcut-pill {
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--forest);
  background: var(--surface-tint);
  border: 1px solid var(--line);
  padding: 0.34rem 0.78rem;
  border-radius: var(--radius-sm);
}

.quick-shortcut-pill:hover {
  border-color: var(--forest);
  background: var(--forest);
  color: #fff;
}

.section-search-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* Article Reader */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 1.15rem;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.guide-article {
  max-width: 820px;
  margin: 0 auto 2.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px double var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 2.35rem 2.65rem;
}

.asa-banner {
  background: var(--clay-soft);
  border-left: 3px solid var(--clay);
  color: var(--clay);
  padding: 0.65rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.15rem;
}

.guide-header h1 {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  margin-bottom: 0.8rem;
}

.article-meta {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.article-meta-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.article-hero-img {
  margin: 1.4rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-warm);
}

.article-hero-img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.guide-toc {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.95rem;
  margin: 0 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.guide-toc__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
}

.guide-toc__links {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.guide-toc__links a {
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.guide-toc__links a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.disclosure-note {
  padding: 0.85rem 1rem;
  margin: 1.1rem 0;
  font-size: 0.9rem;
}

.disclosure-note--editorial {
  background: var(--amber-soft);
  border-left: 3px solid var(--amber-line);
  color: var(--amber-ink);
}

.disclosure-note--ad {
  background: var(--clay-soft);
  border-left: 3px solid var(--clay);
  color: var(--clay);
}

.disclosure-note__title {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.disclosure-note p {
  margin: 0;
}

.checklist-card {
  background: var(--surface-tint);
  border-left: 3px solid var(--forest);
  padding: 1.25rem 1.4rem;
  margin: 1.4rem 0;
}

.checklist-card h2 {
  font-size: 1.22rem;
  color: var(--ink);
}

.checklist-card ul {
  margin: 0.55rem 0 0;
  padding-left: 1.2rem;
}

.checklist-card li + li {
  margin-top: 0.45rem;
}

.guide-section {
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid #ece5d8;
}

.guide-section h2 {
  font-size: 1.42rem;
  margin-bottom: 0.75rem;
}

.guide-section p,
.guide-section li {
  font-size: 1.03rem;
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 65ch;
}

/* Interactive Calculators */
.tool-box {
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 3px solid var(--forest);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.45rem;
  margin: 1.65rem 0;
}

.tool-box h2 {
  font-size: 1.25rem;
}

.tool-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.9rem;
  margin: 0.85rem 0;
}

.tool-controls label,
.stacked-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.86rem;
}

input, select, textarea {
  font: inherit;
  padding: 0.56rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(25, 64, 48, 0.25);
  border-color: var(--forest);
}

.tool-output {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.05rem;
  font-size: 0.94rem;
}

.tool-foot {
  margin-top: 0.7rem;
  display: flex;
  justify-content: flex-end;
}

.calculators-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.calculator-hub-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
}

.calculator-hub-card .tool-box {
  margin: 0 0 0.75rem;
  flex: 1;
}

.calc-guide-link-row {
  padding-top: 0.3rem;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 1.75rem 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

caption {
  text-align: left;
  font-weight: 700;
  padding: 0.85rem 1rem;
  background: var(--surface-tint);
  border-bottom: 1px solid var(--ink);
  font-family: var(--font-serif);
  font-size: 1.02rem;
}

th, td {
  padding: 0.68rem 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
}

th {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--surface-warm);
  border-bottom: 1.5px solid var(--line);
}

tbody tr:nth-child(even) {
  background: #fbf9f4;
}

tbody tr:hover {
  background: var(--surface-tint);
}

.price-cell {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--forest);
  white-space: nowrap;
}

.related-guides {
  margin-top: 2.5rem;
}

/* Checklists Hub — Ruled Paper Tear-Off Sheet Style */
.checklists-hero {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 1.6rem 1.85rem;
  margin-bottom: 1.65rem;
}

.checklists-hero .section-head {
  border-bottom: none;
  padding-bottom: 0;
}

.checklist-top-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  align-items: center;
}

.checklist-total-pill {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.34rem 0.72rem;
  border-radius: var(--radius-sm);
  background: var(--surface-tint);
  color: var(--ink);
  border: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

.checklists-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.checklist-hub-card {
  background: #fffefb;
  border: 1px solid var(--line);
  border-top: 3px solid var(--forest);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.checklist-hub-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
}

.checklist-hub-head h2 {
  font-size: 1.24rem;
  margin-bottom: 0;
}

.checklist-progress {
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-sm);
  background: var(--surface-tint);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

.checklist-progress.is-complete {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

.checklist-bar {
  width: 100%;
  height: 4px;
  background: var(--line);
  overflow: hidden;
}

.checklist-bar--hero {
  height: 6px;
  margin-bottom: 0.95rem;
}

.checklist-bar__fill {
  height: 100%;
  width: 0%;
  background: var(--forest);
  transition: width 0.22s ease;
}

.checklists-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hide-ticked-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
}

.hide-ticked-toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--forest);
}

.is-hiding-ticked li.is-ticked-row {
  display: none;
}

.interactive-checklist-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  flex: 1;
}

.checklist-item-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.56rem 0.2rem;
  border-bottom: 1px solid #ece6da;
  font-size: 0.92rem;
  line-height: 1.45;
  cursor: pointer;
  transition: background-color 0.12s ease;
}

.checklist-item-label:hover {
  background: #faf6ed;
}

.checklist-item-label input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--forest);
  width: 16px;
  height: 16px;
  border-radius: 2px;
}

.checklist-item-label.is-ticked {
  color: var(--muted);
  text-decoration: line-through;
}

.checklist-add-form {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.2rem;
}

.checklist-add-form input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.44rem 0.25rem;
  font-size: 0.88rem;
  border: none;
  border-bottom: 1.5px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.checklist-add-form input[type="text"]:focus {
  outline: none;
  border-bottom-color: var(--forest);
}

.checklist-item-label--custom {
  justify-content: flex-start;
}

.checklist-item-label--custom span {
  flex: 1;
}

.custom-item-remove {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1;
  padding: 0 0.3rem;
  cursor: pointer;
}

.custom-item-remove:hover {
  color: var(--clay);
}

.checklist-hub-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.checklist-card-actions {
  display: inline-flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

/* Newsletter & Forms */
.newsletter-card {
  background: var(--forest-dark);
  color: #f6f4ef;
  border-top: 3px solid var(--clay);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 2.15rem 2.35rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 2.75rem;
}

.newsletter-card h2 {
  color: #ffffff;
  font-size: clamp(1.48rem, 2.2vw, 1.9rem);
}

.newsletter-card p {
  color: #d6dfd9;
  margin: 0;
}

.newsletter-card .kicker {
  color: #f0ab99;
}

.newsletter-card .btn--primary {
  background: var(--clay);
  border-color: var(--clay);
  color: #fff;
}

.newsletter-card .btn--primary:hover {
  background: #842e1b;
  border-color: #842e1b;
}

.newsletter-card .form-status {
  color: #d6e9df;
}

.field-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.field-row input[type="email"] {
  flex: 1 1 210px;
}

.form-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 1.85rem 2rem;
  margin-top: 2.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.checkbox-label {
  flex-direction: row !important;
  align-items: center;
  gap: 0.55rem !important;
  padding-top: 1.35rem;
}

.stacked-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.15rem;
}

.form-status {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--forest);
}

/* Admin Report Dashboard */
.report-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 1.85rem 2rem;
}

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.4rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  background: var(--surface-tint);
  color: var(--forest);
}

.status-pill--warn {
  background: var(--amber-soft);
  color: var(--amber-ink);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  margin: 1.3rem 0 1.65rem;
}

.kpi-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
}

.kpi-card span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
}

.kpi-card strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.95rem;
  font-family: var(--font-serif);
  color: var(--ink);
}

/* Footer */
.site-footer {
  border-top: 3px double var(--ink);
  background: var(--surface-tint);
  padding: 3rem 0 4rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 2.25rem;
}

.footer-grid h3 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--clay);
  margin-bottom: 0.85rem;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-list a {
  text-decoration: none;
  color: var(--ink-soft);
}

.footer-list a:hover {
  color: var(--forest);
  text-decoration: underline;
}

.footer-colophon {
  margin-top: 2.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}

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

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 25;
  padding: 0.42rem 0.78rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(23, 23, 23, 0.16);
  cursor: pointer;
  opacity: 0.92;
}

.back-to-top:hover {
  background: var(--forest);
  border-color: var(--forest);
  opacity: 1;
}

.toast-banner {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 40;
  background: var(--ink);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(23, 23, 23, 0.18);
  max-width: calc(100vw - 2rem);
  text-align: center;
}

@media (max-width: 1120px) {
  .brand-tagline {
    display: none;
  }
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -120px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.deals-ledger {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.35rem 1.45rem;
  margin-bottom: 1.65rem;
}

.deals-ledger-sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.deals-ledger-table th:nth-child(2),
.deals-ledger-table td:nth-child(2) {
  min-width: 210px;
  max-width: 290px;
}

.deals-ledger-table .price-cell {
  white-space: normal;
  line-height: 1.42;
}

.deals-ledger-table th:nth-child(3),
.deals-ledger-table td:nth-child(3) {
  min-width: 185px;
}

.deals-ledger-table th:nth-child(4),
.deals-ledger-table td:nth-child(4) {
  min-width: 155px;
}

.deals-ledger-table td:nth-child(5) {
  min-width: 180px;
}

.deals-ledger-table .link-note {
  display: block;
  margin-top: 0.28rem;
}

.deals-ledger-link {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.copy-code-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0.25rem 0 0.15rem 0.45rem;
  padding: 0.16rem 0.5rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  vertical-align: middle;
}

.deals-ledger-table .copy-code-btn {
  display: inline-flex;
  margin: 0.35rem 0 0.2rem;
}

.copy-code-btn:hover {
  border-color: var(--ink);
  background: var(--surface-tint);
}

.copy-code-btn.is-copied {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

.copy-code-btn code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.save-deal-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.72rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

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

.save-deal-btn.is-saved {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

.cutoff-countdown {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--clay);
}

.checklist-all-done-note {
  margin: 0.35rem 0 0;
  padding: 0.65rem 0.85rem;
  border: 1px dashed var(--forest-soft);
  border-radius: var(--radius-sm);
  background: var(--surface-tint);
  color: var(--forest);
  font-size: 0.84rem;
  font-weight: 600;
  display: none;
}

#checklists-hub.is-hiding-ticked .checklist-all-done-note:not([hidden]) {
  display: block;
}

#reset-all-checklists-btn[data-armed="true"] {
  background: var(--clay);
  border-color: var(--clay);
  color: #fff;
}

.empty-filter-state {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding: 1.1rem 1.25rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  margin-bottom: 1.65rem;
}

.empty-filter-state[hidden] {
  display: none;
}

.guide-pager {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: stretch;
  margin: 1.5rem 0 2rem;
}

.guide-pager__link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.22rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
}

.guide-pager__link--next {
  text-align: right;
}

.guide-pager__link:hover {
  border-color: var(--ink);
}

.guide-pager__dir {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.guide-pager__deals {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--surface-tint);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.guide-pager__deals:hover {
  background: var(--ink);
  color: #fff;
}

.report-controls {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  flex-wrap: wrap;
  margin: 1rem 0 1rem;
}

.report-select {
  padding: 0.62rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink);
  background: var(--surface);
  font: inherit;
  font-size: 0.9rem;
}

[id] {
  scroll-margin-top: 84px;
}

.quick-checks-list {
  list-style: none !important;
  padding-left: 0 !important;
  display: grid;
  gap: 0.45rem;
}

.quick-check-li + .quick-check-li {
  margin-top: 0 !important;
}

.quick-check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  line-height: 1.5;
}

.quick-check-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 0.22rem;
  accent-color: var(--forest);
  flex-shrink: 0;
  cursor: pointer;
}

.quick-check-row input[type="checkbox"]:checked + span {
  text-decoration: line-through;
  color: var(--muted);
}

.deals-ledger:not(.is-expanded) .deals-ledger-extra {
  display: none;
}

.deals-ledger-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 1040px) {
  .header-controls {
    display: inline-flex;
  }
  .header-inner {
    flex-wrap: wrap;
  }
  .nav-cta--desktop {
    display: none;
  }
  .nav-cta--mobile {
    display: inline-flex;
  }
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
  }
  .main-nav.is-open {
    display: flex;
  }
  .main-nav .nav-link {
    padding: 0.55rem 0.5rem;
    border-bottom: 1px solid var(--line);
  }
  .main-nav .nav-link--utility {
    display: block;
    color: var(--muted);
  }
}

@media (max-width: 760px) {
  .utility-bar {
    display: none;
  }
}

@media (max-width: 960px) {
  .hero-editorial,
  .section-hero-grid,
  .lead-feature,
  .spotlight-grid,
  .newsletter-card,
  .footer-grid,
  .checklists-grid,
  .calculators-hub-grid,
  .guide-pager {
    grid-template-columns: 1fr;
  }
  .guide-pager__link--next {
    text-align: left;
  }
  .pillar-strip,
  .dates-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .date-pill-card {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 0.85rem 0;
  }
  .card-grid,
  .tools-strip,
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .deals-ledger-table {
    border: none;
  }
  .deals-ledger-table thead {
    display: none;
  }
  .deals-ledger-table tbody,
  .deals-ledger-table tr,
  .deals-ledger-table td {
    display: block;
    width: 100%;
  }
  .deals-ledger-table tr {
    padding: 0.85rem 0;
    border-bottom: 1.5px solid var(--line);
  }
  .deals-ledger-table tr:last-child {
    border-bottom: none;
  }
  .deals-ledger-table td {
    min-width: 0 !important;
    max-width: none !important;
    padding: 0.2rem 0;
    border: none;
  }
  .deals-ledger-table td:last-child {
    padding-top: 0.45rem;
  }
}

.pillar-tile__media,
.audience-card__media {
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
}

.pillar-tile__media {
  margin-bottom: 0.45rem;
}

.audience-card__media {
  margin-bottom: 0.65rem;
}

.pillar-tile__media img,
.audience-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.pillar-tile:hover .pillar-tile__media img,
.audience-card:hover .audience-card__media img {
  transform: scale(1.03);
}

@media (max-width: 640px) {
  .container,
  .header-inner {
    padding-left: 1.05rem;
    padding-right: 1.05rem;
  }
  .pillar-strip,
  .dates-grid,
  .card-grid,
  .tools-strip,
  .audience-grid {
    grid-template-columns: 1fr;
  }
  .pillar-tile {
    margin: 0;
  }
  .hero-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 0.85rem;
  }
  .hero-ledger div:nth-child(3) {
    padding-left: 0;
    border-left: none;
  }
  .audience-band,
  .dates-banner,
  .newsletter-card,
  .section-hero-card,
  .library-controls,
  .guide-article,
  .report-shell {
    padding: 1.25rem;
  }
  .toast-banner {
    bottom: 3.9rem;
  }
}

@media print {
  .site-header,
  .site-footer,
  .newsletter-card,
  .checklist-top-actions,
  .checklists-toolbar,
  .checklist-add-form,
  .custom-item-remove,
  .checklist-hub-foot button,
  .article-meta-actions,
  .article-hero-img,
  .guide-toc,
  .guide-pager,
  .related-guides,
  .back-to-top,
  .toast-banner,
  .tool-foot,
  .breadcrumb {
    display: none !important;
  }
  body {
    background: #fff;
  }
  .checklist-hub-card,
  .guide-article {
    border: 1px solid #bbb;
    break-inside: avoid;
  }
  .checklists-grid {
    grid-template-columns: 1fr;
  }
  body.is-printing-single .checklists-grid .checklist-hub-card:not(.is-print-target) {
    display: none !important;
  }
  body.is-printing-single .checklists-grid .checklist-hub-card.is-print-target {
    border: 1px solid #999;
    break-inside: auto;
  }
}
