/* Chart Police marketing site. Colours follow the badge: navy #16264a, gold #e0b44c. */
:root {
  --bg: #f4f1ea; --panel: #ffffff; --ink: #1d1d1b; --muted: #62605a; --line: #e0dcd2;
  --navy: #16264a; --gold: #e0b44c; --accent: #1f3a7a; --band: #16264a; --band-ink: #f4f1ea;
  --stamp: #c0392b; --ok: #1f7a4a; --warn: #b07800; --bad: #c0392b; --worst: #8e1b3a;
  --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12151c; --panel: #1b1f29; --ink: #ecebe7; --muted: #a7a59f; --line: #2c3240;
    --accent: #e0b44c; --band: #0c1424; --band-ink: #ecebe7;
    --stamp: #f07a5f; --ok: #5cc28b; --warn: #e3b341; --bad: #f07a5f; --worst: #f05f8a;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 5vw, 46px); margin: 0 0 16px; }
h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 16px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.section { padding: 56px 16px; }
.kicker { text-transform: uppercase; letter-spacing: .1em; font-size: 13px; font-weight: 700; color: var(--muted); margin: 0 0 8px; }
.kicker a { color: inherit; }
.intro { max-width: 720px; color: var(--muted); font-size: 17px; }

/* Header and menu */
header.site { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 10; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none;
  font-family: var(--display); font-size: 20px; }
.brand svg { width: 34px; height: 40px; flex: none; }
.brand.small svg { width: 28px; height: 33px; }
.brand.small { font-size: 16px; }
nav[aria-label="Main"] { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
nav[aria-label="Main"] > a, .menu > summary { color: #fff; text-decoration: none; padding: 8px 12px; border-radius: 8px;
  font-weight: 600; font-size: 15px; cursor: pointer; }
nav[aria-label="Main"] > a:hover, .menu > summary:hover, .menu[open] > summary { background: rgba(255,255,255,.1); }
[aria-current="page"] { color: var(--gold) !important; }
.menu { position: relative; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::after { content: " ▾"; font-size: 12px; }
.mpanel { position: absolute; right: 0; top: calc(100% + 8px); width: min(760px, calc(100vw - 32px));
  background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,.2); padding: 18px; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px 20px; }
.mhead { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.mgroup a, .sgroup a { display: block; color: var(--ink); text-decoration: none; font-size: 14px; padding: 3px 0; }
.mgroup a:hover, .sgroup a:hover { color: var(--accent); }
.mall { display: inline-block; font-weight: 700; margin-bottom: 12px; text-decoration: none; }
@media (max-width: 640px) {
  .bar { padding-top: 8px; padding-bottom: 8px; }
  .mpanel { position: fixed; left: 16px; right: 16px; top: 118px; width: auto; max-height: calc(100vh - 140px); overflow: auto; }
}

/* Home */
.hero { background: var(--navy); color: #fff; padding: 48px 0 64px; }
.hero .kicker { color: var(--gold); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.lede { font-size: 19px; color: #d8dbe4; max-width: 560px; }
.soon { display: inline-flex; align-items: center; gap: 8px; background: rgba(224,180,76,.15); color: var(--gold);
  border: 1px solid rgba(224,180,76,.4); padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.soon .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero-fig { margin: 0; }
.hero-fig img { border-radius: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.hero-fig figcaption { color: #aab0c0; font-size: 13px; margin-top: 10px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

.cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.cols p { margin: 0 0 14px; }
.reasons { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.reasons li { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 8px; padding: 12px 16px; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }

.band { background: var(--band); color: var(--band-ink); }
.band .kicker { color: var(--gold); }
.steps { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 20px; }
.steps h3 { margin: 8px 0 6px; }
.steps p { margin: 0; color: #c9cdd8; }
.steps .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: var(--navy); font-family: var(--display); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.verdicts p { color: #c9cdd8; margin: 0 0 10px; }
.verdicts ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.verdicts li { border-radius: 8px; padding: 10px 14px; background: #fff; color: #1d1d1b; border-top: 6px solid; }
.verdicts .range { display: block; font-size: 13px; color: #62605a; }
.v-ok { border-color: #1f7a4a !important; } .v-warn { border-color: #b07800 !important; }
.v-bad { border-color: #c0392b !important; } .v-worst { border-color: #8e1b3a !important; }
@media (max-width: 760px) { .verdicts ul { grid-template-columns: repeat(2, 1fr); } }

/* Crime cards */
.ghead { margin: 32px 0 12px; font-size: 18px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.card img { aspect-ratio: 3 / 2; width: 100%; object-fit: contain; padding: 6px; background: #fff; border-bottom: 1px solid var(--line); }
.card h3 { margin: 8px 14px 4px; font-size: 16px; }
.card p { margin: 0 14px 14px; font-size: 14px; color: var(--muted); }
.card .tag { align-self: flex-start; margin: 12px 14px 0; font-family: var(--display); font-size: 11px; color: var(--stamp);
  border: 2px solid var(--stamp); border-radius: 4px; padding: 1px 6px; transform: rotate(-3deg); }
.tgroup { margin-top: 40px; }
.tgroup h2 { margin-bottom: 4px; }
.gdesc { color: var(--muted); margin: 0 0 16px; }

/* Crime page */
.crime-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding-top: 40px; padding-bottom: 64px; }
.side { position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; font-size: 14px; }
.sgroup { margin-bottom: 14px; }
.sgroup a { padding: 3px 0 3px 10px; border-left: 2px solid var(--line); }
.sgroup a[aria-current="page"] { border-left-color: var(--gold); font-weight: 700; color: var(--ink) !important; }
.crime { min-width: 0; max-width: 820px; }
.crime h2 { font-size: 22px; margin: 36px 0 10px; }
.charge { font-size: 20px; color: var(--muted); margin: 0; }
.crime ul, .crime ol { padding-left: 22px; }
.crime li { margin-bottom: 8px; }
.evidence { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 14px; }
.exhibit { margin: 0; }
.frame { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px;
  min-height: 100%; display: flex; align-items: center; justify-content: center; }
.frame img { max-height: 420px; width: auto; }
.exhibit figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.stamp { position: absolute; top: -14px; right: 10px; font-family: var(--display); font-size: 15px; letter-spacing: .02em;
  color: #c0392b; border: 3px solid #c0392b; border-radius: 6px; padding: 2px 10px; transform: rotate(-8deg);
  background: #fff; }
.stamp.ok { color: #1f7a4a; border-color: #1f7a4a; }
.exhibit { display: grid; grid-template-rows: 1fr auto; }
@media (max-width: 760px) { .evidence { grid-template-columns: 1fr; } }
.fixes li::marker { font-weight: 700; color: var(--accent); }
.note { margin-top: 28px; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--ok);
  border-radius: 8px; padding: 14px 18px; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.pager a { font-weight: 600; text-decoration: none; }
@media (max-width: 860px) {
  .crime-layout { grid-template-columns: 1fr; padding-top: 24px; }
  .side { display: none; }
}

footer.site { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer.site .brand { color: var(--ink); }
footer.site p { margin: 8px 0 0; }

/* Language switch */
.menu.lang > summary { font-size: 13px; letter-spacing: .05em; border: 1px solid rgba(255,255,255,.35); padding: 6px 10px; margin-left: 4px; }
.lpanel { width: auto; min-width: 180px; padding: 8px; }
.lpanel a { display: flex; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; padding: 7px 10px; border-radius: 6px; font-size: 14px; }
.lpanel a:hover { background: var(--bg); }
.lpanel a[aria-current] { font-weight: 700; color: var(--ink) !important; background: var(--bg); }
.lpanel .code { font-size: 11px; font-weight: 700; color: var(--muted); width: 20px; }
@media (max-width: 640px) { .lpanel { left: auto; right: 16px; width: 200px; } }
