:root {
    --forest: #12352b;
    --leaf: #2f7d4b;
    --field: #f7f2e8;
    --sky: #dcebf2;
    --ink: #14211d;
    --muted: #53645d;
    --copper: #c75f2a;
    --gold: #c99a2d;
    --line: rgba(20, 33, 29, 0.14);
    --shadow: 0 18px 40px rgba(18, 53, 43, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--field);
}

body.marketing-home {
    background: #0e241e;
}

a {
    color: inherit;
}

.site-header {
    position: fixed;
    z-index: 10;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px clamp(18px, 4vw, 48px);
    color: #fff;
}

.site-header.solid {
    position: sticky;
    color: var(--ink);
    background: rgba(247, 242, 232, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-decoration: none;
}

.brand-symbol {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, var(--leaf), #86b95e 52%, var(--gold));
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.site-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.site-nav a,
.button-link,
button.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    text-decoration: none;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.site-nav a {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.16);
}

.solid .site-nav a {
    background: rgba(18, 53, 43, 0.06);
    border-color: rgba(18, 53, 43, 0.12);
}

.button-link.primary,
button.button-link.primary {
    color: #fff;
    background: var(--copper);
    box-shadow: 0 12px 24px rgba(199, 95, 42, 0.22);
}

.button-link.secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
}

.solid .button-link.secondary,
.form-shell .button-link.secondary {
    color: var(--forest);
    background: rgba(18, 53, 43, 0.08);
    border-color: rgba(18, 53, 43, 0.14);
}

.farm-hero {
    min-height: 100svh;
    display: grid;
    align-items: end;
    padding: clamp(104px, 12vw, 150px) clamp(20px, 5vw, 70px) clamp(42px, 7vw, 88px);
    color: #fff;
    background:
        linear-gradient(90deg, rgba(6, 23, 18, 0.78) 0%, rgba(6, 23, 18, 0.54) 48%, rgba(6, 23, 18, 0.18) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.42) 100%),
        url("https://images.unsplash.com/photo-1500937386664-56d1dfef3854?auto=format&fit=crop&w=2400&q=84") center / cover;
}

.hero-copy {
    width: min(760px, 100%);
    display: grid;
    gap: 22px;
}

.eyebrow {
    margin: 0;
    color: #d8f0d0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 0;
    font-size: 5.8rem;
    line-height: 0.94;
    letter-spacing: 0;
}

.hero-copy > p {
    margin-bottom: 0;
    max-width: 62ch;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.25rem;
    line-height: 1.55;
}

.hero-actions,
.section-actions,
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.next-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.signal {
    padding: 22px clamp(18px, 4vw, 44px);
    color: #fff;
    background: rgba(18, 53, 43, 0.94);
}

.signal strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.signal span {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.45;
}

.page-band {
    padding: clamp(44px, 8vw, 92px) clamp(18px, 5vw, 70px);
}

.page-band.light {
    background: #fffdf7;
}

.page-band.sky {
    background: var(--sky);
}

.section-inner {
    width: min(1160px, 100%);
    margin: 0 auto;
}

.section-lead {
    display: grid;
    gap: 12px;
    max-width: 760px;
    margin-bottom: 28px;
}

.section-lead h2 {
    margin-bottom: 0;
    font-size: 3.35rem;
    line-height: 1;
}

.section-lead p,
.detail-copy p,
.detail-copy li,
.form-copy p,
.form-copy li,
.notice {
    color: var(--muted);
    line-height: 1.58;
}

.feature-grid,
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.feature-card,
.problem-card,
.form-shell,
.notice {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow);
}

.feature-card,
.problem-card {
    padding: 22px;
}

.feature-card h3,
.problem-card h3 {
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.feature-card p,
.problem-card p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.55;
}

.detail-layout,
.signup-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: clamp(22px, 5vw, 58px);
    align-items: start;
}

.detail-copy {
    display: grid;
    gap: 18px;
}

.detail-copy h1,
.form-copy h1 {
    color: var(--forest);
    font-size: 4.25rem;
}

.detail-copy ul,
.form-copy ul {
    margin: 0;
    padding-left: 20px;
}

.form-shell {
    padding: clamp(20px, 4vw, 32px);
    display: grid;
    gap: 18px;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.field {
    display: grid;
    gap: 7px;
}

.field.span-2 {
    grid-column: 1 / -1;
}

label {
    color: var(--forest);
    font-size: 0.88rem;
    font-weight: 800;
}

.input,
select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(18, 53, 43, 0.2);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.check-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.check-row input {
    margin-top: 4px;
}

.status-box {
    display: grid;
    gap: 8px;
    min-height: 80px;
    padding: 14px;
    border: 1px dashed rgba(18, 53, 43, 0.22);
    border-radius: 8px;
    color: var(--muted);
    background: rgba(247, 242, 232, 0.64);
}

.status-box.good {
    border-style: solid;
    border-color: rgba(47, 125, 75, 0.32);
    background: rgba(224, 242, 228, 0.72);
    color: var(--forest);
}

.status-box.bad {
    border-style: solid;
    border-color: rgba(199, 95, 42, 0.34);
    background: rgba(255, 238, 229, 0.82);
    color: #7a331a;
}

.notice {
    padding: 16px;
}

.hidden {
    display: none !important;
}

.footer-band {
    padding: 26px clamp(18px, 5vw, 70px);
    color: rgba(255, 255, 255, 0.75);
    background: var(--forest);
}

.footer-inner {
    width: min(1160px, 100%);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    h1 {
        font-size: 3.8rem;
    }

    .section-lead h2,
    .detail-copy h1,
    .form-copy h1 {
        font-size: 2.7rem;
    }

    .site-header,
    .site-header.solid {
        position: static;
        color: var(--ink);
        background: #fffdf7;
        border-bottom: 1px solid var(--line);
    }

    .site-nav {
        justify-content: flex-start;
    }

    .site-nav a,
    .button-link.secondary {
        color: var(--forest);
        background: rgba(18, 53, 43, 0.08);
        border-color: rgba(18, 53, 43, 0.14);
    }

    .farm-hero {
        min-height: calc(100svh - 92px);
        padding-top: 70px;
        background-position: center;
    }

    .next-strip,
    .feature-grid,
    .problem-grid,
    .detail-layout,
    .signup-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    h1 {
        font-size: 3rem;
    }

    .hero-copy > p {
        font-size: 1.08rem;
    }

    .section-lead h2,
    .detail-copy h1,
    .form-copy h1 {
        font-size: 2.25rem;
    }

    .site-header {
        display: grid;
    }

    .site-nav a,
    .button-link,
    button.button-link {
        width: 100%;
    }

    .hero-actions,
    .section-actions,
    .form-actions {
        width: 100%;
    }

    .field-grid {
        grid-template-columns: 1fr;
    }
}
