:root {
  color-scheme: dark;
  --bg: #050506;
  --panel: #111114;
  --panel2: #18181c;
  --text: #f7f7f8;
  --muted: #c4c4c9;
  --soft: #96969e;
  --red: #d90b18;
  --red2: #ff2634;
  --green: #30c77b;
  --border: rgba(255,255,255,.12);
  --radius: 22px;
  --shadow: 0 28px 90px rgba(0,0,0,.52);
  --content: 1040px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.68;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(217,11,24,.20), transparent 31rem),
    radial-gradient(circle at 90% 20%, rgba(217,11,24,.10), transparent 29rem),
    linear-gradient(180deg, #0b0b0d 0%, var(--bg) 44%, #020203 100%);
}
a { color: #fff; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: #ffd7da; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--red); color: #fff; }
.skip:focus { left: 12px; }
.page { min-height: 100vh; padding: 28px 18px 42px; }
.wrap { width: min(var(--content), 100%); margin: 0 auto; }
.brand { display: flex; justify-content: center; margin-bottom: 22px; }
.brand a { display: inline-flex; width: min(590px, 92vw); padding: 15px 25px; background: rgba(0,0,0,.76); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); }
.brand img { display: block; width: 100%; height: auto; }
.hero, .card, .toc-card { background: rgba(17,17,20,.96); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 14px 46px rgba(0,0,0,.30); }
.hero { position: relative; overflow: hidden; padding: clamp(26px, 5vw, 48px); box-shadow: var(--shadow); }
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, transparent, var(--red), var(--red2), transparent); }
.eyebrow { margin: 0 0 8px; color: var(--red2); font-size: 13px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(34px, 6vw, 62px); line-height: 1.04; letter-spacing: -.045em; }
.subtitle { max-width: 840px; margin: 16px 0 0; color: var(--muted); font-size: clamp(17px, 2.2vw, 21px); }
.meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill { padding: 8px 12px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.045); color: #e8e8eb; font-size: 13px; }
.notice, .success, .error { margin-top: 22px; padding: 18px 20px; border-radius: 16px; }
.notice { border: 1px solid rgba(217,11,24,.42); background: rgba(217,11,24,.10); }
.success { border: 1px solid rgba(48,199,123,.48); background: rgba(48,199,123,.10); }
.error { border: 1px solid rgba(255,85,95,.55); background: rgba(217,11,24,.12); }
.notice p:last-child, .success p:last-child, .error p:last-child { margin-bottom: 0; }
.toc-card { margin-top: 18px; padding: 22px; }
.toc-card h2 { margin: 0 0 12px; font-size: 20px; }
.toc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
.toc a { display: block; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.07); color: #e6e6ea; text-decoration: none; }
.toc a:hover { color: #fff; border-color: var(--red); }
.policy, .grid { display: grid; gap: 16px; margin-top: 18px; }
.grid { grid-template-columns: 1fr 1fr; }
.card, .section { scroll-margin-top: 16px; padding: clamp(22px, 4vw, 34px); background: rgba(17,17,20,.96); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 14px 46px rgba(0,0,0,.28); }
.card.full { grid-column: 1 / -1; }
.card h2, .section h2 { margin: 0 0 14px; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; letter-spacing: -.025em; }
.card h3, .section h3 { margin: 22px 0 7px; font-size: 17px; color: #fff; }
p { margin: 0 0 13px; color: var(--muted); }
ul, ol { margin: 0 0 13px; padding-left: 22px; color: var(--muted); }
li { margin: 7px 0; }
.actions, .button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.button, button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 19px; border: 1px solid var(--red); border-radius: 12px; background: var(--red); color: #fff; font: inherit; font-size: 14px; font-weight: 900; letter-spacing: .035em; text-decoration: none; text-transform: uppercase; cursor: pointer; }
.button:hover, button:hover { background: var(--red2); color: #fff; }
.button.secondary { background: transparent; border-color: rgba(255,255,255,.24); }
.form { display: grid; gap: 14px; margin-top: 18px; }
label { display: grid; gap: 7px; color: #fff; font-size: 14px; font-weight: 700; }
input, select, textarea { width: 100%; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: #09090b; color: #fff; padding: 13px 14px; font: inherit; outline: none; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--red2); box-shadow: 0 0 0 3px rgba(217,11,24,.16); }
.check { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-weight: 400; }
.check input { width: auto; margin-top: 5px; accent-color: var(--red); }
.hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.small { color: var(--soft); font-size: 13px; }
.footer { margin-top: 22px; padding: 22px 14px 0; border-top: 1px solid var(--border); color: var(--soft); font-size: 13px; text-align: center; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-bottom: 8px; }
.check-list { list-style: none; padding-left: 0; }
.check-list li { padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,.035); }
.ok { color: #83e8b5; }
.bad { color: #ff8c94; }
@media (max-width: 820px) { .toc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .grid { grid-template-columns: 1fr; } .card.full { grid-column: auto; } }
@media (max-width: 560px) { .page { padding-inline: 12px; } .hero, .card, .section, .toc-card { border-radius: 17px; } .toc { grid-template-columns: 1fr; } .actions, .button-row { flex-direction: column; } .button, button { width: 100%; } }
