:root {
  --red:#d60a1a;
  --deep-red:#7a020f;
  --ink:#241013;
  --muted:#74666a;
  --paper:#f5f2f2;
  --card:rgba(255,255,255,.9);
  --success:#0b9f6d;
  --warning:#e8571f;
  --line:rgba(65,18,25,.11);
  --shadow:0 18px 48px rgba(58,13,20,.09);
}

* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:30px; }
body { margin:0; background:linear-gradient(145deg,#fff 0%,var(--paper) 62%,#eee9e9 100%); color:var(--ink); font:16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
a { color:inherit; }
.site-header,main,footer { width:min(1180px,calc(100% - 40px)); margin-inline:auto; }
.site-header { display:flex; align-items:center; justify-content:space-between; padding:22px 0; }
.brand { display:flex; align-items:center; gap:12px; color:inherit; font-weight:850; text-decoration:none; }
.brand-mark { width:46px; height:46px; border-radius:14px; box-shadow:0 8px 22px rgba(122,2,15,.22); }
nav { display:flex; align-items:center; gap:7px; padding:5px; border:1px solid var(--line); border-radius:999px; background:rgba(255,255,255,.72); backdrop-filter:blur(16px); }
nav a { padding:8px 14px; border-radius:999px; color:var(--muted); font-size:13px; font-weight:750; text-decoration:none; white-space:nowrap; }
nav a:hover,nav a.active { background:white; color:var(--red); box-shadow:0 3px 12px rgba(58,13,20,.08); }

.hero { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr); gap:48px; align-items:end; margin:28px 0 72px; padding:58px; overflow:hidden; border-radius:34px; background:linear-gradient(145deg,var(--red),var(--deep-red)); color:white; box-shadow:0 28px 70px rgba(122,2,15,.24); }
.eyebrow { margin:0 0 12px; color:var(--red); font-size:12px; font-weight:850; letter-spacing:.13em; text-transform:uppercase; }
.hero .eyebrow { color:white; opacity:.86; }
h1 { margin:0; font-size:clamp(45px,6.6vw,76px); line-height:.98; letter-spacing:-.057em; }
.lead { max-width:700px; margin:24px 0 0; color:rgba(255,255,255,.86); font-size:clamp(18px,2vw,21px); }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:0 20px; border-radius:14px; font-weight:800; text-decoration:none; }
.button.primary { background:white; color:var(--red); box-shadow:0 12px 28px rgba(74,0,9,.2); }
.button.secondary { border:1px solid rgba(255,255,255,.25); background:rgba(255,255,255,.12); color:white; }
.hero-note { padding:25px; border:1px solid rgba(255,255,255,.2); border-radius:22px; background:rgba(255,255,255,.1); backdrop-filter:blur(16px); }
.note-icon { display:grid; place-items:center; width:38px; height:38px; margin-bottom:20px; border-radius:12px; background:white; color:var(--red); font-weight:900; }
.hero-note strong { display:block; font-size:20px; line-height:1.25; }
.hero-note p { margin:9px 0 0; color:rgba(255,255,255,.76); font-size:14px; }

.page-layout { display:grid; grid-template-columns:210px minmax(0,1fr); gap:70px; align-items:start; }
.toc { position:sticky; top:24px; display:grid; gap:5px; padding:18px; border:1px solid var(--line); border-radius:20px; background:rgba(255,255,255,.72); box-shadow:var(--shadow); }
.toc p { margin:0 8px 9px; color:var(--ink); font-size:12px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.toc a { padding:8px; border-radius:9px; color:var(--muted); font-size:13px; font-weight:650; text-decoration:none; }
.toc a:hover { background:rgba(214,10,26,.07); color:var(--red); }
.documentation { min-width:0; }
.doc-section { margin:0 0 90px; }
.doc-section h2 { max-width:720px; margin:0 0 22px; font-size:clamp(30px,4vw,44px); line-height:1.08; letter-spacing:-.045em; }
.doc-section > p:not(.eyebrow):not(.fine-print) { max-width:780px; color:var(--muted); }
.section-lead { font-size:19px; }
.system-grid,.feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:30px; }
.system-grid article,.feature-grid article { padding:25px; border:1px solid var(--line); border-radius:22px; background:var(--card); box-shadow:var(--shadow); }
.system-grid span { display:block; margin-bottom:34px; color:var(--red); font-size:12px; font-weight:900; letter-spacing:.1em; }
.system-grid h3,.feature-grid h3 { margin:0 0 9px; font-size:19px; }
.system-grid p,.feature-grid p { margin:0; color:var(--muted); font-size:14px; }
.feature-grid { grid-template-columns:repeat(2,1fr); }

