/* Wave Drop Maps Privacy Center. Colours come from the Wave logo (blue wordmark, red "FREE" arrow). */
:root {
  color-scheme: light;
  --bg: #f5f8fc;
  --surface: #ffffff;
  --surface-2: #eef3fa;
  --text: #0e1a2b;
  --muted: #56667d;
  --border: #dde5f0;
  --accent: #1470dc;
  --accent-soft: #e3effd;
  --brand-red: #e3343a;
  --shadow: 0 1px 2px rgba(14, 26, 43, .06), 0 4px 16px rgba(14, 26, 43, .05);
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0a111d;
    --surface: #101a2a;
    --surface-2: #142136;
    --text: #e6edf7;
    --muted: #93a4bc;
    --border: #1f2d44;
    --accent: #5aa8ff;
    --accent-soft: #13294a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; }

/* ── top bar ── */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner, .footer-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand img { width: 40px; height: auto; }
.brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand strong { font-size: 15px; letter-spacing: -.01em; }
.brand small { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.topnav { display: flex; flex-wrap: wrap; gap: 4px; }
.topnav a {
  color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 7px 12px; border-radius: 999px;
}
.topnav a:hover { color: var(--text); background: var(--surface-2); }
.topnav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }

/* ── hero ── */
main { max-width: 1120px; margin: 0 auto; padding: 0 24px 72px; }
.hero { padding: 48px 0 32px; }
.hero h1 { font-size: clamp(30px, 4.2vw, 42px); line-height: 1.12; letter-spacing: -.025em; margin: 6px 0 8px; text-wrap: balance; }
.crumbs { margin: 0; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.subtitle { margin: 0 0 10px; font-size: 20px; font-weight: 600; color: var(--muted); }
.meta { margin: 0; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lead { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0 0 12px; }
.hero-home { text-align: center; padding-top: 56px; }
.hero-home .lead { margin-left: auto; margin-right: auto; }
.hero-logo { width: 128px; margin-bottom: 8px; filter: drop-shadow(0 6px 18px rgba(20, 112, 220, .25)); }

/* ── policy layout ── */
.layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: 88px; font-size: 14px; }
.toc-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--border); counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a {
  display: block; padding: 5px 0 5px 14px; margin-left: -2px; border-left: 2px solid transparent;
  color: var(--muted); text-decoration: none;
}
.toc a::before { content: counter(toc) ". "; font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--text); border-left-color: var(--accent); }

article {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 40px 48px; max-width: 760px;
}
article section + section { border-top: 1px solid var(--border); margin-top: 28px; padding-top: 4px; }
article h2 { font-size: 21px; letter-spacing: -.01em; margin: 24px 0 12px; }
article h2 .num { color: var(--accent); margin-right: 2px; font-variant-numeric: tabular-nums; }
article h3 { font-size: 16px; margin: 20px 0 6px; }
article p, article li { color: var(--text); }
article p { margin: 0 0 14px; }
article ul { margin: 0 0 14px; padding-left: 22px; }
article li { margin-bottom: 6px; }
article li::marker { color: var(--accent); }

.summary {
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 12px; padding: 20px 24px; margin-bottom: 8px;
}
.summary-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin: 0 0 8px; }
.summary ul { list-style: none; padding: 0; margin: 0; }
.summary li { padding: 6px 0; margin: 0; border-top: 1px solid color-mix(in srgb, var(--accent) 15%, transparent); }
.summary li:first-child { border-top: 0; }
.contact-card { background: var(--surface-2); border-radius: 10px; padding: 16px 20px; }

.narrow article, .narrow .hero { max-width: 760px; margin-left: auto; margin-right: auto; }
.button {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600;
  padding: 10px 18px; border-radius: 999px;
}

/* ── home ── */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
.card {
  display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px; transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card-title { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.card-text { color: var(--muted); flex: 1; }
.card-link { color: var(--accent); font-weight: 600; font-size: 15px; }
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.notes > div { background: var(--surface-2); border-radius: var(--radius); padding: 24px; }
.notes h2 { font-size: 17px; margin: 0 0 8px; }
.notes p { margin: 0; color: var(--muted); }

/* ── footer ── */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 24px; padding-bottom: 28px; font-size: 14px; color: var(--muted); }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 32px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--accent); }
.footer-inner p { margin: 0; width: 100%; }

/* ── small screens ── */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; gap: 20px; }
  .toc { position: static; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; }
  .cards, .notes { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .topbar { position: static; }
  .topbar-inner { flex-direction: column; align-items: stretch; padding-top: 10px; padding-bottom: 8px; gap: 6px; }
  .topnav { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 12px; scrollbar-width: none; }
  .topnav a { padding: 5px 10px; font-size: 13px; white-space: nowrap; }
  .toc { display: none; }
  main, .topbar-inner, .footer-inner { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 28px 0 20px; }
  article { padding: 24px 20px; border-radius: 12px; }
  .summary { padding: 16px 18px; }
  html { scroll-padding-top: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card { transition: none; } }
