:root {
  --ink: #1a1d21;
  --muted: #5c6470;
  --soft: #8a919c;
  --line: #d4d8de;
  --bg: #f4f5f7;
  --bg-white: #ffffff;
  --navy: #1b2a4a;
  --navy-deep: #0f1c33;
  --navy-light: #243b63;
  --blue: #2563eb;
  --blue-light: #e8f0fe;
  --accent: #e67e22;
  --accent-dark: #c96a15;
  --accent-light: #fdf0e0;
  --green: #16a34a;
  --green-light: #e8f8ef;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 10px;
  --radius-lg: 16px;
  --wrap: 1180px;
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; transition: color var(--transition); }
p, li { color: var(--muted); font-size: 1rem; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding-left: 1.2rem; }
ol { margin: 0; padding-left: 1.4rem; }

/* Layout */
.wrap { width: min(calc(100% - 2rem), var(--wrap)); margin: 0 auto; }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--navy);
  border-bottom: 3px solid var(--accent);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 64px;
}
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand-mark {
  width: 2.4rem; height: 2.4rem; display: grid; place-items: center;
  border-radius: 8px; color: #fff; font-size: 0.8rem; font-weight: 800;
  background: var(--accent);
  box-shadow: 0 2px 8px rgba(230, 126, 34, 0.35);
}
.brand-copy { display: flex; flex-direction: column; gap: 0; }
.brand-copy strong { font-size: 0.92rem; line-height: 1.3; color: #fff; }
.brand-copy span { color: rgba(255,255,255,0.55); font-size: 0.7rem; line-height: 1.3; }
.nav-toggle {
  display: none; border: 0; background: transparent;
  font: inherit; color: #fff; cursor: pointer;
}
.site-nav { display: flex; align-items: center; gap: 0.2rem; font-size: 0.88rem; }
.site-nav a {
  color: rgba(255,255,255,0.75); padding: 0.4rem 0.65rem; border-radius: 6px;
  transition: all var(--transition); font-weight: 500;
}
.site-nav a:hover, .site-nav a:focus-visible {
  color: #fff; background: rgba(255,255,255,0.1);
}

/* ===== BUTTONS ===== */
.button, .button-secondary, .button-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.65rem 1.2rem; border-radius: 8px; font-weight: 700;
  font-size: 0.9rem; cursor: pointer; border: none;
  transition: all var(--transition);
}
.button {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 2px 8px rgba(230, 126, 34, 0.3);
}
.button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(230, 126, 34, 0.35);
}
.button-secondary {
  color: var(--navy); background: var(--blue-light);
  border: 1px solid rgba(37, 99, 235, 0.15);
}
.button-secondary:hover {
  background: rgba(37, 99, 235, 0.12); transform: translateY(-1px);
}
.button-ghost {
  color: var(--navy);
  border: 1.5px solid var(--line);
  background: var(--bg-white);
}
.button-ghost:hover {
  border-color: var(--navy); transform: translateY(-1px);
}

/* ===== HERO ===== */
.hero {
  padding: 3rem 0 2.5rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem; align-items: start;
}
.hero-copy {
  background: transparent; border: none; box-shadow: none; padding: 0;
}
.hero-copy h1 { color: #fff; }
.hero-copy .lede { color: rgba(255,255,255,0.8); }
.hero-copy .eyebrow { background: rgba(255,255,255,0.12); color: var(--accent); }

/* ===== CARDS ===== */
.article-card, .info-card {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  transition: all var(--transition);
}
.article-card:hover, .info-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.surface, .callout {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
}
.callout {
  border-left: 4px solid var(--accent);
}

/* Coupon card */
.coupon-card {
  background: var(--bg-white);
  border: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.coupon-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--accent);
}
.coupon-card .eyebrow { background: var(--accent-light); color: var(--accent-dark); }
.coupon-card .price {
  display: flex; align-items: baseline; gap: 0.35rem;
  margin-top: 0.8rem; color: var(--navy);
}
.coupon-card .price strong {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-family: "Fraunces", serif; line-height: 1;
}
.fine-print {
  margin-top: 0.8rem; padding-top: 0.8rem;
  border-top: 1px dashed rgba(230, 126, 34, 0.3);
  font-size: 0.78rem; color: var(--soft); line-height: 1.5;
}

