:root {
    --ink: #17211b;
    --muted: #657166;
    --paper: #fbfaf6;
    --sand: #e7d5b2;
    --clay: #b45f32;
    --olive: #2f5d46;
    --gold: #c69c45;
    --line: #e5dfd2;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header,
.site-footer {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 18px clamp(18px, 5vw, 72px);
}

.site-header {
    background: rgba(251, 250, 246, 0.92);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
}

.brand {
    color: var(--olive);
    font-size: 1.12rem;
    font-weight: 800;
}

.main-nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.95rem;
}

.main-nav a {
    color: #3f4b42;
}

.hero {
    display: grid;
    min-height: 78vh;
    position: relative;
}

.hero img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

.hero::after {
    background: linear-gradient(90deg, rgba(22, 20, 14, 0.78), rgba(22, 20, 14, 0.18));
    content: "";
    inset: 0;
    position: absolute;
}

.hero-content {
    align-self: center;
    color: white;
    max-width: 760px;
    padding: clamp(56px, 10vw, 120px) clamp(20px, 7vw, 92px);
    position: relative;
    z-index: 1;
}

.kicker {
    color: #f1d58c;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 5.8rem);
    line-height: 0.95;
    margin: 12px 0 22px;
}

.hero p {
    font-size: 1.15rem;
    line-height: 1.7;
}

.hero-actions,
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    border-radius: 6px;
    display: inline-flex;
    font-weight: 800;
    padding: 12px 18px;
}

.button.primary {
    background: var(--gold);
    color: #20180a;
}

.button.secondary {
    border: 1px solid rgba(255, 255, 255, 0.68);
    color: white;
}

.content-band {
    padding: clamp(44px, 7vw, 86px) clamp(18px, 5vw, 72px);
}

.section-heading {
    max-width: 820px;
}

.section-heading h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
    margin: 0 0 12px;
}

.section-heading p,
.feature-grid p {
    color: var(--muted);
    line-height: 1.7;
}

.feature-grid {
    margin-top: 28px;
}

.feature-grid article {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    flex: 1 1 240px;
    padding: 22px;
}

.site-footer {
    background: #1d251f;
    color: white;
}

.auth-panel {
    margin: 48px auto;
    max-width: 760px;
    padding: 0 20px;
}

.auth-panel form,
.auth-panel label {
    display: grid;
    gap: 10px;
}

.auth-panel form {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
}

input {
    border: 1px solid var(--line);
    border-radius: 6px;
    font: inherit;
    padding: 12px;
}

.form-error {
    color: #9a3412;
    font-weight: 700;
}

@media (max-width: 760px) {
    .site-header,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero {
        min-height: 72vh;
    }
}
