/* ==========================================================================
   SageSaving.com — Design System
   ========================================================================== */

:root {
  /* Brand palette */
  --navy-950: #0b1220;
  --navy-900: #0f1a2e;
  --navy-800: #16233d;
  --navy-700: #1f3153;
  --navy-600: #2c4570;
  --navy-500: #3d5b8f;

  --emerald-700: #0b6e4f;
  --emerald-600: #0e8a63;
  --emerald-500: #12a374;
  --emerald-400: #2ec48f;
  --emerald-100: #e3f6ee;
  --emerald-50: #f2fbf7;

  --gold-500: #c98a1f;
  --gold-100: #fbf0da;

  --red-600: #c0392b;
  --red-100: #fbe9e7;

  --ink-900: #10151f;
  --ink-700: #313c4e;
  --ink-500: #5c6b82;
  --ink-300: #92a1b8;
  --ink-100: #dbe2ee;
  --ink-50: #f4f6fa;

  --white: #ffffff;

  /* Typography */
  --font-serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --max-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 21, 31, 0.06), 0 1px 1px rgba(16, 21, 31, 0.04);
  --shadow-md: 0 8px 24px rgba(16, 21, 31, 0.10);
  --shadow-lg: 0 20px 48px rgba(16, 21, 31, 0.16);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding-left: 1.25em; }
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.22; margin: 0 0 0.5em; color: var(--navy-900); font-weight: 700; }
p { margin: 0 0 1.1em; }
button { font-family: inherit; }

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

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 64px 0; }
@media (max-width: 640px) { section { padding: 44px 0; } }

/* ---- Skip link ---- */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy-900); color: #fff; padding: 10px 16px; z-index: 200;
  border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   Top announcement bar
   ========================================================================== */
.topbar {
  background: var(--navy-950);
  color: var(--ink-100);
  font-size: 13.5px;
  text-align: center;
  padding: 8px 16px;
}
.topbar a { color: var(--emerald-400); font-weight: 600; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--ink-100);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-serif); font-weight: 700; font-size: 22px;
  color: var(--navy-900);
  white-space: nowrap;
}
.logo .mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(155deg, var(--emerald-500), var(--navy-800));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-sans); font-weight: 800; font-size: 15px;
  flex-shrink: 0;
}
.logo .accent { color: var(--emerald-600); }

