:root { --bg: #000; --fg: #fff; --muted: #aaa; --line: #333; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; font: 1.0625rem/1.6 system-ui, sans-serif; background: var(--bg); color: var(--fg); }
a { color: inherit; }
a:hover { opacity: .7; }

header, main, footer { width: min(60rem, 100% - 2rem); margin-inline: auto; }
header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
header img { width: 56px; height: 56px; display: block; }
header nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
header nav a { text-decoration: none; }
header nav a[aria-current] { text-decoration: underline; text-underline-offset: .3em; }

main { flex: 1; padding-block: 2rem 3rem; }
h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1.2; }
h2 { margin-top: 2.5rem; }
.muted { color: var(--muted); }

.hero { text-align: center; }
.hero img { width: min(320px, 70vw); height: auto; }
.lead { font-size: 1.2rem; max-width: 42rem; margin-inline: auto; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem; }
.card h2, .card h3 { margin-top: 0; }

.button { display: inline-block; padding: .7rem 1.4rem; border-radius: 999px; background: var(--fg); color: var(--bg); text-decoration: none; font-weight: 600; border: 0; font: inherit; cursor: pointer; }

form { display: grid; gap: 1rem; max-width: 32rem; }
label { display: grid; gap: .3rem; }
input, select, textarea { font: inherit; padding: .6rem .8rem; border-radius: 8px; border: 1px solid var(--line); background: #111; color: var(--fg); }
label.check { display: flex; gap: .6rem; align-items: start; }
label.check input { margin-top: .35rem; }

footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
footer .social { display: flex; gap: 1.25rem; }
footer svg { width: 24px; height: 24px; display: block; }
