:root {
  --ink: #0e3448;
  --ink-soft: #526b78;
  --blue: #2782af;
  --black: #171d24;
  --paper: #f5f8fa;
  --white: #fff;
  --line: #dce5e6;
  --shadow: 0 18px 48px rgba(14, 52, 72, .11);
}

* { box-sizing: border-box; }
html, body { margin: 0; background: transparent; }
body { color: var(--ink); font-family: "Open Sans", Arial, sans-serif; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.snapshot { width: 100%; padding: 10px 10px 8px; }
.benchmark-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.benchmark-card { min-height: 285px; padding: 30px 34px 25px; border-radius: 26px; background: var(--white); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.blue-card { border-top: 5px solid var(--blue); }
.black-card { border-top: 5px solid var(--black); }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.colour-label, .status-pill, .benchmark-value, .benchmark-link { font-family: "Montserrat", Arial, sans-serif; }
.colour-label { font-weight: 800; }
.colour-label i { display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; }
.blue-card .colour-label i { background: var(--blue); }
.black-card .colour-label i { background: var(--black); }
.status-pill { padding: 4px 11px; border-radius: 999px; background: #e5f7ef; color: #187550; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.status-pill.unavailable { background: #f8e8e5; color: #944735; }
.benchmark-value { margin-top: 38px; font-size: clamp(4rem, 7.4vw, 6.6rem); font-weight: 800; letter-spacing: -.07em; line-height: .82; }
.benchmark-value small { color: var(--ink-soft); font-family: "Open Sans", Arial, sans-serif; font-size: 1rem; letter-spacing: 0; }
.unit-label { margin: 18px 0 0; color: var(--ink-soft); }
.card-footer { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .78rem; }
.snapshot-footer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; margin-top: 22px; }
.coverage-note { min-height: 62px; padding: 15px 20px; border-radius: 15px; background: #eef5f5; color: var(--ink-soft); display: flex; align-items: center; gap: 13px; font-size: .82rem; line-height: 1.5; }
.coverage-note > span { width: 25px; height: 25px; border: 1px solid #98b7bd; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; font-weight: 800; }
.coverage-note p { margin: 0; }
.benchmark-link { min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: .82rem; font-weight: 700; text-align: center; text-decoration: none; }
.benchmark-link:hover { background: var(--blue); }
.benchmark-link:focus-visible { outline: 3px solid #f4bd4e; outline-offset: 3px; }
.load-error { margin: 14px 0 0; color: #944735; font-weight: 700; }

@media (max-width: 760px) {
  .snapshot { padding: 6px; }
  .benchmark-grid { grid-template-columns: 1fr; gap: 16px; }
  .benchmark-card { min-height: 255px; padding: 26px 24px 22px; border-radius: 22px; }
  .benchmark-value { margin-top: 32px; font-size: clamp(3.8rem, 17vw, 4.5rem); }
  .snapshot-footer { grid-template-columns: 1fr; gap: 14px; margin-top: 16px; }
  .benchmark-link { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
