/* Kumbak website. No external fonts or scripts (CSP: style-src 'self', script-src 'none'): system font stack,
   CSS-only illustrations, icons as data-URI SVG masks. Brand: Kumbak green + the gold of the coin in the icon. */
:root {
  --bg: #f5f8f6;
  --surface: #ffffff;
  --surface-2: #eef4f1;
  --fg: #0d1a16;
  --muted: #4b5b56;
  --line: #dce6e2;
  --accent: #0b7a5b;
  --accent-strong: #065a43;
  --accent-soft: #d6f2e6;
  --gold: #f4b324;
  --gold-soft: #fff1cc;
  --gold-ink: #7a4f05;
  --risk: #c2410c;
  --risk-soft: #ffedd5;
  --recover: #1d4ed8;
  --recover-soft: #dbeafe;
  --protected: #0b7a5b;
  --protected-soft: #d1fae5;
  --proof: #6d28d9;
  --proof-soft: #ede9fe;
  --hero-1: #d6f2e6;
  --hero-2: #dbeafe;
  --hero-3: #fff1cc;
  --shadow-sm: 0 1px 2px rgb(13 26 22 / 6%), 0 2px 8px rgb(13 26 22 / 5%);
  --shadow: 0 1px 2px rgb(13 26 22 / 6%), 0 14px 36px rgb(13 26 22 / 10%);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 72rem;
  --gutter: max(1rem, calc((100vw - var(--max)) / 2));
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1210;
    --surface: #121c19;
    --surface-2: #17231f;
    --fg: #eaf2ef;
    --muted: #a1b2ad;
    --line: #22322e;
    --accent: #3fd0a0;
    --accent-strong: #7fe3c0;
    --accent-soft: #113629;
    --gold: #f6c453;
    --gold-soft: #3a2c0c;
    --gold-ink: #f6c453;
    --risk: #fb923c;
    --risk-soft: #3a1d0c;
    --recover: #7aa7ff;
    --recover-soft: #142445;
    --protected: #3fd0a0;
    --protected-soft: #10342a;
    --proof: #b79cff;
    --proof-soft: #261a45;
    --hero-1: #0f3327;
    --hero-2: #12223f;
    --hero-3: #2c230c;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 40%);
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 16px 40px rgb(0 0 0 / 45%);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.022em; margin: 0 0 0.6em; color: var(--fg); text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
img { max-width: 100%; }

/* ------------------------------------------------------------------ icons (masks, coloured with currentColor) */
.ic::before, .chip-ic::before {
  content: "";
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
  flex: none;
}
.i-return { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14 4 9l5-5'/%3E%3Cpath d='M4 9h10.5a5.5 5.5 0 0 1 0 11H11'/%3E%3C/svg%3E"); }
.i-shield { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.i-scale { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M7 21h10M5 7h14M5 7l-3 7a3 3 0 0 0 6 0L5 7zM19 7l-3 7a3 3 0 0 0 6 0l-3-7z'/%3E%3C/svg%3E"); }
.i-bell { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3Cpath d='M10.3 21a1.94 1.94 0 0 0 3.4 0'/%3E%3C/svg%3E"); }
.i-store { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cpath d='M3 6h18M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E"); }
.i-book { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20V2H6.5A2.5 2.5 0 0 0 4 4.5v15z'/%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 0 6.5 22H20v-5'/%3E%3C/svg%3E"); }
.i-globe { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15 15 0 0 1 0 20M12 2a15 15 0 0 0 0 20'/%3E%3C/svg%3E"); }
.i-info { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E"); }
.i-alert { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10.3 3.9-8.2 14A2 2 0 0 0 3.8 21h16.4a2 2 0 0 0 1.7-3.1l-8.2-14a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E"); }
.i-link { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.5.5l3-3a5 5 0 0 0-7-7l-1.7 1.7'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.5-.5l-3 3a5 5 0 0 0 7 7l1.7-1.7'/%3E%3C/svg%3E"); }
.i-arrow { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.i-lock { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E"); }

/* ------------------------------------------------------------------ header */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem var(--gutter);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; text-decoration: none; color: var(--fg); }
.brand img { border-radius: 9px; box-shadow: var(--shadow-sm); }
.top nav { display: flex; gap: 0.35rem; font-size: 0.95rem; }
.top nav a { text-decoration: none; color: var(--muted); padding: 0.4rem 0.75rem; border-radius: 999px; transition: background 0.15s, color 0.15s; }
.top nav a:hover { color: var(--fg); background: var(--surface-2); }
@media (max-width: 44rem) { .top nav { display: none; } }

main > section { padding: 4.5rem var(--gutter); }

/* ------------------------------------------------------------------ shared pieces */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.85rem 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--accent);
  font-weight: 650;
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
  margin: 0 0 1rem;
}
.eyebrow::before { width: 1.05em; height: 1.05em; }
.section-lead { color: var(--muted); font-size: 1.15rem; max-width: 44rem; margin-top: -0.25rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 40%, transparent); }
.btn::after { content: ""; width: 1.1em; height: 1.1em; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.btn { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) { .btn { color: #04261b; } }
.btn.ghost { background: var(--surface); color: var(--fg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 0; }

/* ------------------------------------------------------------------ home: promo video */
.video-band { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
.video-text h2 { margin-top: 0; }
.promo {
  display: block;
  width: min(360px, 100%);
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  background: #04261b;
  box-shadow: 0 24px 48px -24px rgb(6 90 67 / 60%), 0 0 0 1px var(--line);
}
@media (max-width: 56rem) {
  .video-band { grid-template-columns: 1fr; gap: 2rem; }
  .promo { justify-self: center; width: min(400px, 100%); }
}

/* ------------------------------------------------------------------ home: hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
  padding-top: 5.5rem !important;
  padding-bottom: 5.5rem !important;
  background:
    radial-gradient(56rem 30rem at 88% 0%, var(--hero-1), transparent 62%),
    radial-gradient(40rem 22rem at 0% 100%, var(--hero-2), transparent 70%),
    radial-gradient(26rem 16rem at 55% 105%, var(--hero-3), transparent 70%);
  overflow: hidden;
}
.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--fg) 5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--fg) 5%, transparent) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 20%, #000 10%, transparent 70%);
  pointer-events: none;
}
.hero > * { position: relative; }
@media (max-width: 56rem) { .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 3rem !important; padding-bottom: 3.5rem !important; } }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--accent);
  font-weight: 650;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}
.badge::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.hero h1 { font-size: clamp(2.5rem, 6.6vw, 4.4rem); margin: 1rem 0 1.1rem; letter-spacing: -0.035em; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 38rem; }

/* Phone mock-up */
.phone {
  margin: 0 auto;
  width: min(100%, 22rem);
  padding: 0.75rem;
  border-radius: 2.75rem;
  background: linear-gradient(160deg, #22302c, #0a1210);
  box-shadow: 0 30px 60px -20px rgb(6 90 67 / 45%), var(--shadow), inset 0 0 0 2px #33433f;
  transform: rotate(-2.5deg);
}
.screen { border-radius: 2.1rem; padding: 1.5rem 1rem 1.25rem; background: var(--bg); display: grid; gap: 0.75rem; }
.screen-title { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; margin: 0 0.25rem 0.25rem; }
.screen-title span { font-size: 0.72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.card {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: var(--surface);
  border-left: 6px solid;
  box-shadow: var(--shadow-sm);
}
.card .label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.card strong { font-size: 1.6rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.card .detail { font-size: 0.85rem; color: var(--muted); line-height: 1.35; }
.card.risk { border-color: var(--risk); }
.card.risk .label { color: var(--risk); }
.card.recover { border-color: var(--recover); }
.card.recover .label { color: var(--recover); }
.card.protected { border-color: var(--protected); }
.card.protected .label { color: var(--protected); }

/* ------------------------------------------------------------------ home: sections */
.band { background: var(--surface); border-block: 1px solid var(--line); }
.steps {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg), var(--surface));
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
}
.steps li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.steps p { color: var(--muted); margin: 0; }
.num {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #12a87b, #065a43);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 8px 18px rgb(6 90 67 / 30%);
}

/* Privacy band: dark brand panel */
.privacy-wrap { padding: 4.5rem var(--gutter); }
.privacy {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem) !important;
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(30rem 18rem at 100% 0%, rgb(244 179 36 / 22%), transparent 65%),
    linear-gradient(135deg, #0b7a5b, #053d2e);
  color: #eafaf3;
  box-shadow: 0 30px 60px -30px rgb(6 90 67 / 60%);
  margin: 4.5rem var(--gutter);
}
.privacy h2 { color: #fff; }
.privacy p { color: #c9eadc; font-size: 1.15rem; max-width: 46rem; margin: 0 0 1.25rem; }
.privacy a { color: #fff; font-weight: 650; }
.privacy .more { display: inline-flex; align-items: center; gap: 0.4rem; text-decoration: none; padding: 0.55rem 1rem; border-radius: 999px; background: rgb(255 255 255 / 12%); border: 1px solid rgb(255 255 255 / 25%); }
.privacy .more:hover { background: rgb(255 255 255 / 20%); }
.shield {
  width: 6rem;
  height: 6.8rem;
  background: linear-gradient(160deg, #ffe49a, #f4b324);
  clip-path: path("M48 0 L96 17 V52 C96 83 76 100 48 109 C20 100 0 83 0 52 V17 Z");
  position: relative;
  filter: drop-shadow(0 10px 20px rgb(0 0 0 / 25%));
}
.shield::after {
  content: "";
  position: absolute;
  left: 29px;
  top: 33px;
  width: 34px;
  height: 19px;
  border-left: 9px solid #7a4f05;
  border-bottom: 9px solid #7a4f05;
  transform: rotate(-45deg);
}
@media (max-width: 40rem) { .privacy { grid-template-columns: 1fr; gap: 1.5rem; } .shield { width: 4.5rem; height: 5.1rem; clip-path: path("M36 0 L72 13 V39 C72 62 57 75 36 82 C15 75 0 62 0 39 V13 Z"); } .shield::after { left: 21px; top: 24px; width: 26px; height: 14px; border-width: 0 0 7px 7px; } }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.5rem; margin-top: 2.25rem; max-width: 52rem; }
.plan { padding: 2rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); }
.plan.featured {
  position: relative;
  border: 2px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, #12a87b, #f4b324) border-box;
  box-shadow: var(--shadow);
}
.plan h3 { font-size: 1.25rem; }
.price { font-size: 2.25rem; font-weight: 800; margin: 0; letter-spacing: -0.03em; }
.price-alt { color: var(--muted); margin: 0.25rem 0 0; }
.plan ul { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.65rem; }
.plan li { padding-left: 2rem; position: relative; }
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15em;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
}
.plan li.warn::before { content: "!"; background: var(--risk-soft); color: var(--risk); }

/* Rights on the home page */
#rights .country-grid { margin-top: 2rem; }
#rights .more-link { margin-top: 1.5rem; }

/* FAQ */
.faq { max-width: none; }
.faq details {
  max-width: 52rem;
  margin: 0 0 0.75rem;
  padding: 1.1rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: box-shadow 0.2s;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 650; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: none;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.25rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 0.75rem 0 0; }

/* ------------------------------------------------------------------ guide and legal pages */
.page-hero {
  position: relative;
  padding: 2.25rem var(--gutter) 3rem;
  background:
    radial-gradient(48rem 24rem at 92% 0%, var(--hero-1), transparent 65%),
    radial-gradient(34rem 20rem at 0% 110%, var(--hero-2), transparent 70%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero > * { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); margin: 0 0 0.9rem; max-width: 52rem; letter-spacing: -0.032em; }
.page-hero .lead { margin: 0; max-width: 46rem; }
.page-hero .meta { margin: 1rem 0 0; font-size: 0.9rem; color: var(--muted); display: flex; align-items: center; gap: 0.4rem; }
.page-hero .meta::before { width: 1.1em; height: 1.1em; }
.crumbs { margin-bottom: 1.5rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; padding: 0; margin: 0; font-size: 0.88rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 0.5rem; opacity: 0.6; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }

/* Big numbers */
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 0.9rem; margin: 2rem 0 0; }
.stat {
  --tone: var(--accent);
  --tone-soft: var(--accent-soft);
  position: relative;
  padding: 1.15rem 1.25rem 1.25rem;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.stat::after { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--tone); }
/* icon chip: ::before is the tinted square, ::after the icon drawn as a mask in the tone colour */
.stat dt::before, .block > h2::before { content: ""; flex: none; width: 2rem; height: 2rem; border-radius: 10px; background: var(--tone-soft); }
.stat dt::after, .block > h2::after {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 50%;
  width: 1.2rem;
  height: 1.2rem;
  transform: translateY(-50%);
  background: var(--tone);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.stat dt { position: relative; display: flex; align-items: center; gap: 0.55rem; font-size: 0.86rem; font-weight: 600; color: var(--muted); line-height: 1.3; }
.stat dd { margin: 0.75rem 0 0; font-size: 1.05rem; font-weight: 650; color: var(--fg); line-height: 1.25; }
.stat dd b { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; color: var(--tone); margin-right: 0.2rem; font-variant-numeric: tabular-nums; line-height: 1; }
.stat.t-recover { --tone: var(--recover); --tone-soft: var(--recover-soft); }
.stat.t-protected { --tone: var(--protected); --tone-soft: var(--protected-soft); }
.stat.t-proof { --tone: var(--proof); --tone-soft: var(--proof-soft); }
.stat.t-risk { --tone: var(--risk); --tone-soft: var(--risk-soft); }
.stat.none dd { color: var(--risk); }
/* stat icons are drawn as tinted images (a mask cannot be combined with a background chip) */

/* Two-column body: article + sticky aside */
.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: 3rem;
  align-items: start;
  padding: 2.5rem var(--gutter) 4rem;
}
.page-grid.toc-left { grid-template-columns: 16rem minmax(0, 1fr); }
@media (max-width: 60rem) { .page-grid, .page-grid.toc-left { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }
.side { position: sticky; top: 5rem; display: grid; gap: 1rem; }
@media (max-width: 60rem) { .side { position: static; } .toc-left .side { order: -1; } }
.wide { padding: 0 var(--gutter) 4rem; }
.wide > h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); }

.prose { max-width: 46rem; min-width: 0; }
.prose > h2, .block > h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin-top: 2.5rem; scroll-margin-top: 5rem; }
.prose > h2:first-child, .prose > .block:first-child > h2 { margin-top: 0; }
.prose h3 { margin-top: 1.75rem; }
.prose p, .prose li { color: color-mix(in srgb, var(--fg) 86%, var(--muted)); }
.prose ul { padding-left: 1.25rem; }
.prose li { margin: 0.35rem 0; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--fg); }

.block {
  padding: 1.5rem 1.6rem 0.6rem;
  margin: 0 0 1.1rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.block { --tone: var(--accent); --tone-soft: var(--accent-soft); }
.block.i-return { --tone: var(--recover); --tone-soft: var(--recover-soft); }
.block.i-scale { --tone: var(--proof); --tone-soft: var(--proof-soft); }
.block.i-bell { --tone: var(--risk); --tone-soft: var(--risk-soft); }
.block > h2::before { width: 2.25rem; height: 2.25rem; border-radius: 11px; }
.block > h2::after { left: 0.45rem; width: 1.35rem; height: 1.35rem; }
.block > h2 { position: relative; display: flex; align-items: center; gap: 0.7rem; margin: 0 0 0.75rem; font-size: clamp(1.2rem, 2.6vw, 1.45rem); }

/* Notes */
.note {
  display: flex;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  margin: 1.5rem 0;
  font-size: 0.97rem;
}
.note::before { content: ""; flex: none; width: 1.3rem; height: 1.3rem; margin-top: 0.15rem; background: var(--accent); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.note { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E"); }
.note.warn { background: var(--risk-soft); border-color: color-mix(in srgb, var(--risk) 25%, transparent); --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10.3 3.9-8.2 14A2 2 0 0 0 3.8 21h16.4a2 2 0 0 0 1.7-3.1l-8.2-14a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E"); }
.note.warn::before { background: var(--risk); }
.note p, .note { margin-bottom: 1.5rem; }
.note > p { margin: 0; }
.page-hero .note { margin: 1.5rem 0 0; max-width: 52rem; background: color-mix(in srgb, var(--risk-soft) 85%, var(--surface)); }

/* Call to action card */
.cta {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  border-radius: var(--radius);
  background:
    radial-gradient(20rem 12rem at 100% 0%, rgb(244 179 36 / 25%), transparent 65%),
    linear-gradient(150deg, #0b7a5b, #053d2e);
  color: #e3f6ee;
  box-shadow: 0 24px 48px -24px rgb(6 90 67 / 70%);
  overflow: hidden;
}
.cta img { display: block; width: 3rem; height: 3rem; border-radius: 12px; margin-bottom: 1rem; box-shadow: 0 6px 14px rgb(0 0 0 / 25%); }
.cta h2 { color: #fff; font-size: 1.35rem; margin: 0 0 0.6rem; }
.cta p { color: #c9eadc; font-size: 0.97rem; margin: 0 0 1.1rem; }
.cta .btn { background: #fff; color: #065a43; box-shadow: none; }
.cta .btn:hover { box-shadow: 0 8px 20px rgb(0 0 0 / 25%); }
.cta-wide { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; margin: 0 var(--gutter) 4rem; padding: 2rem; }
.cta-wide img { margin: 0; width: 4rem; height: 4rem; border-radius: 16px; }
.cta-wide p { margin: 0; }
@media (max-width: 48rem) { .cta-wide { grid-template-columns: 1fr; } }

/* Side box (TOC, store list) */
.side-box { padding: 1.25rem 1.35rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.side-box h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 0.75rem; }
.side-box ol, .side-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.side-box a { display: block; padding: 0.35rem 0.6rem; border-radius: 9px; color: var(--fg); text-decoration: none; font-size: 0.93rem; line-height: 1.35; }
.side-box a:hover { background: var(--surface-2); color: var(--accent); }
.side-box .row { display: flex; justify-content: space-between; gap: 0.75rem; }
.side-box .row span:last-child { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Country and store cards */
.country-grid, .store-grid { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.country-grid { grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.store-grid { grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.country-card, .store-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 0.85rem;
  align-items: center;
  height: 100%;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--fg);
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.country-card:hover, .store-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.cc, .mono {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.cc { background: var(--accent-soft); color: var(--accent); font-size: 0.95rem; }
.mono { background: linear-gradient(135deg, #12a87b, #065a43); color: #fff; font-size: 1.25rem; }
.store-card:nth-child(3n+2) .mono { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.store-card:nth-child(3n) .mono { background: linear-gradient(135deg, #f6c453, #d99716); color: #4a3003; }
.cn { font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.cs { display: flex; flex-wrap: wrap; gap: 0.3rem; font-size: 0.8rem; }
.cs span { padding: 0.12rem 0.5rem; border-radius: 999px; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.cs .w { background: var(--recover-soft); color: var(--recover); }
.cs .g { background: var(--protected-soft); color: var(--protected); }
.cs .x { background: var(--risk-soft); color: var(--risk); }
.store-card .days { font-size: 0.9rem; color: var(--muted); }
.store-card .days b { color: var(--accent); font-size: 1.05rem; }

/* Chips (other countries) */
.chips { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips a { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0.8rem 0.35rem 0.4rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--fg); text-decoration: none; font-size: 0.93rem; transition: border-color 0.15s, background 0.15s; }
.chips a:hover { border-color: var(--accent); background: var(--accent-soft); }
.chips abbr { display: grid; place-items: center; min-width: 1.9rem; height: 1.6rem; padding: 0 0.3rem; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 0.72rem; font-weight: 800; text-decoration: none; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 1.25rem 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow-sm); }
table.rules { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
table.rules th, table.rules td { padding: 0.7rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
table.rules td { white-space: nowrap; }
.prose table.rules td { white-space: normal; min-width: 9rem; }
table.rules tbody tr:nth-child(even) { background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
table.rules tbody tr:hover { background: var(--accent-soft); }
table.rules tr:last-child td { border-bottom: 0; }
table.rules th { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); background: var(--surface-2); white-space: nowrap; }
table.rules td:first-child a { font-weight: 650; text-decoration: none; }
table.rules td:first-child a:hover { text-decoration: underline; }

.sources { font-size: 0.88rem; color: var(--muted); padding-left: 1.2rem; overflow-wrap: anywhere; }
.sources a { color: var(--muted); }
.small { font-size: 0.9rem; color: var(--muted); }
.links { columns: 14rem; padding-left: 1.2rem; }

/* Legal documents: "at a glance" list becomes a card */
.legal .prose > h2:first-of-type + ul {
  list-style: none;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  display: grid;
  gap: 0.6rem;
}
.legal .prose > h2:first-of-type + ul li { margin: 0; padding-left: 1.75rem; position: relative; }
.legal .prose > h2:first-of-type + ul li::before { content: "✓"; position: absolute; left: 0; top: 0.1em; display: grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 800; }
@media (prefers-color-scheme: dark) { .legal .prose > h2:first-of-type + ul li::before { color: #04261b; } }
.legal .prose > h2 { padding-top: 1.75rem; border-top: 1px solid var(--line); }
.legal .prose > h2:first-of-type { padding-top: 0; border-top: 0; }
.legal .prose p:first-child { color: var(--muted); font-size: 0.95rem; }

/* ------------------------------------------------------------------ footer */
.site-footer {
  margin-top: 0;
  padding: 3.5rem var(--gutter) 2.5rem;
  background: #07130f;
  color: #a9bcb5;
  font-size: 0.93rem;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 48rem) { .foot-grid { grid-template-columns: 1fr; gap: 2rem; } }
.site-footer .brand { color: #fff; margin-bottom: 0.9rem; }
.site-footer p { margin: 0; max-width: 24rem; }
.site-footer .foot-title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: #6f8a81; margin: 0 0 0.9rem; }
.site-footer a { color: #d7e6e0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.guides, .languages { display: grid; gap: 0.45rem; align-content: start; }
.languages { grid-template-columns: repeat(2, max-content); column-gap: 1.75rem; }
.languages a[aria-current="page"] { color: var(--gold); font-weight: 700; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid #1c2c27; }
.site-privacy { max-width: 44rem; }
.site-privacy summary { cursor: pointer; color: #d7e6e0; }
.site-privacy p { margin: 0.5rem 0 0; max-width: none; }
.copy { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone { transform: none; }
  *, *::before, *::after { transition: none !important; }
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
