:root {
  --navy-900: #08182f;
  --navy-800: #0d2548;
  --navy-700: #133459;
  --navy-600: #1c4576;
  --navy-50:  #eef3fa;
  --gold-700: #8a6a1f;
  --gold-600: #b88a2c;
  --gold-500: #d4a648;
  --gold-400: #e6bf6b;
  --gold-100: #f7ecd0;
  --gold-50:  #fbf6e7;
  --cream:    #fbf7ee;
  --paper:    #ffffff;
  --ink:      #0e1a2c;
  --ink-soft: #455772;
  --ink-mute: #6b7c93;
  --line:     #e3dac3;
  --line-soft:#eee6cf;
  --rule:     #d8cdb1;
  --success:  #1c7a4a;
  --danger:   #b83232;
  --r:   12px;
  --r-lg:18px;
  --r-pill:999px;
  --shadow-sm: 0 2px 8px rgba(8,24,47,.06);
  --shadow:    0 8px 24px rgba(8,24,47,.10);
  --shadow-lg: 0 24px 60px rgba(8,24,47,.18);
  --maxw: 1200px;
  --display: "Fraunces", "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--gold-700); text-decoration: underline; text-underline-offset: 3px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy-900); color: #fff; padding: .5rem 1rem; z-index: 999; }
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */
.site-header {
  background:
    radial-gradient(900px 240px at 100% -40%, rgba(212,166,72,.18), transparent 70%),
    linear-gradient(180deg, #061327 0%, #0d2548 100%);
  color: #fff;
  border-bottom: 1px solid rgba(212,166,72,.22);
  position: sticky; top: 0; z-index: 50;
}
.site-header .header-row {
  display: flex; align-items: center; gap: 28px; padding: 16px 24px;
  max-width: var(--maxw); margin: 0 auto; flex-wrap: wrap;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: #fff; font-weight: 700;
}
.brand:hover { text-decoration: none; color: #fff; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%);
  color: var(--navy-900);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 15px;
  letter-spacing: .04em; box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}
.brand-name {
  font-family: var(--display);
  font-weight: 600; font-size: 22px; letter-spacing: -0.01em;
}
.brand-name em {
  font-style: normal; color: var(--gold-400);
}
.primary-nav {
  display: flex; gap: 26px; flex: 1; justify-content: center; flex-wrap: wrap;
}
.primary-nav a {
  color: rgba(255,255,255,.84); font-weight: 500; font-size: .95rem;
  position: relative; padding: 4px 0;
}
.primary-nav a:hover { color: var(--gold-400); text-decoration: none; }
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--gold-500); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.primary-nav a:hover::after { transform: scaleX(1); }
.cta-pill {
  background: linear-gradient(180deg, var(--gold-500), var(--gold-600));
  color: var(--navy-900) !important;
  padding: 10px 18px; border-radius: var(--r-pill); font-weight: 700;
  box-shadow: 0 4px 14px rgba(212,166,72,.35);
  font-size: .92rem;
}
.cta-pill:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(212,166,72,.5); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(800px 400px at 90% 10%, rgba(212,166,72,.18), transparent 65%),
    radial-gradient(600px 300px at -10% 90%, rgba(28,69,118,.12), transparent 60%),
    linear-gradient(180deg, #fdfaf3 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(transparent 95%, rgba(11,30,55,.04) 95%),
    linear-gradient(90deg, transparent 95%, rgba(11,30,55,.04) 95%);
  background-size: 80px 80px;
  pointer-events: none; opacity: .6;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px;
  align-items: center; padding: 72px 24px 80px;
  max-width: var(--maxw); margin: 0 auto;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-weight: 700;
  color: var(--gold-700); font-size: 11.5px; margin: 0 0 14px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--gold-600); display: inline-block;
}
.hero h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 18px; color: var(--navy-900);
}
.hero h1 .accent {
  color: var(--gold-700);
  background: linear-gradient(180deg, transparent 70%, rgba(212,166,72,.32) 70%);
  padding: 0 4px; font-style: italic;
}
.lede {
  font-size: 1.12rem; color: var(--ink-soft); margin: 0 0 28px;
  max-width: 58ch; line-height: 1.6;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 24px; color: var(--ink-soft); font-size: .9rem;
  display: flex; gap: 24px; flex-wrap: wrap;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust span::before { content: "★"; color: var(--gold-600); }
.hero-art {
  position: relative;
}
.hero-art img {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(11,30,55,.06);
  transform: rotate(.4deg);
}
.hero-art::after {
  content: ""; position: absolute; inset: -16px -16px auto auto;
  width: 110px; height: 110px;
  background: radial-gradient(closest-side, var(--gold-400), transparent 70%);
  opacity: .5; z-index: -1;
}
.hero-search {
  margin-top: 28px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 8px;
  display: flex; gap: 8px; box-shadow: var(--shadow-sm); max-width: 520px;
}
.hero-search input {
  flex: 1; border: 0; padding: 10px 12px; font-size: 1rem;
  font-family: inherit; background: transparent; color: var(--ink);
}
.hero-search input:focus { outline: none; }

/* ---------- CTAs ---------- */
.cta-primary {
  background: var(--navy-800); color: #fff !important;
  padding: 14px 26px; border-radius: 10px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; cursor: pointer; font-size: .98rem; line-height: 1;
  box-shadow: 0 4px 14px rgba(8,24,47,.18);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.cta-primary:hover { background: var(--navy-900); text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(8,24,47,.28); color: #fff !important; }
.cta-primary::after { content: " →"; transition: transform .15s ease; }
.cta-primary:hover::after { transform: translateX(3px); }
.cta-secondary {
  background: transparent; color: var(--navy-900) !important;
  padding: 14px 26px; border-radius: 10px; font-weight: 600;
  display: inline-block; border: 1.5px solid var(--navy-900);
  font-size: .98rem; line-height: 1;
}
.cta-secondary:hover { background: var(--navy-900); color: #fff !important; text-decoration: none; }
.cta-block { display: block; text-align: center; }
.cta-inline { margin-top: 12px; }
.cta-gold {
  background: linear-gradient(180deg, var(--gold-500), var(--gold-600));
  color: var(--navy-900) !important;
  padding: 14px 26px; border-radius: 10px; font-weight: 700;
  box-shadow: 0 6px 18px rgba(212,166,72,.4);
}
.cta-gold:hover { transform: translateY(-1px); text-decoration: none; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.trust-strip ul {
  max-width: var(--maxw); margin: 0 auto; padding: 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  list-style: none;
}
.trust-strip li {
  display: flex; flex-direction: column; gap: 2px;
  border-left: 2px solid var(--gold-500); padding-left: 14px;
}
.trust-strip strong {
  font-family: var(--display); font-size: 1.15rem; color: var(--navy-900);
  font-weight: 600;
}
.trust-strip span { font-size: .82rem; color: var(--ink-soft); letter-spacing: .02em; }

/* ---------- Section heads ---------- */
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 24px; margin-bottom: 28px; flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin: 0 0 8px; line-height: 1.15; color: var(--navy-900);
  font-weight: 600; letter-spacing: -0.01em;
}
.section-head p { margin: 0; color: var(--ink-soft); max-width: 60ch; }
.section-head__link { color: var(--navy-700); font-weight: 600; font-size: .92rem; white-space: nowrap; }

/* ---------- Coupon cards ---------- */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.coupon-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  position: relative;
  overflow: hidden;
}
.coupon-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: linear-gradient(180deg, var(--gold-500), var(--gold-700));
  opacity: 0; transition: opacity .15s ease;
}
.coupon-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow);
  border-color: var(--gold-400);
}
.coupon-card:hover::before { opacity: 1; }
.coupon-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.coupon-card__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: .9rem; }
.coupon-card__brand:hover { text-decoration: none; color: var(--navy-700); }
.coupon-card__verified {
  background: rgba(28,122,74,.12); color: var(--success);
  font-size: .68rem; font-weight: 700; padding: 4px 10px; border-radius: var(--r-pill);
  text-transform: uppercase; letter-spacing: .1em; white-space: nowrap;
}
.coupon-card__title { font-family: var(--display); font-size: 1.18rem; margin: 0; line-height: 1.3; font-weight: 600; }
.coupon-card__title a { color: var(--navy-900); }
.coupon-card__title a:hover { color: var(--navy-700); text-decoration: none; }
.coupon-card__meta { color: var(--ink-soft); font-size: .82rem; margin: 0; display: flex; gap: 8px; align-items: center; }
.coupon-card__meta::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }
.coupon-card__code {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border-top: 1px dashed var(--rule); padding-top: 14px;
}
.masked {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .14em; font-weight: 700;
  background: var(--gold-50); color: var(--navy-900);
  padding: 7px 12px; border-radius: 6px; border: 1px dashed var(--gold-500);
  font-size: .92rem;
}
.reveal-btn {
  background: linear-gradient(180deg, var(--gold-500), var(--gold-600));
  color: var(--navy-900) !important;
  font-weight: 700; padding: 9px 16px; border-radius: 8px;
  font-size: .8rem; letter-spacing: .04em;
  box-shadow: 0 3px 10px rgba(212,166,72,.28);
}
.reveal-btn:hover { text-decoration: none; transform: translateY(-1px); }

