:root {
  --ink: #10162f;
  --ink-soft: #20294f;
  --paper: #f4f6f9;
  --white: #ffffff;
  --blue: #5368ff;
  --blue-dark: #374bdc;
  --yellow: #ffd84d;
  --green: #1f9d70;
  --red: #bb3e48;
  --muted: #637083;
  --line: #dce1ea;
  --radius: 20px;
  --shadow: 0 24px 70px rgba(16, 22, 47, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(780px, calc(100% - 40px)); margin: 0 auto; }
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 10px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 246, 249, 0.92);
  border-bottom: 1px solid rgba(16, 22, 47, 0.08);
  backdrop-filter: blur(16px);
}
.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  font-weight: 850;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--yellow);
  background: var(--ink);
  border-radius: 11px;
  font-size: 20px;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue-dark); }

.button {
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 30px rgba(83, 104, 255, 0.24);
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.button:hover {
  transform: translateY(-2px);
  background: var(--blue-dark);
  box-shadow: 0 16px 34px rgba(83, 104, 255, 0.3);
}
.button:focus-visible, .text-link:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}
.button--small { min-height: 42px; padding: 0 18px; font-size: 14px; }
.button--large { min-height: 60px; padding: 0 30px; font-size: 18px; }
.button--dark { background: var(--ink); box-shadow: none; }
.button--ghost { color: var(--ink); background: var(--white); border: 1px solid var(--line); box-shadow: none; }
.text-link { color: var(--blue-dark); font-weight: 800; text-underline-offset: 4px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 72px;
}
.hero::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  right: -210px;
  top: -250px;
  border-radius: 50%;
  background: rgba(83, 104, 255, 0.13);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: 64px;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; line-height: 1.15; letter-spacing: -0.04em; }
