:root {
  --ink: #17283a;
  --blue: #1a3a5c;
  --blue-2: #244f76;
  --sand: #e8d8c3;
  --sand-light: #f3ebe1;
  --paper: #f9f9f9;
  --white: #ffffff;
  --teal: #2e7d7b;
  --teal-dark: #235f5d;
  --muted: #5e6a73;
  --line: #d9dee1;
  --shadow: 0 18px 45px rgba(26, 58, 92, 0.10);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid #e6a64c; outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 10px; background: white; padding: .7rem 1rem; z-index: 99; }
.skip-link:focus { left: 10px; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.reading-wrap { width: min(780px, calc(100% - 40px)); margin-inline: auto; }

.utility { background: var(--blue); color: #dce9f0; font-size: .84rem; letter-spacing: .025em; }
.utility .wrap { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; }
.utility a { color: white; text-underline-offset: 3px; }
.site-header { background: rgba(249,249,249,.97); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(10px); }
.nav-row { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: .8rem; }
.brand-mark { width: 42px; height: 42px; border-radius: 11px; background: var(--blue); display: grid; place-items: center; flex: none; }
.brand-mark svg { width: 28px; height: 28px; }
.brand-name { color: var(--blue); font: 700 1.45rem/1 var(--serif); }
.brand-note { display: block; margin-top: .25rem; color: var(--muted); font-size: .73rem; letter-spacing: .09em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { text-decoration: none; color: var(--blue); font-weight: 650; font-size: .95rem; }
.nav-links a:hover { color: var(--teal-dark); }
.nav-cta { border: 1px solid var(--teal); border-radius: 999px; padding: .55rem .95rem; }
.menu-btn { display: none; padding: .55rem .7rem; border: 1px solid var(--line); background: white; color: var(--blue); border-radius: 8px; }

.hero { background: var(--sand-light); border-bottom: 1px solid #dfd2c3; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; min-height: 590px; }
.hero-copy { padding: 5.3rem 5rem 4.8rem max(20px, calc((100vw - 1180px)/2)); display: flex; flex-direction: column; justify-content: center; }
.eyebrow { color: var(--teal-dark); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1rem; }
h1, h2, h3 { font-family: var(--serif); color: var(--blue); line-height: 1.12; }
h1 { font-size: clamp(2.75rem, 5vw, 4.75rem); letter-spacing: -.035em; margin: 0 0 1.25rem; max-width: 700px; }
.hero-lead { font-size: clamp(1.08rem, 1.6vw, 1.26rem); max-width: 660px; color: #394a58; margin: 0 0 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .68rem 1.15rem; border-radius: 5px; background: var(--teal); color: white; border: 1px solid var(--teal); font-weight: 750; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.text-link { color: var(--blue); font-weight: 750; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.hero-image { position: relative; min-height: 460px; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.image-caption { position: absolute; right: 1rem; bottom: 1rem; background: rgba(26,58,92,.88); color: white; padding: .35rem .6rem; font-size: .75rem; }

.trust-strip { background: white; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 1.2rem 2rem; border-right: 1px solid var(--line); display: flex; align-items: flex-start; gap: .8rem; }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border: 0; }
.trust-icon { color: var(--teal); font-weight: 900; font-size: 1.2rem; line-height: 1.4; }
.trust-item strong { display: block; color: var(--blue); }
.trust-item span { color: var(--muted); font-size: .9rem; }

.section { padding: 5.5rem 0; }
.section.sand { background: var(--sand-light); }
.section.blue { background: var(--blue); color: white; }
.section.blue h2, .section.blue h3 { color: white; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.2rem; }
.section-head h2 { font-size: clamp(2.15rem, 4vw, 3.35rem); margin: .3rem 0 0; letter-spacing: -.025em; }
.section-head p { max-width: 560px; margin: 0; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.article-card { background: white; border: 1px solid var(--line); border-top: 5px solid var(--teal); padding: 1.6rem; min-height: 315px; display: flex; flex-direction: column; box-shadow: 0 4px 18px rgba(26,58,92,.04); }
.card-kicker { margin: 0 0 .7rem; color: var(--teal-dark); font-size: .76rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.article-card h3 { margin: 0 0 .85rem; font-size: 1.55rem; }
.article-card p { color: var(--muted); margin: 0 0 1.2rem; }
.article-card a { margin-top: auto; color: var(--blue); font-weight: 800; text-underline-offset: 5px; }
.article-card a::after { content: "  →"; color: var(--teal); }

.topic-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 3rem; align-items: start; }
.pillars { display: grid; gap: 1rem; }
.pillar { display: grid; grid-template-columns: 64px 1fr; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid rgba(26,58,92,.17); }
.pillar-number { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--teal); color: var(--teal-dark); display: grid; place-items: center; font: 700 1.15rem/1 var(--serif); }
.pillar h3 { margin: 0 0 .4rem; font-size: 1.45rem; }
.pillar p { margin: 0; color: var(--muted); }
.side-note { background: var(--blue); color: white; padding: 2rem; box-shadow: var(--shadow); }
.side-note h3 { color: white; margin-top: 0; font-size: 1.65rem; }
.side-note p { color: #dbe5ec; }
.side-note a { color: white; }

.idea-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.idea { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.15rem .8rem; border-bottom: 1px solid var(--line); }
.idea:nth-child(odd) { border-right: 1px solid var(--line); padding-left: 0; }
.idea-num { color: var(--teal); font: 700 1rem/1.6 var(--serif); }
.idea h3 { font-family: var(--sans); font-size: 1rem; line-height: 1.45; margin: 0; }
.idea a { text-decoration: none; }
.idea a:hover { text-decoration: underline; text-underline-offset: 4px; }

.newsletter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.newsletter-grid h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); margin: 0 0 1rem; }
.newsletter-grid p { color: #dce5eb; }
.newsletter-form { background: white; color: var(--ink); padding: 1.5rem; }
.newsletter-form label { display: block; color: var(--blue); font-weight: 800; margin-bottom: .5rem; }
.form-row { display: grid; grid-template-columns: 1fr auto; gap: .6rem; }
.newsletter-form input { min-width: 0; border: 1px solid #9aa7af; min-height: 50px; padding: .7rem .8rem; border-radius: 4px; }
.form-note { font-size: .8rem; color: var(--muted) !important; margin: .65rem 0 0; }
.form-message { display: none; color: var(--teal-dark) !important; font-weight: 750; margin-bottom: 0 !important; }
.form-message.show { display: block; }

.about-preview { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; }
.about-preview h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin: 0; }
.about-preview p:first-child { font: 1.4rem/1.5 var(--serif); color: var(--blue); margin-top: 0; }
.medical-note { background: #eef4f4; border-left: 4px solid var(--teal); padding: 1rem 1.2rem; font-size: .93rem; }

.page-hero { background: var(--sand-light); padding: 4.5rem 0 3.5rem; border-bottom: 1px solid #dfd2c3; }
.page-hero h1 { font-size: clamp(2.7rem, 5vw, 4.4rem); }
.page-hero p { font-size: 1.18rem; max-width: 720px; margin-bottom: 0; color: #455560; }
.prose { padding: 4rem 0 5.5rem; }
.prose h2 { margin-top: 2.7rem; font-size: 1.8rem; }
.prose h3 { margin-top: 2rem; font-size: 1.25rem; }
.prose li { margin-bottom: .55rem; }
.prose .last-updated { color: var(--muted); font-size: .9rem; }
.prose a { color: var(--teal-dark); text-underline-offset: 4px; }

.site-footer { background: #102a43; color: #dbe5eb; padding: 3.8rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; }
.footer-brand .brand-name { color: white; }
.footer-brand p { max-width: 330px; font-size: .92rem; }
.footer-col h2 { font: 700 .82rem/1 var(--sans); text-transform: uppercase; letter-spacing: .12em; color: #f0dabe; margin: .7rem 0 1rem; }
.footer-col a { display: block; color: #e7eef2; margin: .55rem 0; font-size: .92rem; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.17); margin-top: 2.5rem; padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1.5rem; color: #afc0cc; font-size: .8rem; }

@media (max-width: 920px) {
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 82px; background: white; padding: 1.1rem 20px 1.4rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .menu-btn { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 4rem max(20px, calc((100vw - 1180px)/2)); }
  .hero-image { min-height: 390px; }
  .trust-grid, .cards { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0; }
  .topic-grid, .newsletter-grid, .about-preview { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap, .reading-wrap { width: min(100% - 28px, 1180px); }
  .utility .wrap { justify-content: center; }
  .utility span:last-child { display: none; }
  .brand-note { display: none; }
  .section { padding: 4rem 0; }
  .section-head { align-items: start; flex-direction: column; }
  .hero-copy { padding: 3.4rem 20px; }
  .hero-image { min-height: 320px; }
  .idea-list { grid-template-columns: 1fr; }
  .idea:nth-child(odd) { border-right: 0; }
  .idea { padding-left: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
