:root {
  --bg: #f8f8fc;
  --card: #fff;
  --text: #111128;
  --muted: #5a586f;
  --line: rgba(17, 17, 40, .12);
  --brand: #ff2f68;
  --brand2: #d7134c;
  --dark: #0b0b1a;
  --dark2: #13132a;
  --soft: #f0effb;
  --good: #15803d;
  --bad: #b91c1c;
  --warn: #b45309;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration-thickness: .08em; text-underline-offset: .18em; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: auto; }
.site-head { min-height: 76px; display: flex; align-items: center; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(20px); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; color: var(--muted); font-size: 14px; font-weight: 700; }
.brand { color: var(--text); font-weight: 900; font-size: 18px; letter-spacing: -.01em; }
.brand::before { content: ""; display: inline-block; width: 11px; height: 11px; margin-right: 10px; border-radius: 3px; background: var(--brand); transform: rotate(45deg); box-shadow: 0 5px 15px rgba(255,47,104,.35); }
.hero { position: relative; overflow: hidden; width: 100%; max-width: none; padding: 88px max(24px, calc((100% - 1180px)/2)) 78px; text-align: left; color: #fff; background: var(--dark); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 55% at 80% -10%, rgba(255,47,104,.22), transparent), radial-gradient(ellipse 50% 50% at -10% 80%, rgba(116,96,255,.22), transparent); pointer-events: none; }
.hero h1, .hero p { position: relative; }
.hero h1 { max-width: 900px; margin: 0 0 18px; color: #fff; font-size: clamp(42px, 6.5vw, 74px); line-height: 1.04; letter-spacing: -.03em; }
.hero h1::after { content: "."; color: var(--brand); }
.hero p { max-width: 720px; margin: 0; color: rgba(255,255,255,.66); font-size: clamp(17px, 2vw, 20px); line-height: 1.7; }
.grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; margin: 48px auto 72px; align-items: start; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: 0 2px 12px rgba(9,9,34,.05); }
.card h2, .card h3 { margin-top: 0; line-height: 1.1; letter-spacing: -.025em; }
.card h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 12px; }
.field { margin-bottom: 17px; }
.field label { display: block; margin-bottom: 7px; font-weight: 700; font-size: 14px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 13px; border: 1px solid rgba(17,17,40,.22); border-radius: 10px; color: var(--text); font: inherit; background: #fff; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(255,47,104,.12); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn { appearance: none; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border: 1.5px solid var(--brand); border-radius: 10px; background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .01em; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn:hover { background: var(--brand2); border-color: var(--brand2); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,47,104,.3); }
.btn.secondary { background: var(--text); border-color: var(--text); }
.btn.secondary:hover { background: #000; border-color: #000; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.btn.danger { background: var(--bad); border-color: var(--bad); }
.note { color: var(--muted); font-size: 13px; }
.alert { padding: 13px 15px; border-radius: 10px; margin: 0 0 18px; }
.alert.error { background: #fee2e2; color: #991b1b; }
.feature { display: flex; gap: 14px; margin: 22px 0; }
.feature b { display: block; font-size: 15px; }
.feature .note { display: block; margin-top: 3px; line-height: 1.6; }
.icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; flex: none; color: var(--brand); background: var(--soft); font-weight: 900; }
.hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.score { width: 170px; height: 170px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: conic-gradient(var(--brand) calc(var(--score)*1%), var(--soft) 0); }
.score::after { content: ""; width: 132px; height: 132px; position: absolute; border-radius: 50%; background: #fff; }
.score strong { z-index: 1; font-size: 42px; }
.score-wrap { position: relative; text-align: center; }
.score-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.metric { padding: 16px; border: 1px solid var(--line); border-radius: 12px; text-align: center; background: #fff; }
.metric strong { display: block; color: var(--brand); font-size: 25px; }
.checks { display: grid; gap: 10px; }
.check { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.pass { color: var(--good); }
.fail { color: var(--bad); }
.priority { margin: 10px 0; padding: 12px 14px; border-left: 4px solid var(--brand); border-radius: 0 10px 10px 0; background: #fff0f4; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { background: var(--soft); }
.admin-nav { display: flex; gap: 12px; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin: 24px 0; }
.stat { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.stat strong { display: block; color: var(--brand); font-size: 30px; }
.footer { padding: 38px 24px; text-align: center; color: rgba(255,255,255,.55); background: var(--dark); }
.legal { display: flex; align-items: flex-start; gap: 9px; }
.legal input { margin-top: 6px; }

@media (max-width: 800px) {
  .wrap { width: min(100% - 32px, 1180px); }
  .grid { grid-template-columns: 1fr; }
  .two, .score-grid, .stats { grid-template-columns: 1fr 1fr; }
  .site-head .wrap { align-items: flex-start; gap: 10px; }
  .hero { padding: 68px 24px 60px; }
}
@media (max-width: 520px) {
  .two, .score-grid, .stats { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .site-head .wrap > :last-child { display: none; }
}
