:root {
  --ink: #162033;
  --muted: #637083;
  --line: #d8e0ea;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --blue: #1d4ed8;
  --cyan: #0891b2;
  --green: #138a63;
  --red: #b42318;
  --gold: #b7791f;
  --radius: 8px;
  --shadow: 0 14px 38px rgba(22, 32, 51, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1140px, calc(100% - 36px)); margin: 0 auto; }

.topbar {
  background: #0f172a;
  color: #e6edf8;
  font-size: 13px;
}
.topbar .wrap {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .01em;
}
.mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #0f766e;
  color: white;
  box-shadow: inset 0 -10px 18px rgba(0,0,0,.16);
}
.links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}
.links a { text-decoration: none; }
.links a:hover { color: var(--blue); }
.nav-toggle { display: none; }

.hero {
  background:
    linear-gradient(135deg, rgba(15,23,42,.92), rgba(12,74,110,.78)),
    url("hero-board.svg") center/cover no-repeat;
  color: #fff;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 72px 0 90px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  gap: 42px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  color: #dbeafe;
  font-size: 13px;
  font-weight: 800;
}
h1 {
  margin: 18px 0 16px;
  max-width: 780px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}
.lead { max-width: 720px; color: #e5eefb; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--blue);
  color: #fff;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}
.btn.secondary { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.34); }
.btn.light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn:hover { transform: translateY(-1px); }

.panel {
  background: rgba(255,255,255,.96);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.score-head {
  padding: 18px;
  background: #eef6ff;
  border-bottom: 1px solid var(--line);
  font-weight: 900;
}
.mini-list { padding: 6px 18px 18px; }
.mini-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mini-row:last-child { border-bottom: 0; }
.badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #0f766e;
  color: #fff;
  font-weight: 900;
}
.rating { font-weight: 900; color: var(--green); }

main section { padding: 70px 0; }
.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; letter-spacing: 0; }
.section-title p, .muted { color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 6px 18px rgba(22,32,51,.06);
}
.brand-card { padding: 0; overflow: hidden; }
.brand-top {
  min-height: 128px;
  padding: 18px;
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #2563eb);
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.brand-logo {
  font-size: 28px;
  font-weight: 950;
  letter-spacing: 0;
}
.brand-rank {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255,255,255,.18);
  font-weight: 900;
}
.brand-body { padding: 18px; }
.facts { display: grid; gap: 8px; margin: 16px 0; padding: 0; list-style: none; }
.facts li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.facts span { color: var(--muted); }

.feature { padding: 22px; }
.feature strong { display: block; margin-bottom: 8px; font-size: 18px; }
.band { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.notice {
  border-left: 5px solid var(--blue);
  background: #eff6ff;
  padding: 18px;
  border-radius: var(--radius);
}
.notice.warn { border-left-color: var(--gold); background: #fff8eb; }
.notice.danger { border-left-color: var(--red); background: #fff1f1; }
.text-page { padding: 56px 0 76px; }
.text-page article { max-width: 860px; }
.text-page h1 { color: var(--ink); font-size: clamp(34px, 5vw, 56px); }
.text-page h2 { margin-top: 34px; font-size: 28px; }
.text-page p, .text-page li { color: #405168; }

.footer {
  padding: 38px 0;
  background: #0f172a;
  color: #dbe4f0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 24px;
}
.footer a { color: #fff; text-decoration: none; }
.footer small { color: #aab7ca; }

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(8, 13, 24, .86);
}
.age-gate.show { display: grid; }
.age-box {
  width: min(520px, 100%);
  padding: 26px;
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
}
.age-box h2 { font-size: 30px; }
.age-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.blocked {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 120;
  place-items: center;
  padding: 22px;
  background: #0f172a;
  color: white;
  text-align: center;
}
.blocked.show { display: grid; }

@media (max-width: 900px) {
  .nav { align-items: flex-start; padding: 16px 0; }
  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }
  .links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 16px 18px 22px;
    background: white;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
  }
  .links.open { display: flex; }
  .hero-grid, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 56px 0 70px; }
  .topbar .wrap { align-items: flex-start; flex-direction: column; padding: 9px 0; gap: 4px; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 24px, 1140px); }
  main section { padding: 48px 0; }
  .section-title { display: block; }
  .hero-actions .btn, .age-actions .btn { width: 100%; }
  .mini-row { grid-template-columns: 42px 1fr; }
  .mini-row .rating { grid-column: 2; }
}
