@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@700;800&display=swap');

:root {
    --green: #006B3F;
    --green-dark: #003F29;
    --gold: #FFCD00;
    --gold-soft: #FFF4B8;
    --navy: #082032;
    --ink: #15231f;
    --muted: #65736f;
    --sand: #F6EFE2;
    --paper: #FFFCF6;
    --white: #FFFFFF;
    --border: rgba(0, 63, 41, 0.14);
    --shadow: 0 24px 70px rgba(0, 43, 30, 0.14);
    --shadow-soft: 0 14px 34px rgba(0, 43, 30, 0.09);
    --radius: 28px;
    --radius-sm: 18px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(180deg, #fffdfa 0%, #fbf6e9 48%, #ffffff 100%);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.15rem; color: var(--muted); }
h1, h2, h3 { margin: 0; color: var(--navy); line-height: 1.05; }
h1, h2 { font-family: 'Playfair Display', Georgia, serif; letter-spacing: -0.035em; }
h1 { font-size: clamp(3rem, 7vw, 6.8rem); }
h2 { font-size: clamp(2rem, 4vw, 4rem); }
h3 { font-size: 1.28rem; }

.container { width: min(calc(100% - 36px), var(--container)); margin: 0 auto; }
.narrow { max-width: 840px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--green-dark); padding: 10px 14px; border-radius: 999px; z-index: 10; }
.skip-link:focus { left: 12px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 252, 246, 0.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 16px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--green-dark); letter-spacing: -0.04em; }
.brand span span { color: var(--green); }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 15px; background: linear-gradient(135deg, var(--green), var(--green-dark)); color: var(--gold); box-shadow: 0 12px 25px rgba(0, 107, 63, 0.25); }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { padding: 10px 14px; border-radius: 999px; font-weight: 700; font-size: 0.94rem; color: var(--green-dark); transition: background .25s, transform .25s; }
.main-nav a:hover, .main-nav a.active { background: rgba(0, 107, 63, 0.09); transform: translateY(-1px); }
.main-nav .nav-cta { background: var(--green); color: var(--white); box-shadow: 0 10px 24px rgba(0, 107, 63, 0.22); }
.main-nav .nav-cta:hover, .main-nav .nav-cta.active { background: var(--green-dark); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--green-dark); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 999px; border: 0; background: var(--green); color: var(--white); font-weight: 800; cursor: pointer; box-shadow: 0 16px 34px rgba(0, 107, 63, 0.22); transition: transform .25s, background .25s, box-shadow .25s; }
.button:hover { transform: translateY(-2px); background: var(--green-dark); box-shadow: 0 20px 42px rgba(0, 63, 41, 0.26); }
.button-ghost { background: rgba(255,255,255,.82); color: var(--green-dark); border: 1px solid var(--border); box-shadow: none; }
.button-light { background: var(--gold); color: var(--green-dark); box-shadow: none; }
.eyebrow { display: inline-flex; width: fit-content; margin-bottom: 14px; padding: 7px 12px; border: 1px solid rgba(255, 205, 0, .65); border-radius: 999px; background: rgba(255, 205, 0, .16); color: var(--green-dark); font-size: .76rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.hero { position: relative; overflow: hidden; padding: 76px 0 82px; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(255,205,0,.36), transparent 28%), radial-gradient(circle at 80% 10%, rgba(0,107,63,.18), transparent 32%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.03fr .82fr; gap: 52px; align-items: center; }
.hero-copy p { max-width: 680px; font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-media { position: relative; min-height: 580px; }
.hero-media img { width: 100%; height: 580px; object-fit: cover; border-radius: 42px; box-shadow: var(--shadow); }
.hero-media::before { content: ''; position: absolute; inset: 30px -24px -24px 42px; border: 2px solid var(--gold); border-radius: 42px; z-index: -1; }
.floating-stat { position: absolute; left: -36px; bottom: 34px; width: min(290px, 80%); padding: 20px; border-radius: 24px; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); box-shadow: var(--shadow-soft); }
.floating-stat strong { display: block; color: var(--green); font-size: 1.45rem; }
.floating-stat span { color: var(--muted); font-weight: 600; font-size: .92rem; }

.intro-band { display: grid; grid-template-columns: .8fr 1fr; gap: 36px; align-items: end; margin-top: 22px; margin-bottom: 74px; padding: 34px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(255,255,255,.72); box-shadow: var(--shadow-soft); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 86px; }
.feature-card { min-height: 280px; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-soft); transition: transform .25s, box-shadow .25s; }
.feature-card:hover, .article-card:hover, .compare-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-card svg, .compare-card svg, .contact-card svg { width: 34px; height: 34px; color: var(--green); margin-bottom: 18px; }
.feature-card p { margin-top: 12px; }
.feature-card a, .article-card a, .back-link { display: inline-flex; margin-top: 10px; color: var(--green); font-weight: 900; }
.large-card { grid-row: span 2; background: linear-gradient(145deg, var(--green-dark), var(--green)); }
.large-card h3, .large-card p, .large-card a, .large-card svg { color: var(--white); }
.large-card a { color: var(--gold); }

