/* ═══════════════════════════════════════════════
   MortgageStressScore.com — v7 Unified Stylesheet
   ═══════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --ink:     #0f0e0c;
  --paper:   #f8f6f1;
  --rule:    #e0ddd5;
  --muted:   #999690;
  --green:   #1a5c3a;
  --green-s: #d4ead9;
  --amber:   #92510a;
  --amber-s: #faebd4;
  --red:     #8b1f1f;
  --red-s:   #f9e8e8;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img  { display: block; max-width: 100%; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* ─── BASE ─── */
body {
  font-family: 'Inter', sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.page-wrapper { overflow-x: clip; }
hr { border: none; border-top: 1px solid var(--rule); }

/* ═══════════════════════════════════════════════
   NAV — single unified component, all pages
   ═══════════════════════════════════════════════
   HTML structure (same on every page):
   <nav class="site-nav">
     <a class="site-logo"><img></a>
     <div class="site-nav-links">
       <a class="site-nav-link">…</a>
       <a class="site-nav-link">…</a>
       <a class="site-nav-link">…</a>
     </div>
     <a class="site-btn-nav">Get my score</a>
   </nav>
   ═══════════════════════════════════════════════ */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 0;
}
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 8px;
}
.site-logo img {
  height: 40px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}
.site-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.site-nav-link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
  transition: color .15s;
}
.site-nav-link:hover { color: var(--ink); }
.site-btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 4px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity .15s;
}
.site-btn-nav:hover { opacity: .85; }

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 96px 32px 80px;
  text-align: center;
}
.hero-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-s);
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 28px;
}
.hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.1;
  letter-spacing: -.5px;
  margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--green); }
