/*
 * Shared stylesheet for apps/landing (index.html, privacy.html, terms.html).
 * Plain CSS, no build step, no framework -- see apps/landing/README.md.
 *
 * Structure:
 *   1. Tokens + base (shared by all three pages)
 *   2. Header / footer (shared)
 *   3. Legal-page pieces: notice, placeholder, doc-meta, legal-body (shared)
 *   4. Landing page only -- everything scoped under `.landing` or a
 *      `--wide` modifier, so privacy.html/terms.html are unaffected.
 *
 * Pace colours (--green/--red/--blue) match apps/mobile/src/styles/app.css
 * so the mock app UI on the landing page reads exactly like the real one.
 */

/* ---------------------------------------------------------------------------
   1. Tokens + base
--------------------------------------------------------------------------- */

:root {
  --color-bg: #0b1220;
  --color-bg-panel: #101a2c;
  --color-bg-panel-alt: #0e1729;
  --color-border: #223049;
  --color-text: #e8edf6;
  --color-text-muted: #a7b3c8;
  --color-accent: #4fd1c5;
  --color-accent-strong: #2fb9ab;
  --color-warning-bg: #2a2110;
  --color-warning-border: #6b5416;
  --color-warning-text: #f2d98a;

  /* Mobile app palette (apps/mobile/src/styles/app.css). */
  --green: #35d07f;
  --red: #ff5c65;
  --blue: #58a6ff;
  --app-bg: #0b0e12;
  --app-panel: #141922;
  --app-line: #2a3340;
  --app-sub: #8a97a6;

  --max-width: 880px;
  --wide-width: 1120px;
  --radius: 12px;
  --radius-lg: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

a {
  color: var(--color-accent);
}

a:hover {
  color: var(--color-accent-strong);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 10;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--color-accent);
  color: #04211d;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* ---------------------------------------------------------------------------
   2. Header / footer
--------------------------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-panel);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
  text-decoration: none;
}

.brand:hover {
  color: var(--color-accent);
}

.brand__mark {
  width: 28px;
  height: 28px;
  flex: none;
}

.brand__mark path,
.notif__icon path {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
}

.site-nav a:not(.btn) {
  color: var(--color-text-muted);
  text-decoration: none;
}

.site-nav a:not(.btn):hover {
  color: var(--color-accent);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 20px 48px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer a {
  color: var(--color-text-muted);
}

.site-footer a:hover {
  color: var(--color-accent);
}

/* ---------------------------------------------------------------------------
   Buttons + lists (shared)
--------------------------------------------------------------------------- */

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.98rem;
  line-height: 1.3;
  text-align: center;
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--color-accent);
  color: #04211d;
}