/* Visual card */
.visual-card {
  display: grid; align-items: center; justify-items: center;
  min-height: 100%;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.visual-card img { width: 100%; max-width: 480px; }

/* Spotlight */
.spotlight {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr 1fr; align-items: center;
}
.spotlight .surface, .spotlight .visual-card { min-height: 100%; }

/* Trust section */
.trust-bar {
  padding: 2rem 0;
  background: var(--bg-white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-items {
  display: flex; align-items: center; justify-content: center;
  gap: 3rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 0.75rem;
  font-weight: 700; color: var(--navy); font-size: 0.95rem;
}
.trust-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue-light);
  display: grid; place-items: center;
  font-size: 1.4rem;
}

/* ===== TYPOGRAPHY ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.7rem; border-radius: 6px;
  background: var(--blue-light); color: var(--blue);
  font-size: 0.76rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
}
h1, h2, h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 1.15;
  color: var(--navy);
}
h1 { margin-top: 0.8rem; font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 16ch; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.7rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.lede { max-width: 58ch; margin: 0.8rem 0 0; font-size: 1.05rem; line-height: 1.7; }

/* Actions layout */
.hero-actions, .stack-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.hero-points, .page-kicker, .article-meta, .stats {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem;
}
.chip, .page-kicker span, .stat {
  padding: 0.4rem 0.75rem; border-radius: 6px;
  font-size: 0.82rem; font-weight: 600;
}
.hero .chip { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.15); }
.page-kicker span { background: var(--blue-light); color: var(--blue); border: none; }

/* ===== GRIDS ===== */
.article-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) 320px; gap: 1.5rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr; gap: 2rem; }
.cta-panel { display: grid; grid-template-columns: 1.2fr auto; gap: 1.5rem; align-items: center; }

/* ===== SECTIONS ===== */
.section { padding: 2.5rem 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 1rem; margin-bottom: 1.5rem;
}

/* Section with blue header bar */
.section-banner {
  background: var(--navy); color: #fff;
  padding: 1.2rem 0; margin-bottom: 1.5rem;
}
.section-banner h2 { color: #fff; margin: 0; }

/* Article cards */
.article-card p, .info-card p { margin: 0.4rem 0 0; font-size: 0.92rem; }
.article-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin-top: 0.7rem; color: var(--accent); font-weight: 700;
  font-size: 0.88rem; transition: gap var(--transition);
}
.article-link::after { content: "\2192"; transition: transform var(--transition); }
.article-card:hover .article-link::after { transform: translateX(4px); }
.article-card:hover .article-link { color: var(--accent-dark); }

/* ===== ARTICLE PAGES ===== */
.article-hero {
  padding: 2.5rem 0 1.5rem;
  background: var(--navy);
  color: #fff;
}
.article-hero .hero-copy { background: transparent; border: none; box-shadow: none; padding: 0; }
.article-hero h1 { color: #fff; }
.article-hero .lede { color: rgba(255,255,255,0.8); }
.article-hero .page-kicker span { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85); }
.article-hero .callout {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-left: 4px solid var(--accent);
}
.article-hero .callout h3 { color: #fff; }
.article-hero .callout p { color: rgba(255,255,255,0.7); }
.article-hero .callout .article-link { color: var(--accent); }
.article-body { display: grid; gap: 1rem; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2, .entry-content h3 { margin-top: 1.6rem; }
.entry-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--navy); }
.entry-content ul, .entry-content ol { margin: 1rem 0; }
.entry-content li { margin-bottom: 0.4rem; }

/* ===== ACCORDION FAQ ===== */
.faq-accordion { display: grid; gap: 0.5rem; }
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:hover { border-color: var(--blue); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 1rem 1.2rem; gap: 1rem;
  background: none; border: none; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 1rem; color: var(--navy);
  text-align: left;
}
.faq-question::after {
  content: "\25BC"; font-size: 0.7rem; color: var(--soft);
  transition: transform var(--transition); flex-shrink: 0;
}
.faq-item.open .faq-question::after { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 300ms ease, padding 300ms ease;
  padding: 0 1.2rem;
}
.faq-item.open .faq-answer {
  max-height: 300px; padding: 0 1.2rem 1rem;
}
.faq-answer p { margin: 0; }

