:root {
    --ink: #241b13;
    --muted: #665b4d;
    --paper: #fff8eb;
    --paper-strong: #fffdf7;
    --line: #e7d8bb;
    --field-blue: #5d7a96;
    --energy: #ce8b4a;
    --exercise: #bd6849;
    --sun: #e9b132;
    --grass: #7c8a48;
    --blocked: #ff3b30;
    --warning: #ff9f0a;
    --shadow: 0 22px 60px rgba(70, 44, 19, 0.14);
    --font-display: "Cooper Black", "Avenir Next", "Trebuchet MS", sans-serif;
    --font-body: "Avenir Next", "Trebuchet MS", sans-serif;
    --shell: min(1120px, calc(100vw - 40px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(135deg, rgba(255, 248, 235, 0.95), rgba(255, 253, 247, 0.98)),
        radial-gradient(circle at 10% 10%, rgba(233, 177, 50, 0.18), transparent 32%),
        linear-gradient(180deg, #fff8eb 0%, #f7edda 100%);
    font-family: var(--font-body);
    line-height: 1.6;
    letter-spacing: 0;
}

body.nav-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

p,
li,
dd {
    color: var(--muted);
    font-size: 1rem;
}

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

h1,
h2,
h3 {
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
}

h1 {
    max-width: 820px;
    margin-bottom: 18px;
    font-size: clamp(3.5rem, 9vw, 8rem);
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    margin-bottom: 10px;
    font-size: 1.35rem;
}

.page-shell {
    width: var(--shell);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 20;
    transform: translateY(-140%);
    border-radius: 8px;
    background: var(--ink);
    color: var(--paper-strong);
    padding: 10px 14px;
    text-decoration: none;
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
    padding: 14px max(20px, calc((100vw - 1120px) / 2));
    border-bottom: 1px solid rgba(231, 216, 187, 0.72);
    background: rgba(255, 248, 235, 0.84);
    backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
}

.brand img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(117, 76, 20, 0.18);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a {
    border-radius: 8px;
    padding: 9px 12px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
    color: var(--ink);
    background: rgba(233, 177, 50, 0.18);
    outline: none;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper-strong);
    color: var(--ink);
}

.nav-toggle__line {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: currentColor;
}

.hero {
    position: relative;
    min-height: clamp(560px, 78svh, 760px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255, 248, 235, 0.98) 0%, rgba(255, 248, 235, 0.9) 42%, rgba(255, 248, 235, 0.06) 100%),
        linear-gradient(135deg, #fff8eb 0%, #f2c15c 58%, #bd6849 100%);
    background-repeat: no-repeat;
    background-size: auto, cover;
    background-position: center, center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 50%;
    right: max(24px, calc((100vw - 1120px) / 2));
    width: min(46vw, 520px);
    aspect-ratio: 1;
    background: url("assets/make_hay_logo.png") center / contain no-repeat;
    filter: drop-shadow(0 18px 40px rgba(68, 43, 13, 0.28));
    transform: translateY(-50%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 22%;
    background: linear-gradient(180deg, transparent, rgba(255, 248, 235, 0.88));
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    padding-block: 84px 56px;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--exercise);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero__tagline {
    margin-bottom: 12px;
    color: var(--ink);
    font-size: clamp(1.65rem, 3vw, 2.7rem);
    font-weight: 900;
}

.hero__lead {
    max-width: 630px;
    margin-bottom: 28px;
    color: #514536;
    font-size: clamp(1.08rem, 1.5vw, 1.28rem);
}

.hero__actions,
.callout-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 12px 18px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.button--primary {
    background: var(--ink);
    color: var(--paper-strong);
    box-shadow: 0 12px 28px rgba(36, 27, 19, 0.22);
}

.button--secondary {
    border-color: rgba(36, 27, 19, 0.18);
    background: rgba(255, 253, 247, 0.78);
    color: var(--ink);
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 740px;
    margin: 42px 0 0;
    border: 1px solid rgba(231, 216, 187, 0.9);
    border-radius: 8px;
    background: rgba(255, 253, 247, 0.78);
    box-shadow: var(--shadow);
}

.trust-strip div {
    padding: 18px;
}

.trust-strip div + div {
    border-left: 1px solid rgba(231, 216, 187, 0.9);
}

.trust-strip dt {
    margin-bottom: 4px;
    font-weight: 900;
}

.trust-strip dd {
    margin: 0;
    font-size: 0.95rem;
}

.section {
    padding: clamp(58px, 8vw, 104px) 0;
}

.section--intro {
    padding-top: clamp(42px, 6vw, 70px);
}

.section--band {
    background:
        linear-gradient(135deg, rgba(93, 122, 150, 0.1), rgba(233, 177, 50, 0.14)),
        rgba(255, 253, 247, 0.7);
    border-block: 1px solid rgba(231, 216, 187, 0.75);
}

.intro-grid,
.split-grid,
.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(28px, 5vw, 68px);
    align-items: start;
}

.intro-grid p:last-child,
.feature-list p,
.copy-block p,
.legal-copy p {
    font-size: 1.08rem;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 30px;
}

.card-grid {
    display: grid;
    gap: 18px;
}

.card-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.side-note,
.quote-panel,
.callout-panel {
    border: 1px solid rgba(231, 216, 187, 0.95);
    border-radius: 8px;
    background: rgba(255, 253, 247, 0.82);
    box-shadow: var(--shadow);
}

.info-card {
    min-height: 250px;
    padding: 24px;
}

.info-card h2,
.info-card h3 {
    font-size: 1.45rem;
}

.card-number {
    display: inline-flex;
    margin-bottom: 38px;
    color: var(--muted);
    font-weight: 900;
}

.info-card--steps {
    border-top: 6px solid var(--field-blue);
}

.info-card--energy,
.info-card--ideas {
    border-top: 6px solid var(--energy);
}

.info-card--finished,
.info-card--privacy {
    border-top: 6px solid var(--sun);
}

.info-card--support {
    border-top: 6px solid var(--exercise);
}

.feature-list {
    max-width: 680px;
}

.check-list,
.copy-block ul,
.legal-copy ul,
.copy-block ol {
    padding-left: 1.25rem;
}

.check-list li,
.copy-block li,
.legal-copy li {
    margin-bottom: 10px;
}

.callout-panel {
    justify-content: space-between;
    padding: clamp(24px, 4vw, 38px);
}

.callout-panel > div {
    max-width: 700px;
}

.callout-panel p:last-child {
    margin-bottom: 0;
}

.callout-panel--quiet {
    background: var(--paper-strong);
}

.page-hero {
    padding: clamp(72px, 12vw, 136px) 0 clamp(50px, 8vw, 90px);
    background:
        linear-gradient(110deg, rgba(255, 248, 235, 0.98), rgba(255, 248, 235, 0.82)),
        linear-gradient(135deg, rgba(233, 177, 50, 0.3), rgba(93, 122, 150, 0.18));
    border-bottom: 1px solid rgba(231, 216, 187, 0.75);
}

.page-hero__inner {
    max-width: 880px;
}

.page-hero h1 {
    font-size: clamp(2.8rem, 7vw, 5.8rem);
}

.page-hero p:not(.eyebrow) {
    max-width: 720px;
    font-size: clamp(1.1rem, 2vw, 1.32rem);
}

.page-hero .button {
    margin-top: 8px;
}

.page-hero--legal h1 {
    max-width: 900px;
}

.contact-hero {
    background:
        linear-gradient(100deg, rgba(255, 248, 235, 0.97), rgba(255, 248, 235, 0.78)),
        url("assets/make_hay_logo.png"),
        linear-gradient(135deg, #f7d481, #bd6849);
    background-repeat: no-repeat;
    background-size: auto, min(34vw, 360px), cover;
    background-position: center, calc(100% - max(24px, calc((100vw - 1120px) / 2))) center, center;
}

.content-grid {
    grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
}

.content-grid--reverse {
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
}

.content-grid--reverse .side-note {
    order: 2;
}

.side-note {
    position: sticky;
    top: 100px;
    padding: 24px;
}

.side-note h2,
.copy-block h2,
.legal-copy h2 {
    margin-top: 0;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.side-note a,
.copy-block a,
.legal-copy a {
    color: var(--exercise);
    font-weight: 900;
}

.side-note--large {
    align-self: start;
}

.copy-block,
.legal-copy {
    max-width: 780px;
}

.copy-block h2:not(:first-child),
.legal-copy h2:not(:first-child) {
    margin-top: 42px;
}

.copy-block h3,
.legal-copy h3 {
    margin-top: 26px;
    font-family: var(--font-body);
    font-size: 1.18rem;
}

.copy-block--plain {
    max-width: 680px;
}

.quote-panel {
    padding: clamp(24px, 4vw, 42px);
    background:
        linear-gradient(135deg, rgba(233, 177, 50, 0.24), rgba(189, 104, 73, 0.12)),
        var(--paper-strong);
}

.quote-panel p {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 900;
    line-height: 1.08;
}

.legal-copy {
    max-width: 860px;
}

.site-footer {
    padding: 42px 0;
    border-top: 1px solid rgba(231, 216, 187, 0.82);
    background: #241b13;
    color: var(--paper-strong);
}

.site-footer p,
.site-footer a {
    color: rgba(255, 248, 235, 0.78);
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--paper-strong);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr auto;
    gap: 24px;
    align-items: start;
}

.footer-brand {
    color: var(--paper-strong);
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.site-footer nav a {
    text-decoration: none;
    font-weight: 800;
}

.footer-meta {
    margin: 0;
    text-align: right;
}

@media (max-width: 860px) {
    .site-header {
        min-height: 68px;
    }

    .nav-toggle {
        display: inline-block;
    }

    .site-nav {
        position: fixed;
        inset: 68px 16px auto;
        display: grid;
        gap: 8px;
        transform: translateY(-12px);
        border: 1px solid var(--line);
        border-radius: 8px;
        background: rgba(255, 253, 247, 0.98);
        padding: 12px;
        box-shadow: var(--shadow);
        opacity: 0;
        pointer-events: none;
        transition: opacity 160ms ease, transform 160ms ease;
    }

    .site-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav a {
        padding: 12px;
    }

    .hero {
        min-height: auto;
        background:
            linear-gradient(180deg, rgba(255, 248, 235, 0.72), rgba(255, 248, 235, 0.98) 52%),
            linear-gradient(135deg, #fff8eb 0%, #f2c15c 58%, #bd6849 100%);
        background-repeat: no-repeat;
        background-size: auto, cover;
        background-position: center, center;
    }

    .hero::before {
        top: 28px;
        right: 50%;
        width: min(72vw, 360px);
        transform: translateX(50%);
    }

    .hero__content {
        padding-top: clamp(300px, 62vw, 420px);
        padding-bottom: 52px;
    }

    h1 {
        font-size: clamp(3.2rem, 16vw, 5rem);
    }

    .trust-strip,
    .intro-grid,
    .split-grid,
    .content-grid,
    .content-grid--reverse,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .trust-strip div + div {
        border-top: 1px solid rgba(231, 216, 187, 0.9);
        border-left: 0;
    }

    .card-grid--three {
        grid-template-columns: 1fr;
    }

    .info-card {
        min-height: auto;
    }

    .side-note {
        position: static;
    }

    .content-grid--reverse .side-note {
        order: 0;
    }

    .contact-hero {
        background:
            linear-gradient(180deg, rgba(255, 248, 235, 0.76), rgba(255, 248, 235, 0.98) 62%),
            url("assets/make_hay_logo.png"),
            linear-gradient(135deg, #f7d481, #bd6849);
        background-repeat: no-repeat;
        background-size: auto, min(64vw, 320px), cover;
        background-position: center, top 28px center, center;
    }

    .footer-meta {
        text-align: left;
    }
}

@media (max-width: 520px) {
    :root {
        --shell: min(100vw - 28px, 1120px);
    }

    .brand span {
        font-size: 1.05rem;
    }

    .hero__actions,
    .callout-panel {
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .trust-strip {
        margin-top: 30px;
    }

    .page-hero h1 {
        font-size: clamp(2.55rem, 13vw, 4.1rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}