.main-nav { display: flex; gap: 2px; align-items: center; }
.main-nav a {
  padding: 10px 14px; font-size: 15px; font-weight: 600; color: var(--ink-700);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.main-nav a:hover { color: var(--navy-900); background: var(--ink-50); }
.main-nav a.current { color: var(--emerald-700); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--ink-100); border-radius: var(--radius-sm);
  width: 42px; height: 42px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--navy-900);
  position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--ink-100);
    flex-direction: column; align-items: stretch; padding: 8px 16px 18px;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 8px; border-bottom: 1px solid var(--ink-50); }
  .nav-toggle { display: flex; }
  .nav-cta .btn-text { display: none; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700; font-size: 15.5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease, color .15s ease, border-color .15s ease;
  line-height: 1.2;
}
.btn-primary { background: var(--emerald-600); color: #fff; }
.btn-primary:hover { background: var(--emerald-700); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-800); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--ink-100); color: var(--navy-900); }
.btn-outline:hover { border-color: var(--navy-700); }
.btn-gold { background: var(--gold-500); color: #fff; }
.btn-gold:hover { background: #b17b19; }
.btn-lg { padding: 16px 30px; font-size: 17px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background:
    radial-gradient(1100px 500px at 15% -10%, rgba(46,196,143,0.16), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900) 60%, var(--navy-900));
  color: #fff;
  padding: 76px 0 84px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(46,196,143,0.14); color: var(--emerald-400);
  border: 1px solid rgba(46,196,143,0.3);
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px; margin-bottom: 18px;
}
.hero h1 { color: #fff; font-size: 44px; margin-bottom: 20px; }
.hero .lede { color: var(--ink-100); font-size: 19px; max-width: 54ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust .stat b { display: block; font-family: var(--font-serif); font-size: 26px; color: #fff; }
.hero-trust .stat span { font-size: 13px; color: var(--ink-300); }

.hero-card {
  background: #fff; border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-lg); color: var(--ink-900);
}
.hero-card h3 { font-size: 19px; margin-bottom: 4px; }
.hero-card .muted { color: var(--ink-500); font-size: 14.5px; margin-bottom: 18px; }
.hero-card .field { margin-bottom: 12px; }
.hero-card label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--ink-700); }
.hero-card input {
  width: 100%; padding: 12px 13px; border: 1.5px solid var(--ink-100); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit;
}
.hero-card input:focus { outline: none; border-color: var(--emerald-500); }
.hero-card .fine { font-size: 12px; color: var(--ink-500); margin-top: 12px; text-align: center; }

/* ==========================================================================
   Section headers
   ========================================================================== */
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section-head.left { text-align: left; margin: 0 0 36px; }
.section-head .kicker {
  display: block; color: var(--emerald-700); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px;
}
.section-head h2 { font-size: 32px; margin-bottom: 12px; }
.section-head p { color: var(--ink-500); font-size: 17px; }

.bg-tint { background: var(--ink-50); }
.bg-navy { background: var(--navy-950); color: #fff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-emerald-soft { background: var(--emerald-50); }

/* ==========================================================================
   Cards: pillar / category
   ========================================================================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.pillar-card {
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-lg);
  padding: 30px; display: flex; flex-direction: column; height: 100%;
  transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.pillar-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: transparent; }
.pillar-card .icon {
  width: 50px; height: 50px; border-radius: 12px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.icon-emerald { background: var(--emerald-100); }
.icon-gold { background: var(--gold-100); }
.icon-navy { background: var(--navy-700); color: #fff; }
.pillar-card h3 { font-size: 21px; margin-bottom: 10px; }
.pillar-card p { color: var(--ink-500); font-size: 15.5px; flex-grow: 1; }
.pillar-card .card-link { font-weight: 700; color: var(--emerald-700); font-size: 15px; margin-top: 14px; }
.pillar-card .card-link::after { content: " →"; }

/* Article cards */
.article-card {
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-md);
  overflow: hidden; display: flex; flex-direction: column; height: 100%;
}
.article-card .thumb {
  height: 132px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 15px; font-weight: 700; letter-spacing: .02em;
  color: rgba(255,255,255,0.92); text-align: center; padding: 14px;
}
.thumb-credit { background: linear-gradient(135deg, var(--navy-700), var(--navy-950)); }
.thumb-budget { background: linear-gradient(135deg, var(--emerald-600), var(--navy-900)); }
.thumb-hustle { background: linear-gradient(135deg, var(--gold-500), #7a4e10); }
.article-card .body { padding: 20px 22px 24px; flex-grow: 1; display: flex; flex-direction: column; }
.tag {
  display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; padding: 4px 10px; border-radius: 100px; margin-bottom: 12px;
}
.tag-credit { background: var(--navy-700); color: #fff; }
.tag-budget { background: var(--emerald-100); color: var(--emerald-700); }
.tag-hustle { background: var(--gold-100); color: #7a4e10; }
.article-card h3 { font-size: 18px; margin-bottom: 8px; }
.article-card p { color: var(--ink-500); font-size: 14.5px; flex-grow: 1; }
.article-card .meta { font-size: 13px; color: var(--ink-300); margin-top: 14px; }

/* ==========================================================================
   Offer / partner cards (affiliate)
   ========================================================================== */
.offer-disclosure {
  background: var(--gold-100); border: 1px solid #edd9ad; color: #6b4a10;
  border-radius: var(--radius-sm); padding: 12px 16px; font-size: 13.5px; margin-bottom: 28px;
  display: flex; gap: 10px; align-items: flex-start;
}
.offer-card {
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-lg);
  padding: 26px; display: flex; align-items: center; gap: 20px; margin-bottom: 16px;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.offer-card:hover { box-shadow: var(--shadow-md); border-color: transparent; }
.offer-card .offer-badge {
  flex-shrink: 0; width: 58px; height: 58px; border-radius: 12px;
  background: var(--navy-900); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 22px;
}
.offer-card .offer-body { flex-grow: 1; }
.offer-card h4 { font-size: 17px; margin-bottom: 4px; }
.offer-card p { color: var(--ink-500); font-size: 14.5px; margin-bottom: 0; }
.offer-card .offer-cta { flex-shrink: 0; }
.offer-card .stars { color: var(--gold-500); font-size: 13px; margin-bottom: 4px; letter-spacing: 1px; }
@media (max-width: 640px) { .offer-card { flex-direction: column; align-items: stretch; text-align: center; } }

/* ==========================================================================
   Callouts / boxes
   ========================================================================== */
.callout {
  border-radius: var(--radius-md); padding: 22px 24px; margin: 28px 0;
  border-left: 4px solid var(--emerald-500); background: var(--emerald-50);
}
.callout h4 { margin-bottom: 8px; font-size: 16px; }
.callout p:last-child { margin-bottom: 0; }
.callout-gold { border-left-color: var(--gold-500); background: var(--gold-100); }
.callout-navy { border-left-color: var(--navy-700); background: var(--ink-50); }

.stat-strip { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; text-align: center; }
.stat-strip .stat { flex: 1; min-width: 140px; }
.stat-strip .stat b { display: block; font-family: var(--font-serif); font-size: 30px; color: var(--navy-900); }
.stat-strip .stat span { color: var(--ink-500); font-size: 14px; }

/* ==========================================================================
   Lead magnet blocks
   ========================================================================== */
.leadmagnet {
  background: linear-gradient(135deg, var(--emerald-700), var(--navy-900));
  color: #fff; border-radius: var(--radius-lg); padding: 44px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
}
@media (max-width: 800px) { .leadmagnet { grid-template-columns: 1fr; padding: 30px; } }
.leadmagnet h3 { color: #fff; font-size: 26px; }
.leadmagnet p { color: rgba(255,255,255,0.85); }
.leadmagnet ul { list-style: none; padding: 0; margin: 18px 0; }
.leadmagnet ul li { padding-left: 26px; position: relative; margin-bottom: 8px; color: rgba(255,255,255,0.92); }
.leadmagnet ul li::before { content: "✓"; position: absolute; left: 0; color: var(--emerald-400); font-weight: 700; }
.leadmagnet-panel { background: #fff; border-radius: var(--radius-md); padding: 26px; color: var(--ink-900); }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-row { display: flex; gap: 12px; flex-wrap: wrap; }
.form-row input[type="email"], .form-row input[type="text"] {
  flex: 1; min-width: 200px; padding: 13px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--ink-100); font-size: 15px; font-family: inherit;
}
.form-row input:focus { outline: none; border-color: var(--emerald-500); }
.form-note { font-size: 12.5px; color: var(--ink-500); margin-top: 10px; }
.form-success {
  display: none; background: var(--emerald-100); color: var(--emerald-700);
  border-radius: var(--radius-sm); padding: 13px 16px; font-weight: 600; font-size: 14.5px; margin-top: 12px;
}
.form-success.show { display: block; }

/* ==========================================================================
   Calculator
   ========================================================================== */
.calc-shell {
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm);
}
.calc-controls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
@media (max-width: 700px) { .calc-controls { grid-template-columns: 1fr 1fr; } }
.calc-field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-700); margin-bottom: 6px; }
.calc-field input, .calc-field select {
  width: 100%; padding: 11px 12px; border: 1.5px solid var(--ink-100); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit;
}
.calc-field input:focus, .calc-field select:focus { outline: none; border-color: var(--emerald-500); }

.debt-table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.debt-table th {
  text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .03em;
  color: var(--ink-500); padding: 8px 10px; border-bottom: 2px solid var(--ink-100);
}
.debt-table td { padding: 8px 10px; border-bottom: 1px solid var(--ink-50); }
.debt-table input { width: 100%; padding: 8px 9px; border: 1.5px solid var(--ink-100); border-radius: 5px; font-size: 14px; font-family: inherit; }
.debt-table .rm-row {
  background: none; border: none; color: var(--red-600); cursor: pointer; font-size: 18px; line-height: 1;
  padding: 6px;
}
.debt-table-wrap { overflow-x: auto; }

.strategy-toggle { display: inline-flex; border: 1.5px solid var(--ink-100); border-radius: var(--radius-sm); overflow: hidden; }
.strategy-toggle button {
  border: none; background: #fff; padding: 10px 18px; font-weight: 700; font-size: 14.5px; cursor: pointer; color: var(--ink-500);
}
.strategy-toggle button.active { background: var(--navy-900); color: #fff; }

.calc-results { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--ink-100); }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
@media (max-width: 700px) { .result-grid { grid-template-columns: 1fr; } }
.result-box { background: var(--ink-50); border-radius: var(--radius-md); padding: 18px 20px; text-align: center; }
.result-box.highlight { background: var(--emerald-100); }
.result-box b { display: block; font-family: var(--font-serif); font-size: 26px; color: var(--navy-900); margin-bottom: 4px; }
.result-box span { font-size: 13px; color: var(--ink-500); }

#payoffChart { width: 100%; height: 280px; display: block; }
.chart-legend { display: flex; gap: 20px; justify-content: center; margin-top: 10px; font-size: 13px; color: var(--ink-500); flex-wrap: wrap; }
.chart-legend .dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 6px; }

.payoff-order { list-style: none; padding: 0; margin: 0; counter-reset: item; }
.payoff-order li {
  counter-increment: item; padding: 12px 14px; border: 1px solid var(--ink-100); border-radius: var(--radius-sm);
  margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; font-size: 14.5px;
}
.payoff-order li::before {
  content: counter(item); background: var(--navy-900); color: #fff; width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; margin-right: 10px;
}

/* ==========================================================================
   Article / long-form content
   ========================================================================== */
.article-header { padding: 52px 0 30px; background: var(--ink-50); border-bottom: 1px solid var(--ink-100); }
.breadcrumbs { font-size: 13.5px; color: var(--ink-500); margin-bottom: 18px; }
.breadcrumbs a { color: var(--ink-500); }
.breadcrumbs a:hover { color: var(--emerald-700); }
.article-header h1 { font-size: 38px; }
.article-meta { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: 14px; color: var(--ink-500); flex-wrap: wrap; }
.author-chip { display: flex; align-items: center; gap: 10px; }
.author-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--navy-700); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; font-family: var(--font-serif);
}

.article-body { padding-top: 46px; }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } }

