/* ==========================================================================
   The Pledge — light, modern theme
   ========================================================================== */

:root {
  --bg: #f6f7fc;
  --surface: #ffffff;
  --surface-soft: #f1f3fb;
  --border: #e5e8f4;
  --border-strong: #d4d9ec;
  --text: #1d2238;
  --muted: #626a86;
  --faint: #8b92ad;

  --accent: #5457e0;
  --accent-deep: #4245c9;
  --accent-soft: #eceeff;
  --teal: #0d9b87;
  --teal-soft: #e2f6f2;
  --amber: #b97d10;
  --amber-soft: #fdf3df;
  --rose-soft: #fdeaea;
  --rose: #c2464e;

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 880px;

  --shadow-sm: 0 1px 2px rgba(29, 34, 56, 0.05), 0 2px 8px rgba(29, 34, 56, 0.05);
  --shadow-md: 0 2px 4px rgba(29, 34, 56, 0.05), 0 10px 28px rgba(29, 34, 56, 0.09);
  --shadow-focus: 0 0 0 4px rgba(84, 87, 224, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 16.5px;
  background:
    radial-gradient(900px 420px at 12% -6%, rgba(84, 87, 224, 0.09), transparent 65%),
    radial-gradient(800px 400px at 95% 0%, rgba(13, 155, 135, 0.08), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent-soft); }

a { color: var(--accent); }

h1, h2, h3 {
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 750;
}
h1 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); margin: 0.4em 0 0.4em; }
h2 { font-size: 1.35rem; margin: 1.8em 0 0.5em; }

/* --------------------------------------------------------------------------
   Header / footer
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 2rem);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--text);
}
.brand-logo { width: 32px; height: 32px; flex: none; }

.site-header nav { display: flex; gap: 0.35rem; }
.site-header nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 550;
  font-size: 0.95rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.site-header nav a:hover { background: var(--accent-soft); color: var(--accent-deep); }
.site-header nav a.nav-cta {
  background: var(--accent);
  color: #fff;
}
.site-header nav a.nav-cta:hover { background: var(--accent-deep); color: #fff; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.2rem clamp(1rem, 4vw, 1.5rem) 4.5rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.site-footer .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.6rem clamp(1rem, 4vw, 1.5rem);
  color: var(--faint);
  font-size: 0.92rem;
}

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */

.hero { text-align: center; padding: clamp(1.5rem, 6vw, 3.5rem) 0 1rem; }

.hero-logo {
  display: block;
  width: clamp(84px, 14vw, 108px);
  height: auto;
  margin: 0 auto 1.1rem;
  filter: drop-shadow(0 10px 24px rgba(84, 87, 224, 0.22));
}

.hero h1 { max-width: 21ch; margin-left: auto; margin-right: auto; }

.hero h1 .grad {
  background: linear-gradient(100deg, var(--accent) 10%, var(--teal) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede {
  max-width: 58ch;
  margin: 0 auto 0.8em;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin: 1.6rem 0 1rem;
}

.count-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.6rem;
}
.count-chip .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-soft);
}
.count-chip strong { color: var(--text); }

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
  text-align: left;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.feature .icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.7rem;
}
.feature .icon svg { width: 19px; height: 19px; }
.feature .icon.indigo { background: var(--accent-soft); color: var(--accent-deep); }
.feature .icon.teal { background: var(--teal-soft); color: var(--teal); }
.feature .icon.amber { background: var(--amber-soft); color: var(--amber); }
.feature h3 { margin: 0 0 0.25rem; font-size: 1.02rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  padding: 0.62rem 1.25rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.97rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease,
    border-color 0.15s ease;
}
.btn:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 18px rgba(84, 87, 224, 0.3);
}
.btn-primary:hover {
  color: #fff;
  box-shadow: 0 8px 22px rgba(84, 87, 224, 0.38);
}

.btn-lg { padding: 0.78rem 1.7rem; font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   Pledge page
   -------------------------------------------------------------------------- */

.page-intro { max-width: 60ch; }
.page-intro .lede { color: var(--muted); }

.pledge-group {
  border: none;
  padding: 0;
  margin: 2rem 0 0;
}

.group-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}
.group-head h2 { margin: 0; font-size: 1.2rem; }

.badge {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
}
.badge.human { background: var(--accent-soft); color: var(--accent-deep); }
.badge.ai { background: var(--teal-soft); color: var(--teal); }
.badge.shared { background: var(--amber-soft); color: var(--amber); }

.pledge-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.pledge-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.8rem 1rem 0.8rem 0.85rem;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.pledge-row + .pledge-row { border-top: 1px solid var(--border); }
.pledge-row:hover { background: var(--surface-soft); }
.pledge-row:has(input:checked) {
  border-left-color: var(--accent);
  background: linear-gradient(0deg, rgba(84, 87, 224, 0.045), rgba(84, 87, 224, 0.045)), var(--surface);
}