.timeline { display:grid; gap:0; margin:34px 0 0; padding:0; list-style:none; }
.timeline li { display:grid; grid-template-columns:52px 1fr; gap:20px; position:relative; padding-bottom:33px; }
.timeline li::before { content:""; position:absolute; left:25px; top:48px; bottom:0; width:1px; background:var(--line); }
.timeline li:last-child::before { display:none; }
.timeline li > span { display:grid; place-items:center; align-self:start; width:50px; height:50px; border-radius:16px; background:linear-gradient(145deg,var(--red),var(--deep-red)); color:white; font-weight:850; box-shadow:0 9px 22px rgba(122,2,15,.18); }
.timeline h3 { margin:3px 0 6px; font-size:20px; }
.timeline p { margin:0; color:var(--muted); }

.callout { margin:24px 0; padding:23px 25px; border:1px solid rgba(214,10,26,.15); border-radius:19px; background:rgba(214,10,26,.055); }
.callout strong { color:var(--red); }
.callout p { margin:5px 0 0; color:var(--muted); }
.callout.privacy { border-color:rgba(11,159,109,.18); background:rgba(11,159,109,.06); }
.callout.privacy strong { color:var(--success); }
.subheading { margin:36px 0 14px; font-size:21px; }
.check-list,.limits { display:grid; gap:9px; padding:0; list-style:none; }
.check-list li,.limits li { position:relative; padding:13px 16px 13px 44px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.72); }
.check-list li::before { content:"✓"; position:absolute; left:16px; color:var(--success); font-weight:900; }
.limits li::before { content:"!"; position:absolute; left:17px; color:var(--red); font-weight:900; }

.table-wrap { margin:28px 0; overflow-x:auto; border:1px solid var(--line); border-radius:20px; background:var(--card); box-shadow:var(--shadow); }
table { width:100%; border-collapse:collapse; min-width:630px; }
th,td { padding:16px 18px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
th { color:var(--muted); background:rgba(122,2,15,.025); font-size:11px; letter-spacing:.08em; text-transform:uppercase; }
td { font-size:14px; color:var(--muted); }
td:first-child { color:var(--ink); }
tr:last-child td { border-bottom:0; }
.data-columns { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.data-columns > div { padding:25px; border:1px solid var(--line); border-radius:20px; background:var(--card); }
.data-columns h3 { margin:0 0 13px; }
.data-columns ul { margin:0; padding-left:20px; color:var(--muted); }

.verdicts { display:grid; grid-template-columns:repeat(3,1fr); gap:13px; }
.verdicts div { padding:23px; border:1px solid var(--line); border-top:4px solid; border-radius:18px; background:var(--card); }
.verdicts .blocked { border-top-color:var(--success); }
.verdicts .open { border-top-color:var(--warning); }
.verdicts .inactive { border-top-color:#9a9496; }
.verdicts dt { font-size:18px; font-weight:850; }
.verdicts dd { margin:7px 0 0; color:var(--muted); font-size:14px; }
.fine-print { margin-top:18px; color:var(--muted); font-size:13px; }
footer { display:flex; justify-content:space-between; gap:20px; padding:30px 0 50px; border-top:1px solid var(--line); color:var(--muted); font-size:13px; }
.footer-links { display:flex; flex-wrap:wrap; gap:16px; }
.footer-links a { text-decoration:none; }
.footer-links a:hover { color:var(--red); }

@media (max-width:880px) {
  .hero { grid-template-columns:1fr; gap:30px; padding:44px; }
  .hero-note { max-width:520px; }
  .page-layout { grid-template-columns:1fr; gap:40px; }
  .toc { position:static; display:flex; overflow-x:auto; }
  .toc p { display:none; }
  .toc a { white-space:nowrap; }
}
@media (max-width:650px) {
  .site-header { display:grid; grid-template-columns:1fr; gap:12px; align-items:stretch; padding-top:14px; padding-bottom:12px; }
  .brand { justify-self:start; }
  .brand span { display:inline; }
  nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; max-width:none; gap:4px; overflow:visible; border-radius:18px; }
  nav a { display:flex; align-items:center; justify-content:center; min-height:40px; padding:8px 6px; text-align:center; white-space:normal; line-height:1.15; }
  .hero { margin-top:12px; padding:30px 22px; border-radius:25px; }
  h1 { font-size:40px; line-height:1.02; }
  .system-grid,.feature-grid,.data-columns,.verdicts { grid-template-columns:1fr; }
  .system-grid span { margin-bottom:18px; }
  .timeline li { grid-template-columns:42px 1fr; gap:14px; }
  .timeline li > span { width:42px; height:42px; border-radius:13px; }
  .timeline li::before { left:20px; top:41px; }
  footer { display:block; }
  footer span { display:block; }
}