.prose h2 { font-size: 27px; margin-top: 1.6em; }
.prose h3 { font-size: 21px; margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-700); font-size: 17px; }
.prose ul li, .prose ol li { margin-bottom: 0.5em; }
.prose a { color: var(--emerald-700); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--ink-100); padding: 10px 12px; text-align: left; }
.prose th { background: var(--ink-50); }
.prose blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--emerald-500);
  font-family: var(--font-serif); font-style: italic; font-size: 19px; color: var(--navy-900);
}

.toc { background: var(--ink-50); border-radius: var(--radius-md); padding: 20px 22px; margin: 24px 0 36px; }
.toc h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-500); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc a { color: var(--ink-700); font-size: 14.5px; font-weight: 600; }
.toc a:hover { color: var(--emerald-700); }
.toc li { margin-bottom: 6px; }

.sidebar-box {
  background: #fff; border: 1px solid var(--ink-100); border-radius: var(--radius-md);
  padding: 22px; margin-bottom: 22px; position: sticky; top: 90px;
}
.sidebar-box h4 { font-size: 15px; margin-bottom: 12px; }
.sidebar-box.stack { position: static; }
.related-link { display: block; padding: 10px 0; border-bottom: 1px solid var(--ink-50); font-size: 14.5px; font-weight: 600; color: var(--ink-700); }
.related-link:last-child { border-bottom: none; }
.related-link:hover { color: var(--emerald-700); }

