:root {
  --ink: #1f2328;
  --muted: #5f6670;
  --line: #dfe3e8;
  --soft: #f5f7f9;
  --bg: #ffffff;
  --brand: #3d4ed8;
  --brand-ink: #ffffff;
  --danger: #b42318;
  --ok: #155d3a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8eaed;
    --muted: #a3a9b2;
    --line: #353a42;
    --soft: #1d2127;
    --bg: #14171b;
    --brand: #8e9bff;
    --brand-ink: #10133a;
    --danger: #ff8a80;
    --ok: #7fd4a3;
  }
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); }
body {
  margin: 0;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
a { color: var(--brand); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; }
.brand img { width: 30px; height: 30px; }
nav a { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: 15px; }
nav a:hover { color: var(--ink); }
main { padding: 48px 0 64px; }
h1 { font-size: 40px; line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.02em; }
h2 { font-size: 24px; margin: 40px 0 8px; }
h3 { font-size: 18px; margin: 24px 0 4px; }
.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; max-width: 36em; }
.button {
  display: inline-block;
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  border: 0;
  font-size: 17px;
  cursor: pointer;
}
.button[aria-disabled="true"] { opacity: 0.6; pointer-events: none; }
.note { color: var(--muted); font-size: 15px; }
.shot { margin: 40px 0 8px; border: 1px solid var(--line); border-radius: 10px; max-width: 100%; height: auto; display: block; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 16px; }
.steps div { background: var(--soft); border-radius: 8px; padding: 16px; }
.steps strong { display: block; margin-bottom: 4px; }
.legal h2 { font-size: 21px; }
.legal li { margin: 4px 0; }
.updated { color: var(--muted); font-size: 15px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
form.complaint { display: grid; gap: 16px; margin-top: 24px; }
form.complaint label { display: grid; gap: 4px; font-weight: 600; font-size: 15px; }
form.complaint span.hint { font-weight: 400; color: var(--muted); }
input, textarea {
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  width: 100%;
}
textarea { min-height: 140px; resize: vertical; }
label.check { display: flex !important; grid-template-columns: none; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
label.check input { width: auto; margin-top: 5px; }
.status { font-weight: 600; }
.status.error { color: var(--danger); }
.status.ok { color: var(--ok); }
footer.site { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
footer.site a { color: var(--muted); margin-right: 16px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 560px) {
  h1 { font-size: 30px; }
  nav a { margin-left: 12px; }
}
textarea.short { min-height: 80px; }