.split-section { padding: 88px 0; background: linear-gradient(135deg, var(--green-dark), #0d5136); color: var(--white); margin: 40px 0 86px; }
.split-grid { display: grid; grid-template-columns: .9fr 1fr; gap: 58px; align-items: center; }
.split-grid.reverse { grid-template-columns: 1fr .9fr; }
.split-section h2 { color: var(--white); }
.split-section p, .split-section li { color: rgba(255,255,255,.78); }
.image-stack { position: relative; min-height: 620px; }
.image-stack img:first-child { width: 68%; height: 620px; object-fit: cover; border-radius: 36px; box-shadow: var(--shadow); }
.image-stack img:last-child { position: absolute; right: 0; bottom: 28px; width: 54%; height: 330px; object-fit: cover; border: 10px solid var(--green-dark); border-radius: 32px; }
.tick-list { padding: 0; margin: 24px 0; list-style: none; }
.tick-list li { position: relative; padding-left: 30px; margin: 10px 0; }
.tick-list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 900; }
.rounded-image { width: 100%; height: 620px; object-fit: cover; border-radius: 40px; box-shadow: var(--shadow); }

.calculator { display: grid; grid-template-columns: .85fr 1fr; gap: 28px; align-items: stretch; margin-bottom: 90px; }
.calculator-copy, .pathway-tool { padding: 34px; border-radius: var(--radius); }
.calculator-copy { background: var(--sand); border: 1px solid var(--border); }
.pathway-tool { display: grid; gap: 14px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
label { font-weight: 900; color: var(--green-dark); }
select { width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 16px; background: #fff; color: var(--ink); font: inherit; }
.tool-result { min-height: 68px; padding: 16px; border-radius: 18px; background: rgba(0,107,63,.08); color: var(--green-dark); font-weight: 700; }

.section-heading { margin-bottom: 26px; }
.blog-preview, .blog-list { margin-bottom: 90px; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-soft); transition: transform .25s, box-shadow .25s; }
.article-card img { width: 100%; height: 230px; object-fit: cover; }
.article-card div { padding: 24px; }
.article-card span { color: var(--green); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 900; }
.article-card h2, .article-card h3 { margin: 8px 0 10px; font-family: 'Inter', sans-serif; letter-spacing: -0.04em; font-size: 1.35rem; }
.featured-article { grid-column: span 2; }
.featured-article img { height: 360px; }

.page-hero { padding: 88px 0 70px; background: radial-gradient(circle at 20% 15%, rgba(255,205,0,.30), transparent 28%), linear-gradient(135deg, #fffaf0, #eef7f1); }
.page-hero h1 { max-width: 900px; }
.page-hero p { max-width: 760px; font-size: 1.18rem; }
.sandstone { background: linear-gradient(135deg, #f6ead6, #fffaf0); }
.green-gold { background: radial-gradient(circle at 85% 10%, rgba(255,205,0,.35), transparent 24%), linear-gradient(135deg, #e9f6ef, #fff9da); }
.contact-hero, .blog-hero { background: radial-gradient(circle at 20% 20%, rgba(255,205,0,.34), transparent 26%), linear-gradient(135deg, #eef7f1, #fff); }

.timeline-section { display: grid; grid-template-columns: 330px 1fr; gap: 42px; margin: 82px auto; }
.sticky-heading { position: sticky; top: 112px; align-self: start; }
.timeline { position: relative; display: grid; gap: 18px; }
.timeline::before { content: ''; position: absolute; left: 16px; top: 12px; bottom: 12px; width: 2px; background: var(--border); }
.timeline article { position: relative; padding: 24px 24px 24px 58px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white); box-shadow: var(--shadow-soft); }
.timeline article::before { content: ''; position: absolute; left: 8px; top: 30px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); border: 4px solid var(--green); }
.timeline span { font-weight: 900; color: var(--green); }

.editorial-layout { display: grid; grid-template-columns: 1fr 380px; gap: 42px; margin-bottom: 80px; }
.editorial-main { padding: 38px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
.editorial-aside { display: grid; gap: 18px; align-content: start; }
.editorial-aside img { border-radius: var(--radius); height: 460px; width: 100%; object-fit: cover; }
.note-card { padding: 22px; background: var(--green-dark); color: var(--white); border-radius: 22px; }
.faq { margin-bottom: 90px; }
details { padding: 20px 22px; margin-bottom: 12px; border: 1px solid var(--border); border-radius: 18px; background: var(--white); }
summary { cursor: pointer; font-weight: 900; color: var(--green-dark); }

.comparison { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 82px auto; }
.compare-card { padding: 30px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--white); box-shadow: var(--shadow-soft); transition: transform .25s, box-shadow .25s; }
.compare-card ul { padding-left: 20px; color: var(--muted); }
.metric-grid, .checklist-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.metric-grid div, .checklist-grid p { padding: 18px; border-radius: 18px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); }
.metric-grid strong { display: block; color: var(--gold); }
.metric-grid span { color: rgba(255,255,255,.75); }
.premium-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: start; padding: 36px; border-radius: var(--radius); background: linear-gradient(135deg, var(--sand), #ffffff); border: 1px solid var(--border); margin-bottom: 70px; }
.checklist-grid p { margin: 0; background: var(--white); color: var(--green-dark); box-shadow: var(--shadow-soft); }
.cta-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px; border-radius: var(--radius); background: var(--green-dark); margin-bottom: 90px; }
.cta-strip h2, .cta-strip p { color: var(--white); }
.cta-strip p { opacity: .78; }

.article-hero { padding: 78px 0 52px; background: linear-gradient(135deg, #fff9e3, #ecf7f1); }
.article-body { max-width: 920px; margin-top: 48px; margin-bottom: 90px; }
.article-image { width: 100%; height: auto; border-radius: 32px; box-shadow: var(--shadow); margin-bottom: 34px; }
.article-body .lead { font-size: 1.28rem; color: var(--green-dark); font-weight: 600; }
.article-body h2 { margin-top: 34px; margin-bottom: 12px; font-size: clamp(1.7rem, 3vw, 2.55rem); }
.article-body ul, .article-body ol { color: var(--muted); padding-left: 24px; }
blockquote { margin: 32px 0; padding: 28px; border-left: 6px solid var(--gold); border-radius: 18px; background: var(--sand); font-family: 'Playfair Display', Georgia, serif; font-size: 1.55rem; line-height: 1.25; color: var(--green-dark); }
.article-cta { margin-top: 34px; }
.back-link { margin-bottom: 18px; }

.contact-panel { display: grid; grid-template-columns: 1fr 360px; gap: 28px; margin: 80px auto 100px; padding: 36px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-soft); }
.contact-card { display: grid; gap: 8px; align-content: center; padding: 28px; border-radius: 24px; background: var(--sand); }
.contact-card a { color: var(--green); font-weight: 900; word-break: break-word; }

.site-footer { padding: 70px 0 24px; background: var(--navy); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr .9fr 1fr; gap: 34px; }
.footer-grid p, .footer-grid a { color: rgba(255,255,255,.72); }
.footer-grid a { display: block; margin: 8px 0; }
.footer-grid a:hover { color: var(--gold); }
.footer-grid h2 { margin-bottom: 14px; color: var(--white); font-family: 'Inter', sans-serif; font-size: 1rem; letter-spacing: 0; }
.footer-brand { color: var(--white); margin-bottom: 16px; }
.footer-card { padding: 22px; border-radius: 24px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.footer-bottom { margin-top: 44px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { margin: 0; font-size: .9rem; }

.reveal-on-scroll { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
    h1 { font-size: clamp(2.6rem, 10vw, 5rem); }
    .nav-toggle { display: block; }
    .main-nav { position: absolute; top: calc(100% + 1px); left: 18px; right: 18px; display: none; flex-direction: column; align-items: stretch; padding: 14px; border: 1px solid var(--border); border-radius: 22px; background: rgba(255,252,246,.98); box-shadow: var(--shadow); }
    .main-nav.open { display: flex; }
    .main-nav a { text-align: center; }
    .hero-grid, .split-grid, .split-grid.reverse, .intro-band, .calculator, .timeline-section, .editorial-layout, .premium-panel, .contact-panel { grid-template-columns: 1fr; }
    .hero-media { min-height: auto; }
    .hero-media img { height: 470px; }
    .floating-stat { left: 18px; }
    .feature-grid, .comparison, .article-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
    .large-card, .featured-article { grid-column: span 2; grid-row: auto; }
    .sticky-heading { position: static; }
    .rounded-image { height: 480px; }
    .cta-strip { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .brand span:not(.brand-mark) { font-size: .92rem; }
    .hero, .page-hero { padding: 52px 0; }
    .hero-actions { flex-direction: column; }
    .button { width: 100%; }
    .hero-media img { height: 390px; border-radius: 28px; }
    .hero-media::before { display: none; }
    .floating-stat { position: relative; left: auto; bottom: auto; width: 100%; margin-top: -44px; }
    .intro-band, .calculator-copy, .pathway-tool, .premium-panel, .contact-panel, .cta-strip { padding: 24px; }
    .feature-grid, .comparison, .article-grid, .footer-grid, .metric-grid, .checklist-grid { grid-template-columns: 1fr; }
    .large-card, .featured-article { grid-column: auto; }
    .split-section { padding: 58px 0; }
    .image-stack { min-height: auto; }
    .image-stack img:first-child, .image-stack img:last-child { position: static; width: 100%; height: 360px; border: 0; margin-bottom: 14px; }
    .timeline article { padding-left: 46px; }
    .editorial-main { padding: 26px; }
    .article-card img, .featured-article img { height: 220px; }
    .article-hero { padding: 54px 0 36px; }
    blockquote { font-size: 1.25rem; }
}