:root {
    --paper: #f4f1e9;
    --paper-bright: #fbfaf6;
    --paper-deep: #e8e4d9;
    --ink: #17201e;
    --ink-soft: #66706b;
    --line: #d8d5ca;
    --teal: #087f75;
    --teal-dark: #075e58;
    --display: 'Manrope', sans-serif;
    --body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); line-height: 1.65; }
a { color: inherit; }
p { color: var(--ink-soft); }
h1, h2, h3, h4 { margin: 0 0 16px; color: var(--ink); font-family: var(--display); line-height: 1.12; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.03em; }
h3 { font-size: 1.2rem; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(244, 241, 233, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.nav { display: flex; align-items: center; gap: 28px; width: min(1180px, 90%); min-height: 78px; margin: auto; }
.brand, .footer-brand { font-family: var(--display); font-weight: 800; letter-spacing: .08em; text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; object-fit: contain; flex-shrink: 0; }
.brand-text { display: inline-flex; align-items: center; letter-spacing: .08em; }
.brand-text span { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-item { position: relative; }
.nav-link { display: block; padding: 10px 11px; color: var(--ink-soft); font-size: .86rem; text-decoration: none; }
.nav-link:hover, .nav-link.is-active { color: var(--teal); }
.caret { display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.dropdown { position: absolute; top: calc(100% + 8px); left: 0; display: none; min-width: 230px; padding: 8px; background: var(--paper-bright); border: 1px solid var(--line); box-shadow: 0 18px 40px #17201e18; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { display: grid; }
.dropdown a { padding: 9px 10px; color: var(--ink-soft); font-size: .82rem; text-decoration: none; }
.dropdown a:hover { color: var(--teal); background: var(--paper-deep); }
.nav-cta, .cta-row { display: flex; align-items: center; gap: 10px; }
.btn { display: inline-block; padding: 12px 18px; border: 1px solid var(--teal); border-radius: 3px; font-size: .86rem; font-weight: 700; text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { color: var(--teal); }
.btn-ghost:hover { background: var(--teal); color: #fff; }
.menu-toggle { display: none; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px; background: var(--ink); }

.wrap { width: min(1120px, 90%); margin-inline: auto; }
.hero { padding: clamp(70px, 11vw, 150px) 0 80px; background: radial-gradient(circle at 85% 15%, #d4e3dc 0, transparent 28%), var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: clamp(30px, 7vw, 100px); }
.hero h1 { margin: 0; font-size: clamp(3.5rem, 9vw, 8.5rem); letter-spacing: -.075em; }
.hero h1 .line { display: block; }
.hero h1 .line:nth-child(2) { color: var(--teal); }
.hero-side { max-width: 420px; padding-bottom: 12px; }
.lede { color: var(--ink); font-family: var(--display); font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.35; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 60px; padding-top: 16px; border-top: 1px solid var(--line); }
.hero-tags span { padding: 7px 12px; color: var(--teal-dark); border: 1px solid #9bbab1; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.flash-messages { padding-top: 18px; }
.flash-message { padding: 13px 16px; border-left: 4px solid var(--teal); background: var(--paper-bright); color: var(--ink); font-size: .9rem; }
.flash-error { border-left-color: #b44a3c; }
.flash-success { border-left-color: var(--teal); }
.section--dim { background: var(--paper-deep); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink h2, .section--ink h3, .section--ink p, .section--ink .eyebrow-plain { color: var(--paper); }
.section-head { margin-bottom: 42px; }
.section-head.wide { max-width: 760px; }
.eyebrow-plain { display: block; margin-bottom: 12px; color: var(--teal); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { padding: 26px; background: var(--paper-bright); border: 1px solid var(--line); border-top: 3px solid var(--teal); }
.card p { font-size: .92rem; }
.link { color: var(--teal); font-size: .86rem; font-weight: 800; text-decoration: none; }
.pillars, .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pillar, .step { padding-top: 18px; border-top: 1px solid #ffffff35; }
.num { color: var(--teal); font-family: var(--display); font-weight: 800; }
.subnav { position: sticky; top: 78px; z-index: 10; overflow-x: auto; background: var(--ink); }
.subnav-row { display: flex; justify-content: center; gap: 26px; width: max-content; min-width: 100%; padding: 14px 5%; }
.subnav a { color: var(--paper); font-size: .8rem; text-decoration: none; white-space: nowrap; }
.subnav a:hover { color: #77c8bb; }
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px 30px; align-content: start; padding-left: 20px; color: var(--ink-soft); }
.section--ink .check-list { color: var(--paper); }
.journey { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; color: var(--teal); font-family: var(--display); font-weight: 800; }
.journey .arrow { color: var(--ink-soft); }
.bubbles { display: grid; gap: 12px; }
.bubble { width: fit-content; max-width: 90%; padding: 12px 16px; color: var(--ink); background: var(--paper); border-radius: 4px 16px 16px 16px; font-size: .88rem; }
.bubble:nth-child(even) { margin-left: auto; border-radius: 16px 4px 16px 16px; }
.value-row { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.value-row p { margin: 0; }
.article-list { border-top: 1px solid var(--line); }
.article-row { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.article-row h3 { margin: 0; }
.idx, .tag { color: var(--teal); font-weight: 800; }
.tag { font-size: .76rem; }
.cta-banner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(28px, 5vw, 58px); background: var(--paper-bright); border: 1px solid var(--line); }
.cta-banner p { max-width: 620px; }
.site-footer { padding: 70px 0 24px; background: var(--ink); color: var(--paper); }
.site-footer p, .footer-col a { color: #aeb7b1; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.footer-col { display: grid; align-content: start; gap: 8px; }
.footer-col h4 { color: var(--paper); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-col a { font-size: .85rem; text-decoration: none; }
.footer-col a:hover { color: #77c8bb; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 22px; border-top: 1px solid #ffffff22; color: #87918b; font-size: .76rem; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.contact-point { display: grid; gap: 3px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.label { color: var(--ink-soft); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.value { font-weight: 700; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper-bright); color: var(--ink); font: inherit; }
.field textarea { min-height: 140px; resize: vertical; }

@media (max-width: 860px) {
    .nav-cta { display: none; }
    .menu-toggle { display: block; margin-left: auto; }
    .nav-links { position: absolute; top: 78px; left: 0; right: 0; display: none; padding: 10px 5%; background: var(--paper-bright); border-bottom: 1px solid var(--line); }
    .nav-links.is-open { display: grid; }
    .dropdown { position: static; box-shadow: none; border: 0; padding-left: 18px; }
    .nav-item:hover .dropdown { display: none; }
    .nav-item:focus-within .dropdown { display: grid; }
    .hero-grid, .contact-layout { grid-template-columns: 1fr; }
    .grid-4, .pillars, .steps { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .hero h1 { font-size: clamp(3.4rem, 17vw, 5.5rem); }
    .grid-2, .grid-3, .grid-4, .pillars, .steps, .form-grid, .check-list { grid-template-columns: 1fr; }
    .field.full { grid-column: auto; }
    .article-row, .value-row { grid-template-columns: 1fr; gap: 7px; }
    .article-row .tag { justify-self: start; }
    .cta-banner { align-items: flex-start; flex-direction: column; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: column; }
}