.hero-sub {
  font-size: 17px;
  color: #5a5852;
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.6;
  font-weight: 300;
}
.btn-primary {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 36px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .15s;
}
.btn-primary:hover { opacity: .85; }
.hero-trust {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ═══════════════════════════════════════════════
   CALCULATOR
   ═══════════════════════════════════════════════ */
.calc-section {
  max-width: 680px;
  margin: 0 auto;
  padding: 72px 32px;
}
.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.15;
  letter-spacing: -.3px;
  margin-bottom: 36px;
}
.section-title em { font-style: italic; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 500; color: #5a5852; }
.field input, .field select {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 11px 14px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  transition: border-color .15s;
  min-height: 46px;
}
.field input:focus, .field select:focus { border-color: var(--ink); }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.btn-calc {
  width: 100%;
  padding: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: opacity .15s;
  min-height: 50px;
}
.btn-calc:hover { opacity: .85; }
.calculator-note { margin-top: 12px; font-size: 11px; color: var(--muted); line-height: 1.55; }

/* score result */
.score-result { margin-top: 32px; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; display: none; }
.score-result.visible { display: block; }
.score-top { display: flex; align-items: center; gap: 24px; padding: 28px 32px; border-bottom: 1px solid var(--rule); }
.score-ring { width: 88px; height: 88px; border-radius: 50%; border: 3px solid; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.score-num { font-family: 'Instrument Serif', serif; font-size: 32px; line-height: 1; }
.score-lbl { font-size: 9px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; margin-top: 2px; }
.score-info { flex: 1; min-width: 0; }
.score-verdict { font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.score-desc { font-size: 13px; color: #5a5852; line-height: 1.55; }
.score-meter { height: 5px; background: linear-gradient(to right, #1a5c3a 0%, #d4970a 50%, #8b1f1f 100%); position: relative; margin: 20px 32px 0; border-radius: 3px; }
.meter-dot { position: absolute; top: -5px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 2px solid var(--paper); transform: translateX(-50%); transition: left .5s cubic-bezier(.4,0,.2,1); box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.meter-labels { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); padding: 6px 32px 18px; }
.score-factors { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.factor { padding: 14px 24px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; align-items: center; gap: 10px; }
.factor:nth-child(even) { border-right: none; }
.factor:nth-last-child(-n+2) { border-bottom: none; }
.factor-name { font-size: 12px; color: #5a5852; flex: 1; }
.factor-bar { width: 60px; height: 4px; background: var(--rule); border-radius: 2px; overflow: hidden; flex-shrink: 0; }
.factor-fill { height: 4px; border-radius: 2px; transition: width .5s ease; }
.factor-val { font-size: 12px; font-weight: 500; min-width: 28px; text-align: right; }
.result-actions { padding: 22px 32px 26px; border-top: 1px solid var(--rule); background: #fff; }
.result-actions p { font-size: 13px; color: #5a5852; margin-bottom: 14px; line-height: 1.6; }
.btn-secondary { display: inline-block; font-size: 14px; font-weight: 500; padding: 11px 20px; border-radius: 4px; border: 1px solid var(--ink); color: var(--ink); background: transparent; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }

/* ═══════════════════════════════════════════════
   HOW IT'S DIFFERENT  (dark section)
   ═══════════════════════════════════════════════ */
.diff-section { background: var(--ink); color: var(--paper); padding: 80px 32px; }
.diff-inner { max-width: 820px; margin: 0 auto; }
.diff-inner .section-eyebrow { color: rgba(255,255,255,.35); }
.diff-inner .section-title { color: var(--paper); margin-bottom: 48px; }
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.diff-col { display: flex; flex-direction: column; }
.diff-col-title { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 16px; }
.diff-item { display: flex; gap: 10px; margin-bottom: 14px; font-size: 13px; line-height: 1.55; }
.diff-item .dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; margin-top: 7px; }
.diff-them .dot { background: rgba(255,255,255,.2); }
.diff-us .dot   { background: #4cde8f; }
.diff-them .diff-item { color: rgba(255,255,255,.4); }
.diff-us .diff-item   { color: rgba(255,255,255,.9); }

/* ═══════════════════════════════════════════════
   OPTIONS STRIP
   ═══════════════════════════════════════════════ */
.options-section { background: #f2efea; padding: 64px 32px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.options-inner { max-width: 820px; margin: 0 auto; }
.options-row { display: grid; grid-template-columns: repeat(7,1fr); gap: 12px; margin-top: 36px; }
.option-card { background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; padding: 18px 12px; text-align: center; }
.option-icon { font-size: 22px; margin-bottom: 8px; }
.option-name { font-size: 11px; font-weight: 500; line-height: 1.35; }
.option-tag { display: inline-block; margin-top: 6px; font-size: 9px; font-weight: 500; padding: 2px 6px; border-radius: 2px; text-transform: uppercase; letter-spacing: .05em; }
.tag-free { background: var(--green-s); color: var(--green); }
.tag-rec  { background: var(--ink);     color: var(--paper); }
.tag-last { background: var(--red-s);   color: var(--red); }

/* ═══════════════════════════════════════════════
   PRINCIPLES
   ═══════════════════════════════════════════════ */
.principles-section { max-width: 820px; margin: 0 auto; padding: 80px 32px; }
.principles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; margin-top: 48px; }
.principle-num { font-family: 'Instrument Serif', serif; font-size: 42px; color: var(--rule); line-height: 1; margin-bottom: 14px; }
.principle-title { font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.principle-body  { font-size: 13px; color: #5a5852; line-height: 1.65; }

/* ═══════════════════════════════════════════════
   GUIDE CARDS
   ═══════════════════════════════════════════════ */
.guides-section { max-width: 920px; margin: 0 auto; padding: 76px 32px; }
.guides-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 32px; }
.guide-card { display: block; padding: 22px 24px; border: 1px solid var(--rule); border-radius: 8px; background: #fff; color: var(--ink); text-decoration: none; transition: transform .15s, border-color .15s, box-shadow .15s; }
.guide-card:hover { transform: translateY(-2px); border-color: #c9c3b8; box-shadow: 0 8px 26px rgba(15,14,12,.06); }
.guide-card h3 { font-family: 'Instrument Serif', serif; font-size: 20px; line-height: 1.2; margin-bottom: 8px; }
.guide-card p { font-size: 13px; color: #5a5852; line-height: 1.55; }
.guide-card.full { grid-column: 1 / -1; }
.guide-arrow { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 500; color: var(--green); }

/* ═══════════════════════════════════════════════
   ARTICLE LAYOUT (guide pages)
   ═══════════════════════════════════════════════ */
.article { max-width: 740px; margin: 0 auto; padding: 60px 32px 80px; }
.eyebrow { display: inline-block; background: var(--green-s); color: var(--green); padding: 4px 12px; border-radius: 3px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 22px; }
.article h1 { font-family: 'Instrument Serif', serif; font-size: clamp(34px,6vw,56px); line-height: 1.08; letter-spacing: -.04em; margin-bottom: 20px; }
.article h2 { font-family: 'Instrument Serif', serif; font-size: clamp(22px,4vw,30px); line-height: 1.15; margin-top: 48px; margin-bottom: 14px; }
.article h3 { font-size: 16px; font-weight: 500; margin: 26px 0 10px; }
.lead { font-size: 17px; color: #514e49; max-width: 640px; margin-bottom: 8px; line-height: 1.65; }
.article-reviewed { font-size: 12px; color: var(--muted); margin-bottom: 28px; }
.article-reviewed a { color: var(--muted); text-decoration: underline; }
.article p { margin-bottom: 16px; line-height: 1.7; }
.article ul, .article ol { padding-left: 24px; margin-bottom: 16px; }
.article li { margin: 9px 0; line-height: 1.65; }
.article a { color: var(--green); }
.box { border: 1px solid var(--rule); background: #fff; padding: 18px 22px; border-radius: 8px; margin: 24px 0; font-size: 15px; line-height: 1.65; }
.box.warning { border-color: #ead2b5; background: #fff8ee; }
.box.good    { border-color: #b8d9c4; background: #f2faf4; }
.comp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0; }
.comp-card { border: 1px solid var(--rule); background: #fff; border-radius: 8px; padding: 18px 20px; }
.comp-card h3 { font-size: 15px; font-weight: 500; margin-bottom: 10px; }
.comp-card ul { padding-left: 18px; }
.comp-card li { font-size: 13px; margin: 7px 0; color: #3d3b37; }
.article-cta { margin: 48px 0; padding: 28px 32px; border: 1.5px solid var(--ink); background: #fff; border-radius: 10px; text-align: center; }
.article-cta h2 { font-size: 20px; margin-bottom: 10px; margin-top: 0; }
.article-cta p  { font-size: 14px; color: #5a5852; margin-bottom: 18px; }
.article-cta a  { display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none; padding: 13px 28px; border-radius: 6px; font-weight: 500; font-size: 14px; transition: opacity .15s; }
.article-cta a:hover { opacity: .85; }
.sources-block { border-top: 1px solid var(--rule); margin-top: 48px; padding-top: 22px; }
.sources-title { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.sources-block ul { padding-left: 0; list-style: none; margin: 0; }
.sources-block li { font-size: 13px; margin: 6px 0; }
.sources-block a { color: var(--green); text-decoration: none; }
.sources-block a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════
   LEGAL PAGES
   ═══════════════════════════════════════════════ */
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 60px 32px 96px; }
.legal-wrap h1 { font-family: 'Instrument Serif', serif; font-size: clamp(30px,5vw,50px); line-height: 1.1; letter-spacing: -.04em; margin-bottom: 8px; }
.legal-wrap .date { color: var(--muted); font-size: 13px; margin-bottom: 30px; }
.legal-wrap h2 { font-size: 17px; font-weight: 500; margin: 34px 0 10px; }
.legal-wrap p, .legal-wrap li { color: #4f4b45; font-size: 15px; line-height: 1.7; }
.legal-wrap ul { padding-left: 22px; margin-bottom: 14px; }
.legal-wrap li { margin: 8px 0; }
.legal-wrap a { color: var(--green); }
.legal-note { border: 1px solid var(--rule); background: #fff; padding: 16px 20px; border-radius: 8px; margin: 24px 0; font-size: 14px; line-height: 1.6; color: #3d3b37; }
.btn-back { display: inline-block; margin-top: 32px; padding: 11px 22px; background: var(--ink); color: var(--paper); border-radius: 6px; text-decoration: none; font-weight: 500; font-size: 14px; transition: opacity .15s; }
.btn-back:hover { opacity: .85; }

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.site-footer { max-width: 820px; margin: 0 auto; padding: 40px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--rule); flex-wrap: wrap; }
.site-footer img { height: 28px; width: auto; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.footer-tagline { font-size: 12px; color: var(--muted); text-align: center; }
.footer-links { display: flex; gap: 10px; align-items: center; }
.legal-footer { border-top: 1px solid var(--rule); padding: 28px 32px; text-align: center; color: var(--muted); font-size: 13px; }

/* ═══════════════════════════════════════════════
   ACTION PLAN + EMAIL CAPTURE
   ═══════════════════════════════════════════════ */
.action-section { max-width: 680px; margin: 0 auto; padding: 0 32px 72px; opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.action-section.action-visible { opacity: 1; transform: translateY(0); }
.action-title { font-family: 'Instrument Serif', serif; font-size: clamp(20px,4vw,26px); line-height: 1.15; letter-spacing: -.3px; margin-bottom: 6px; margin-top: 6px; }
.action-subtitle { font-size: 14px; color: #5a5852; margin-bottom: 24px; }
.checklist { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; }
.cl-item { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 0.5px solid var(--rule); }
.cl-item:first-child { border-top: 0.5px solid var(--rule); }
.cl-num { font-family: 'Instrument Serif', serif; font-size: 20px; line-height: 1; flex-shrink: 0; padding-top: 2px; min-width: 26px; }
.cl-text { font-size: 14px; line-height: 1.6; color: var(--ink); padding-top: 1px; }
.ec-box { background: #f5f3ef; border: 1px solid var(--rule); border-radius: 10px; padding: 22px 26px; }
.ec-box-title { font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.ec-box-sub { font-size: 13px; color: #5a5852; margin-bottom: 10px; line-height: 1.55; }
.ec-promise { font-size: 12px; color: var(--green); font-weight: 500; margin-bottom: 16px; }
.ec-btn { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; padding: 12px 22px; border: none; border-radius: 6px; background: var(--ink); color: var(--paper); cursor: pointer; transition: opacity .15s; display: inline-block; }
.ec-btn:hover { opacity: .85; }
.ec-fine { font-size: 11px; color: var(--muted); line-height: 1.5; margin-top: 10px; }
.ec-success { padding: 4px 0; }
.ec-success-msg { font-size: 14px; font-weight: 500; color: var(--green); margin-bottom: 6px; }

/* ═══════════════════════════════════════════════
   RESPONSIVE — TABLET  ≤ 860px
   ═══════════════════════════════════════════════ */
@media (max-width: 860px) {
  .options-row { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 640px) {
  .guides-grid { grid-template-columns: 1fr; }
  .guide-card.full { grid-column: auto; }
  .comp-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; gap: 0; }
  .principles-grid { grid-template-columns: 1fr; gap: 28px; }
  .options-row { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .score-factors { grid-template-columns: 1fr; }
  .factor { border-right: none !important; }
  .factor:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule) !important; }
  .factor:last-child { border-bottom: none !important; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — MOBILE  ≤ 760px
   ═══════════════════════════════════════════════ */
@media (max-width: 760px) {

  /* ── NAV: grid layout — row1: logo+CTA, row2: links centred ── */
  .site-nav {
    height: auto;
    min-height: 88px;
    padding: 10px 16px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    grid-template-areas:
      "logo cta"
      "links links";
    column-gap: 10px;
    row-gap: 0;
    align-items: center;
  }

  .site-logo {
    grid-area: logo;
    margin-right: 0;
    align-self: center;
  }
  .site-logo img { height: 30px; max-width: 140px; }

  .site-btn-nav {
    grid-area: cta;
    margin-left: 0;
    padding: 9px 13px;
    font-size: 12px;
    border-radius: 6px;
    align-self: center;
  }

  .site-nav-links {
    grid-area: links;
    flex: unset;
    width: 100%;
    justify-content: center;
    gap: 4px;
    margin-left: 0;
    border-top: 1px solid rgba(15,14,12,.08);
    padding: 6px 0 8px;
  }

  .site-nav-link {
    font-size: 12.5px;
    padding: 5px 9px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
  }

  /* ── HERO ── */
  .hero { padding: 48px 20px 44px; }
  .hero h1 { font-size: clamp(36px,11vw,50px); line-height: 1.06; }
  .hero-sub { font-size: 15px; max-width: 100%; margin-bottom: 28px; }
  .btn-primary { display: block; width: 100%; max-width: 300px; margin: 0 auto; text-align: center; padding: 15px 20px; border-radius: 6px; }
  .hero-trust { flex-wrap: wrap; justify-content: center; }

  /* ── CALCULATOR ── */
  .calc-section { padding: 48px 20px; }
  .section-title { font-size: clamp(22px,7vw,28px); margin-bottom: 22px; }
  .field label { font-size: 13px; }
  .field input, .field select { font-size: 16px; min-height: 50px; padding: 12px 14px; }
  .btn-calc { min-height: 52px; font-size: 16px; border-radius: 8px; }

  /* ── SCORE RESULT ── */
  .score-top { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; }
  .score-ring { width: 76px; height: 76px; }
  .score-num { font-size: 28px; }
  .score-meter { margin: 16px 20px 0; }
  .meter-labels { padding: 6px 20px 14px; }
  .result-actions { padding: 18px 20px 22px; }
  .btn-secondary { display: block; width: 100%; text-align: center; padding: 13px; }

  /* ── HOW IT WORKS (dark section) ── */
  .diff-section { padding: 48px 20px; }
  .diff-inner .section-title { margin-bottom: 32px; }
  .diff-grid { grid-template-columns: 1fr; gap: 0; }
  .diff-col { padding: 24px 0; }
  .diff-col.diff-them { border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 24px; }
  .diff-col.diff-us { padding-top: 24px; }
  .diff-col-title { font-size: 12px; margin-bottom: 16px; }
  .diff-item { font-size: 13px; margin-bottom: 10px; }

  /* ── OPTIONS ── */
  .options-section { padding: 44px 20px; }
  .options-row { grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 24px; }
  .options-row .option-card:last-child { grid-column: 1 / -1; }
  .option-card { padding: 14px 10px; }
  .option-icon { font-size: 20px; margin-bottom: 6px; }
  .option-name { font-size: 11px; }

  /* ── PRINCIPLES ── */
  .principles-section { padding: 48px 20px; }
  .principles-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
  .principle-num { font-size: 36px; }

  /* ── GUIDES ── */
  .guides-section { padding: 48px 20px; }
  .guides-grid { grid-template-columns: 1fr; gap: 10px; }
  .guide-card { padding: 18px 20px; }
  .guide-card h3 { font-size: 17px; }

  /* ── FOOTER ── */
  .site-footer { padding: 28px 20px; flex-direction: column; align-items: center; text-align: center; gap: 12px; }

  /* ── ARTICLE PAGES ── */
  .article { padding: 36px 20px 60px; }
  .article h2 { margin-top: 36px; }
  .lead { font-size: 16px; }
  .box { padding: 14px 16px; font-size: 14px; }
  .article-cta { padding: 22px 18px; }
  .article-cta a { display: block; padding: 14px 20px; border-radius: 8px; }
  .comp-grid { grid-template-columns: 1fr; }

  /* ── LEGAL ── */
  .legal-wrap { padding: 40px 20px 72px; }
  .legal-footer { padding: 22px 20px; }

  /* ── ACTION PLAN ── */
  .action-section { padding: 0 20px 52px; }
  .ec-box { padding: 18px 16px; }
  .ec-btn { width: 100%; text-align: center; padding: 14px; font-size: 15px; border-radius: 8px; }
  .cl-num { font-size: 18px; min-width: 22px; }
  .cl-text { font-size: 13px; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — SMALL  ≤ 390px
   ═══════════════════════════════════════════════ */
@media (max-width: 390px) {
  .site-nav { padding: 9px 12px 0; min-height: 82px; }
  .site-logo img { height: 26px; max-width: 120px; }
  .site-nav-link { font-size: 11.5px; padding: 4px 7px; }
  .site-btn-nav { padding: 8px 10px; font-size: 11px; }
  .hero h1 { font-size: clamp(32px,10vw,44px); }
}
