:root {
    color-scheme: light;
    --red: #c8102e;
    --yellow: #ffbc0d;
    --ink: #231f20;
    --muted: #655f61;
    --paper: #fffdf8;
    --card: #ffffff;
    --line: #eadfd2;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    color: var(--ink);
    background: linear-gradient(150deg, #fff8dc 0%, var(--paper) 42%, #fff 100%);
    font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
header { border-top: 8px solid var(--yellow); background: var(--red); color: #fff; }
nav, main, footer { width: min(920px, calc(100% - 32px)); margin: auto; }
nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
nav a { color: #fff; text-decoration: none; font-weight: 700; }
nav .brand { font-size: 1.45rem; letter-spacing: -.03em; }
nav .links { display: flex; flex-wrap: wrap; gap: 18px; font-size: .95rem; }
main { padding: 56px 0 72px; }
h1 { margin: 0 0 12px; font-size: clamp(2.1rem, 6vw, 4.2rem); line-height: 1.05; letter-spacing: -.055em; }
h2 { margin-top: 38px; line-height: 1.2; }
.lead { max-width: 720px; color: var(--muted); font-size: 1.15rem; }
.card { margin-top: 26px; padding: clamp(22px, 4vw, 38px); border: 1px solid var(--line); border-radius: 22px; background: var(--card); box-shadow: 0 18px 50px rgba(60, 37, 20, .08); }
.button { display: inline-block; margin-top: 12px; padding: 12px 18px; border: 0; border-radius: 999px; background: var(--red); color: white; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; }
label { display: block; margin-top: 17px; font-weight: 700; }
input, textarea { width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #cfc3b9; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; }
textarea { min-height: 120px; resize: vertical; }
.hidden { position: absolute; left: -9999px; }
.status { margin-top: 16px; font-weight: 700; }
.muted, footer { color: var(--muted); }
footer { padding: 28px 0 50px; border-top: 1px solid var(--line); }
footer a { color: var(--red); }
ul { padding-left: 22px; }
@media (max-width: 620px) { nav { align-items: flex-start; flex-direction: column; padding: 16px 0; } }
