/* Atrium website — Black & Gold (matches DESIGN.md of the app).
   Font: Inter throughout (Vincent 2026-10-05). */

:root {
  --ink: #000000;
  --surface: #1c1c1e;
  --surface-hi: #2c2c2e;
  --hairline: #38383a;
  --bone: #f5f5f7;
  --slate: #8e8e93;
  --dim: #636366;
  --gold: #c9b48a;
  --gold-wash: #2a2418;
  --safe: #30d158;
  --warning: #ff9f0a;
  --danger: #ff453a;
  /* The exported report is a paper document (Journey Report spec). */
  --parchment: #f4efe4;
  --paper-ink: #14141a;
  --paper-navy: #0f1b33;

  --serif: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; /* headings and big numbers: Inter too (Vincent 2026-10-05) */
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--bone); color: var(--ink); padding: 10px 16px; border-radius: 999px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* ── Type ─────────────────────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1.05; font-weight: 600; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; }
h3 { font-size: 1.35rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: #c7c7cc; max-width: 34em; }
.muted { color: var(--slate); }
.small { font-size: 0.9rem; }

/* ── Buttons (pills, as in the app) ───────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0;
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn-primary { background: var(--bone); color: var(--ink); }
.btn-primary:hover { background: #fff; }
.btn-secondary { background: var(--surface-hi); color: var(--bone); }
.btn-secondary:hover { background: #3a3a3c; }
.btn-brand { background: var(--gold-wash); color: var(--gold); }
.btn-brand:hover { background: #342c1c; }
.btn:active { transform: scale(0.98); }
.link-gold { color: var(--gold); text-decoration: none; font-weight: 600; }
.link-gold:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ── Navigation ───────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(56, 56, 58, 0.6);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.nav-logo { display: flex; align-items: center; margin-right: auto; }
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: #c7c7cc; text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--bone); }
.nav-links a.btn-primary { color: var(--ink); }
.nav .btn { min-height: 40px; padding: 0 20px; font-size: 0.92rem; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: transparent; color: var(--bone); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
  margin: 0 auto; position: relative; content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; left: 0; }
.nav-toggle span::after { position: absolute; top: 6px; left: 0; }

@media (max-width: 860px) {
  .nav-logo img { height: 34px; }
  .nav-toggle { display: block; }
  .nav .btn { display: none; }
  .nav-links {
    position: absolute; inset: 76px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--hairline);
    padding: 8px var(--gutter) 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--surface-hi); font-size: 1.05rem; }
  .nav-links .btn-m { display: inline-flex; margin-top: 16px; }
}
.nav-links .btn-m { display: none; }
@media (max-width: 860px) { .nav-links .btn-m { display: inline-flex; } }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding: clamp(48px, 9vw, 112px) 0 clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero .lede { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.hero-note { margin-top: 22px; color: var(--slate); font-size: 0.95rem; }

/* The memorable thing: one live ring that answers "how many days left?" */
.ring-panel {
  background: var(--surface); border-radius: 36px; padding: clamp(24px, 3.4vw, 40px);
  display: grid; justify-items: center; gap: 22px;
}
.ring-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ring-tab {
  border: 0; background: var(--surface-hi); color: var(--bone); cursor: pointer;
  font: 500 0.95rem/1 var(--sans); padding: 11px 16px; border-radius: 999px;
  transition: background-color 0.12s ease, color 0.12s ease;
}
.ring-tab[aria-selected="true"] { background: var(--bone); color: var(--ink); }
.ring { position: relative; width: min(100%, 300px); aspect-ratio: 1; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track { stroke: var(--surface-hi); }
.ring-value { stroke: var(--gold); stroke-linecap: round; transition: stroke-dashoffset 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.ring-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-days { font-family: var(--serif); font-weight: 500; font-size: clamp(4.4rem, 9vw, 6.6rem); line-height: 0.95; color: var(--gold); letter-spacing: -0.04em; }
.ring-unit { color: var(--slate); font-size: 1rem; margin-top: 6px; }
.ring-meta { text-align: center; }
.ring-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.ring-cond { color: var(--slate); font-size: 0.95rem; }
.ring-used { color: var(--bone); font-size: 0.95rem; margin-top: 4px; }
.ring-foot { color: var(--dim); font-size: 0.82rem; margin: 0; text-align: center; }

/* ── Sections ─────────────────────────────────────────────────────────── */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section + .section { border-top: 1px solid var(--surface); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin-bottom: 18px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.flip > :first-child { order: 2; }

/* ── Phone mock (the add-trip sheet, drawn from the real screen) ──────── */
.phone {
  width: min(100%, 330px); margin-inline: auto;
  background: #000; border: 1px solid #2f2f32; border-radius: 46px; padding: 12px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px #0b0b0c;
}
.phone-screen { background: #000; border-radius: 36px; overflow: hidden; padding: 20px 18px 24px; min-height: 560px; display: flex; flex-direction: column; gap: 14px; }
.phone-grab { width: 40px; height: 4px; border-radius: 4px; background: var(--hairline); margin: 0 auto 6px; }
.phone-top { display: flex; justify-content: space-between; align-items: center; color: var(--slate); font-size: 0.85rem; }
.phone-x { width: 28px; height: 28px; display: grid; place-items: center; color: var(--slate); }
.phone-title { font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1.1; margin: 2px 0 4px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { background: var(--surface-hi); color: var(--bone); font-size: 0.82rem; padding: 8px 12px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; }
.chip.on { background: var(--bone); color: var(--ink); font-weight: 600; }
.route { background: var(--surface); border-radius: 18px; padding: 4px 16px; }
.route-row { padding: 12px 0; }
.route-row + .route-row { border-top: 1px solid var(--hairline); }
.route-row small { display: block; color: var(--slate); font-size: 0.74rem; }
.route-row strong { font-weight: 600; font-size: 1.02rem; }
.route-row em { float: right; font-style: normal; color: var(--slate); font-size: 0.78rem; margin-top: 8px; }
.field { background: var(--surface); border-radius: 18px; padding: 12px 16px; }
.field small { display: block; color: var(--slate); font-size: 0.74rem; }
.field span { color: var(--dim); font-size: 0.95rem; }
.phone-actions { margin-top: auto; display: flex; gap: 10px; align-items: center; }
.pill { flex: 1; background: var(--bone); color: var(--ink); text-align: center; font-weight: 600; padding: 15px 0; border-radius: 999px; font-size: 0.95rem; }
.cam { width: 50px; height: 50px; border-radius: 50%; background: var(--surface-hi); display: grid; place-items: center; flex: none; }
.cam svg { width: 22px; height: 22px; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 28px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 18px; }
.steps li::before {
  content: counter(step); font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--gold);
  width: 44px; height: 44px; border-radius: 50%; background: var(--gold-wash);
  display: grid; place-items: center;
}
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: #c7c7cc; }

/* ── Countries ────────────────────────────────────────────────────────── */
.country-list { list-style: none; margin: 0 0 32px; padding: 0; columns: 3 220px; column-gap: 40px; }
.country-list li { break-inside: avoid; display: flex; align-items: baseline; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--surface-hi); font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.country-list .flag { font-size: 1.25rem; font-family: var(--sans); }
.country-list small { font-family: var(--sans); font-size: 0.82rem; color: var(--slate); margin-left: auto; }
.callout { color: #c7c7cc; max-width: 40em; }
.callout strong { color: var(--bone); font-weight: 600; }

/* ── Route (GPS) ──────────────────────────────────────────────────────── */
.route-art { background: var(--surface); border-radius: 36px; padding: 24px; }
.route-art svg { width: 100%; height: auto; }
.pending-row { margin-top: 14px; display: flex; align-items: center; gap: 14px; background: var(--ink); border-radius: 18px; padding: 14px 16px; }
.pending-row .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--warning); flex: none; }
.pending-row p { margin: 0; font-size: 0.95rem; }
.pending-row small { color: var(--slate); display: block; }
.pending-row .tag { margin-left: auto; font-size: 0.78rem; color: var(--warning); background: #2e1f06; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }

/* ── Roles ────────────────────────────────────────────────────────────── */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--hairline); }
.role { padding: 28px 28px 8px 0; }
.role + .role { padding-left: 28px; border-left: 1px solid var(--surface-hi); }
.role h3 { margin-bottom: 10px; }
.role p { color: #c7c7cc; font-size: 0.98rem; }
.role .gold-chip { display: inline-block; font-family: var(--sans); font-size: 0.78rem; color: var(--gold); background: var(--gold-wash); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }

/* ── Report (paper in a dark room) ────────────────────────────────────── */
.paper {
  background: var(--parchment); color: var(--paper-ink);
  border-radius: 6px; padding: clamp(24px, 3.4vw, 40px); transform: rotate(-1.4deg);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.95);
  font-family: var(--sans); max-width: 460px; margin-inline: auto;
}
.paper h3 { font-size: 1.5rem; color: var(--paper-navy); font-weight: 500; margin-bottom: 2px; }
.paper .sub { color: #5c5a52; font-size: 0.85rem; margin-bottom: 22px; }
.paper table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.paper th { text-align: left; font-weight: 600; color: var(--paper-navy); padding: 8px 0; border-bottom: 1.5px solid var(--paper-navy); }
.paper th:last-child, .paper td:last-child { text-align: right; }
.paper td { padding: 10px 0; border-bottom: 1px solid #d9d2c0; }
.paper .foot { margin: 18px 0 0; font-size: 0.78rem; color: #5c5a52; border-top: 1px solid #d9d2c0; padding-top: 12px; }

/* ── Privacy ──────────────────────────────────────────────────────────── */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.facts h3 { margin-bottom: 8px; }
.facts p { color: #c7c7cc; font-size: 0.98rem; }

/* ── Pricing ──────────────────────────────────────────────────────────── */
.billing {
  display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px;
  background: var(--surface); border-radius: 999px; margin-bottom: 36px;
}
.billing button {
  border: 0; background: transparent; color: var(--slate); cursor: pointer;
  font: 600 0.95rem/1 var(--sans); padding: 12px 22px; border-radius: 999px;
}
.billing button[aria-pressed="true"] { background: var(--bone); color: var(--ink); }
.billing small { color: var(--gold); font-weight: 600; margin-left: 6px; }
.billing button[aria-pressed="true"] small { color: #7a6a44; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border-radius: 30px; padding: 32px 30px 30px; display: flex; flex-direction: column; }
.plan.feature { background: #232220; box-shadow: inset 0 0 0 1px #3a352b; }
.plan h3 { font-size: 1.7rem; margin-bottom: 4px; }
.plan .for { color: var(--slate); font-size: 0.95rem; min-height: 3em; }
.price { font-family: var(--serif); font-weight: 500; font-size: 3.6rem; line-height: 1; margin: 18px 0 4px; letter-spacing: -0.03em; }
.price small { font-family: var(--sans); font-size: 1rem; color: var(--slate); letter-spacing: 0; margin-left: 4px; }
.price-note { color: var(--slate); font-size: 0.88rem; min-height: 1.4em; margin-bottom: 22px; }
.plan ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.plan li { position: relative; padding-left: 26px; font-size: 0.98rem; }
.plan li::before {
  content: ""; position: absolute; left: 2px; top: 0.5em; width: 11px; height: 6px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}
.plan .btn { margin-top: auto; width: 100%; }
.plan-note { color: var(--slate); font-size: 0.88rem; margin-top: 28px; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq { max-width: 780px; }
.faq details { border-top: 1px solid var(--hairline); }
.faq details:last-child { border-bottom: 1px solid var(--hairline); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--serif); font-size: 1.2rem; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--slate); border-bottom: 2px solid var(--slate);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: #c7c7cc; padding-bottom: 22px; margin: 0; max-width: 40em; }

/* ── Closing CTA ──────────────────────────────────────────────────────── */
.closing { text-align: center; }
.closing h2 { margin-bottom: 20px; }
.closing .lede { margin-inline: auto; margin-bottom: 32px; }
.closing .mark { width: 72px; margin: 0 auto 28px; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--surface); padding: 56px 0 40px; color: var(--slate); font-size: 0.92rem; }
.footer-top { display: flex; flex-wrap: wrap; gap: 28px 48px; justify-content: space-between; align-items: flex-start; }
.footer-top img { height: 36px; width: auto; margin-bottom: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-links a { text-decoration: none; color: #c7c7cc; }
.footer-links a:hover { color: var(--bone); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--surface); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-bottom p { margin: 0; }

/* ── Inner pages (support, privacy, insights) ─────────────────────────── */
.page-header { padding: clamp(48px, 8vw, 96px) 0 clamp(28px, 4vw, 48px); }
.page-header h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 18px; max-width: 18em; }
.page-lede, .article-summary { font-size: 1.2rem; color: #c7c7cc; max-width: 36em; }
.updated { color: var(--slate); font-size: 0.92rem; }
.page-content { padding-bottom: clamp(56px, 8vw, 104px); }
.page-content > * { max-width: 740px; }
.page-content > .support-methods { max-width: none; }
.page-content h2 { font-size: 1.9rem; margin: 2.2em 0 0.6em; }
.page-content h3 { font-size: 1.3rem; margin: 1.8em 0 0.4em; }
.page-content p, .page-content li { color: #d1d1d6; }
.page-content ul { padding-left: 1.2em; }
.page-content li { margin-bottom: 0.5em; }
.page-content a { color: var(--gold); text-underline-offset: 3px; }
.article-callout { background: var(--surface); border-radius: 20px; padding: 20px 24px; margin: 2em 0; }
.article-callout strong { color: var(--gold); }
.support-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 1.5em 0 2em; }
.support-card { background: var(--surface); border-radius: 24px; padding: 24px; }
.support-card h3 { margin: 0 0 6px; font-size: 1.25rem; }
.support-card p { margin: 0 0 8px; font-size: 0.95rem; }
.support-card a { font-weight: 600; }

.insights-hub { padding-bottom: clamp(56px, 8vw, 104px); }
.insights-intro-card { max-width: 760px; margin-bottom: 48px; }
.insights-intro-card h2 { font-size: 1.9rem; margin-bottom: 12px; }
.insights-intro-card p { color: #c7c7cc; }
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.article-card { background: var(--surface); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.article-card-featured { grid-column: span 1; background: #232220; }
.article-card h2 { font-size: 1.5rem; line-height: 1.2; }
.article-card h2 a { text-decoration: none; }
.article-card h2 a:hover { color: var(--gold); }
.article-card p { color: #c7c7cc; font-size: 0.98rem; margin: 0; }
.article-card span { display: none; }
.article-type { font-size: 0.82rem; color: var(--gold); background: var(--gold-wash); padding: 4px 10px; border-radius: 999px; align-self: flex-start; margin: 0 0 8px !important; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .roles, .facts, .plans, .article-grid, .support-methods { grid-template-columns: 1fr; }
  .role + .role { padding-left: 0; border-left: 0; border-top: 1px solid var(--surface-hi); margin-top: 20px; padding-top: 24px; }
  .role { padding-right: 0; }
  .plans { gap: 14px; }
  .paper { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ring-value { transition: none; }
  .btn, .ring-tab { transition: none; }
}

/* ── Country guides ───────────────────────────────────────────────────── */
.country-list li a { display: flex; align-items: baseline; gap: 14px; width: 100%; color: inherit; text-decoration: none; }
.country-list li a:hover { color: var(--gold); }
.guide-head { padding: clamp(44px, 7vw, 88px) 0 clamp(24px, 4vw, 40px); }
.guide-head .flag-lg { font-size: 2.6rem; line-height: 1; margin-bottom: 18px; }
.guide-head h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 16px; }
.crumbs { color: var(--slate); font-size: 0.92rem; margin-bottom: 22px; }
.crumbs a { color: var(--slate); text-decoration: none; }
.crumbs a:hover { color: var(--bone); }
.guide { padding-bottom: clamp(56px, 8vw, 104px); }
.guide .wrap > * { max-width: 760px; }
.guide h2 { font-size: 1.9rem; margin: 2.2em 0 0.6em; }
.guide p, .guide li { color: #d1d1d6; }
.guide ul { padding-left: 1.2em; }
.guide li { margin-bottom: 0.6em; }
.glance { margin: 0 0 1em; border-top: 1px solid var(--hairline); }
.glance div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--surface-hi); }
.glance dt { color: var(--slate); font-size: 0.95rem; }
.glance dd { margin: 0; color: var(--bone); }
.case { background: var(--surface); border-radius: 28px; padding: 26px 28px; margin: 0 0 16px; }
.case h3 { font-size: 1.4rem; margin: 10px 0 4px; }
.case .cite { color: var(--slate); font-size: 0.9rem; margin: 0 0 12px; }
.case p { margin: 0 0 0.8em; }
.case .takeaway { color: var(--bone); }
.badge { display: inline-block; font-size: 0.8rem; padding: 4px 10px; border-radius: 999px; background: var(--gold-wash); color: var(--gold); }
.badge.example { background: var(--surface-hi); color: var(--slate); }
.sources { font-size: 0.92rem; color: var(--slate); }
.sources a { color: var(--gold); text-underline-offset: 3px; }
.guide-note { margin-top: 2.4em; padding-top: 1.2em; border-top: 1px solid var(--hairline); color: var(--slate); font-size: 0.92rem; }
.guide-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 2em; }
.guide-pager a { color: var(--gold); text-decoration: none; font-weight: 600; }
.guide-cta { margin-top: 2.2em; }
.hub-list { list-style: none; margin: 0; padding: 0; max-width: 860px; }
.hub-list li { border-bottom: 1px solid var(--surface-hi); }
.hub-list a { display: grid; grid-template-columns: 2.4rem 1fr; gap: 6px 16px; padding: 20px 0; text-decoration: none; color: inherit; }
.hub-list a:hover .hub-name { color: var(--gold); }
.hub-list .hub-flag { font-size: 1.6rem; grid-row: span 2; }
.hub-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.hub-line { color: var(--slate); font-size: 0.98rem; }
@media (max-width: 700px) { .glance div { grid-template-columns: 1fr; gap: 2px; } }

/* ── Verify a report ──────────────────────────────────────────────────── */
.verify { margin: 0 0 2em; }
.verify-status { padding: 14px 16px; border-radius: 16px; background: var(--surface); color: var(--bone); font-weight: 500; }
.verify-status.ok { background: #0e2a1a; color: var(--safe); }
.verify-status.warn { background: #2e1f06; color: var(--warning); }
.verify-status.bad { background: #301316; color: var(--danger); }
.verify-table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: 0.98rem; }
.verify-table th { text-align: left; color: var(--slate); font-weight: 500; padding: 10px 12px 10px 0; width: 11rem; vertical-align: top; border-bottom: 1px solid var(--surface-hi); }
.verify-table td { padding: 10px 0; border-bottom: 1px solid var(--surface-hi); word-break: break-all; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.86em; }
.small { font-size: 0.82rem; color: var(--slate); }
.verify-drop { margin: 1.6em 0; padding: 18px 20px; border-radius: 22px; background: var(--surface); }
.verify-drop h3 { margin: 0 0 8px; }
.verify-drop input { margin: 8px 0 12px; color: var(--bone); }
.verify-offline summary { cursor: pointer; color: var(--gold); font-weight: 600; padding: 10px 0; }
.verify-offline pre { white-space: pre-wrap; background: var(--surface); padding: 14px 16px; border-radius: 16px; font-size: 0.78rem; color: #d1d1d6; }
@media (max-width: 700px) { .verify-table th { width: 7rem; } }

/* Spacing utilities (replace inline style attributes; CSP forbids them). */
.mb-0 { margin-bottom: 0; }
.mb-28 { margin-bottom: 28px; }
.mt-36 { margin-top: 36px; }
.hub-wrap { padding-bottom: clamp(56px, 8vw, 104px); }
.guide-note-narrow { max-width: 760px; }
/* Security page */
.sec-status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; vertical-align: middle; margin-left: 6px; }
.sec-status.live { background: #142a1c; color: #7fd49a; }
.sec-status.partial { background: #2d2410; color: var(--gold); }
.sec-status.planned { background: var(--surface); color: var(--slate); }
.sec-table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: 0.96rem; }
.sec-table th, .sec-table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--surface-hi); vertical-align: top; }
.sec-table th { color: var(--slate); font-weight: 500; }
.sec-plain { padding: 18px 22px; border-radius: 22px; background: var(--surface); border-left: 3px solid var(--gold); }
.sec-plain p:last-child { margin-bottom: 0; }