.btn-primary:hover {
  background: var(--color-accent-strong);
  color: #04211d;
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

section {
  margin: 48px 0;
}

section h2 {
  font-size: 1.5rem;
  margin: 0 0 16px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 8px;
}

section h3 {
  font-size: 1.15rem;
  margin: 24px 0 8px;
}

.panel {
  background: var(--color-bg-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 24px;
}

ul.check-list,
ul.cross-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.check-list li,
ul.cross-list li {
  padding: 6px 0 6px 28px;
  position: relative;
}

ul.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

ul.cross-list li::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: #f28b82;
  font-weight: 700;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 640px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------------------
   3. Legal-page pieces
--------------------------------------------------------------------------- */

.notice {
  background: var(--color-warning-bg);
  border: 1px solid var(--color-warning-border);
  color: var(--color-warning-text);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.92rem;
  margin: 0 0 32px;
}

.placeholder {
  background: rgba(242, 139, 130, 0.12);
  border: 1px dashed #f28b82;
  color: #ffb3ab;
  padding: 1px 6px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  white-space: normal;
  overflow-wrap: anywhere;
}

.doc-meta {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

ol.legal-list,
.legal-body ol,
.legal-body ul {
  padding-left: 24px;
}

.legal-body li {
  margin-bottom: 8px;
}

main > h1 {
  font-size: clamp(1.8rem, 5vw, 2.3rem);
  line-height: 1.2;
  margin: 8px 0 12px;
}

.legal-body {
  overflow-wrap: break-word;
}

/* ---------------------------------------------------------------------------
   4. Landing page
--------------------------------------------------------------------------- */

.site-header--wide {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(16, 26, 44, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-header--wide .site-header__inner,
.site-footer--wide .site-footer__inner,
.site-footer__disclaimer {
  max-width: var(--wide-width);
  flex-wrap: nowrap;
}

.site-header--wide .site-header__inner {
  padding-top: 12px;
  padding-bottom: 12px;
}

@media (max-width: 720px) {
  .site-nav__secondary {
    display: none;
  }
}

.site-footer--wide .site-footer__inner {
  flex-wrap: wrap;
}

.site-footer__disclaimer {
  margin: 0 auto;
  padding: 28px 20px 0;
  font-size: 0.85rem;
  line-height: 1.55;
}

.site-footer__disclaimer p {
  margin: 0;
  max-width: 80ch;
}

.site-footer__disclaimer strong {
  color: var(--color-text);
}

.landing {
  max-width: none;
  padding: 0;
  overflow-x: clip;
}

.landing section {
  margin: 0;
}

.landing section h2 {
  border-bottom: 0;
  padding-bottom: 0;
  font-size: clamp(1.6rem, 4.2vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  text-wrap: balance;
}

.landing section h3 {
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0 0 8px;
}

.landing p {
  margin: 0 0 14px;
}

.wrap {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 20px;
}

.band {
  padding: 56px 0;
  border-top: 1px solid var(--color-border);
}

@media (min-width: 900px) {
  .band {
    padding: 80px 0;
  }
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 12px !important;
}

.section-lead {
  color: var(--color-text-muted);
  max-width: 62ch;
  font-size: 1.05rem;
}

.fine-print {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  max-width: 75ch;
  margin-top: 24px !important;
}

.split {
  display: grid;
  gap: 40px;
  align-items: center;
}

.split--top {
  align-items: start;
}

.stack {
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

/* Footnote markers */
.fn {
  /* Inline (not inline-block) so a marker never wraps onto a new line
     away from the sentence it cites. */
  display: inline;
  margin-left: 2px;
  padding: 0 0.35em;
  border-radius: 4px;
  font-size: 0.68em;
  font-weight: 700;
  line-height: 1.5;
  vertical-align: super;
  text-align: center;
  text-decoration: none;
  color: var(--color-accent);
  background: rgba(79, 209, 197, 0.12);
}

.fn:hover {
  background: rgba(79, 209, 197, 0.24);
}

/* Hero ------------------------------------------------------------------ */

.hero {
  padding: 56px 0 72px;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(88, 166, 255, 0.14), transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 0%, rgba(53, 208, 127, 0.08), transparent 70%);
}

.hero__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero {
    padding: 88px 0 96px;
  }

  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
  }
}

.hero h1 {
  font-size: clamp(2.05rem, 6.4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  text-wrap: balance;
}

.hero__accent {
  display: block;
  margin-top: 6px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  color: var(--color-text-muted);
  max-width: 56ch;
  margin-bottom: 28px !important;
}

.hero__note {
  margin-top: 20px !important;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  max-width: 52ch;
}

/* Phone mock ------------------------------------------------------------ */

.hero__visual {
  display: flex;
  justify-content: center;
}

.phone-scene {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 330px;
  padding-top: 64px;
}

.phone {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  border-radius: 44px;
  padding: 10px;
  background: linear-gradient(160deg, #2a3342, #151b25);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 40px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 90px -30px rgba(88, 166, 255, 0.45);
}

.phone__screen {
  border-radius: 35px;
  background: var(--app-bg);
  padding: 12px 16px 20px;
  color: var(--color-text);
  font-size: 12px;
  line-height: 1.35;
  overflow: hidden;
}

.phone__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 18px;
}

.phone__notch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 0 0 2px #1b222c;
}

.phone__dots {
  display: flex;
  gap: 3px;
}

.phone__dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--app-sub);
}

.app-trip-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.app-trip-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.app-trip-name b {
  font-weight: 700;
  color: var(--app-sub);
}

.app-trip-name b::before {
  content: "→ ";
}

.app-pill {
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.app-pill--green {
  color: var(--green);
  background: rgba(53, 208, 127, 0.1);
  border: 1px solid rgba(53, 208, 127, 0.22);
}

.app-pace-card {
  background: var(--app-panel);
  border: 1px solid var(--app-line);
  border-radius: 22px;
  padding: 20px 14px 14px;
  text-align: center;
}

.app-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--app-sub);
}

.app-pace-value {
  font-size: 68px;
  font-weight: 800;
  letter-spacing: -4px;
  line-height: 0.95;
  margin-top: 10px;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

.app-pace-value small {
  font-size: 22px;
  letter-spacing: -1px;
  margin-left: 2px;
}

.app-pace-meaning {
  font-size: 13px;
  font-weight: 700;
  margin-top: 8px;
}

.app-pace-caption {
  font-size: 10px;
  color: var(--app-sub);
  margin-top: 3px;
}

.app-remaining {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--app-line);
  text-align: left;
}

.app-remaining-num {
  font-size: 24px;
  font-weight: 780;
  letter-spacing: -1px;
  line-height: 1;
  margin-top: 5px;
}

.app-remaining-num small {
  font-size: 12px;
  color: var(--app-sub);
  letter-spacing: 0;
}

.app-progress {
  height: 6px;
  margin-top: 12px;
  border-radius: 6px;
  background: #222b35;
  overflow: hidden;
}

.app-progress span,
.notif__track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.app-progress-labels {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  margin-top: 6px;
  font-size: 9px;
  color: var(--app-sub);
}

.app-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.app-metrics div {
  background: var(--app-panel);
  border: 1px solid var(--app-line);
  border-radius: 14px;
  padding: 8px 4px;
  text-align: center;
}

.app-metrics strong {
  display: block;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.app-metrics span {
  font-size: 9px;
  color: var(--app-sub);
}

/* Notification card floating over the phone */
.notif {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  width: min(100%, 310px);
  transform: translateX(-50%);
  padding: 11px 14px 12px;
  border-radius: 20px;
  background: rgba(28, 36, 48, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.75);
  font-size: 12px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: notif-in 700ms 300ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.notif__top {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--app-sub);
}

.notif__icon {
  width: 16px;
  height: 16px;
  padding: 1px;
  border-radius: 50%;
  background: var(--color-bg);
}

.notif__time {
  margin-left: auto;
}

.notif__body {
  margin-top: 5px;
  font-weight: 600;
  color: var(--green);
}

.notif__track {
  height: 4px;
  margin-top: 8px;
  border-radius: 4px;
  background: #2a3340;
  overflow: hidden;
}

@keyframes notif-in {
  from {
    opacity: 0;
    transform: translate(-50%, -10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (min-width: 900px) {
  .phone-scene {
    max-width: 360px;
  }

  .notif {
    left: -24px;
    transform: none;
    width: 290px;
    animation-name: notif-in-side;
  }

  @keyframes notif-in-side {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* Problem --------------------------------------------------------------- */

.zone-diagram,
.callout,
.step,
.feature,
.region,
.trust,
.faq details {
  background: var(--color-bg-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.zone-diagram {
  padding: 24px 22px 20px;
}

.zone-diagram__road {
  display: flex;
  align-items: center;
  gap: 10px;
}

.zone-diagram__gate {
  flex: none;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(88, 166, 255, 0.1);
  border: 1px solid rgba(88, 166, 255, 0.28);
}

.zone-diagram__line {
  position: relative;
  flex: 1;
  height: 6px;
  border-radius: 6px;
  background: repeating-linear-gradient(
    90deg,
    rgba(88, 166, 255, 0.55) 0 14px,
    rgba(88, 166, 255, 0.15) 14px 22px
  );
}

.zone-diagram__labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.zone-diagram__labels span:nth-child(2) {
  color: var(--color-text);
  font-weight: 600;
  text-align: center;
}

.zone-diagram__text {
  margin: 18px 0 0 !important;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.zone-diagram__text strong {
  display: block;
  font-size: 1.9rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 4px;
}

.callout {
  padding: 22px;
  border-color: rgba(88, 166, 255, 0.3);
  background:
    linear-gradient(180deg, rgba(88, 166, 255, 0.08), rgba(88, 166, 255, 0.02)),
    var(--color-bg-panel);
}

.callout p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.callout p:last-child {
  margin-bottom: 0;
  color: var(--color-text);
}

/* How it works ---------------------------------------------------------- */

.steps {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 16px;
  counter-reset: none;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.step {
  display: flex;
  flex-direction: column;
  padding: 24px 22px 22px;
}

.step p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.step__num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  border-radius: 50%;
  font-weight: 800;
  color: var(--color-bg);
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.mini-notif,
.mini-pace,
.mini-result {
  margin-top: auto;
  border-radius: 14px;
  background: var(--app-bg);
  border: 1px solid var(--app-line);
  padding: 12px 14px;
  font-size: 0.8rem;
}

.mini-notif b {
  display: block;
  color: var(--color-text);
}

.mini-notif span {
  color: var(--app-sub);
}

.mini-pace {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.mini-pace__value {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--green);
}

.mini-pace__value small {
  font-size: 0.9rem;
}

.mini-pace__label {
  font-weight: 700;
  color: var(--color-text);
}

.mini-result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  text-align: center;
}

.mini-result strong {
  display: block;
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
}

.mini-result span {
  color: var(--app-sub);
  font-size: 0.72rem;
}

.is-green {
  color: var(--green);
}

.how__note {
  margin: 24px 0 0 !important;
  padding: 16px 18px;
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--color-bg-panel-alt);
  color: var(--color-text-muted);
  max-width: 80ch;
}

.how__note strong {
  color: var(--color-text);
}

/* Features -------------------------------------------------------------- */

.features {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .features {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature {
  padding: 22px;
}

.feature p {
  color: var(--color-text-muted);
  font-size: 0.93rem;
  margin: 0 !important;
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.feature__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 639px) {
  .feature {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 16px;
    padding: 18px;
  }

  .feature__icon {
    grid-row: span 2;
    margin-bottom: 0;
  }
}

.feature__icon--green {
  color: var(--green);
  background: rgba(53, 208, 127, 0.12);
}

.feature__icon--blue {
  color: var(--blue);
  background: rgba(88, 166, 255, 0.12);
}

.feature__icon--muted {
  color: var(--color-text);
  background: rgba(167, 179, 200, 0.12);
}

/* Zones ----------------------------------------------------------------- */

.regions {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

@media (min-width: 640px) {
  .regions {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .regions {
    grid-template-columns: repeat(3, 1fr);
  }
}

.region {
  padding: 18px 20px;
}

.region h3 {
  font-size: 0.78rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px !important;
}

.region ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.region li {
  padding: 7px 0;
  font-weight: 600;
  line-height: 1.35;
}

.region li + li {
  border-top: 1px solid var(--color-border);
}

.region li span {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Trust ----------------------------------------------------------------- */

.trust {
  display: grid;
  gap: 8px 48px;
  padding: 28px 24px;
}

@media (min-width: 900px) {
  .trust {
    grid-template-columns: 0.8fr 1.2fr;
    padding: 40px;
  }
}

.trust h2 {
  margin-bottom: 0 !important;
}

.trust__body > p:first-child {
  color: var(--color-text-muted);
}

.trust .check-list {
  margin: 4px 0 14px;
}

.trust .check-list li::before {
  color: var(--green);
}

.trust__link {
  margin: 0 !important;
  font-size: 0.95rem;
}

/* Join + FAQ ------------------------------------------------------------ */

.join p {
  color: var(--color-text-muted);
}

.join .btn {
  margin: 6px 0 4px;
}

.join .doc-meta {
  font-size: 0.85rem;
  margin-bottom: 8px !important;
}

.faq__title {
  font-size: 1.25rem !important;
  margin-bottom: 14px !important;
}

.faq details {
  border-radius: var(--radius);
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 48px 16px 18px;
  position: relative;
  font-weight: 600;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-accent);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0 !important;
  padding: 0 18px 16px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Sources --------------------------------------------------------------- */

.band--sources {
  padding: 40px 0 48px;
}

.sources__title {
  font-size: 0.85rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 10px !important;
}

.sources {
  margin: 0;
  padding-left: 22px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.sources li {
  padding: 3px 0;
  overflow-wrap: anywhere;
}

.sources li:target {
  color: var(--color-text);
}