.author-box {
  display: flex; gap: 16px; background: var(--ink-50); border-radius: var(--radius-md); padding: 22px; margin-top: 46px;
}
.author-box .author-avatar { width: 52px; height: 52px; font-size: 18px; flex-shrink: 0; }
.author-box h4 { font-size: 15px; margin-bottom: 4px; }
.author-box p { font-size: 14px; color: var(--ink-500); margin-bottom: 0; }

/* ==========================================================================
   FAQ / accordion
   ========================================================================== */
.faq-item { border-bottom: 1px solid var(--ink-100); }
.faq-item summary {
  cursor: pointer; padding: 18px 4px; font-weight: 700; font-size: 16px; color: var(--navy-900);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--emerald-600); font-weight: 400; flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-a { padding: 0 4px 20px; color: var(--ink-500); font-size: 15.5px; }

/* ==========================================================================
   Testimonial / trust strip (editorial-standards style, no fabricated reviews)
   ========================================================================== */
.trust-strip { display: flex; flex-wrap: wrap; gap: 36px; justify-content: center; align-items: center; opacity: 0.85; }
.trust-strip .trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--ink-500); }
.trust-strip .trust-item .dot-icon { color: var(--emerald-600); font-size: 18px; }

/* ==========================================================================
   Newsletter / footer CTA
   ========================================================================== */