h1 { margin-bottom: 22px; font-size: clamp(42px, 6vw, 72px); }
h2 { margin-bottom: 18px; font-size: clamp(30px, 4vw, 46px); }
h3 { margin-bottom: 10px; font-size: 22px; }
.hero-copy { max-width: 700px; margin: 0; color: var(--muted); font-size: clamp(18px, 2.2vw, 22px); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 30px; }
.disclosure { margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.breadcrumbs { padding-top: 28px; color: var(--muted); font-size: 14px; }
.breadcrumbs a { text-underline-offset: 3px; }

.signal-card, .card, .article-card, .checker-card {
  background: var(--white);
  border: 1px solid rgba(16, 22, 47, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.signal-card { padding: 30px; }
.signal-top { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 28px; font-size: 14px; font-weight: 800; }
.status { padding: 5px 10px; color: #0b6346; background: #d9f7eb; border-radius: 999px; font-size: 12px; }
.radar {
  width: min(260px, 100%);
  aspect-ratio: 1;
  margin: 0 auto 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(83, 104, 255, 0.22);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83,104,255,.15) 0 19%, transparent 20% 39%, rgba(83,104,255,.09) 40% 41%, transparent 42% 63%, rgba(83,104,255,.08) 64% 65%, transparent 66%);
}
.radar strong { display: block; font-size: 28px; text-align: center; }
.radar span { display: block; color: var(--muted); font-size: 13px; text-align: center; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mini-stats div { padding-top: 14px; border-top: 1px solid var(--line); }
.mini-stats span { display: block; color: var(--muted); font-size: 12px; }
.mini-stats strong { display: block; margin-top: 4px; font-size: 14px; }

.facts { background: var(--ink); color: var(--white); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 22px; border-right: 1px solid rgba(255,255,255,.14); }
.fact:last-child { border-right: 0; }
.fact span { display: block; color: rgba(255,255,255,.62); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.fact strong { display: block; margin-top: 7px; font-size: 17px; }

.section { padding: 86px 0; }
.section--white { background: var(--white); }
.section--ink { color: var(--white); background: var(--ink); }
.section-heading { max-width: 720px; margin-bottom: 38px; }
.section-heading p:last-child { color: var(--muted); font-size: 18px; }
.section--ink .section-heading p:last-child { color: rgba(255,255,255,.67); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { padding: 28px; box-shadow: none; }
.card p { margin-bottom: 0; color: var(--muted); }
.card ul { margin: 16px 0 0; padding-left: 20px; }
.card--accent { border-top: 5px solid var(--blue); }
.card--green { border-top: 5px solid var(--green); }
.card--yellow { border-top: 5px solid var(--yellow); }
.card-link { display: inline-block; margin-top: 18px; color: var(--blue-dark); font-weight: 850; }
.metric { padding: 26px; background: var(--white); border-radius: 18px; }
.metric strong { display: block; font-size: 34px; line-height: 1.1; letter-spacing: -0.04em; }
.metric span { display: block; margin-top: 8px; color: var(--muted); }
.section--ink .metric { color: var(--ink); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 44px; }
.article-card { padding: clamp(28px, 5vw, 54px); box-shadow: none; }
.article-card > :first-child { margin-top: 0; }
.article-card h2 { margin-top: 52px; font-size: 34px; }
.article-card h3 { margin-top: 32px; font-size: 24px; }
.article-card p, .article-card li { color: #374151; }
.article-card a:not(.button) { color: var(--blue-dark); text-underline-offset: 3px; }
.article-card ul, .article-card ol { padding-left: 22px; }
.article-card li + li { margin-top: 8px; }
.article-meta { margin: -4px 0 28px; color: var(--muted); font-size: 14px; }
.toc { position: sticky; top: 98px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.toc strong { display: block; margin-bottom: 12px; }
.toc a { display: block; padding: 7px 0; color: var(--muted); font-size: 14px; text-decoration: none; }
.toc a:hover { color: var(--blue-dark); }
.callout { margin: 28px 0; padding: 22px 24px; background: #eef0ff; border-left: 5px solid var(--blue); border-radius: 12px; }
.callout--warning { background: #fff8d8; border-left-color: #e9b900; }
.callout--green { background: #e9f8f2; border-left-color: var(--green); }
.source-list { padding: 20px 24px; background: var(--paper); border-radius: 14px; font-size: 14px; }

.comparison-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.comparison { width: 100%; min-width: 700px; border-collapse: collapse; background: var(--white); color: var(--ink); }
.comparison th, .comparison td { padding: 18px; text-align: left; border-bottom: 1px solid var(--line); }
.comparison th { color: var(--muted); background: #f8f9fb; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.comparison tr:last-child td { border-bottom: 0; }
.comparison .highlight { background: #eef0ff; font-weight: 700; }

.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 18px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.faq-list summary { cursor: pointer; font-weight: 800; }
.faq-list p { margin: 12px 0 0; color: var(--muted); }

.checker-shell { display: grid; grid-template-columns: .78fr 1.22fr; gap: 28px; align-items: start; }
.checker-card { padding: 30px; box-shadow: none; }
.location-box { padding: 22px; background: #eef0ff; border-radius: 16px; }
.location-status { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.question { margin: 0 0 28px; padding: 0; border: 0; }
.question legend { margin-bottom: 12px; font-size: 18px; font-weight: 850; }
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 12px 15px;
  background: var(--paper);
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
}
.option input:checked + span { background: #eef0ff; border-color: var(--blue); }
.option input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.checker-result { display: none; margin-top: 24px; padding: 26px; background: var(--ink); color: var(--white); border-radius: 18px; }
.checker-result.is-visible { display: block; }
.score { display: inline-grid; place-items: center; width: 76px; height: 76px; margin-bottom: 16px; background: var(--yellow); color: var(--ink); border-radius: 50%; font-size: 26px; font-weight: 900; }
.checker-result p { color: rgba(255,255,255,.76); }
.checker-result ul { padding-left: 20px; }
.privacy-note { color: var(--muted); font-size: 13px; }

.cta { padding: 68px 0; }
.cta-panel { padding: clamp(30px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 28px; color: var(--white); background: var(--blue); border-radius: 28px; }
.cta-panel h2 { margin-bottom: 10px; }
.cta-panel p { margin: 0; color: rgba(255,255,255,.78); }

.site-footer { padding: 52px 0 26px; color: rgba(255,255,255,.72); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 38px; }
.footer-grid strong { color: var(--white); }
.footer-grid p { max-width: 740px; margin: 10px 0 0; font-size: 14px; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; align-content: start; }
.footer-links a { color: var(--white); font-size: 14px; }
.copyright { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); font-size: 13px; }

@media (max-width: 900px) {
  .nav { align-items: flex-start; padding: 14px 0; }
  .nav-links { max-width: 70vw; overflow-x: auto; padding: 2px 0 8px; }
  .nav-links .button { display: none; }
  .hero-grid, .checker-shell, .article-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 58px; }
  .hero-grid { gap: 36px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .toc { position: static; order: -1; }
  .cta-panel { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .wrap, .narrow { width: min(100% - 28px, 1160px); }
  .brand span:last-child { display: none; }
  .nav-links { max-width: calc(100vw - 80px); gap: 16px; }
  h1 { font-size: 42px; }
  .hero { padding: 46px 0 54px; }
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .options { grid-template-columns: 1fr; }
  .mini-stats { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .fact:last-child { border-bottom: 0; }
  .article-card { border-radius: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