.pledge-row input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  accent-color: var(--accent);
  cursor: pointer;
  flex: none;
}
.pledge-num {
  flex: none;
  min-width: 1.5rem;
  text-align: right;
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  margin-top: 0.3rem;
}
.pledge-text { display: block; min-width: 0; }
.pledge-title {
  display: block;
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1.4;
}
.pledge-body {
  display: block;
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.5;
  margin-top: 0.1rem;
}

/* Sign form card */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  margin: 1.6rem 0;
  box-shadow: var(--shadow-sm);
}
.card h2 { margin-top: 0.2rem; }
.card .hint { color: var(--faint); font-size: 0.9rem; margin-top: -0.3rem; }

.field { display: block; margin: 1rem 0; }
.field > span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}
.field .note { color: var(--faint); font-weight: 450; }

input[type="email"], input[type="text"], textarea, select {
  width: 100%;
  padding: 0.68rem 0.85rem;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--shadow-focus);
}

.field.checkbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.97rem;
  cursor: pointer;
}
.field.checkbox input { width: 1.15rem; height: 1.15rem; accent-color: var(--accent); }
.field.checkbox span { margin: 0; font-weight: 500; }

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.2rem;
}
.selected-count { color: var(--muted); font-size: 0.94rem; }
.selected-count strong { color: var(--accent-deep); }

.message { min-height: 1.3rem; margin: 0.8rem 0 0; font-weight: 550; }
.message.ok { color: var(--teal); }
.message.err { color: var(--rose); }

.toolbar { display: flex; gap: 0.6rem; margin: 1rem 0 0; }

/* --------------------------------------------------------------------------
   Keys / verification result
   -------------------------------------------------------------------------- */

.key-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  margin: 1.3rem 0;
  box-shadow: var(--shadow-sm);
}
.key-card h2 { margin-top: 0; display: flex; align-items: center; gap: 0.5rem; }
.key-card.secret { border: 1.5px solid #bfe8e0; background: linear-gradient(0deg, rgba(13,155,135,0.03), rgba(13,155,135,0.03)), var(--surface); }
.key-explainer { color: var(--muted); font-size: 0.97rem; }

.key {
  background: var(--surface-soft);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.92rem;
}

.key-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.9rem; }

.notice {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  background: var(--amber-soft);
  border: 1px solid #f3e2b9;
  color: #7a5a10;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-size: 0.94rem;
  margin: 1rem 0;
}

/* --------------------------------------------------------------------------
   Signers
   -------------------------------------------------------------------------- */

.signer-list { list-style: none; padding: 0; display: grid; gap: 0.6rem; margin-top: 1.4rem; }
.signer-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.3rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.1rem;
  box-shadow: var(--shadow-sm);
}
.signer-name { font-weight: 650; }
.signer-id {
  color: var(--faint);
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   Home overview sections
   -------------------------------------------------------------------------- */

.section { margin-top: clamp(3rem, 8vw, 4.5rem); }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 1.6rem; }
.section-head h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin: 0.7em 0 0.35em; }
.section-lede { color: var(--muted); margin: 0; }

/* Soft full-width band behind alternating sections */
.section.band {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  padding-top: clamp(2.2rem, 6vw, 3.2rem);
  padding-bottom: clamp(2.2rem, 6vw, 3.2rem);
  background:
    linear-gradient(180deg, rgba(84, 87, 224, 0.045), rgba(13, 155, 135, 0.035)),
    var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Decorative divider between sections */
.section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 480px;
  margin: clamp(3rem, 8vw, 4.5rem) auto -1rem;
  color: var(--border-strong);
}
.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  height: 1.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--border-strong));
}
.section-divider::after {
  background: linear-gradient(90deg, var(--border-strong), transparent);
}
.section-divider svg { width: 16px; height: 16px; flex: none; color: #c3c7e6; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid #dfe2ff;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
}

/* Document-style pledge preview */
.doc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.doc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  padding: 0.9rem 1.5rem;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border);
}
.doc-title { font-weight: 750; letter-spacing: -0.01em; }
.doc-meta {
  color: var(--faint);
  font-size: 0.82rem;
  font-variant: small-caps;
  letter-spacing: 0.08em;
}
.doc-body { padding: 1.3rem 1.5rem 0.4rem; }
.doc-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.9rem 0;
}
.doc-item + .doc-item { border-top: 1px dashed var(--border); }
.doc-item .badge { margin-top: 0.25rem; }
.doc-item h3 { margin: 0 0 0.2rem; font-size: 1.02rem; }
.doc-item p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.doc-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 1rem 1.5rem 1.3rem;
}
.doc-note { color: var(--faint); font-size: 0.88rem; }