/* ---------- Brand logos ---------- */
.brand-logo {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--logo-color, var(--navy-700)) 0%, color-mix(in srgb, var(--logo-color, var(--navy-700)) 70%, #000) 100%);
  color: #fff; border-radius: 10px;
  font-family: var(--display); font-weight: 700; letter-spacing: .04em;
  flex-shrink: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.brand-logo > span { font-size: calc(1em + 4px); }

/* ---------- Brand grid / Tile lists ---------- */
.brand-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px;
}
.brand-tile {
  display: flex; align-items: center; gap: 14px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px; color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.brand-tile:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--gold-400); }
.brand-tile h3 { margin: 0 0 4px; font-family: var(--display); font-size: 1.05rem; font-weight: 600; color: var(--navy-900); }
.brand-tile p { margin: 0; font-size: .85rem; color: var(--ink-soft); }

/* ---------- Categories ---------- */
.category-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px;
}
.category-tile {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px; color: var(--ink); display: block;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
  position: relative;
}
.category-tile:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--gold-400); }
.category-tile h3 { margin: 0 0 8px; font-family: var(--display); font-size: 1.15rem; color: var(--navy-900); font-weight: 600; }
.category-tile p { margin: 0 0 14px; color: var(--ink-soft); font-size: .92rem; }
.category-tile .meta { color: var(--gold-700); font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Layout with sidebar ---------- */
.layout-with-sidebar {
  display: grid; grid-template-columns: 1fr 320px; gap: 40px; padding-top: 32px;
}
.sidebar { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 88px; align-self: start; }
.sidebar-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.sidebar-card h3 { margin: 0 0 10px; font-family: var(--display); font-size: 1.05rem; color: var(--navy-900); font-weight: 600; }
.sidebar-card ul { margin: 0; padding-left: 20px; font-size: .92rem; }
.sidebar-card li { margin: 5px 0; }
.sidebar-card--gold {
  background: linear-gradient(180deg, var(--gold-50), var(--gold-100));
  border-color: var(--gold-400);
}
.sidebar-card--navy {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: #fff; border-color: var(--navy-700);
}
.sidebar-card--navy h3 { color: var(--gold-400); }
.sidebar-card--navy p { color: rgba(255,255,255,.85); }
.sidebar-trust { list-style: none; padding: 0; }
.sidebar-trust li { padding: 7px 0; border-bottom: 1px dashed var(--rule); font-size: .9rem; display: flex; gap: 8px; }
.sidebar-trust li:last-child { border-bottom: 0; }
.sidebar-trust li::before { content: "✓"; color: var(--success); font-weight: 700; }

/* ---------- Brand hero ---------- */
.brand-hero {
  display: grid; grid-template-columns: auto 1fr; gap: 28px;
  align-items: center; padding: 40px 24px 24px;
  max-width: var(--maxw); margin: 0 auto;
}
.brand-hero h1 { font-family: var(--display); font-size: 2.4rem; margin: 0 0 8px; color: var(--navy-900); font-weight: 600; letter-spacing: -0.01em; }
.brand-hero__meta { color: var(--ink-soft); margin: 14px 0 22px; }

/* ---------- Coupon detail ---------- */
.coupon-detail__head { display: flex; gap: 22px; align-items: center; padding: 12px 0 22px; }
.coupon-detail__head h1 {
  font-family: var(--display); font-size: 2.1rem; margin: 6px 0 6px;
  line-height: 1.18; color: var(--navy-900); font-weight: 600; letter-spacing: -0.01em;
}
.coupon-detail__meta { color: var(--ink-soft); margin: 0; font-size: .92rem; }
.reveal-box {
  background: linear-gradient(180deg, var(--paper) 0%, var(--gold-50) 100%);
  border: 1px solid var(--gold-400);
  border-radius: var(--r-lg); padding: 28px;
  margin: 12px 0 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.reveal-box::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-700), var(--gold-500));
}
.reveal-box > p { margin: 0 0 14px; font-weight: 600; color: var(--navy-900); }
.reveal-box details { border-top: 1px dashed var(--gold-500); padding-top: 18px; margin-top: 10px; }
.reveal-box summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; }
.reveal-box summary::-webkit-details-marker { display: none; }
.reveal-box .reveal-action {
  background: var(--navy-900); color: var(--gold-400);
  padding: 12px 22px; border-radius: 8px;
  font-weight: 700; text-transform: uppercase; font-size: .82rem; letter-spacing: .08em;
}
.reveal-box .revealed { margin-top: 16px; }
.reveal-box code {
  font-size: 1.55rem; font-weight: 800; background: var(--navy-900); color: var(--gold-400);
  padding: 12px 18px; border-radius: 8px; display: inline-block; letter-spacing: .14em;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.reveal-trust { color: var(--ink-soft); font-size: .85rem; margin: 14px 0 0; }

/* ---------- Long-form typography ---------- */
.longform { max-width: 72ch; }
.longform.full { max-width: none; }
.longform h2 {
  font-family: var(--display); font-size: 1.7rem; margin: 38px 0 14px;
  color: var(--navy-900); font-weight: 600; line-height: 1.25; letter-spacing: -0.005em;
}
.longform h2:first-child { margin-top: 0; }
.longform h3 {
  font-family: var(--display); font-size: 1.22rem; margin: 26px 0 10px;
  color: var(--navy-800); font-weight: 600;
}
.longform p { color: var(--ink); margin: 0 0 16px; }
.longform p strong { color: var(--navy-900); }
.longform ul, .longform ol { padding-left: 22px; margin: 0 0 18px; }
.longform li { margin: 6px 0; color: var(--ink); }
.longform blockquote {
  border-left: 3px solid var(--gold-500); padding: 12px 20px; margin: 22px 0;
  background: var(--gold-50); border-radius: 0 8px 8px 0;
  font-family: var(--display); font-size: 1.08rem; color: var(--navy-900);
}
.longform code {
  background: var(--navy-50); color: var(--navy-900); padding: 2px 7px; border-radius: 4px;
  font-size: .9em; font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.longform table {
  width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .94rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.longform th { background: var(--navy-50); color: var(--navy-900); text-align: left; padding: 12px 14px; font-weight: 600; }
.longform td { padding: 11px 14px; border-top: 1px solid var(--line-soft); }
.longform tr:nth-child(odd) td { background: rgba(0,0,0,.015); }
.longform .tip {
  background: var(--gold-50); border: 1px solid var(--gold-400); border-radius: var(--r);
  padding: 16px 18px; margin: 20px 0; display: flex; gap: 14px;
}
.longform .tip::before { content: "💡"; font-size: 1.2rem; flex-shrink: 0; }
.longform .tip p { margin: 0; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs ol {
  list-style: none; padding: 22px 0 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: .85rem; color: var(--ink-soft);
}
.breadcrumbs li + li::before { content: "›"; margin-right: 8px; color: var(--gold-600); font-weight: 700; }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--navy-700); }

/* ---------- Pagination ---------- */
.pagination {
  display: flex; gap: 10px; align-items: center; justify-content: center;
  margin-top: 36px; color: var(--ink-soft);
}
.pagination a, .pagination span {
  background: var(--paper); border: 1px solid var(--line); padding: 10px 16px; border-radius: 8px;
  font-weight: 600;
}
.pagination a:hover { text-decoration: none; border-color: var(--gold-500); color: var(--navy-700); }
.pagination .current { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

/* ---------- Lead form ---------- */
.lead-section {
  background:
    radial-gradient(900px 280px at 80% -20%, rgba(212,166,72,.18), transparent 70%),
    linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #fff; padding: 80px 0; margin-top: 64px;
  border-top: 1px solid rgba(212,166,72,.28);
}
.lead-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 52px; align-items: center;
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
}
.lead-copy h2 {
  font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  margin: 0 0 16px; color: #fff; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em;
}
.lead-copy h2 em { color: var(--gold-400); font-style: italic; }
.lead-copy p { color: rgba(255,255,255,.86); font-size: 1.05rem; max-width: 50ch; }
.trust-list { list-style: none; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0 0; }
.trust-badge {
  background: rgba(255,255,255,.08); padding: 8px 14px; border-radius: var(--r-pill);
  font-size: .82rem; border: 1px solid rgba(212,166,72,.3);
}
.lead-form {
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-lg); padding: 30px;
  display: grid; gap: 14px; box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--gold-500);
}
.lead-form label { display: flex; flex-direction: column; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--navy-900); }
.lead-form input[type="text"], .lead-form input[type="email"], .lead-form input[type="tel"] {
  border: 1px solid var(--line); padding: 12px 14px; border-radius: 8px;
  font-size: 1rem; font-family: inherit; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lead-form input:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(212,166,72,.18); }
