
:root {
  --bg: #0f1720;
  --panel: #17212b;
  --panel-2: #1d2a36;
  --text: #f4f7fa;
  --muted: #9fb0bf;
  --line: #2b3b49;
  --accent: #72d5b2;
  --warn: #f0c76b;
  --danger: #f28b82;
  --good: #72d5b2;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0,0,0,.22);
  --max: 1180px;
}
* { 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.55;
}
a { color: inherit; }
.wrap { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(15,23,32,.86);
}
.header-inner { min-height: 70px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.brand { text-decoration:none; font-weight:800; letter-spacing:-.03em; display:flex; align-items:center; gap:8px; }
.brand-mark { background:var(--accent); color:#0b1513; padding:5px 8px; border-radius:8px; }
.brand-name { font-size:1.18rem; }
.badge { border:1px solid var(--line); color:var(--muted); padding:4px 9px; border-radius:999px; font-size:.8rem; }
.hero { padding:80px 0 60px; }
.hero-grid { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(280px,.7fr); gap:36px; align-items:start; }
.eyebrow { color:var(--accent); font-weight:800; font-size:.78rem; letter-spacing:.12em; }
h1 { font-size:clamp(2.2rem,5vw,4.4rem); line-height:1.02; letter-spacing:-.055em; margin:.15em 0 .35em; max-width:920px; }
h2,h3 { letter-spacing:-.025em; }
.lead { font-size:clamp(1.05rem,2vw,1.25rem); color:var(--muted); max-width:840px; }
.analyze-form { display:flex; gap:10px; margin-top:30px; }
.analyze-form input {
  flex:1; min-width:0; background:#0a1219; border:1px solid var(--line); color:var(--text);
  padding:16px 18px; border-radius:12px; font-size:1rem; outline:none;
}
.analyze-form input:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(114,213,178,.14); }
.analyze-form button {
  border:0; border-radius:12px; padding:0 22px; font-weight:800; cursor:pointer;
  background:var(--accent); color:#081310;
}
.form-message { min-height:24px; color:var(--muted); }
.method-card, .panel, .metric-card {
  background:linear-gradient(180deg,var(--panel),var(--panel-2)); border:1px solid var(--line);
  border-radius:var(--radius); box-shadow:var(--shadow);
}
.method-card { padding:24px; }
.method-card ul { list-style:none; padding:0; margin:18px 0; }
.method-card li { padding:9px 0; border-bottom:1px solid var(--line); display:flex; gap:10px; }
.method-card li strong { color:var(--accent); min-width:28px; }
.muted { color:var(--muted); }
.hidden { display:none; }
.report { padding:10px 0 80px; }
.report-head { display:flex; justify-content:space-between; gap:24px; align-items:center; margin-bottom:28px; }
.score-ring {
  width:126px; height:126px; flex:0 0 126px; border-radius:50%; display:grid; place-items:center;
  background:conic-gradient(var(--accent) 0deg, var(--line) 0deg);
  position:relative;
}
.score-ring::before { content:""; position:absolute; width:98px; height:98px; border-radius:50%; background:var(--bg); }
.score-ring span,.score-ring small { position:relative; z-index:1; }
.score-ring span { font-size:2.2rem; font-weight:900; margin-right:-34px; margin-top:-3px; }
.score-ring small { font-size:.8rem; color:var(--muted); margin-left:35px; margin-top:23px; }
.score-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:18px; }
.metric-card { padding:18px; }
.metric-title { color:var(--muted); font-size:.88rem; min-height:44px; }
.metric-score { font-size:1.8rem; font-weight:900; margin-top:4px; }
.metric-bar { height:7px; background:#0b131a; border-radius:20px; overflow:hidden; margin-top:12px; }
.metric-bar > span { display:block; height:100%; background:var(--accent); }
.secondary-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:18px; }
.panel { padding:22px; margin-bottom:18px; }
.panel-head { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.indicator { display:flex; justify-content:space-between; gap:20px; padding:10px 0; border-bottom:1px solid var(--line); }
.indicator strong { text-align:right; }
.finding { border-top:1px solid var(--line); padding:16px 0; }
.finding:first-child { border-top:0; }
.finding-head { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.severity { font-size:.72rem; font-weight:900; border-radius:999px; padding:3px 8px; }
.severity.critical { background:rgba(242,139,130,.15); color:var(--danger); }
.severity.high { background:rgba(240,199,107,.15); color:var(--warn); }
.severity.recommended { background:rgba(114,213,178,.12); color:var(--good); }
.evidence { font-size:.92rem; color:var(--muted); }
.source-row { display:grid; grid-template-columns:1.3fr .8fr .8fr 1fr; gap:12px; padding:10px 0; border-bottom:1px solid var(--line); }
.source-row.header { color:var(--muted); font-size:.78rem; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.status-ok { color:var(--good); font-weight:800; }
.status-miss { color:var(--danger); font-weight:800; }
.site-footer { border-top:1px solid var(--line); color:var(--muted); padding:30px 0; font-size:.9rem; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns:1fr; }
  .score-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 620px) {
  .hero { padding-top:48px; }
  .analyze-form { flex-direction:column; }
  .analyze-form button { min-height:52px; }
  .report-head { align-items:flex-start; }
  .score-ring { width:104px; height:104px; flex-basis:104px; }
  .score-ring::before { width:80px; height:80px; }
  .score-grid,.secondary-grid { grid-template-columns:1fr; }
  .source-row { grid-template-columns:1fr; gap:3px; }
  .source-row.header { display:none; }
}

.topic-chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.topic-chip {
  display:inline-flex; padding:6px 10px; border-radius:999px;
  border:1px solid var(--line); background:#0b131a; color:var(--text); font-size:.85rem;
}

.future-section { padding: 0 0 70px; }
.future-panel { overflow:hidden; }
.future-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin-top:18px;
}
.future-card {
  border:1px solid var(--line);
  border-radius:14px;
  padding:16px;
  background:#0b131a;
}
.future-card strong { display:block; margin-bottom:6px; }
.future-card span { color:var(--muted); font-size:.9rem; }
@media (max-width:900px) {
  .future-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:620px) {
  .future-grid { grid-template-columns:1fr; }
}

.metric-pending { opacity:.68; }
.metric-pending-label {
  font-size:1.05rem;
  font-weight:800;
  color:var(--muted);
  margin-top:10px;
  min-height:39px;
  display:flex;
  align-items:center;
}
.pending-bar {
  background:repeating-linear-gradient(
    135deg,
    #0b131a,
    #0b131a 8px,
    #111d27 8px,
    #111d27 16px
  );
}

.score-scope { font-size:.88rem; margin-top:6px; }
