:root {
  --paper: oklch(97.5% 0.008 88);
  --surface: oklch(99.3% 0.004 88);
  --ink: oklch(20% 0.018 52);
  --muted: oklch(43% 0.018 52);
  --line: oklch(88% 0.018 88);
  --accent: oklch(42% 0.09 160);
  --accent-ink: oklch(99% 0.004 88);
  --accent-soft: oklch(94% 0.03 160);
  --ok: oklch(45% 0.12 155);
  --ok-soft: oklch(94% 0.025 155);
  --err: oklch(50% 0.16 27);
  --err-soft: oklch(95% 0.02 27);
  --radius: 10px;
  --max: 1040px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 16px;
}
.brand { font-weight: 800; font-size: 20px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.brand span { color: var(--accent); }
nav.site a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; margin-left: 20px; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--ink); }

.hero { padding: 56px 0 40px; }
.hero h1 {
  font-size: clamp(30px, 5vw, 44px); line-height: 1.12; letter-spacing: -0.02em;
  margin: 0 0 16px; max-width: 18ch; font-weight: 800;
}
.hero p { color: var(--muted); font-size: 18px; max-width: 56ch; margin: 0; }

.grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; padding-bottom: 56px; align-items: start; }
@media (max-width: 820px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.card h2 { font-size: 20px; margin: 0 0 12px; letter-spacing: -0.01em; }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts li:first-child { border-top: 0; padding-top: 0; }
.facts dt, .facts .k { color: var(--muted); font-size: 14px; font-weight: 600; }
.facts .v { min-width: 0; }

form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { form .row { grid-template-columns: 1fr; } }
label.f { display: block; font-size: 14px; font-weight: 700; margin: 0 0 6px; }
.field { margin-bottom: 14px; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; min-height: 44px;
}
textarea { min-height: 112px; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }

.consent {
  display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 12px;
  font-size: 13.5px; color: var(--muted); line-height: 1.5; margin-bottom: 16px;
}
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); }
.consent label { cursor: pointer; }

button.primary {
  font: inherit; font-weight: 700; color: var(--accent-ink); background: var(--accent);
  border: 0; border-radius: 8px; padding: 12px 20px; min-height: 46px; cursor: pointer;
  transition: transform 120ms ease, filter 120ms ease;
}
button.primary:hover { filter: brightness(1.08); }
button.primary:active { transform: translateY(1px); }
button.primary[disabled] { opacity: 0.6; cursor: default; }

.status { margin-top: 12px; font-size: 14px; border-radius: 8px; padding: 0; }
.status.ok { background: var(--ok-soft); color: var(--ok); padding: 10px 12px; }
.status.err { background: var(--err-soft); color: var(--err); padding: 10px 12px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.doc { padding: 48px 0 64px; max-width: 72ch; }
.doc h1 { font-size: clamp(28px, 4vw, 36px); letter-spacing: -0.02em; margin: 0 0 6px; }
.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.doc h2 { font-size: 20px; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--ink); }
.doc ul { padding-left: 20px; }

footer.site { border-top: 1px solid var(--line); background: var(--surface); font-size: 14px; color: var(--muted); }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
footer.site a { color: var(--muted); margin-right: 16px; }

@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 420ms cubic-bezier(.2,.7,.2,1) both; }
  .rise.d1 { animation-delay: 60ms; } .rise.d2 { animation-delay: 120ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
