:root {
    --bg: #f5f7f6;
    --surface: #ffffff;
    --surface-accent: #edf3f0;
    --text-primary: #223137;
    --text-secondary: #4f6268;
    --primary: #7fa7a1;
    --primary-strong: #6b918b;
    --border: #d7e1de;
    --success: #2f6f59;
    --warning: #8a5a1e;
    --error: #8b2c2c;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg);
}

.hero {
    background: linear-gradient(180deg, #f8fbfa 0%, #f1f6f4 100%);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 1rem 4rem;
}

.nav,
.hero-content,
.section {
    max-width: 64rem;
    margin: 0 auto;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.brand {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
}

.hero-content h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    line-height: 1.15;
    margin: 0.3rem 0 1rem;
    max-width: 18ch;
}

.eyebrow {
    color: var(--primary-strong);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-copy {
    max-width: 64ch;
    color: var(--text-secondary);
}

.cta-row {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    border-radius: 999px;
    padding: 0.68rem 1.1rem;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: #12303a;
}

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

.btn-secondary {
    background: var(--surface);
    color: var(--text-primary);
    border-color: var(--border);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.section {
    padding: 3.5rem 1rem;
}

.section h2 {
    margin-top: 0;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
}

.section-intro {
    margin-top: -0.4rem;
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
}

.grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.card {
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    background: var(--surface);
    padding: 1rem;
}

.card p,
.section p {
    color: var(--text-secondary);
}

.accent {
    background: var(--surface-accent);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.waitlist-form {
    margin-top: 1rem;
    max-width: 28rem;
    display: grid;
    gap: 0.65rem;
}

#contact.section {
    padding-bottom: 1.75rem;
}

.waitlist-form label {
    font-weight: 600;
}

.waitlist-form input[type="email"] {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.68rem 0.85rem;
    font: inherit;
    background: var(--surface);
    color: var(--text-primary);
}

.waitlist-help {
    margin: 0;
    font-size: 0.92rem;
}

.waitlist-help--warning {
    color: var(--warning);
    font-weight: 600;
}

.waitlist-status {
    margin: 0.9rem 0 1rem;
    padding: 1rem 1.1rem 1rem 1.2rem;
    border: 2px solid var(--border);
    border-left-width: 0.45rem;
    border-radius: 1rem;
    background: var(--surface);
    box-shadow: 0 1rem 2.5rem rgba(34, 49, 55, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    line-height: 1.4;
}

.waitlist-status[hidden] {
    display: none;
}

.waitlist-status:not([hidden]) {
    animation: waitlist-status-enter 220ms ease-out;
}

.waitlist-status:focus {
    outline: 3px solid rgba(107, 145, 139, 0.28);
    outline-offset: 4px;
}

.waitlist-status__label {
    color: var(--text-primary);
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.25;
}

.waitlist-status__message {
    display: block;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.5;
}

.waitlist-status--success,
.waitlist-status--exists {
    color: var(--success);
    background: #e6f4ed;
    border-color: #8ebaa8;
}

.waitlist-status--invalid,
.waitlist-status--captcha {
    color: var(--warning);
    background: #fff1dd;
    border-color: #d19a58;
}

.waitlist-status--error {
    color: var(--error);
    background: #f8e3e3;
    border-color: #c77a7a;
}

@keyframes waitlist-status-enter {
    from {
        opacity: 0;
        transform: translateY(-0.3rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.footer {
    padding: 1.1rem 1rem 1.5rem;
    background: #e7eeeb;
    border-top: 1px solid var(--border);
}

.footer-inner {
    max-width: 64rem;
    margin: 0 auto;
}

.footer p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.84rem;
}
