:root {
    --ink: #17211d;
    --muted: #66736d;
    --paper: #fbfaf5;
    --surface: #ffffff;
    --sage: #5f7d66;
    --forest: #244838;
    --mint: #dcecdf;
    --gold: #d89b3c;
    --clay: #b85f49;
    --border: rgba(36, 72, 56, 0.16);
    --shadow: 0 24px 70px rgba(23, 33, 29, 0.12);
    --max: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        linear-gradient(120deg, rgba(220, 236, 223, 0.72), rgba(251, 250, 245, 0) 36rem),
        var(--paper);
    line-height: 1.5;
}

a {
    color: inherit;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max);
    margin: 0 auto;
    padding: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand img {
    display: block;
    width: clamp(190px, 26vw, 280px);
    height: auto;
}

.header-link {
    color: var(--forest);
    font-weight: 700;
    text-decoration: none;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
    max-width: var(--max);
    min-height: calc(100svh - 86px);
    margin: 0 auto;
    padding: 40px 24px 72px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--clay);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

h1 {
    max-width: 760px;
    margin-bottom: 22px;
    color: var(--forest);
    font-size: clamp(3.2rem, 8vw, 6.7rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 0.92;
}

.hero-text {
    max-width: 650px;
    margin-bottom: 34px;
    color: var(--muted);
    font-size: clamp(1.08rem, 2vw, 1.28rem);
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.button.primary {
    background: var(--forest);
    color: #fff;
    box-shadow: 0 12px 28px rgba(36, 72, 56, 0.24);
}

.button.secondary {
    background: rgba(255, 255, 255, 0.7);
    border-color: var(--border);
    color: var(--forest);
}

.rate-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.panel-topline {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.9rem;
}

.panel-topline strong {
    color: var(--clay);
}

.rate-card {
    padding: 26px;
    border-radius: 8px;
    background: linear-gradient(145deg, var(--forest), #3d6f55);
    color: #fff;
}

.rate-card span,
.metric-grid span {
    display: block;
    margin-bottom: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    opacity: 0.75;
    text-transform: uppercase;
}

.rate-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
}

.rate-card small {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.96rem;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.metric-grid div {
    min-height: 104px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fbfcf8;
}

.metric-grid strong {
    color: var(--forest);
    font-size: 1.22rem;
}

.details,
.waitlist {
    max-width: var(--max);
    margin: 0 auto;
    padding: 72px 24px;
}

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

.details article {
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.details h2 {
    margin-bottom: 10px;
    color: var(--forest);
    font-size: 1.16rem;
}

.details p {
    margin-bottom: 0;
    color: var(--muted);
}

.waitlist {
    display: grid;
    grid-template-columns: 0.72fr 1fr;
    gap: clamp(28px, 6vw, 72px);
    align-items: start;
}

.waitlist h2 {
    margin-bottom: 18px;
    color: var(--forest);
    font-size: clamp(2.1rem, 4vw, 3.7rem);
    line-height: 1;
}

.waitlist-copy p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.08rem;
}

.waitlist-form {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.form-fields {
    display: grid;
    gap: 18px;
}

.form-column {
    display: grid;
    align-content: start;
    gap: 18px;
}

.contact-label {
    margin-top: 0;
}

.first-name-label {
    margin-top: 0;
}

.hidden-iframe {
    display: none;
}

label {
    display: grid;
    gap: 8px;
    color: var(--forest);
    font-size: 0.9rem;
    font-weight: 800;
}

fieldset {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fbfcf8;
}

legend {
    padding: 0 4px;
    color: var(--forest);
    font-size: 0.9rem;
    font-weight: 800;
}

.field-hint {
    margin: 0;
    color: #8a9690;
    font-size: 0.9rem;
    font-weight: 600;
}

.choice {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 30px;
    color: var(--ink);
    font-weight: 600;
}

.choice input[type="radio"],
.choice input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    min-height: 18px;
    margin: 0;
    accent-color: var(--forest);
}

.other-choice {
    display: grid;
    grid-template-columns: 18px auto minmax(120px, 1fr);
    column-gap: 10px;
}

.other-input {
    min-width: 0;
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fbfcf8;
    color: var(--ink);
    font: inherit;
    padding: 12px 13px;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--sage);
    box-shadow: 0 0 0 4px rgba(95, 125, 102, 0.14);
    outline: none;
}

.choice .other-input {
    min-height: 30px;
    border: 0;
    border-bottom: 2px solid rgba(36, 72, 56, 0.28);
    border-radius: 0;
    background: transparent;
    padding: 2px 0;
}

.choice .other-input:focus {
    border-color: var(--sage);
    box-shadow: none;
}

.full {
    grid-column: 1 / -1;
}

.form-status {
    grid-column: 1 / -1;
    min-height: 24px;
    margin: 0;
    color: var(--forest);
    font-weight: 700;
}

.success-message {
    display: none;
    grid-column: 2;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.success-message.show {
    display: block;
}

.success-message h3 {
    margin: 0 0 8px;
    color: var(--forest);
    font-size: 1.45rem;
}

.success-message p {
    margin: 0;
    color: var(--muted);
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    max-width: var(--max);
    margin: 0 auto;
    padding: 32px 24px 44px;
    border-top: 1px solid var(--border);
    color: var(--muted);
}

footer span {
    color: var(--forest);
    font-weight: 800;
}

@media (max-width: 820px) {
    .hero,
    .waitlist,
    .details {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 28px;
    }

    .rate-panel {
        max-width: 560px;
    }

    .success-message {
        grid-column: 1;
    }
}

@media (min-width: 720px) {
    .form-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form-column:nth-child(2) {
        padding-top: calc(0.9rem * 1.2 + 2px);
    }

    .contact-label {
        margin-top: -10px;
    }

    .first-name-label {
        margin-top: 10px;
    }
}

@media (max-width: 560px) {
    .site-header {
        align-items: center;
        flex-direction: row;
        padding: 18px;
    }

    footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .brand img {
        width: min(210px, 58vw);
    }

    .header-link {
        font-size: 0.95rem;
    }

    h1 {
        font-size: clamp(2.7rem, 17vw, 4.6rem);
    }

    .button {
        width: 100%;
    }

    .waitlist-form {
        padding: 18px;
    }

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