:root {
  --bg: #fff9f5; --fg: #2d2520; --muted: #6f6359; --primary: #c2552d;
  --border: #eadfd6; --card: #fff; --danger: #b3261e;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1f1a17; --fg: #f4ece6; --muted: #b8aba0; --primary: #f0946f; --border: #40362f; --card: #2a231f; --danger: #ffb4ab; }
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--fg); line-height: 1.65; overflow-wrap: anywhere; }
.wrap { width: 100%; max-width: 46rem; margin: 0 auto; padding: 0 1rem; }
header, footer { border-color: var(--border); border-style: solid; border-width: 0; }
header { border-bottom-width: 1px; }
footer { border-top-width: 1px; color: var(--muted); font-size: .875rem; text-align: center; padding: 1.5rem 0; }
.top { display: flex; align-items: center; justify-content: space-between; padding-block: .9rem; }
.brand { font-size: 1.25rem; font-weight: 700; color: var(--primary); text-decoration: none; }
.langs a { padding: .2rem .6rem; border-radius: .4rem; font-size: .85rem; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.langs a[aria-current] { background: var(--primary); color: var(--bg); }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: .5rem; }
footer a { color: inherit; }
main { flex: 1; padding-block: 2rem 3rem; }
h1 { color: var(--primary); line-height: 1.2; }
h2 { margin-top: 2rem; line-height: 1.3; }
a { color: var(--primary); }
form { display: flex; flex-direction: column; gap: 1.4rem; margin-top: 1.5rem; }
label, fieldset { display: flex; flex-direction: column; gap: .4rem; border: 0; padding: 0; margin: 0; }
.label { font-weight: 600; }
.hint { color: var(--muted); font-size: .875rem; }
input, select, textarea { width: 100%; padding: .75rem 1rem; font: inherit; color: inherit; background: var(--card); border: 1px solid var(--border); border-radius: .75rem; }
textarea { min-height: 10rem; }
.methods { display: flex; flex-wrap: wrap; gap: .5rem; }
.methods label { flex-direction: row; align-items: center; gap: .4rem; }
.methods input { width: auto; }
button { padding: 1rem; font: inherit; font-weight: 600; color: #fff; background: #c2552d; border: 0; border-radius: .75rem; cursor: pointer; }
button:disabled { opacity: .6; }
.alert { color: var(--danger); font-size: .875rem; }
.card { padding: 1.5rem; background: var(--card); border: 1px solid var(--border); border-radius: 1rem; }
[hidden] { display: none !important; }