/* Progress / milestones */
.progress-card,
.dots-card,
.nations-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  margin: 1rem 0;
  box-shadow: var(--shadow-sm);
}

.milestone-track {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 0.5rem 0.4rem 1.6rem;
}
.milestone-track::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 16px;
  height: 3px;
  border-radius: 999px;
  background: var(--border);
}
.milestone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  z-index: 1;
}
.milestone-node {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  border: 2.5px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.milestone-node svg { width: 16px; height: 16px; }
.milestone.reached .milestone-node {
  background: linear-gradient(135deg, var(--teal), #0bb59d);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(13, 155, 135, 0.35);
}
.milestone.current .milestone-node {
  border-color: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}
.milestone-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--faint);
}
.milestone.reached .milestone-label { color: var(--teal); }
.milestone.current .milestone-label { color: var(--accent-deep); }

.progress-numbers {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.progress-numbers h3 { margin: 0; font-size: 1.5rem; }
.progress-numbers .of { color: var(--faint); font-weight: 550; font-size: 1.05rem; }
.progress-percent { color: var(--accent-deep); font-weight: 750; }

.progress-bar {
  height: 12px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  overflow: hidden;
  margin: 0.7rem 0 0.5rem;
}
.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  transition: width 0.8s ease;
}
.progress-caption { margin: 0; color: var(--faint); font-size: 0.9rem; }

/* Panel headers + live chip */
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.panel-head h3 { margin: 0; font-size: 1.05rem; }
.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(13, 155, 135, 0.45); }
  50% { box-shadow: 0 0 0 5px rgba(13, 155, 135, 0); }
}

/* Dot display */
.dot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0.4rem 0;
  min-height: 40px;
  align-content: flex-start;
}
.sig-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  animation: dotIn 0.45s ease backwards;
}
@keyframes dotIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.dot-grid.empty { align-items: center; }
.dot-seed {
  width: 13px; height: 13px;
  border-radius: 50%;
  border: 2px dashed var(--accent);
  animation: seedPulse 2.4s ease-in-out infinite;
}
@keyframes seedPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.25); opacity: 1; }
}
.dots-caption { margin: 0.3rem 0 0; color: var(--faint); font-size: 0.9rem; }

/* Nation progress */
.nation-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.nation-list li {
  display: grid;
  grid-template-columns: auto minmax(90px, 160px) 1fr auto;
  align-items: center;
  gap: 0.7rem;
}
.nation-flag { font-size: 1.15rem; line-height: 1; }
.nation-name {
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nation-bar {
  height: 9px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  overflow: hidden;
}
.nation-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
}
.nation-count { font-weight: 700; font-size: 0.9rem; color: var(--accent-deep); }

/* Share */
.share-card {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  align-items: center;
  gap: 1.4rem;
  background:
    linear-gradient(120deg, rgba(84, 87, 224, 0.06), rgba(13, 155, 135, 0.06)),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
  box-shadow: var(--shadow-sm);
}
.share-card h2 { margin: 0.6em 0 0.3em; font-size: 1.35rem; }
.share-card .section-lede { font-size: 0.97rem; }
.share-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: stretch;
}
.share-actions .btn { justify-content: center; }

/* FAQ */
.faq-list { display: grid; gap: 0.6rem; max-width: 720px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 0.95rem 1.15rem;
  font-weight: 650;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background 0.15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { background: var(--surface-soft); }
.faq-item p { margin: 0; padding: 0 1.15rem 1.05rem; color: var(--muted); font-size: 0.96rem; }
.faq-item p a { font-weight: 600; }
.faq-cta { text-align: center; margin-top: 1.8rem; }

/* Footer */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 0.4rem;
}
.footer-brand p { margin: 0.7rem 0 0; font-size: 0.92rem; }
.footer-col h4 {
  margin: 0.2rem 0 0.7rem;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.footer-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--accent-deep); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.1rem !important;
  padding-bottom: 1.4rem !important;
}
.footer-bottom p { margin: 0; font-size: 0.88rem; }

/* --------------------------------------------------------------------------
   Small screens & motion preferences
   -------------------------------------------------------------------------- */

@media (max-width: 560px) {
  .site-header nav a { padding: 0.38rem 0.65rem; font-size: 0.9rem; }
  .hero-actions .btn { width: 100%; }
  .share-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .nation-list li { grid-template-columns: auto minmax(70px, 110px) 1fr auto; gap: 0.5rem; }
  .milestone-node { width: 28px; height: 28px; }
  .milestone-track::before { top: 13px; left: 13px; right: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
