:root {
    --bg: #f3eee4;
    --surface: #fbf8f2;
    --surface-strong: #efe7d8;

    --ink: #173d30;
    --ink-soft: #496258;
    --ink-muted: #7a887f;

    --accent: #d98245;
    --accent-dark: #b9652f;
    --gold: #c6b490;

    --line: rgba(23, 61, 48, 0.13);
    --shadow: 0 14px 38px rgba(35, 45, 39, 0.08);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;

    --content: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(217,130,69,.08), transparent 30rem),
        radial-gradient(circle at top right, rgba(23,61,48,.06), transparent 34rem),
        var(--bg);
    color: var(--ink);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(calc(100% - 40px), var(--content));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background: rgba(243, 238, 228, 0.88);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 7px 20px rgba(23,61,48,.07);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-size: 18px;
}

.brand-subtitle {
    margin-top: 5px;
    color: var(--ink-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 600;
}

.nav a {
    transition: .2s ease;
}

.nav a:hover {
    color: var(--accent-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    min-height: 42px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    transition: .2s ease;
}

.btn-primary {
    background: var(--ink);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-1px);
    background: #0f3025;
}

.btn-secondary {
    border-color: var(--line);
    background: rgba(255,255,255,.38);
}

.btn-secondary:hover {
    border-color: rgba(23,61,48,.25);
    background: var(--surface);
}

.hero {
    padding: 92px 0 58px;
}

.eyebrow {
    margin-bottom: 18px;
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 840px;
    margin: 0;
    font-size: clamp(42px, 7vw, 82px);
    line-height: .98;
    letter-spacing: -0.055em;
}

.hero-copy {
    max-width: 680px;
    margin-top: 28px;
    color: var(--ink-soft);
    font-size: 18px;
}

.section {
    padding: 46px 0;
}

.section-head {
    margin-bottom: 24px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.section-title {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.section-note {
    max-width: 480px;
    margin: 0;
    color: var(--ink-muted);
}

.grid {
    display: grid;
    gap: 20px;
}

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

.card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(251,248,242,.82);
    box-shadow: var(--shadow);
}

.card-kicker {
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.card h3 {
    margin: 12px 0 10px;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.card p {
    margin: 0;
    color: var(--ink-soft);
}

.meta {
    margin-top: 20px;
    color: var(--ink-muted);
    font-size: 13px;
}

.panel {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.form-card {
    width: min(100%, 460px);
    padding: 32px;
    margin: 60px auto;
}

.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    margin-bottom: 7px;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 700;
}

.field input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    outline: none;
    background: #fffdf9;
    color: var(--ink);
}

.field input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(198,180,144,.18);
}

.helper {
    color: var(--ink-muted);
    font-size: 13px;
}

.site-footer {
    margin-top: 70px;
    border-top: 1px solid var(--line);
}

.footer-inner {
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: var(--ink-muted);
    font-size: 13px;
}

@media (max-width: 860px) {
    .nav {
        display: none;
    }

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

    .hero {
        padding-top: 64px;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(calc(100% - 26px), var(--content));
    }

    .header-actions .btn-secondary {
        display: none;
    }

    .hero h1 {
        font-size: 46px;
    }

    .footer-inner {
        padding: 30px 0;
        align-items: flex-start;
        flex-direction: column;
    }
}
