:root {
    --background: #fffaf2;
    --surface: #ffffff;
    --text: #20252b;
    --muted: #667085;
    --primary: #f08a24;
    --primary-dark: #c96810;
    --border: #eadfce;
    --success: #e8f7ee;
    --error: #fdecec;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 250, 242, 0.96);
    border-bottom: 1px solid var(--border);
}

.nav {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
}

.brand span {
    color: var(--primary);
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    font-weight: 600;
}

.hero {
    padding: 88px 0;
}

.hero-grid,
.form-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

h1,
h2,
h3 {
    line-height: 1.15;
}

h1 {
    max-width: 760px;
    margin: 0 0 20px;
    font-size: clamp(2.4rem, 7vw, 5rem);
}

h2 {
    margin-top: 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
}

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

.hero-text {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.15rem;
}

.hero-card,
.card,
form {
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 18px 60px rgba(32, 37, 43, 0.08);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 18px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    color: #ffffff;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.button:hover,
.button:focus-visible {
    background: var(--primary-dark);
}

.section {
    padding: 72px 0;
}

.section-muted {
    background: #fff3e3;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

form {
    display: grid;
    gap: 12px;
}

label {
    font-weight: 700;
}

input {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font: inherit;
}

input:focus {
    outline: 3px solid rgba(240, 138, 36, 0.2);
    border-color: var(--primary);
}

.alert {
    padding: 12px 14px;
    border-radius: 10px;
}

.alert.success {
    background: var(--success);
}

.alert.error {
    background: var(--error);
}

.site-footer {
    padding: 28px 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
}

.error-page {
    min-height: 100vh;
    display: grid;
    place-content: center;
    padding: 24px;
    text-align: center;
}

@media (max-width: 760px) {
    .nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 0;
    }

    nav {
        width: 100%;
        overflow-x: auto;
    }

    .hero {
        padding: 54px 0;
    }

    .hero-grid,
    .form-wrapper,
    .cards {
        grid-template-columns: 1fr;
    }
}