.lead-form .checkbox { flex-direction: row; align-items: center; gap: 8px; font-weight: 500; }
.lead-form button { font-size: 1rem; }
.lead-fineprint { font-size: .8rem; color: var(--ink-soft); margin: 4px 0 0; }

/* ---------- AdSense placeholders ---------- */
.adsense-slot { margin: 28px 0; text-align: center; }
.adsense-placeholder {
  border: 2px dashed var(--rule); background: var(--paper); border-radius: var(--r);
  padding: 24px; color: var(--ink-mute); font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 600;
}
.adsense-slot--header { padding: 14px 24px 0; max-width: var(--maxw); margin: 0 auto; }
.adsense-slot--header .adsense-placeholder { padding: 14px; background: rgba(255,255,255,.04); border-color: rgba(212,166,72,.25); color: rgba(255,255,255,.55); }
.adsense-slot--sidebar .adsense-placeholder { padding: 60px 18px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900); color: #c8d3e2; margin-top: 0;
  border-top: 1px solid rgba(212,166,72,.25);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px;
  padding: 56px 24px; max-width: var(--maxw); margin: 0 auto;
}
.footer-grid h4 { font-family: var(--display); color: var(--gold-400); margin: 0 0 12px; font-size: 1rem; font-weight: 600; letter-spacing: .02em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 5px 0; font-size: .92rem; }
.footer-grid a { color: #b9c4d4; }
.footer-grid a:hover { color: var(--gold-400); }
.footer-grid .footer-about p { font-size: .92rem; color: #98a4b6; max-width: 32ch; }
.footer-base {
  border-top: 1px solid rgba(212,166,72,.18); padding: 22px 24px;
  color: #7d8a9e; font-size: .82rem; max-width: var(--maxw); margin: 0 auto;
}

/* ---------- Static pages ---------- */
.static-page {
  background: var(--paper); padding: 48px 56px; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.static-page h1 { font-family: var(--display); font-size: 2.4rem; margin: 0 0 18px; color: var(--navy-900); font-weight: 600; letter-spacing: -0.01em; }

/* ---------- Related / cross-links ---------- */
.related { margin-top: 48px; }
.related h2 { font-family: var(--display); font-size: 1.55rem; margin: 0 0 18px; color: var(--navy-900); font-weight: 600; }

.related-resources {
  background: linear-gradient(180deg, var(--paper) 0%, var(--gold-50) 100%);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; margin: 32px auto;
  max-width: var(--maxw);
}
.related-resources h2 { margin: 0 0 6px; font-family: var(--display); font-size: 1.4rem; color: var(--navy-900); font-weight: 600; }
.related-resources p.eyebrow { margin: 0 0 8px; }
.related-resources__lede { color: var(--ink-soft); margin: 0 0 18px; font-size: .94rem; }
.related-resources__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px;
}
.related-resources__item {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 14px 16px; display: flex; flex-direction: column; gap: 4px;
  color: var(--navy-900);
}
.related-resources__item:hover { text-decoration: none; border-color: var(--gold-500); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.related-resources__item strong { font-family: var(--display); font-size: 1rem; font-weight: 600; color: var(--navy-900); }
.related-resources__item span { font-size: .82rem; color: var(--ink-soft); }

/* ---------- Brand-platform compare table ---------- */
.compare-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px;
  margin: 18px 0;
}
.compare-cell {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 14px;
}
.compare-cell strong { display: block; font-family: var(--display); color: var(--navy-900); font-size: 1.02rem; margin-bottom: 4px; }
.compare-cell span { color: var(--ink-soft); font-size: .85rem; }

/* ---------- Tag pills ---------- */
.pill {
  display: inline-block; background: var(--navy-50); color: var(--navy-800);
  border: 1px solid var(--line); padding: 4px 11px; border-radius: var(--r-pill);
  font-size: .76rem; font-weight: 600; letter-spacing: .03em; margin: 2px 4px 2px 0;
}
.pill--gold { background: var(--gold-50); border-color: var(--gold-500); color: var(--gold-700); }

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px; margin: 18px 0 26px;
}
.stat {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px; display: flex; flex-direction: column; gap: 4px;
}
.stat strong { font-family: var(--display); font-size: 1.55rem; color: var(--navy-900); font-weight: 600; line-height: 1; }
.stat span { color: var(--ink-soft); font-size: .82rem; }

/* ---------- TOC ---------- */
.toc {
  background: var(--paper); border-left: 3px solid var(--gold-500);
  padding: 16px 20px; margin: 0 0 26px; border-radius: 0 8px 8px 0;
}
.toc strong { display: block; margin-bottom: 6px; font-family: var(--display); color: var(--navy-900); font-size: .95rem; }
.toc ol { margin: 0; padding-left: 22px; font-size: .92rem; }

/* ---------- Author byline ---------- */
.byline {
  display: flex; align-items: center; gap: 14px;
  margin: 16px 0 24px; color: var(--ink-soft); font-size: .9rem;
  padding: 14px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.byline-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: var(--gold-400); display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 1rem;
}
.byline strong { color: var(--navy-900); display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; padding: 56px 24px 56px; gap: 36px; }
  .hero-art { order: -1; max-width: 460px; margin: 0 auto; }
  .layout-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .lead-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-strip ul { grid-template-columns: 1fr 1fr; gap: 16px; }
  .brand-hero { grid-template-columns: 1fr; padding: 32px 24px 16px; }
  .primary-nav { order: 3; flex-basis: 100%; justify-content: flex-start; gap: 18px; }
  .static-page { padding: 32px 28px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .trust-strip ul { grid-template-columns: 1fr; }
  .static-page { padding: 24px 20px; }
  .hero h1 { font-size: 2.1rem; }
  .lede { font-size: 1rem; }
  .reveal-box { padding: 22px 20px; }
  .reveal-box code { font-size: 1.25rem; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .cta-pill { padding: 8px 14px; font-size: .85rem; }
  .container { padding: 0 18px; }
  .section { padding: 44px 0; }
}
