:root {
  --ink: #1a1410;
  --muted: #5f564d;
  --paper: #ffffff;
  --card: #f4f1ec;
  --accent: #ffc83d;
  --danger: #b3261e;
  --ok: #1d6b3a;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

header, main, footer { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 8px;
}

.brand { font-weight: 800; font-size: 26px; letter-spacing: -0.02em; text-decoration: none; }
.brand span { background: var(--accent); padding: 0 6px; border-radius: 6px; }

nav.lang a { font-size: 15px; font-weight: 600; }

main { padding-bottom: 48px; }

h1 { font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; margin: 24px 0 4px; }
h2 { font-size: 22px; margin: 36px 0 8px; }
h3 { font-size: 18px; margin: 24px 0 4px; }
.meta { color: var(--muted); font-size: 15px; margin: 0 0 24px; }

ul { padding-left: 22px; }
li { margin: 4px 0; }

.card {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 4px 0 var(--ink);
  padding: 20px;
  margin: 24px 0;
}

table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid #ddd5cb; }

label { display: block; font-weight: 600; margin: 16px 0 6px; }
input[type="email"], input[type="text"] {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  font: inherit;
  background: #fff;
}
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 6px; width: 20px; height: 20px; }

button {
  margin-top: 18px;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 0 3px 0 var(--ink);
  background: var(--accent);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
button.danger { background: var(--danger); color: #fff; }
button:disabled { opacity: 0.5; cursor: not-allowed; }

.status { margin-top: 14px; font-weight: 600; }
.status.error { color: var(--danger); }
.status.ok { color: var(--ok); }
[hidden] { display: none !important; }

footer {
  border-top: 2px solid var(--ink);
  padding-top: 16px;
  padding-bottom: 32px;
  font-size: 15px;
  color: var(--muted);
}
footer a { color: var(--muted); margin-right: 14px; }
