/* Nourish public website. Static stylesheet: no build step required. */
:root {
    --green-900: #123f30;
    --green-700: #1f6f54;
    --green-500: #2f8f6c;
    --green-100: #e3f2ea;
    --cream: #f8f5ee;
    --ink: #1c2421;
    --muted: #5b6863;
    --line: #dfe5e1;
    --white: #ffffff;
    --amber-100: #fdf3dc;
    --amber-700: #8a5a00;
    --red-700: #a3261b;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(18, 63, 48, 0.08);
    --font: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
}
img { max-width: 100%; height: auto; }
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
:focus-visible { outline: 3px solid var(--green-500); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; color: var(--green-900); margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

.skip-link {
    position: absolute; left: 16px; top: -48px; z-index: 100;
    padding: 8px 14px; background: var(--green-900); color: var(--white); border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: saturate(1.4) blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.2rem; color: var(--green-900); text-decoration: none; }
.nav-toggle { display: none; padding: 10px; border: 0; background: none; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px 0; background: var(--green-900); }
.nav-menu nav { display: flex; align-items: center; gap: 28px; }
.nav-menu ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-menu ul a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-menu ul a:hover, .nav-menu ul a[aria-current="page"] { color: var(--green-700); }
.nav-menu ul a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }

@media (max-width: 860px) {
    /* Without JavaScript the nav stays visible; the toggle only appears once enhanced. */
    .nav-menu.is-enhanced .nav-toggle { display: block; }
    .nav-menu.is-enhanced:not(.is-open) nav { display: none; }
    .nav-menu.is-enhanced nav {
        position: absolute; left: 0; right: 0; top: 68px;
        flex-direction: column; align-items: stretch; gap: 12px;
        padding: 16px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    }
    .header-inner { flex-wrap: wrap; }
    .nav-menu:not(.is-enhanced) { width: 100%; padding-bottom: 12px; }
    .nav-menu:not(.is-enhanced) nav { flex-direction: column; align-items: stretch; }
    .nav-menu ul { flex-direction: column; gap: 4px; }
    .nav-menu ul a { display: block; padding: 10px 4px; }
}

/* Buttons */
.button {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 12px 22px;
    font: inherit; font-weight: 600; text-decoration: none;
    color: var(--white); background: var(--green-700);
    border: 2px solid var(--green-700); border-radius: 999px; cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.button:hover { background: var(--green-900); border-color: var(--green-900); color: var(--white); }
.button-outline { background: transparent; color: var(--green-700); }
.button-outline:hover { background: var(--green-100); color: var(--green-900); }
.button-small { min-height: 40px; padding: 8px 18px; font-size: 0.95rem; }
.button-disabled { background: var(--line); border-color: var(--line); color: var(--muted); cursor: default; }
.button-disabled:hover { background: var(--line); border-color: var(--line); color: var(--muted); }
.download-buttons, .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--cream), var(--white)); padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 600; color: var(--green-500); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.hero-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.mock-row { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius); background: var(--cream); }
.mock-row strong { display: block; color: var(--green-900); }
.mock-row small { color: var(--muted); }
.dot { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--green-500); }
.dot-2 { background: #8fc9a3; }
.dot-3 { background: #e5b65c; }
.page-hero { background: var(--cream); padding: 56px 0 40px; }

/* Sections and cards */
.section { padding: 64px 0; }
.section-alt { background: var(--cream); }
.section-title { text-align: center; margin-bottom: 36px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p:last-child { margin-bottom: 0; }
.card-highlight { background: var(--green-100); border-color: transparent; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0 0 24px; counter-reset: step; }
.steps li { background: var(--white); border-radius: var(--radius); padding: 24px; counter-increment: step; }
.steps li::before {
    content: counter(step); display: inline-grid; place-items: center;
    width: 36px; height: 36px; margin-bottom: 12px; border-radius: 50%;
    background: var(--green-700); color: var(--white); font-weight: 600;
}

.prose h2 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.timeline { list-style: none; padding: 0 !important; border-left: 3px solid var(--green-100); }
.timeline li { padding: 0 0 8px 24px; }
.timeline h2 { font-size: 1.3rem; margin-top: 0; }

.callout { background: var(--green-100); border-radius: var(--radius); padding: 20px 24px; margin: 28px 0; }
.callout h2 { font-size: 1.2rem; margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }
.callout-warning { background: var(--amber-100); }
.callout-warning h2 { color: var(--amber-700); }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 20px; background: var(--white); }
.faq summary { cursor: pointer; list-style: none; padding: 14px 28px 14px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 10px; font-size: 1.5rem; color: var(--green-700); }
.faq[open] summary::after { content: '−'; }
.faq summary h2 { display: inline; font-size: 1.1rem; margin: 0; }
.faq p { color: var(--muted); }

/* Forms */
.form { display: grid; gap: 18px; margin-top: 24px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; color: var(--ink);
    padding: 12px 14px; border: 1px solid #bfcac5; border-radius: 10px; background: var(--white);
}
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--red-700); }
.field-hint { margin: 0; font-size: 0.9rem; color: var(--muted); }
.field-error { margin: 0; font-size: 0.9rem; color: var(--red-700); }
.form .button { justify-self: start; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: 10px; margin: 16px 0; }
.alert-success { background: var(--green-100); color: var(--green-900); }
.alert-error { background: #fbe4e1; color: var(--red-700); }
.alert-warning { background: var(--amber-100); color: var(--amber-700); }

/* Footer */
.site-footer { background: var(--green-900); color: #d5e6dd; padding: 48px 0 24px; margin-top: 24px; }
.site-footer a { color: var(--white); }
.site-footer .brand { color: var(--white); }
.site-footer .muted { color: #a9c4b6; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-heading { font-size: 0.95rem; color: var(--white); text-transform: uppercase; letter-spacing: 0.08em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-note { border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 32px; padding-top: 20px; font-size: 0.92rem; }

@media (max-width: 860px) {
    .hero { padding: 48px 0 40px; }
    .hero-grid, .split, .footer-grid { grid-template-columns: 1fr; }
    .card-grid, .steps { grid-template-columns: 1fr; }
    .section { padding: 48px 0; }
}
@media (min-width: 861px) and (max-width: 1024px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
