:root {
    color-scheme: light;
    color: #0f172a;
    background: #f8fafc;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top left, #e9f2ff 0%, transparent 36%),
                radial-gradient(circle at bottom right, #f3f7ff 0%, transparent 30%),
                #f8fafc;
}

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

.site-shell {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px;
}

.site-header {
    display: flex;
    align-items: center;
    padding: 16px 16px;
    
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #0f172a;
    font-weight: 700;
}

.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-left: 16px;
    border-radius: 24px;
}

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

.button,
.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button {
    color: #0f172a;
    background: rgba(255, 234, 179, 0.55);
}

.button-primary {
    color: #0f172a;
    background: #f59e0b;
    margin-top: 5px;
}

.button-secondary {
    color: #92400e;
    background: rgba(245, 158, 11, 0.18);
}

.button:hover,
.button-primary:hover,
.button-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.12);
}

.site-main {
    padding: 40px 0 24px;
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: center;
    min-height: calc(100vh - 160px);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(249, 115, 22, 0.02));
    border-radius: 32px;
    padding: 36px;
}

.hero-copy {
    max-width: 560px;
}

.eyebrow {
    margin: 0 0 16px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #d97706;
}

.hero h1 {
    margin: 0 0 20px;
    font-size: clamp(2.75rem, 4vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero p {
    margin: 0 0 28px;
    max-width: 46rem;
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.8;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 280px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(15, 23, 42, 0.04));
    border-radius: 32px;
    padding: 24px;
}

.hero-image img {
    width: 100%;
    max-width: 320px;
}

.site-footer {
    padding: 24px 0 12px;
    color: #64748b;
    font-size: 0.95rem;
    text-align: center;
}

.page-shell {
    display: flex;
    justify-content: center;
    padding: 24px 0;
}

.card {
    width: min(100%, 720px);
    background: #fff7d6;
    border: 1px solid rgba(245, 158, 11, 0.22);
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(245, 158, 11, 0.16);
}

.card h1 {
    margin-top: 0;
    font-size: 2rem;
    color: #0f172a;
}

.card-copy {
    margin: 0 0 1.5rem;
    color: #475569;
    line-height: 1.75;
}

.form-grid {
    display: grid;
    gap: 1.25rem;
}

.form-grid p {
    margin: 0;
}

.form-grid label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #334155;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
    width: 100%;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #ffffff;
    color: #0f172a;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.field {
    display: grid;
    gap: 0.5rem;
}

.field-error {
    color: #b91c1c;
    background: rgba(248, 113, 113, 0.08);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
    border: 1px solid rgba(185, 28, 28, 0.2);
}

.form-actions {
    display: flex;
    justify-content: flex-start;
}

.form-grid button {
    width: max-content;
}

@media (max-width: 860px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

@media (max-width: 560px) {
    .site-shell {
        padding: 18px;
    }

    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-actions {
        flex-direction: column;
    }
}
