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

:root {
  --bg: #FAF9F6;
  --surface: #FFFFFF;
  --ink: #212B31;
  --muted: #5C6B73;
  --faint: #8A959B;
  --line: #E7E2D8;
  --accent: #2F6B4F;
  --accent-deep: #24523D;
  --accent-soft: #E9F1EB;
  --amber: #A9691C;
  --amber-soft: #F7EEDF;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(33, 43, 49, 0.05);
  --wrap: 1080px;
  --read: 700px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.22;
  color: var(--ink);
  margin: 0 0 0.55em;
}

h1 { font-size: clamp(30px, 4.5vw, 42px); }
h2 { font-size: clamp(24px, 3vw, 30px); }
h3 { font-size: 19px; }
h4 { font-size: 15px; font-family: inherit; letter-spacing: 0.02em; }

p { margin: 0 0 1em; }
a { color: var(--accent-deep); }
ul, ol { padding-left: 1.25em; }
li { margin: 0 0 0.5em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.readable { max-width: var(--read); margin: 0 auto; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #fff; padding: 10px 16px;
  border-radius: 0 0 8px 0; z-index: 100; text-decoration: none; font-weight: 600;
}
.skip:focus { left: 0; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: Georgia, serif; font-size: 22px; font-weight: 700; }
.brand svg { display: block; }
.site-nav { display: flex; gap: 2px; }
.site-nav a { padding: 8px 13px; border-radius: 8px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
.site-nav a:hover { color: var(--accent-deep); background: var(--accent-soft); }
.nav-toggle {
  display: none; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 13px; font: 600 14px/1 inherit; color: var(--ink); cursor: pointer;
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 4px; padding: 10px 20px 16px;
    background: var(--surface); border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
}

.hero { padding: 60px 0 26px; max-width: 800px; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.hero .sub { font-size: 19px; color: var(--muted); max-width: 620px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 6px; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 13.5px; color: var(--muted); }
.trust-row svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 44px 0 18px; }
.section-head p { margin: 0; color: var(--faint); font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

.card {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; text-decoration: none; color: inherit; box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-2px); border-color: #C7D5CB; }
.card-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-deep); flex: none; }
.card-icon.warm { background: var(--amber-soft); color: var(--amber); }
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 20px; margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card-meta { margin-top: auto; padding-top: 4px; font-size: 13px; color: var(--faint); }

.featured { grid-column: 1 / -1; }
@media (min-width: 721px) {
  .featured { display: grid; grid-template-columns: 64px 1fr; align-items: start; column-gap: 18px; padding: 26px; }
  .featured .card-icon { width: 52px; height: 52px; }
}

.chip { display: inline-block; align-self: flex-start; background: var(--accent-soft); color: var(--accent-deep); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; }
.chip.warm { background: var(--amber-soft); color: var(--amber); }

.crumbs { padding: 24px 0 6px; font-size: 14px; color: var(--faint); }
.crumbs a { color: var(--faint); text-decoration: none; }
.crumbs a:hover { color: var(--accent-deep); text-decoration: underline; }
.article { padding: 8px 0 24px; }
.article-head { margin-bottom: 26px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; color: var(--faint); font-size: 14px; }
.lead { font-size: 19px; color: var(--muted); }
.article h2 { margin-top: 1.7em; }
.article h3 { margin-top: 1.4em; }
.tip { background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 22px 0; }
.tip :last-child { margin-bottom: 0; }
.takeaway { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin: 34px 0 8px; }
.takeaway h3 { margin-bottom: 0.4em; }
.related { max-width: var(--read); margin: 36px auto 8px; padding-top: 26px; border-top: 1px solid var(--line); }
.related .grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }

.ad-slot { margin: 34px auto; max-width: var(--read); text-align: center; }
.ad-slot:empty { display: none; }
.ad-note { display: block; margin-bottom: 8px; font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; color: #A9B1B6; }

.btn { display: inline-block; padding: 11px 22px; border-radius: 9px; border: 1px solid var(--accent); background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; cursor: pointer; }
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-small { padding: 8px 15px; font-size: 14px; }

.newsletter { background: var(--accent-deep); color: #E7EFE9; border-radius: 18px; padding: 40px 28px; text-align: center; margin: 56px 0 0; }
.newsletter h2 { color: #fff; }
.newsletter p { max-width: 480px; margin: 0 auto 4px; color: #C9DCD0; }
.newsletter form { display: flex; gap: 10px; max-width: 440px; margin: 18px auto 0; }
.newsletter input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid transparent; border-radius: 9px; font: inherit; }
.newsletter .btn { background: #fff; color: var(--accent-deep); border-color: #fff; }
.newsletter .btn:hover { background: var(--accent-soft); }
.newsletter small { display: block; margin-top: 10px; color: #9FBCA8; font-size: 12.5px; }
@media (max-width: 560px) { .newsletter form { flex-direction: column; } }

.page-head { padding: 48px 0 8px; max-width: 760px; }
.doc-meta { color: var(--faint); font-size: 14px; }
.info-cards, .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 24px 0; }
.info-card, .step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.info-card h3, .step h3 { margin-bottom: 0.3em; }
.info-card p, .step p { margin: 0; color: var(--muted); font-size: 15px; }
.step-num { display: inline-flex; width: 27px; height: 27px; margin-bottom: 10px; border-radius: 999px; background: var(--accent); color: #fff; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin: 28px 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-block { display: flex; flex-direction: column; gap: 6px; }
.field-block.full { grid-column: 1 / -1; }
.field-block label { font-size: 14px; font-weight: 600; }
.field-block input, .field-block select, .field-block textarea { padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px; font: inherit; background: var(--bg); color: var(--ink); }
.field-block textarea { min-height: 130px; resize: vertical; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.about-list { list-style: none; padding: 0; }
.about-list li { display: flex; gap: 10px; margin-bottom: 12px; }
.about-list svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 4px; }

.site-footer { margin-top: 64px; background: var(--ink); color: #C3CCD1; padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h4 { color: #fff; margin-bottom: 12px; }
.site-footer nav { display: flex; flex-direction: column; gap: 9px; }
.site-footer nav a { color: #AEB9BF; text-decoration: none; font-size: 14.5px; }
.site-footer nav a:hover { color: #fff; }
.brand-light { color: #fff; }
.footer-blurb { margin: 14px 0 0; max-width: 300px; font-size: 14.5px; color: #AEB9BF; }
.footer-disclosure { border-top: 1px solid #34404A; margin-top: 30px; padding-top: 20px; font-size: 13px; color: #93A0A7; }
.footer-copy { font-size: 13px; color: #93A0A7; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; display: none; align-items: center; justify-content: space-between; gap: 16px; max-width: 720px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 15px 18px; box-shadow: 0 12px 34px rgba(33, 43, 49, 0.16); }
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; font-size: 14.5px; color: var(--muted); }
@media (max-width: 560px) { .cookie-banner { flex-direction: column; align-items: flex-start; } }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