/* ===== PRINTABLE COUPON ===== */
.coupon-print {
  background: var(--bg-white);
  border: 3px dashed var(--accent);
  border-radius: var(--radius-lg);
  padding: 2rem; text-align: center;
  position: relative;
}
.coupon-print::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 6px; background: var(--accent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.coupon-print .price-big {
  font-family: "Fraunces", serif; font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700; color: var(--navy); line-height: 1;
  margin: 0.5rem 0;
}
.coupon-print .coupon-label {
  font-size: 1.6rem; font-weight: 800; color: var(--navy);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.coupon-print .coupon-code {
  display: inline-block; margin: 1rem auto;
  padding: 0.5rem 1.5rem; background: var(--navy);
  color: #fff; font-family: monospace; font-size: 1.1rem;
  letter-spacing: 0.15em; border-radius: 6px;
}
.coupon-print .coupon-valid {
  font-size: 0.85rem; color: var(--soft); margin-top: 0.5rem;
}
.coupon-actions {
  display: flex; gap: 0.7rem; justify-content: center; margin-top: 1.2rem;
}
.btn-print {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1.2rem; border-radius: 8px; font-weight: 700;
  font-size: 0.9rem; cursor: pointer; border: none;
  background: var(--blue); color: #fff;
  transition: all var(--transition);
}
.btn-print:hover { background: #1d4ed8; }
.btn-save {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1.2rem; border-radius: 8px; font-weight: 700;
  font-size: 0.9rem; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--bg-white); color: var(--navy);
  transition: all var(--transition);
}
.btn-save:hover { border-color: var(--navy); }

/* ===== CTA BAND ===== */
.cta-band { padding: 1rem 0 3rem; }
.cta-panel {
  background: var(--navy); color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2rem; position: relative; overflow: hidden;
}
.cta-panel::before {
  content: ""; position: absolute; top: -50%; right: -15%;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(230,126,34,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-panel h2 { color: #fff; }
.cta-panel p { color: rgba(255,255,255,0.75); }
.cta-panel .button { background: var(--accent); }
.cta-panel .button:hover { background: var(--accent-dark); }
.cta-panel .button-ghost {
  color: #fff; border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.06);
}
.cta-panel .button-ghost:hover { background: rgba(255,255,255,0.12); }

/* ===== FOOTER ===== */
.footer {
  padding: 3rem 0 1.5rem;
  background: var(--navy-deep);
  color: rgba(255,255,255,0.6);
}
.footer-box { background: transparent; border: none; box-shadow: none; padding: 0; }
.footer-box h3 { color: #fff; font-size: 1rem; margin-bottom: 0.6rem; }
.footer-box p { color: rgba(255,255,255,0.55); margin: 0.3rem 0 0; font-size: 0.88rem; }
.footer-box a { color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-box a:hover { color: var(--accent); }
.footer .subtle { color: rgba(255,255,255,0.35); }
.footer .tiny { color: rgba(255,255,255,0.3); font-size: 0.78rem; }
.footer-bottom {
  margin-top: 2rem; padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.35);
}

/* ===== MOBILE STICKY CALL BAR ===== */
.mobile-call-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 40;
  background: var(--accent);
  padding: 0.6rem 1rem;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
}
.mobile-call-bar a {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  color: #fff; font-weight: 800; font-size: 1rem;
  text-decoration: none;
}

/* ===== UTILITY ===== */
.subtle { color: var(--soft); font-size: 0.88rem; }
.tiny { font-size: 0.78rem; color: var(--soft); }
.blog-list { display: grid; gap: 1rem; }
.pagination { display: flex; gap: .6rem; margin-top: 1.4rem; }

/* Breadcrumbs */
.breadcrumbs {
  padding: 0.6rem 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--line);
}
.breadcrumb-list {
  display: flex; flex-wrap: wrap; gap: 0.3rem; list-style: none; padding: 0; margin: 0;
  font-size: 0.8rem; color: var(--soft);
}
.breadcrumb-list li:not(:last-child)::after { content: "\203A"; margin-left: 0.4rem; color: var(--line); }
.breadcrumb-list a { color: var(--blue); text-decoration: none; }
.breadcrumb-list a:hover { text-decoration: underline; }
.breadcrumb-list span[aria-current] { color: var(--soft); }

/* Screen reader */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Print styles for coupon */
@media print {
  .site-header, .site-nav, .breadcrumbs, .footer, .mobile-call-bar,
  .cta-band, .btn-print, .btn-save, .coupon-actions { display: none !important; }
  .coupon-print { border: 3px dashed #333; break-inside: avoid; }
  body { background: #fff; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .hero-grid, .article-layout, .footer-grid, .grid-3, .grid-4,
  .cta-panel, .spotlight { grid-template-columns: 1fr; }
  .footer-grid { gap: 1.5rem; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch;
    padding: 0.6rem; background: var(--navy-deep);
    border-bottom: 3px solid var(--accent);
    box-shadow: var(--shadow-lg);
  }
  .site-nav a { padding: 0.7rem 1rem; }
  .site-nav.open { display: flex; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.6rem; height: 2.6rem; border-radius: 8px;
    background: rgba(255,255,255,0.1); color: #fff; font-size: 0.85rem;
  }
  .section-head { flex-direction: column; align-items: start; }
  .mobile-call-bar { display: block; }
  body { padding-bottom: 3.5rem; }
}
@media (max-width: 640px) {
  .hero { padding: 2rem 0 1.5rem; }
  .article-hero { padding: 1.8rem 0 1.2rem; }
  .surface, .coupon-card, .cta-panel, .callout,
  .article-card, .info-card, .coupon-print { padding: 1.2rem; }
  h1 { max-width: 100%; font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .trust-items { gap: 1.5rem; }
}