.cta-band {
  background: var(--navy-950); color: #fff; border-radius: var(--radius-lg);
  padding: 46px; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--ink-100); max-width: 50ch; margin-left: auto; margin-right: auto; }
.cta-band .form-row { max-width: 480px; margin: 22px auto 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-950); color: var(--ink-300); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; margin-bottom: 44px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-family: var(--font-sans); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 16px; }
.footer-grid a { display: block; padding: 6px 0; font-size: 14.5px; color: var(--ink-300); }
.footer-grid a:hover { color: #fff; }
.footer-brand .logo { color: #fff; }
.footer-brand p { font-size: 14px; color: var(--ink-300); margin-top: 14px; max-width: 34ch; }
.footer-legal-note {
  font-size: 12.5px; color: var(--ink-300); line-height: 1.7; border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 26px; max-width: 900px;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.footer-social a:hover { background: rgba(255,255,255,0.08); }

/* ==========================================================================
   Misc pages: legal, about, contact
   ========================================================================== */
.simple-page { padding: 60px 0 90px; }
.simple-page h1 { font-size: 34px; margin-bottom: 6px; }
.simple-page .updated { color: var(--ink-500); font-size: 14px; margin-bottom: 40px; }
.simple-page h2 { font-size: 22px; margin-top: 2em; }
.simple-page p, .simple-page li { color: var(--ink-700); font-size: 16px; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 20px; }
@media (max-width: 700px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { text-align: center; padding: 24px; border: 1px solid var(--ink-100); border-radius: var(--radius-md); }
.team-card .author-avatar { width: 64px; height: 64px; font-size: 22px; margin: 0 auto 14px; }
.team-card h4 { font-size: 16px; margin-bottom: 4px; }
.team-card p { font-size: 13.5px; color: var(--ink-500); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--ink-100); }
.contact-card .ic {
  width: 44px; height: 44px; border-radius: 10px; background: var(--emerald-100); color: var(--emerald-700);
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}

/* ==========================================================================
   Utility
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.badge {
  display: inline-block; background: var(--emerald-100); color: var(--emerald-700);
  font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 100px;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
