:root {
  --navy: #1a2468;
  --orange: #f05424;
  --ink: #1a2468;
  --muted: #3e476e;
  --paper: #f4f6fb;
  --card: #ffffff;
  --line: #d9deee;
  --focus: #f05424;
  --shadow: 0 18px 40px rgba(26, 36, 104, 0.08);
  --sans: Inter, "Segoe UI", "Liberation Sans", "Noto Sans", sans-serif;
  --serif: "Liberation Serif", "DejaVu Serif", Georgia, serif;
}

* { box-sizing: border-box; }

html { color-scheme: light; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #fff;
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  z-index: 2;
}

.skip:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.wrap {
  width: min(960px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  background: var(--navy);
  color: #ffffff;
  border-bottom: 6px solid var(--orange);
  padding: 1.75rem 0 1.5rem;
}

.header-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 1.5rem 2rem;
  align-items: start;
}

.kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.lede {
  margin: 0.85rem 0 0;
  max-width: 38rem;
  color: #e8ecf8;
}

.identity {
  background: var(--card);
  color: var(--ink);
  border-radius: 16px;
  border-top: 4px solid var(--orange);
  padding: 1rem 1rem 0.4rem;
  box-shadow: var(--shadow);
}

.identity dl,
.facts {
  margin: 0.75rem 0 0;
}

.identity dl div,
.facts div {
  padding: 0.55rem 0;
}

.identity dl div + div {
  border-top: 1px solid var(--line);
}

.identity dt,
.facts dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.identity dd,
.facts dd {
  margin: 0.15rem 0 0;
  font-size: 1.02rem;
}

.sample-label {
  display: inline-block;
  margin: 0;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--orange);
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tablist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  margin-top: 1.5rem;
  padding: 0.35rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
}

.tablist button {
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
}

.tablist button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.tablist button:focus-visible {
  outline-color: #ffffff;
}

.tablist button[aria-selected="true"] {
  background: var(--orange);
  color: var(--navy);
}

main {
  padding: 1.25rem 0 2rem;
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}

.panel.is-active {
  border-top: 4px solid var(--orange);
}

.panel + .panel { margin-top: 1rem; }

.js .panel { display: none; }
.js .panel.is-active { display: block; }

.panel[hidden] { display: none !important; }

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.25rem 1.75rem;
  margin-top: 0.85rem;
}

h2 {
  margin: 0.45rem 0 0.4rem;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.15;
  color: var(--navy);
}

.panel p { margin: 0.4rem 0 0; }

.facts {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  align-content: start;
}

.facts div {
  margin: 0;
  padding: 0.85rem 1rem;
  background: var(--paper);
  border-radius: 12px;
}

.visits,
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.visits li,
.checks li {
  margin: 0;
  padding: 0.85rem 1rem;
  background: var(--paper);
  border-radius: 12px;
}

.when {
  color: var(--navy);
  font-weight: 700;
}

.site-footer {
  padding: 0 0 2.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .header-top,
  .panel-grid,
  .tablist {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 2.4rem; }
}

@media print {
  .site-header {
    background: #fff;
    color: #000;
  }

  h1, .lede, .kicker, .tablist button { color: #000; }

  .js .panel,
  .panel[hidden] {
    display: block !important;
  }

  .panel + .panel { margin-top: 1rem; }
}
