/* ── Museo Sans — licensed brand typeface ── */
@font-face {
  font-family: "Museo Sans";
  src: url("/static/fonts/MuseoSans-300.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Museo Sans";
  src: url("/static/fonts/MuseoSans-300Italic.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Museo Sans";
  src: url("/static/fonts/MuseoSans_500.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Museo Sans";
  src: url("/static/fonts/MuseoSans_500_Italic.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Museo Sans";
  src: url("/static/fonts/MuseoSans_700.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Museo Sans";
  src: url("/static/fonts/MuseoSans-700Italic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Museo Sans";
  src: url("/static/fonts/MuseoSans_900.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Museo Sans";
  src: url("/static/fonts/MuseoSans-900Italic.otf") format("opentype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* ── Font-metric fallback — wraps Arial to match Museo Sans metrics ── */
@font-face {
  font-family: "Museo Sans Fallback";
  src: local("Arial");
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
  size-adjust: 104%;
}

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* GA Meeting Finder brand light theme */
  --bg:          #ffffff;
  --surface:     #f4f7fb;
  --surface2:    #e8eef5;
  --border:      #d0dae6;
  --accent:      #003087;   /* GA Blue — primary CTA */
  --accent-hv:   #002266;
  --text:        #333333;   /* Brand Black */
  --text-muted:  #74767B;   /* GA Gray */
  --radius:      10px;
  --gap:         16px;

  --highlight:     #007DBA;              /* GA Ocean — links, headlines */
  --highlight-bg:  rgba(0,125,186,0.08);
  --highlight-bg2: rgba(0,125,186,0.05);
  --highlight-bd:  rgba(0,125,186,0.2);

  --ga-pink:       #C14991;   /* GA Pink — secondary CTA, tagline */
  --ga-sky:        #41B6E6;   /* GA Sky — accent only */
  --ga-indigo:     #007396;   /* GA Indigo */
  --ga-bay:        #68759C;   /* GA Bay */

  --error-bg:      #fef2f2;
  --error-border:  rgba(227,0,0,0.3);
  --error-text:    #E30000;   /* Red Alert */
  --success-bg:    #f4f7f0;
  --success-border:rgba(98,128,0,0.4);
  --success-text:  #628000;   /* GA Green */
}

[data-theme="dark"] {
  --bg:          #0d1117;
  --surface:     #161b22;
  --surface2:    #21262d;
  --border:      #3d444d;
  --accent:      #8b5cf6;
  --accent-hv:   #7c3aed;
  --text:        #e6edf3;
  --text-muted:  #8b949e;
  --highlight:     #58a6ff;
  --highlight-bg:  rgba(31,111,235,0.2);
  --highlight-bg2: rgba(56,139,253,0.1);
  --highlight-bd:  rgba(31,111,235,0.4);
  --error-bg:      #3d1a1a;
  --error-border:  rgba(248,81,73,0.27);
  --error-text:    #f85149;
  --success-bg:    #1a3d2a;
  --success-border:rgba(35,134,54,0.6);
  --success-text:  #56d364;
}

/* ── Sleek: deep navy + electric blue ── */
[data-theme="sleek"] {
  --bg:          #0f0f1a;
  --surface:     #1a1a2e;
  --surface2:    #16213e;
  --border:      #2d3a5c;
  --accent:      #00d4ff;
  --accent-hv:   #00aacc;
  --text:        #eaeef8;
  --text-muted:  #7a88aa;
  --highlight:     #00d4ff;
  --highlight-bg:  rgba(0,212,255,0.1);
  --highlight-bg2: rgba(0,212,255,0.05);
  --highlight-bd:  rgba(0,212,255,0.3);
  --error-bg:      #2a1a2a;
  --error-border:  rgba(255,80,80,0.3);
  --error-text:    #ff6b6b;
  --success-bg:    #0a2a1a;
  --success-border:rgba(0,212,255,0.4);
  --success-text:  #00d4ff;
}

/* ── Modern: warm off-white + deep indigo ── */
[data-theme="modern"] {
  --bg:          #fafaf8;
  --surface:     #f0f0ec;
  --surface2:    #e8e8e2;
  --border:      #d8d8d0;
  --accent:      #4f46e5;
  --accent-hv:   #3730a3;
  --text:        #1a1a2e;
  --text-muted:  #6b6b80;
  --highlight:     #4f46e5;
  --highlight-bg:  rgba(79,70,229,0.08);
  --highlight-bg2: rgba(79,70,229,0.05);
  --highlight-bd:  rgba(79,70,229,0.2);
  --error-bg:      #fef2f2;
  --error-border:  rgba(220,38,38,0.3);
  --error-text:    #dc2626;
  --success-bg:    #f0fdf4;
  --success-border:rgba(22,163,74,0.4);
  --success-text:  #16a34a;
}

/* ── Action: dark navy + GA Sky (dark mode) ── */
[data-theme="action"] {
  --bg:          #0a0e1a;
  --surface:     #11151f;
  --surface2:    #1a1f2e;
  --border:      #2a3142;
  --accent:      #41B6E6;
  --accent-hv:   #1d80b8;
  --text:        #e6edf3;
  --text-muted:  #8b949e;
  --highlight:     #41B6E6;
  --highlight-bg:  rgba(65,182,230,0.12);
  --highlight-bg2: rgba(65,182,230,0.06);
  --highlight-bd:  rgba(65,182,230,0.3);
  --error-bg:      #2a1010;
  --error-border:  rgba(255,80,80,0.3);
  --error-text:    #ff6b6b;
  --success-bg:    #0a2a1a;
  --success-border:rgba(61,214,140,0.4);
  --success-text:  #3dd68c;
}

/* ── Sage: light navy/ocean (default light brand) ── */
[data-theme="sage"] {
  --bg:          #f4f7fb;
  --surface:     #eef3f8;
  --surface2:    #dde6f0;
  --border:      #c8d4e5;
  --accent:      #003087;
  --accent-hv:   #001a4d;
  --text:        #1a1f2e;
  --text-muted:  #5a6680;
  --highlight:     #007DBA;
  --highlight-bg:  rgba(0,125,186,0.12);
  --highlight-bg2: rgba(0,125,186,0.06);
  --highlight-bd:  rgba(0,125,186,0.3);
  --error-bg:      #fef2f2;
  --error-border:  rgba(220,38,38,0.3);
  --error-text:    #dc2626;
  --success-bg:    #e6f7ee;
  --success-border:rgba(30,153,96,0.4);
  --success-text:  #17804f;
}

/* ── Fire: deep charcoal + orange-red ── */
[data-theme="fire"] {
  --bg:          #120800;
  --surface:     #1e0e00;
  --surface2:    #2a1500;
  --border:      #3d2000;
  --accent:      #ff5500;
  --accent-hv:   #cc4400;
  --text:        #fff0e6;
  --text-muted:  #bb8866;
  --highlight:     #ff5500;
  --highlight-bg:  rgba(255,85,0,0.12);
  --highlight-bg2: rgba(255,85,0,0.06);
  --highlight-bd:  rgba(255,85,0,0.3);
  --error-bg:      #2a0a0a;
  --error-border:  rgba(255,80,80,0.4);
  --error-text:    #ff8060;
  --success-bg:    #0a1a0a;
  --success-border:rgba(100,200,100,0.4);
  --success-text:  #88dd88;
}

/* ── Ice: crisp blue-white + cyan ── */
[data-theme="ice"] {
  --bg:          #f0f8ff;
  --surface:     #e1f0fa;
  --surface2:    #d0e8f5;
  --border:      #b0cfe8;
  --accent:      #0088bb;
  --accent-hv:   #006699;
  --text:        #062233;
  --text-muted:  #4a7a9a;
  --highlight:     #0088bb;
  --highlight-bg:  rgba(0,136,187,0.08);
  --highlight-bg2: rgba(0,136,187,0.05);
  --highlight-bd:  rgba(0,136,187,0.2);
  --error-bg:      #fff0f0;
  --error-border:  rgba(220,38,38,0.3);
  --error-text:    #cc2222;
  --success-bg:    #f0fff8;
  --success-border:rgba(0,136,187,0.4);
  --success-text:  #0088bb;
}

html {
  font-size: 16px;
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
  overscroll-behavior-x: none;
}
@media (min-width: 1024px) { html { font-size: 17px; } }

/* ── Skip link (accessibility) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Museo Sans", "Museo Sans Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11";
}
button, input, select, textarea {
  font-family: inherit;
}
code, kbd, samp, pre, .font-mono {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, "SF Mono", "Cascadia Code", monospace;
}

/* ── Display font for headings & hero ── */
h1, h2, h3, h4, h5, h6,
.logo-wordmark,
.tagline,
.dashboard-value {
  font-family: "Museo Sans", "Museo Sans Fallback", -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.01em;
}
h1 { letter-spacing: -0.025em; }
h2 { letter-spacing: -0.02em; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
  overscroll-behavior: none;
  touch-action: pan-y;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
button:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── Header ── */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 14px 20px 12px;
  position: relative;
  z-index: 200;
}
header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.logo { display: flex; align-items: baseline; margin-bottom: 0; text-decoration: none; flex: 0 0 auto; }
.logo:hover { text-decoration: none; }
/* .logo-wordmark sets the base style for "meetingFinder" (the plain text node) */
.logo-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1;
}
/* "GA" — larger, heavier, purple */
.logo-ga {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -2px;
  line-height: 1;
}
/* ".com" — same size as meetingFinder, bold, purple */
.logo-tld {
  font-weight: 700;
  color: var(--accent);
}

.tagline { color: var(--text); font-size: 0.85rem; line-height: 1.6; order: 0; flex: 1; text-align: right; margin: 0 20px; max-width: none; font-weight: 400; }
.tagline-slogan {
  font-style: italic;
  font-size: 0.82rem;
  color: var(--text);
}
.header-left { display: flex; flex-direction: column; flex: 0 0 auto; }
.site-quote {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-style: italic;
  line-height: 1.4;
  opacity: 0.65;
  margin-top: 5px;
}

/* ── Main ── */
main { flex: 1; max-width: 1200px; margin: 0 auto; width: 100%; padding: 20px; }

/* ── Filter bar ── */
.filter-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-bar form { display: contents; }
.filter-bar select {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  padding: 6px 10px;
  font-family: "Museo Sans", "Museo Sans Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
}
.filter-bar select:focus { outline: 2px solid var(--accent); }
.meeting-count { margin-left: auto; color: var(--text-muted); font-size: 0.85rem; white-space: nowrap; }
.live-count { display: none; align-items: center; gap: 6px; font-size: 0.9rem; font-weight: 500; color: #f85149; white-space: nowrap; padding: 6px 10px; border-radius: 6px; background: var(--surface2); border: 1px solid var(--border); cursor: default; }
.live-count::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #f85149; animation: livepulse 1.2s ease-in-out infinite; flex-shrink: 0; }

/* ── Card / Table view toggle ── */
.view-toggle { display: inline-flex; gap: 2px; padding: 2px; background: var(--surface2); border: 1px solid var(--border); border-radius: 8px; flex-shrink: 0; }
.view-toggle-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 32px; padding: 0; border: none; background: none; border-radius: 6px; color: var(--text-muted); cursor: pointer; transition: background 0.12s, color 0.12s; }
.view-toggle-btn svg { width: 18px; height: 18px; }
.view-toggle-btn:hover { color: var(--text); }
.view-toggle-btn.is-active { background: var(--surface); color: var(--accent); box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
.view-toggle-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
/* Persistent "New" badge on the toggle — no glow, always visible; removed by
   hand once the table view is no longer new (added 2026-05-24). */
.view-toggle { position: relative; }
.view-toggle-badge {
  position: absolute; top: -8px; right: -8px;
  background: var(--accent); color: #fff;
  font-size: 0.58rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 999px; line-height: 1; white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3); pointer-events: none;
}
/* Bigger touch targets on mobile */
@media (max-width: 640px) {
  .view-toggle-btn { width: 46px; height: 42px; }
  .view-toggle-btn svg { width: 22px; height: 22px; }
}

/* ── Table view ── */
.meetings-table-wrap { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow-x: auto; margin-bottom: 16px; -webkit-overflow-scrolling: touch; }
.meetings-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.meetings-table thead th { text-align: left; font-weight: 700; font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); padding: 11px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; background: var(--surface2); position: sticky; top: 0; z-index: 1; }
.meetings-table tbody td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.meetings-table tbody tr:last-child td { border-bottom: none; }
.meetings-table tbody tr:hover td { background: var(--surface2); }
.meetings-table tbody tr.is-live td { background: color-mix(in srgb, #f85149 7%, transparent); }
.meetings-table tbody tr.is-live:hover td { background: color-mix(in srgb, #f85149 12%, transparent); }
.mt-status { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-weight: 600; font-size: 0.82rem; }
.mt-status-live { color: #f85149; }
.mt-status-live .mt-dot { width: 8px; height: 8px; border-radius: 50%; background: #f85149; animation: livepulse 1.2s ease-in-out infinite; flex-shrink: 0; }
.mt-status-soon { color: var(--accent); }
.mt-status-wait { color: var(--text-muted); font-weight: 500; }
.mt-when { white-space: nowrap; }
.mt-when-local { display: block; font-size: 0.74rem; color: var(--text-muted); margin-top: 1px; }
.mt-name { font-weight: 600; color: var(--text); }
.mt-loc { font-size: 0.76rem; color: var(--text-muted); margin-top: 1px; }
.mt-type { font-size: 0.78rem; color: var(--text); }
.mt-country { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 0.82rem; }
.mt-country .fi { border-radius: 2px; width: 1.2em; line-height: 0.9em; }
.mt-pill { display: inline-block; font-size: 0.64rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.mt-pill-ga { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.mt-pill-non { background: color-mix(in srgb, #d97706 16%, transparent); color: #d97706; }
.mt-zoom { font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.78rem; color: var(--text); white-space: nowrap; }
.mt-empty { padding: 28px 14px; text-align: center; color: var(--text-muted); }
/* Action cell — reuse functional button classes, restyle compact in-table */
.mt-actions { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.meetings-table .btn-heart { position: static; width: 30px; height: 30px; font-size: 1.05rem; padding: 0; margin: 0; background: var(--surface2); border: 1px solid var(--border); border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.meetings-table .btn-share, .meetings-table .btn-copy { width: auto; height: 30px; padding: 0 9px; margin: 0; background: var(--surface2); border: 1px solid var(--border); border-radius: 6px; color: var(--text); display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-size: 0.74rem; font-weight: 600; flex: 0 0 auto; }
.meetings-table .btn-share svg { width: 14px; height: 14px; }
.meetings-table .btn-share:hover, .meetings-table .btn-copy:hover, .meetings-table .btn-heart:hover { border-color: var(--accent); color: var(--accent); }
.meetings-table .btn-join { display: inline-flex; align-items: center; padding: 0 12px; height: 30px; font-size: 0.78rem; font-weight: 700; border-radius: 6px; flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 640px) {
  .meetings-table { font-size: 0.82rem; }
  .meetings-table thead th, .meetings-table tbody td { padding: 9px 10px; }
}

/* ── Meeting type note ── */
.meeting-type-note {
  font-family: "Museo Sans", "Museo Sans Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

/* Visitor counter — social-proof / community presence */
.visitor-counter {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}
.visitor-counter-main {
  display: flex;
  align-items: center;
  gap: 12px;
}
.visitor-counter-icon { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.visitor-counter-text strong { color: var(--accent); font-weight: 700; }

/* Hoverable stat — dotted underline + tooltip explaining the rolling window */
.vc-hover {
  position: relative;
  cursor: default;
  border-bottom: 1px dotted color-mix(in srgb, var(--accent) 60%, transparent);
}
.vc-hover:focus { outline: none; }
.vc-hover::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, 4px);
  background: #007DBA;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s, transform 0.12s;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.vc-hover::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translate(-50%, 4px);
  border: 5px solid transparent;
  border-top-color: #007DBA;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s, transform 0.12s;
}
.vc-hover:hover::after,
.vc-hover:focus::after,
.vc-hover:hover::before,
.vc-hover:focus::before {
  opacity: 1;
  transform: translate(-50%, 0);
}
.visitor-counter-tag { color: var(--text-muted); font-size: 0.85rem; font-style: italic; margin-left: 4px; }
@media (max-width: 700px) {
  .visitor-counter { gap: 8px; padding: 10px 12px; font-size: 0.82rem; }
  .visitor-counter-main { gap: 10px; }
  .visitor-counter-tag { display: block; margin-left: 0; margin-top: 2px; }
}
.meeting-type-note strong { color: var(--text); font-weight: 600; }

/* ── Search ── */
.search-bar {
  position: relative;
  margin-bottom: 12px;
}
.search-bar input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  padding: 10px 36px 10px 14px;
  font-family: "Museo Sans", "Museo Sans Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
}
.search-bar input:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.search-bar input::placeholder { color: var(--text-muted); }
.search-clear {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  display: none;
  background: none;
  border: none;
  padding: 4px;
  line-height: 1;
}
.search-clear:hover { color: var(--text); }

/* ── Saved strip ── */
.saved-strip {
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.2s;
}
@media (max-width: 700px) {
  .saved-strip { position: static; }
}
.saved-strip.is-stuck {
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 4px 16px rgba(93,0,255,0.12);
}
.saved-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
}
.saved-strip-toggle {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.saved-chevron { font-size: 0.75rem; transition: transform 0.2s; }
.saved-strip.collapsed .saved-chevron { transform: rotate(-90deg); }
.saved-strip-link { font-size: 0.8rem; color: var(--accent); }
.saved-strip-link:hover { text-decoration: underline; }
.saved-strip-body {
  display: flex;
  gap: 10px;
  padding: 0 14px 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.saved-strip-body::-webkit-scrollbar { display: none; }
.saved-strip.collapsed .saved-strip-body { display: none; }

.saved-mini-card {
  flex-shrink: 0;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  min-width: 130px;
  max-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: border-color 0.15s;
  text-decoration: none;
  position: relative;
}
.saved-mini-heart {
  position: absolute;
  top: 6px;
  right: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0;
  line-height: 1;
  color: #f85149;
}
.saved-mini-card:hover { border-color: var(--accent); }
.saved-mini-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-decoration: none;
  flex: 1;
}
.saved-mini-link:hover { text-decoration: none; }
.saved-mini-card.is-live { border-color: #f8514966; background: #f8514911; }
.saved-mini-day { font-size: 0.7rem; font-weight: 700; color: var(--highlight); }
.saved-mini-time { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.saved-mini-loc { font-size: 0.72rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.saved-mini-cd { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
.saved-mini-cd.live { color: #f85149; font-weight: 600; }


/* ── Cards grid ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--gap);
  align-items: stretch;
  grid-auto-flow: row dense;
  content-visibility: auto;
}

/* ── Meeting card ── */
.meeting-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  grid-template-rows: auto 24px 48px 40px 1fr auto auto auto;
  gap: 6px;
  transition: border-color 0.15s, box-shadow 0.15s;
  border-top-width: 3px;
  position: relative;
}
.meeting-card:hover {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}
.meeting-card.hidden, .meeting-card.search-hidden { display: none; }

/* Country accent borders */
.meeting-card.country-united-states  { border-top-color: #4a80b5; }
.meeting-card.country-canada         { border-top-color: #b85c5c; }
.meeting-card.country-ireland        { border-top-color: #4a9b70; }
.meeting-card.country-australia      { border-top-color: #c4883a; }
.meeting-card.country-united-kingdom { border-top-color: #4169a8; }
.meeting-card.country-philippines    { border-top-color: #4a80b5; }
.meeting-card.country-south-africa   { border-top-color: #4a9b70; }
.meeting-card.country-scotland       { border-top-color: #4a80b5; }
.meeting-card.country-mexico         { border-top-color: #4a9b70; }
.meeting-card.country-singapore      { border-top-color: #b85c5c; }
.meeting-card.country-wales          { border-top-color: #b85c5c; }

/* Flag + heart group */
.card-top-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.badge-flag { width: 1.3em; height: 1.3em; border-radius: 2px; }

/* card sections */
.card-top { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }

.badge-day, .badge-intl, .badge-type, .badge-sanctioned, .badge-nonsanctioned {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.badge-day  { background: var(--highlight-bg);  color: var(--highlight); border: 1px solid var(--highlight-bd); }
.badge-intl { background: var(--highlight-bg2); color: var(--highlight); border: 1px solid var(--highlight-bd); }
.badge-type { background: var(--surface2); color: var(--text-muted); border: 1px solid var(--border); cursor: help; }
.badge-sanctioned    { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.badge-nonsanctioned { background: transparent; color: var(--text-muted); border: 1px solid var(--border); font-style: italic; }
.badge-verified { cursor: default; position: relative; display: inline-flex; align-items: center; }
.badge-verified svg { width: 1.6em; height: 1.6em; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.12)); }
.badge-verified-tip {
  display: none;
  position: absolute;
  /* Render BELOW the badge instead of above. The badge sits at the top of
     the card in the card-top row, and .cards-grid has content-visibility:
     auto which applies paint containment — anything extending above the
     grid's top edge gets clipped (this is what caused the tooltip to show
     up as a truncated sliver above the first row of cards). */
  top: calc(100% + 8px);
  left: 0;
  background: #007DBA;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: normal;
  width: max-content;
  /* Keep the tip narrow enough to fit inside a 280px card so the horizontal
     overflow doesn't get clipped by the same paint containment. */
  max-width: 200px;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  line-height: 1.4;
  text-align: left;
}
.badge-verified-tip::after {
  content: '';
  position: absolute;
  /* Arrow points UP toward the badge now that the tip sits below it. */
  bottom: 100%;
  left: 14px;
  border: 5px solid transparent;
  border-bottom-color: #007DBA;
}
.badge-verified:hover .badge-verified-tip { display: block; }

/* ── Generic ocean hover tooltip ──────────────────────────────────────────
   Matches the .badge-verified-tip style (white text on #007DBA). Apply
   `class="hover-tip"` + `data-tip="<text>"` to any element that should
   surface a label on hover. Tip renders BELOW the element so it doesn't
   get clipped by .cards-grid's content-visibility paint containment when
   hovered elements sit at the top of a card. */
.hover-tip { position: relative; }
.hover-tip::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, -4px);
  background: #007DBA;
  color: #fff;
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  line-height: 1.3;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: opacity 0.12s ease, transform 0.12s ease;
}
.hover-tip::before {
  content: "";
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translate(-50%, -4px);
  border: 5px solid transparent;
  border-bottom-color: #007DBA;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease, transform 0.12s ease;
  z-index: 200;
}
.hover-tip:hover::after,
.hover-tip:hover::before,
.hover-tip:focus-visible::after,
.hover-tip:focus-visible::before {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Right-edge hover targets anchor the tooltip to their RIGHT edge so it
   extends leftward instead of off the container. Covers flag + heart on
   regular meeting cards. Arrow stays centered on the element via its
   existing left:50% rule. */
.card-top-right .hover-tip::after {
  left: auto;
  right: 0;
  transform: translate(0, -4px);
}
.card-top-right .hover-tip:hover::after,
.card-top-right .hover-tip:focus-visible::after {
  transform: translate(0, 0);
}

/* Saved-mini heart (the "My Meetings" horizontal strip at the top of the
   homepage) needs the tooltip to render ABOVE the heart, not below. The
   saved-strip container has overflow:hidden and its body has overflow-x:
   auto — both clip anything extending below the heart. Above-the-heart
   keeps the tip inside the mini-card's visible area.

   Also shrunk max-width so the tip doesn't bleed horizontally into
   adjacent mini-cards (cards are only ~120px wide). */
.saved-mini-heart.hover-tip::after {
  top: auto;
  bottom: calc(100% + 8px);
  left: 50%;
  right: auto;
  max-width: 110px;
  white-space: normal;
  text-align: center;
  transform: translate(-50%, 4px);
}
.saved-mini-heart.hover-tip::before {
  top: auto;
  bottom: calc(100% + 2px);
  border-bottom-color: transparent;
  border-top-color: #007DBA;
  transform: translate(-50%, 4px);
}
.saved-mini-heart.hover-tip:hover::after,
.saved-mini-heart.hover-tip:focus-visible::after,
.saved-mini-heart.hover-tip:hover::before,
.saved-mini-heart.hover-tip:focus-visible::before {
  transform: translate(-50%, 0);
}

/* Card type badge (Speaker, Step Study, etc.) sits near the left edge of
   the card and can carry a LONG description in data-tip (multi-sentence
   combined meeting-type explainers). Two changes vs the default hover-tip:
   (1) left-anchor so the tooltip extends rightward into the card instead
       of centered (which pokes past the left edge on narrow cards),
   (2) let the text wrap with a readable max-width instead of nowrap. */
.badge-type.hover-tip::after {
  left: 0;
  right: auto;
  transform: translate(0, -4px);
  white-space: normal;
  max-width: min(320px, calc(100vw - 40px));
  min-width: 180px;
}
.badge-type.hover-tip:hover::after,
.badge-type.hover-tip:focus-visible::after {
  transform: translate(0, 0);
}
/* Keep the arrow centered on the badge itself. */
.badge-type.hover-tip::before {
  left: 50%;
}

.card-type-row { }
.card-time { display: flex; flex-direction: column; gap: 1px; }
.time-local { font-size: 1.35rem; font-weight: 700; color: var(--text); }
.time-local-sub { font-size: 0.78rem; color: var(--text-muted); }

.card-location { font-size: 0.85rem; color: var(--text-muted); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-meeting-name { font-size: 0.92rem; color: var(--text); font-weight: 600; margin-bottom: 2px; }

/* countdown */
.countdown {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-self: end;
}
.countdown-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; gap: 5px; }
.countdown-value { font-size: 1rem; font-weight: 600; color: var(--highlight); font-variant-numeric: tabular-nums; }
.countdown-value.soon { color: #3fb950; }
.countdown-value.imminent { color: #f85149; animation: pulse 1s infinite; }

/* live indicator */
.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #f85149;
  flex-shrink: 0;
  animation: livepulse 1.2s ease-in-out infinite;
}
.is-live .countdown {
  border-color: #f8514966;
  background: #f8514911;
}
.is-live .countdown .countdown-label {
  color: #f85149;
  font-weight: 600;
}
.is-live { border-color: #f8514966; order: -1; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}
@keyframes livepulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.6; }
}

/* actions */
.card-actions { display: flex; gap: 8px; }
.btn-join {
  flex: 1;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-join:hover { background: var(--accent-hv); text-decoration: none; }
.btn-copy {
  background: var(--surface2);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn-copy:hover { background: var(--border); color: var(--text); }

.zoom-details {
  display: flex;
  gap: 12px;
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, "SF Mono", monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

/* Meeting type full-text tooltip — revealed on card hover */
.card-type-tooltip {
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.2s ease, opacity 0.2s ease, padding 0.2s ease;
  padding: 0 2px;
}
.meeting-card:hover .card-type-tooltip {
  max-height: 100px;
  opacity: 1;
  padding: 6px 2px 0;
}
.type-tooltip-note {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  color: var(--accent);
  font-style: italic;
  line-height: 1.4;
}

/* ── Load more ── */
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.btn-load-more {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 20px;
  padding: 10px 32px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-load-more:hover { background: var(--border); color: var(--text); border-color: var(--accent); }

/* ── Header nav ── */
.header-nav { display: flex; gap: 2px; margin-top: 0; margin-left: 0; flex-wrap: wrap; align-items: center; }
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--text); background: var(--surface2); }
.nav-link-primary { background: var(--accent); color: #fff; font-weight: 600; padding: 6px 14px; }
.nav-link-primary:hover { background: var(--accent-hv); color: #fff; }
.nav-link.active { color: var(--accent); }

/* ── Heart button ── */
.btn-heart {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
  transition: color 0.15s, transform 0.1s;
}
.btn-heart:hover { color: #f85149; transform: scale(1.2); }
.btn-heart.favorited { color: #f85149; }
.btn-heart-locked { opacity: 0.35; cursor: pointer; }

.btn-share {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, transform 0.1s;
}
.btn-share svg { width: 18px; height: 18px; }
.btn-share:hover { color: var(--accent); transform: scale(1.15); }

/* ── Auth pages ── */
.auth-card {
  max-width: 480px;
  margin: 48px auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.auth-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 16px; }
.auth-anonymity {
  font-size: 0.82rem;
  color: var(--accent);
  margin-bottom: 20px;
  line-height: 1.5;
}
.auth-muted { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 20px; }
.field-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 4px;
  line-height: 1.4;
}
.label-optional {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 4px;
}
.auth-error {
  background: var(--error-bg);
  border: 1px solid var(--error-border);
  color: var(--error-text);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.875rem;
  margin-bottom: 16px;
}
.auth-success {
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success-text);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.875rem;
  margin-bottom: 16px;
}
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.auth-form label { font-size: 0.875rem; color: var(--text-muted); margin-bottom: -6px; }
.req { color: #f85149; font-weight: 700; }
.label-hint { font-size: 0.78rem; color: var(--text-muted); font-weight: 400; }
.auth-form input, .auth-form textarea {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 0.9rem;
  width: 100%;
  font-family: inherit;
}
.auth-form input:focus, .auth-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.auth-form textarea { resize: vertical; }
.pw-wrap {
  position: relative;
  width: 100%;
}
.pw-wrap input {
  padding-right: 42px;
}
.pw-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 2px;
  display: flex;
  align-items: center;
  line-height: 1;
}
.pw-toggle:hover { color: var(--accent); }
.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text);
  cursor: pointer;
}
.auth-checkbox input { width: auto; }
.btn-auth {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 11px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.15s;
}
.btn-auth:hover { background: var(--accent-hv); }
.auth-links {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.auth-links a { color: var(--accent); text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }

/* ── Google SSO button ── */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  margin-bottom: 4px;
}
.btn-google:hover { background: var(--surface); border-color: var(--text-muted); color: var(--text); text-decoration: none; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Settings page ── */
.settings-info { display: flex; flex-direction: column; gap: 10px; margin-bottom: 4px; }
.settings-row { display: flex; gap: 12px; font-size: 0.9rem; }
.settings-label { color: var(--text-muted); min-width: 110px; flex-shrink: 0; }
.settings-divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }

.danger-details summary { list-style: none; }
.danger-details summary::-webkit-details-marker { display: none; }
.danger-summary {
  display: inline-block;
  color: #f85149;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 8px 14px;
  border: 1px solid #f8514966;
  border-radius: 6px;
  transition: background 0.15s;
}
.danger-summary:hover { background: #f8514911; }
.btn-danger {
  background: var(--surface2);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.15s, color 0.15s;
  width: auto;
}
.btn-danger:hover { background: #f85149; color: #fff; border-color: #f85149; }

/* ── Empty state ── */
/* ── My Meetings Dashboard ── */
.my-dashboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 32px;
  margin-bottom: 24px;
}
.dashboard-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
}
.dashboard-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -1px;
  text-align: center;
}
.dashboard-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
}
.dashboard-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .my-dashboard {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 16px 20px;
  }
  .dashboard-stat { padding: 12px 0; }
  .dashboard-divider { width: 100%; height: 1px; }
  .dashboard-value { font-size: 1.6rem; }
}

/* ── Milestone card ── */
.milestone-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 32px;
  margin-bottom: 24px;
}
.milestone-card-empty {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  padding: 16px 24px;
}
.milestone-card-empty a { color: var(--accent); }
.milestone-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: flex-start;
  gap: 16px;
}
.milestone-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.milestone-item-center { align-items: center; text-align: center; }
.milestone-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.milestone-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.milestone-value.accent { color: var(--accent); font-size: 1.25rem; }
.milestone-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}
@media (max-width: 640px) {
  .milestone-card { padding: 16px 20px; }
  .milestone-row { grid-template-columns: 1fr; gap: 14px; }
  .milestone-item { align-items: center; text-align: center; }
  .milestone-item-center { align-items: center; }
}

/* ── Milestone celebration — "Engraved Token" ── */
.celebrate-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.85) 80%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: opacity 0.45s ease;
}
.celebrate-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* Subtle film-grain overlay for tactile depth */
.celebrate-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.celebrate-card {
  position: relative;
  background:
    linear-gradient(180deg, var(--surface) 0%, var(--surface2, var(--surface)) 100%);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 56px 56px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  color: var(--text);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 30px 80px -20px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.02) inset;
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.5s ease;
}
.celebrate-overlay.show .celebrate-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Slowly rotating conic-gradient halo behind everything */
.celebrate-halo {
  position: absolute;
  top: 50%; left: 50%;
  width: 180%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    var(--accent) 60deg,
    transparent 120deg,
    transparent 240deg,
    var(--accent) 300deg,
    transparent 360deg
  );
  opacity: 0;
  filter: blur(60px);
  z-index: 0;
  transition: opacity 1.2s ease 0.2s;
}
.celebrate-overlay.show .celebrate-halo {
  opacity: 0.22;
  animation: celebrate-halo-spin 18s linear infinite;
}
@keyframes celebrate-halo-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Ornaments — drawn on entry */
.celebrate-ornament {
  display: block;
  width: 220px;
  max-width: 80%;
  margin: 0 auto;
  color: var(--accent);
  position: relative;
  z-index: 1;
}
.celebrate-ornament-top { margin-bottom: 28px; }
.celebrate-ornament-bot { margin-top: 28px; margin-bottom: 32px; transform: scaleY(-1); }

.celebrate-ornament .orn-line,
.celebrate-ornament .orn-leaf {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1.1s ease 0.35s;
}
.celebrate-ornament .orn-dot {
  opacity: 0;
  transform-origin: 120px 30px;
  transform: scale(0);
  transition: opacity 0.4s ease 1.1s, transform 0.5s cubic-bezier(0.34,1.56,0.64,1) 1.1s;
}
.celebrate-overlay.show .celebrate-ornament .orn-line,
.celebrate-overlay.show .celebrate-ornament .orn-leaf {
  stroke-dashoffset: 0;
}
.celebrate-overlay.show .celebrate-ornament .orn-dot {
  opacity: 1;
  transform: scale(1);
}

.celebrate-eyebrow {
  position: relative;
  z-index: 1;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  margin: 0 0 4px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}
.celebrate-overlay.show .celebrate-eyebrow {
  opacity: 1;
  transform: translateY(0);
}

.celebrate-numeral-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 8px 0 4px;
}
.celebrate-numeral {
  font-family: "Museo Sans", "Museo Sans Fallback", "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 700;
  font-size: clamp(5.5rem, 19vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  color: var(--accent);
  font-feature-settings: "lnum", "tnum";
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease 0.7s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.7s;
}
.celebrate-overlay.show .celebrate-numeral {
  opacity: 1;
  transform: translateY(0);
}
.celebrate-unit {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  /* Compensate for trailing letter-spacing so short labels (DAY) center properly. */
  padding-left: 0.32em;
  margin-top: 6px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease 1.0s, transform 0.6s ease 1.0s;
}
.celebrate-overlay.show .celebrate-unit {
  opacity: 1;
  transform: translateY(0);
}

.celebrate-message {
  position: relative;
  z-index: 1;
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 4px auto 0;
  max-width: 32ch;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease 1.15s, transform 0.6s ease 1.15s;
}
.celebrate-overlay.show .celebrate-message {
  opacity: 1;
  transform: translateY(0);
}

.celebrate-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.5s ease 1.4s,
    transform 0.5s ease 1.4s,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}
.celebrate-overlay.show .celebrate-btn {
  opacity: 1;
  transform: translateY(0);
}
.celebrate-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.celebrate-btn svg {
  transition: transform 0.25s ease;
}
.celebrate-btn:hover svg {
  transform: translateX(3px);
}

@media (max-width: 540px) {
  .celebrate-card { padding: 40px 24px 28px; }
  .celebrate-ornament { width: 160px; }
  .celebrate-ornament-top { margin-bottom: 20px; }
  .celebrate-ornament-bot { margin-top: 20px; margin-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .celebrate-overlay,
  .celebrate-overlay .celebrate-card,
  .celebrate-overlay .celebrate-numeral,
  .celebrate-overlay .celebrate-unit,
  .celebrate-overlay .celebrate-message,
  .celebrate-overlay .celebrate-eyebrow,
  .celebrate-overlay .celebrate-btn {
    transition-duration: 0.15s !important;
    transition-delay: 0s !important;
  }
  .celebrate-halo { animation: none !important; }
  .celebrate-ornament .orn-line,
  .celebrate-ornament .orn-leaf {
    stroke-dashoffset: 0 !important;
    transition: none !important;
  }
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}
.footer-small { font-size: 0.75rem; margin-top: 4px; }

/* ── Footer Contribute CTA ── */
.footer-cta {
  margin: 8px 0 22px;
  text-align: center;
}
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #007DBA;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 125, 186, 0.3);
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}
.footer-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(0, 125, 186, 0.4);
  background: #005f8e;
  color: #fff;
  text-decoration: none;
}
.footer-cta-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .footer-cta-btn { font-size: 0.88rem; padding: 10px 18px; }
}

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(60px);
  background: var(--accent);
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transition: transform 0.25s, opacity 0.25s;
  pointer-events: none;
  z-index: 999;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* When the user is actively searching, hide promo banners and newsletter
   opt-ins so search results aren't pushed off-screen by them. */
body.search-active .ad-block-banner,
body.search-active .nl-optin-section { display: none !important; }

/* ── Block gambling ads banner ── */
.ad-block-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-top: 24px;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ad-block-banner:hover {
  border-color: var(--accent);
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  text-decoration: none;
}
.ad-block-banner-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.ad-block-banner-text strong {
  color: var(--text);
  font-weight: 600;
}
.ad-block-banner-arrow {
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
}
.ad-block-banner-inline {
  grid-column: 1 / -1;
  margin-top: 0;
  align-self: start;
}
.ad-block-banner--research {
  background: var(--accent);
  border-color: var(--accent);
  animation: re-nudge 3s ease-in-out infinite;
}
.ad-block-banner--research .ad-block-banner-text {
  color: #fff;
  font-size: 1.05rem;
}
.ad-block-banner--research .ad-block-banner-text strong {
  color: #fff;
  font-size: 1.1rem;
}
.ad-block-banner--research .ad-block-banner-arrow {
  color: #fff;
  font-size: 1.3rem;
}
.ad-block-banner--research svg {
  stroke: #fff !important;
  opacity: 0.9;
}
.ad-block-banner--research circle[fill] { fill: #fff !important; }
.ad-block-banner--research:hover {
  border-color: #111;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
@keyframes re-nudge {
  0%, 86% { transform: rotate(0); }
  88% { transform: rotate(-1deg); }
  90% { transform: rotate(1deg); }
  92% { transform: rotate(-1deg); }
  94% { transform: rotate(0.5deg); }
  96%, 100% { transform: rotate(0); }
}
/* Offset the wiggle on the videos banner so two stacked banners don't shake together. */
.ad-block-banner--videos { animation-delay: 1.5s; }

/* ── Quick actions bar ── */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(6, 1fr);  /* fills container to right edge on desktop */
  gap: 8px;
  margin-bottom: 20px;
}
.quick-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  min-height: 40px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  line-height: 1.25;
  transition: background 0.15s, box-shadow 0.15s;
}
.quick-action-btn:hover {
  background: var(--accent-hv);
  border-color: var(--accent-hv);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  text-decoration: none;
  color: #fff;
}
.quick-action-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
/* Mobile-vs-desktop label swap — shorter text on narrow screens */
.qa-short { display: none; }
.qa-full  { display: inline; }
/* Medium viewport: 3Ã—2 grid, still horizontal icon+text */
@media (max-width: 900px) {
  .quick-actions { grid-template-columns: repeat(3, 1fr); }
}
/* Phone: 3Ã—2, stack icon above text so the narrow column fits the label */
@media (max-width: 600px) {
  .quick-action-btn {
    flex-direction: column;
    gap: 4px;
    padding: 10px 4px;
    font-size: 0.72rem;
    min-height: 62px;
  }
  .qa-short { display: inline; }
  .qa-full  { display: none; }
}

/* ── Meeting card report button ── */
.btn-report-meeting {
  background: none;
  border: none;
  font-size: 0.7rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 5px 0 0;
  opacity: 0.4;
  transition: opacity 0.15s, color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-report-meeting:hover { opacity: 1; color: #f85149; }

/* ── Post-engagement rating overlay ─────────────────────────────────────── */
/* Compact floating pill bar — sits over the Join button area at the bottom
   of the card so the meeting name + day/time above stay fully visible.
   Matches the YouTube quick-rate UI: three pastel sections in one rounded
   pill with a soft drop shadow. ✕ records a "skip" so we don't keep asking. */
.rate-overlay {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.20), 0 2px 6px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  animation: rateOverlayIn 220ms cubic-bezier(.18,.7,.3,1);
}
@keyframes rateOverlayIn {
  from { opacity: 0; transform: translate(-50%, 8px) scale(0.9); }
  to   { opacity: 1; transform: translate(-50%, 0)   scale(1); }
}
.rate-overlay.is-resolving {
  animation: rateOverlayOut 240ms ease forwards;
}
@keyframes rateOverlayOut {
  to { opacity: 0; transform: translate(-50%, 4px) scale(0.95); }
}
/* Visually-hidden prompt — kept for screen readers only. The meeting card
   itself (visible above the pill) tells the sighted user what they're rating. */
.rate-overlay-prompt {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.rate-overlay-buttons { display: flex; }
.rate-btn {
  width: 58px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-family: inherit;
  transition: filter 120ms ease, transform 120ms ease;
}
.rate-btn + .rate-btn { border-left: 1px solid rgba(255, 255, 255, 0.55); }
.rate-btn:hover  { filter: brightness(1.05); }
.rate-btn:active { filter: brightness(0.95); transform: scale(0.97); }
.rate-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.rate-btn svg { width: 24px; height: 24px; display: block; }
.rate-btn-up   { background: #c8f4d4; color: #15803d; }
.rate-btn-down { background: #fdd2d2; color: #b91c1c; }
.rate-btn-skip { background: #f3f4f6; color: #6b7280; }

/* Thanks-confirmation state — replaces the buttons after a click. The pill
   keeps roughly the same footprint so it doesn't jump. */
.rate-overlay-thanks {
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  min-width: 174px;
  height: 48px;
  padding: 0 18px;
  font-family: "Museo Sans", "Museo Sans", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  animation: rateThanksIn 220ms cubic-bezier(.18,.7,.3,1);
}
.rate-overlay-thanks svg { width: 22px; height: 22px; flex-shrink: 0; }
.rate-thanks-up   { background: #c8f4d4; color: #15803d; }
.rate-thanks-down { background: #fdd2d2; color: #b91c1c; }
.rate-thanks-skip { background: #f3f4f6; color: #6b7280; }
@keyframes rateThanksIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

/* % thumbs chip — only renders for meetings with >= 10 ratings.
   Sits inside .card-location next to the meeting name as a small
   social-proof chip (think YouTube's "84%" badge). */
.thumbs-pct {
  display: inline-flex; align-items: center; gap: 4px;
  background: color-mix(in srgb, #16a34a 14%, transparent);
  color: #15803d;
  border: 1px solid color-mix(in srgb, #16a34a 35%, transparent);
  border-radius: 999px;
  padding: 1px 8px 1px 6px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-left: 6px;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
}
.thumbs-pct svg { flex-shrink: 0; }

/* ── Report modal ── */
.report-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.report-modal {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  width: 100%;
  max-width: 480px;
  position: relative;
}
.report-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
}
.report-modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.report-field {
  margin-bottom: 16px;
}
.report-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.report-field input,
.report-field textarea {
  width: 100%;
  padding: 10px 12px;
  /* 16px prevents iOS Safari from auto-zooming on focus (sub-16px inputs
     trigger zoom that doesn't always reverse on blur, leaving the page
     zoomed in — makes the header look truncated after modal close). */
  font-size: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  resize: vertical;
}
.report-field input:focus,
.report-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.report-meeting-badge {
  font-size: 0.85rem;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
}
.report-submit-btn {
  width: 100%;
  padding: 12px;
  background: #16a34a;
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}
.report-submit-btn:hover { opacity: 0.9; }
.report-status {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--accent);
  text-align: center;
}

/* ── Terms updated banner ── */
.terms-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
}
.terms-banner-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.terms-banner-text a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}
.terms-banner-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}
.terms-banner-btn:hover { opacity: 0.9; }

/* ── Promo banner ── */
.promo-banner {
  background: var(--accent);
  border-radius: var(--radius);
  margin-top: 20px;
  margin-bottom: 24px;
  padding: 24px 28px;
}
.meetings-live-banner { display: block; text-decoration: none; }
.meetings-live-banner:hover { opacity: 0.93; text-decoration: none; }
.promo-banner-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.promo-banner-content { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.promo-banner-title { font-size: 1.1rem; font-weight: 700; color: #fff; line-height: 1.3; }
.promo-banner-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
}
.promo-sep { opacity: 0.5; }
.promo-item {
  position: relative;
  cursor: default;
  border-bottom: 1px dashed rgba(255,255,255,0.4);
  padding-bottom: 1px;
}
.promo-item-tip {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  transform: none;
  background: rgba(0,0,0,0.85);
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap;
  max-width: 280px;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 10;
}
.promo-item:hover .promo-item-tip,
.promo-item:focus .promo-item-tip { opacity: 1; }
.promo-banner-cta {
  display: inline-block;
  background: #fff;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 22px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.promo-banner-cta:hover { opacity: 0.9; text-decoration: none; }
@media (hover: none), (max-width: 640px) {
  .promo-banner-items { display: none; }
}

.welcome-banner {
  background: var(--accent);
  border-radius: var(--radius);
  margin-top: 20px;
  margin-bottom: 24px;
  padding: 24px 28px;
}
.welcome-banner-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.welcome-banner-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.welcome-banner-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}
.welcome-banner-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
.welcome-banner-sub a { color: #ffffff; text-decoration: underline; }
.welcome-banner-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1;
  opacity: 0.7;
}
.welcome-banner-close:hover { opacity: 1; }

/* ── Theme dropdown ── */
.theme-dropdown { position: relative; }
.theme-dropdown summary { list-style: none; }
.theme-dropdown summary::-webkit-details-marker { display: none; }
.btn-theme {
  background: none;
  border: none;
  color: var(--text-muted);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  user-select: none;
}
.btn-theme:hover { color: var(--text); background: var(--surface2); }
.theme-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  z-index: 300;
  min-width: 130px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.theme-option {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.1s;
  opacity: 1;
}
.theme-option         { color: var(--text); }
.theme-option:hover   { background: var(--surface2); color: var(--text); }
.theme-option.active  { color: var(--accent); font-weight: 600; }

/* Theme picker in nav dropdown */
.nav-appearance-details { }
.nav-appearance-details[open] .nav-appearance-summary { color: var(--accent); }
.nav-appearance-summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
}
.nav-appearance-summary::-webkit-details-marker { display: none; }
.nav-appearance-summary::marker { display: none; }
.nav-appearance-summary::after { content: ' \203A'; font-size: 0.8em; opacity: 0.5; }
.nav-appearance-details[open] .nav-appearance-summary::after { content: ' \2193'; }
.nav-theme-menu {
  position: static;
  display: flex;
  flex-direction: column;
  border: none;
  box-shadow: none;
  padding: 0;
  background: none;
  min-width: unset;
}
.nav-theme-menu .theme-option {
  width: 100%;
  padding: 9px 20px 9px 32px;
  font-size: 0.875rem;
  text-align: left;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border);
}
.nav-theme-menu .theme-option:last-child { border-bottom: none; }
.nav-theme-menu .theme-option.active { color: var(--accent); font-weight: 700; }

/* Inline theme picker on settings page */
.settings-theme-menu {
  position: static;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  border: none;
  box-shadow: none;
  padding: 0;
  background: none;
}
.settings-theme-menu .theme-option {
  width: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 20px;
  font-size: 0.9rem;
}
.settings-theme-menu .theme-option.active {
  border-color: var(--accent);
  background: var(--highlight-bg);
}

/* ── Policy notice banner ── */
.policy-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  z-index: 9999;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
  font-size: 0.88rem;
  color: var(--text-muted);
}
.policy-notice p { margin: 0; line-height: 1.5; }
.policy-notice a { color: var(--accent); }
.policy-notice-dismiss {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 7px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.policy-notice-dismiss:hover { opacity: 0.88; }

/* ── Newsletter opt-in section ── */
.nl-optin-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 20px;
  padding: 48px 20px;
}
/* Only add breathing room when the filter bar sits directly below the
   newsletter section (no welcome/promo banner between them). When a banner
   is in between, the banner's own margin provides the spacing. */
.nl-optin-section + .filter-bar {
  margin-top: 28px;
}
.nl-optin-inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.nl-optin-pulse {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  margin-bottom: 16px;
  box-shadow: 0 0 0 0 var(--accent);
  animation: nl-pulse 2s infinite;
}
@keyframes nl-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,196,106,0.5); }
  70%  { box-shadow: 0 0 0 10px rgba(0,196,106,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,196,106,0); }
}
.nl-optin-heading {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.25;
}
.nl-optin-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}
.nl-optin-form {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.nl-optin-input {
  flex: 1;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}
.nl-optin-input:focus { border-color: var(--accent); }
.nl-optin-btn {
  padding: 11px 22px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.nl-optin-btn:hover { opacity: 0.88; }
.nl-optin-check-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: left;
  cursor: pointer;
  line-height: 1.5;
}
.nl-optin-check-label input { margin-top: 2px; flex-shrink: 0; accent-color: var(--accent); }
.nl-optin-check-label a { color: var(--accent); }
.nl-optin-success { margin-top: 16px; }
.nl-optin-success-msg { font-size: 1.1rem; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.nl-optin-success-sub { font-size: 0.88rem; color: var(--text-muted); }
.nl-optin-success-sub a { color: var(--accent); font-weight: 600; }
.nl-optin-error { color: #e74c3c; font-size: 0.82rem; margin-top: 8px; }
@media (max-width: 480px) {
  .nl-optin-form { flex-direction: column; }
  .nl-optin-btn { width: 100%; }
}

/* Inline variant — sits inside the cards-grid right after the wiggle
   banners. Spans all grid columns, lighter padding, accent border so it
   reads as a peer of the wiggle banners rather than a section break. */
.nl-optin-section--inline {
  grid-column: 1 / -1;
  margin-top: 0;
  padding: 24px 20px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
}
.nl-optin-section--inline .nl-optin-heading { font-size: 1.15rem; margin-bottom: 6px; }
.nl-optin-section--inline .nl-optin-sub     { font-size: 0.84rem; margin-bottom: 14px; }
.nl-optin-section--inline .nl-optin-form    { margin-bottom: 8px; }

/* ── Breadcrumb ── */
.breadcrumb { margin-bottom: 16px; font-size: 0.82rem; color: var(--text-muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 4px; opacity: 0.5; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); text-decoration: none; }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* ── Location page headings ── */
.location-h1 { font-size: 1.7rem; font-weight: 800; color: var(--text); margin-bottom: 8px; line-height: 1.2; }
.location-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; max-width: 640px; line-height: 1.6; }
.location-index-note { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 14px; font-style: italic; }

/* ── Day cross-links on location pages ── */
.location-footer-links { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); }
.location-footer-links p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 10px; }
.location-day-links { display: flex; flex-wrap: wrap; gap: 8px; }
.location-pill {
  display: inline-block; padding: 5px 14px; border-radius: 20px;
  font-size: 0.82rem; font-weight: 500; border: 1px solid var(--border);
  color: var(--text-muted); text-decoration: none; transition: border-color 0.15s, color 0.15s;
}
.location-pill:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.location-pill.active { border-color: var(--accent); color: var(--accent); }

/* ── Footer browse links ── */
.footer-browse { margin-top: 12px; }
.footer-browse-label { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 6px; }
.footer-browse-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; }
.footer-browse-links a { color: var(--accent); font-size: 0.8rem; }
.footer-browse-links a:hover { text-decoration: underline; }

/* ── Meetings index page ── */
.location-index-section { margin-bottom: 40px; }
.location-index-h2 {
  font-size: 1.1rem; font-weight: 700; color: var(--text);
  margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.location-index-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 10px;
}
.location-index-card {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); text-decoration: none;
  transition: border-color 0.15s;
}
.location-index-card:hover { border-color: var(--accent); text-decoration: none; }
.location-index-flag { font-size: 1.2rem; margin-bottom: 2px; }
.location-index-name { font-size: 0.9rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.location-index-count { font-size: 0.75rem; color: var(--text-muted); }

/* ── About page ── */
.about-article { max-width: 560px; margin-left: auto; margin-right: auto; }

/* Page hero — shared across Research, Resources, About */
.page-hero { text-align: center; padding: 48px 20px 40px; }
.page-hero-title { font-family: "Museo Sans", "Museo Sans Fallback", "Museo Sans", "Museo Sans Fallback", -apple-system, sans-serif; font-size: 2rem; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.page-hero-sub { font-family: "Museo Sans", "Museo Sans Fallback", -apple-system, sans-serif; color: var(--text-muted); font-size: 1rem; max-width: 560px; margin: 0 auto; line-height: 1.6; }
.page-hero-cta { margin-top: 14px; font-size: 0.88rem; color: var(--text-muted); }
.page-hero-cta a { color: var(--accent); }
.about-body { color: var(--text-muted); font-size: 0.97rem; line-height: 1.8; margin-bottom: 18px; }
.about-dedication-line {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ── Resources page ── */
.resource-group {
  margin-bottom: 32px;
}
.resource-group-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.resource-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.resource-item:first-of-type { border-top: 1px solid var(--border); }
.resource-name {
  font-size: 0.95rem;
  color: var(--text);
}
.resource-contact {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.resource-contact:hover { text-decoration: underline; }
.resource-name-sub {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-left: 6px;
}
.resource-item-expand { display: block; padding: 0; }
.emergency-details { width: 100%; }
.emergency-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  cursor: pointer;
  list-style: none;
  gap: 16px;
}
.emergency-summary::-webkit-details-marker { display: none; }
.emergency-hint {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 6px;
}
.emergency-breakdown {
  padding: 8px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.emergency-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
}
/* Reserve space for flag icons before the lipis flag-icons CSS lands —
   matches the 4:3 aspect ratio that CDN sets, so the row doesn't jump
   when CDN CSS swaps in. Fixes CLS on /resources. */
.fi {
  display: inline-block;
  width: 1.33em;
  height: 1em;
  vertical-align: -0.125em;
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
}
.emergency-row span.fi { flex-shrink: 0; }
.emergency-row span:nth-child(2) { flex: 1; color: var(--text-muted); }
.emergency-row strong { color: var(--text); font-weight: 600; white-space: nowrap; }
.emergency-note {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Block gambling ads guide ── */
.ad-block-guide { margin-top: 16px; }
.ad-block-intro {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.guide-details {
  border-bottom: 1px solid var(--border);
}
.guide-details:first-of-type { border-top: 1px solid var(--border); }
.guide-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  cursor: pointer;
  list-style: none;
  gap: 16px;
}
.guide-summary::-webkit-details-marker { display: none; }
.guide-platform {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.guide-expand-hint {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.guide-expand-hint:hover { background: var(--accent); color: #fff; }
.guide-details[open] .guide-expand-hint .guide-hint-show { display: none; }
.guide-details:not([open]) .guide-expand-hint .guide-hint-hide { display: none; }
.guide-steps {
  padding: 0 0 16px;
}
.guide-step-heading {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin: 12px 0 6px;
}
.guide-step-heading:first-child { margin-top: 0; }
.guide-screenshot {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 12px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.guide-steps ol {
  margin: 0;
  padding-left: 20px;
}
.guide-steps li {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 6px;
}
.guide-steps li strong { font-weight: 600; }
.guide-keywords {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
  padding: 10px 12px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.guide-keywords strong {
  display: inline-block;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  padding: 1px 7px;
  border-radius: 4px;
  border: 1px solid var(--border);
  font-size: 0.82rem;
  margin: 2px 1px;
}
.guide-tip {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 10px 12px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.ad-block-footer {
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── About — donate block ── */
.about-donate {
  margin-top: 40px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.about-donate-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.about-donate-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}
.about-donate-options {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-bottom: 14px;
}
.donate-btn {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 9px 14px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
  white-space: nowrap;
}
@media (max-width: 520px) {
  .about-donate-options { flex-wrap: wrap; }
  .donate-btn { flex: 1 1 100%; }
}
.donate-btn:hover { opacity: 0.85; }
.donate-btn-sm  { background: var(--surface2); color: var(--text); border: 1px solid var(--border); }
.donate-btn-md  { background: var(--accent);   color: #fff; }
.donate-btn-lg  { background: var(--surface2); color: var(--text); border: 1px solid var(--border); }
.about-donate-recurring {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.about-donate-recurring a { color: var(--accent); text-decoration: none; }
.about-donate-recurring a:hover { text-decoration: underline; }

/* ── Hamburger toggle — always visible ── */
.nav-toggle {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: 8px;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
/* Hamburger open-state animation only applies when the button is still
   showing three bars — when .has-avatar is set, the avatar chip is
   span:nth-child(1) and would otherwise get rotated 45Â° on click. */
.nav-toggle:not(.has-avatar).open span:nth-child(1) { transform: translate3d(0, 7px, 0) rotate(45deg); }
.nav-toggle:not(.has-avatar).open span:nth-child(2) { opacity: 0; }
.nav-toggle:not(.has-avatar).open span:nth-child(3) { transform: translate3d(0, -7px, 0) rotate(-45deg); }

/* When the user is logged in, the hamburger button swaps to show their avatar.
   (Three-bar spans are hidden; avatar chip is injected by app.js.) */
.nav-toggle.has-avatar { padding: 2px; border-radius: 50%; gap: 0; transition: box-shadow 0.15s; }
/* Hide only the three bare-span bars, not the injected avatar chip span */
.nav-toggle.has-avatar > span:not(.nav-toggle-avatar) { display: none; }
.nav-toggle.has-avatar .nav-toggle-avatar {
  display: inline-flex;
  width: 30px;
  height: 30px;
  font-size: 0.72rem;
  border-radius: 50%;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}
.nav-toggle.has-avatar .nav-toggle-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Bigger tap target on phones — 30px was fiddly to hit and felt undersized. */
@media (max-width: 700px) {
  .nav-toggle.has-avatar .nav-toggle-avatar {
    width: 40px;
    height: 40px;
    font-size: 0.92rem;
  }
}
.nav-toggle.has-avatar:hover {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent);
}
.nav-toggle.has-avatar.open {
  box-shadow: 0 0 0 2px var(--accent);
}

/* header-actions — groups the always-visible nav controls, anchors the dropdown */
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 0;
  position: relative;
  flex-shrink: 0;
}

/* Always-visible outside links */
.nav-about-outside { font-size: 0.88rem; color: var(--text-muted); text-decoration: none; padding: 6px 10px; white-space: nowrap; }
.nav-about-outside:hover { color: var(--accent); }
.nav-cta-outside { margin-right: 2px; }
.nav-cta-inside { display: none !important; }

/* header-nav — hidden by default, dropdown anchored to header-actions */
.header-nav {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  flex-direction: column;
  min-width: 200px;
  z-index: 300;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  gap: 2px;
}
.header-nav.open { display: flex; }
.header-nav .nav-link { padding: 8px 12px; border-radius: 6px; }
.header-nav .nav-link:hover { background: var(--border); }

/* Mobile — full-width panel below header */
@media (max-width: 700px) {
  .nav-about-outside { display: none; }
  .nav-cta-outside { display: none; }
  .nav-cta-inside { display: flex !important; }
  /* Remove relative positioning so header-nav anchors to <header> instead */
  .header-actions { gap: 2px; margin-left: auto; position: static; }
  .tagline { order: 10; flex: 1 1 100%; text-align: left; margin: 8px 0 0; max-width: 560px; }
  .site-quote { display: none; }
  /* Full-width dropdown — only for the LEGACY header layout where the
     dropdown is a sibling of <header> (older pages: dashboard, my-meetings,
     settings, etc.). The brand-refresh _lp_header.html wraps the dropdown
     in .lp-nav-toggle-wrap; that variant uses the desktop right-anchored
     positioning so it appears as a proper menu under the avatar instead
     of getting clipped to the wrapper width. */
  .lp-nav-toggle-wrap > .header-nav {
    /* Brand-refresh header — keep the desktop-style right-anchored panel
       so it doesn't truncate to the avatar's width on mobile. */
    min-width: 220px;
  }
  :not(.lp-nav-toggle-wrap) > .header-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: auto;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    min-width: unset;
  }
  .header-nav .nav-link { padding: 10px 20px; border-radius: 0; width: 100%; display: block; }
  .header-nav .nav-link:hover { background: var(--border); }
  /* Appearance details — match other nav links exactly */
  .nav-appearance-details { display: block; width: 100%; border-top: none; margin-top: 0; }
  .nav-appearance-details > summary { display: block; width: 100%; padding: 10px 20px; border-radius: 0; text-align: left; box-sizing: border-box; }
  .nav-theme-menu .theme-option { padding: 9px 20px 9px 36px; }
}

@media (max-width: 520px) {
  .logo-wordmark { font-size: 1.2rem; }
  .logo-ga { font-size: 1.65rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .filter-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .filter-bar form { display: contents; }
  .filter-bar select,
  .filter-bar .meeting-count,
  .filter-bar .live-count { width: 100%; box-sizing: border-box; font-size: 0.82rem; padding: 8px 10px; margin: 0; }
  .meeting-count { margin-left: 0; display: flex; align-items: center; justify-content: center; background: var(--surface2); border: 1px solid var(--border); border-radius: 6px; }
  .live-count { justify-content: center; }
  .filter-bar .live-count,
  .filter-bar .meeting-count { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--border); border-radius: 0; background: none; border-left: none; border-right: none; border-bottom: none; }
  .location-h1 { font-size: 1.3rem; }
  .location-index-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── External link confirmation modal ── */
.ext-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}
.ext-modal.is-open { display: flex; }
.ext-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.ext-modal-panel {
  position: relative;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 22px 18px;
  width: min(460px, 92vw);
  box-shadow: 0 12px 40px rgba(0,0,0,0.28);
  font-family: inherit;
}
.ext-modal-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--text);
}
.ext-modal-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.ext-modal-url {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  word-break: break-all;
  color: var(--text);
  margin-bottom: 18px;
  max-height: 6.5em;
  overflow-y: auto;
}
.ext-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.ext-modal-btn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-family: inherit;
}
.ext-modal-btn:hover { background: var(--surface2); }
.ext-modal-open {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.ext-modal-open:hover {
  background: var(--accent);
  color: #fff;
  opacity: 0.92;
}

/* ── Settings (hierarchical sidebar + sections) ─────────────────────────── */
.settings-main { max-width: 1160px; margin: 0 auto; padding: 24px 20px 40px; }
.settings-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 820px) {
  .settings-layout { grid-template-columns: 1fr; gap: 16px; }
}
.settings-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 12px;
  position: sticky;
  top: 16px;
}
@media (max-width: 820px) {
  .settings-sidebar { position: static; }
}
.settings-profile-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}
.settings-profile-meta { min-width: 0; }
.settings-profile-name { font-weight: 600; font-size: 0.92rem; color: var(--text); line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }
.settings-profile-email { font-size: 0.72rem; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }
.settings-nav-group { padding: 8px 0; }
.settings-nav-group + .settings-nav-group { border-top: 1px solid var(--border); margin-top: 4px; padding-top: 12px; }
.settings-nav-group-label {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 0 10px 6px;
}
.settings-nav-link {
  display: block;
  padding: 8px 12px;
  font-size: 0.88rem;
  color: var(--text);
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.12s, color 0.12s;
}
.settings-nav-link:hover { background: var(--surface2); }
.settings-nav-link.active {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.settings-content { min-width: 0; }
.settings-heading {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.settings-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 18px;
}
.settings-section-title {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px;
}
.settings-form { display: flex; flex-direction: column; gap: 10px; }
.settings-field-label { font-size: 0.82rem; font-weight: 600; color: var(--text); margin-top: 4px; }
.settings-field-help { font-size: 0.76rem; color: var(--text-muted); margin: 2px 0 0; }
.settings-input {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 0.92rem;
  width: 100%;
  font-family: inherit;
  box-sizing: border-box;
}
.settings-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.settings-input:disabled { opacity: 0.6; cursor: not-allowed; }
.settings-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .settings-grid-2 { grid-template-columns: 1fr; } }
.settings-form-actions { margin-top: 14px; display: flex; gap: 10px; }

.btn-settings-primary, .btn-settings-secondary, .btn-settings-danger {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.btn-settings-primary { background: var(--accent); color: #fff; }
.btn-settings-primary:hover { background: var(--accent-hv); }
.btn-settings-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-settings-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-settings-secondary:hover:not(:disabled) { background: var(--surface2); }
.btn-settings-secondary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-settings-danger {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
}
.btn-settings-danger:hover { background: #b91c1c; border-color: #b91c1c; }

.settings-toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
  cursor: pointer;
}
.settings-toggle-row input[type="checkbox"] { accent-color: var(--accent); width: 18px; height: 18px; cursor: pointer; }
.settings-toggle-label { font-weight: 500; }
.settings-radio {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--text); cursor: pointer; padding: 6px 0;
}
.settings-radio input[type="radio"] { accent-color: var(--accent); }

.settings-flash {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  max-width: min(420px, 90vw);
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.settings-flash .settings-toast {
  margin: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
  pointer-events: auto;
}
.settings-toast {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 14px;
  border: 1px solid transparent;
}
.settings-toast-success {
  background: rgba(22, 163, 74, 0.08);
  color: #16a34a;
  border-color: rgba(22, 163, 74, 0.3);
}
.settings-toast-error {
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.3);
}

.settings-hero {
  display: flex;
  align-items: center;
  gap: 16px;
}
.settings-hero-name {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.settings-hero-email {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.settings-avatar-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.settings-avatar-options {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Avatar chip — initials on a colored circle, palette hashed by user id */
.avatar-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  letter-spacing: 0.02em;
  user-select: none;
  flex-shrink: 0;
}
.avatar-sm { width: 26px; height: 26px; font-size: 0.68rem; }
.avatar-md { width: 38px; height: 38px; font-size: 0.88rem; }
.avatar-lg { width: 64px; height: 64px; font-size: 1.4rem; }

/* Dashboard/my-meetings small additions */
.my-meetings-banner {
  margin: 10px auto 18px;
  max-width: 1160px;
  padding: 10px 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.my-meetings-banner a { color: var(--accent); text-decoration: none; font-weight: 600; }
.my-meetings-banner a:hover { text-decoration: underline; }
.dashboard-section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  max-width: 1160px;
  margin: 26px auto 12px;
  padding: 0 16px;
}
.dashboard-section-title {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}
.dashboard-section-link {
  font-size: 0.82rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.dashboard-section-link:hover { text-decoration: underline; }
.hidden { display: none !important; }

/* Settings badge, avatar image, theme picker, identity row */
.settings-badge {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: middle;
  margin-left: 8px;
}
.avatar-image { overflow: hidden; padding: 0; }
.avatar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.settings-theme-picker {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.settings-theme-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.12s, box-shadow 0.12s;
}
.settings-theme-option:hover { border-color: var(--accent); }
.settings-theme-option.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.settings-theme-swatch {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
}
/* Swatches mirror the actual theme colors used by data-theme="sage"/"action" */
.settings-theme-swatch-light {
  background: linear-gradient(135deg, #f9fafb 50%, #007DBA 50%);
}
.settings-theme-swatch-dark {
  background: linear-gradient(135deg, #0a0e1a 50%, #41B6E6 50%);
}

.identity-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.identity-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.identity-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.identity-meta { min-width: 0; }
.identity-name { font-weight: 600; color: var(--text); font-size: 0.95rem; }
.identity-help { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* Dashboard latest-milestone hero (static version of the celebration card) */
.milestone-hero {
  max-width: 1160px;
  margin: 18px auto 18px;
  padding: 40px 24px 36px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 6%, var(--surface)) 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.milestone-hero::before {
  content: "";
  position: absolute;
  inset: -40% 30%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 12%, transparent), transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.milestone-hero-eyebrow {
  position: relative;
  margin: 0 0 10px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  z-index: 1;
}
.milestone-hero-ornament {
  position: relative;
  width: 200px;
  height: 20px;
  color: var(--accent);
  opacity: 0.65;
  margin: 4px auto 14px;
  display: block;
  z-index: 1;
}
.milestone-hero-numeral-wrap {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  z-index: 1;
}
.milestone-hero-numeral {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-size: 5.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
}
.milestone-hero-unit {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.milestone-hero-message {
  position: relative;
  margin: 16px auto 0;
  max-width: 620px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
  font-style: italic;
  z-index: 1;
}
@media (max-width: 560px) {
  .milestone-hero { padding: 28px 16px 24px; }
  .milestone-hero-numeral { font-size: 3.8rem; }
  .milestone-hero-unit { font-size: 1.1rem; }
}

/* Next-milestone footer inside the latest-milestone hero card */
.milestone-hero-next {
  position: relative;
  margin: 22px auto 0;
  padding-top: 16px;
  max-width: 420px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.milestone-hero-next::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 60px;
  height: 1px;
  background: color-mix(in srgb, var(--accent) 40%, transparent);
  transform: translateX(-50%);
}
.milestone-hero-next-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--accent);
}
.milestone-hero-next-value {
  font-weight: 600;
  color: var(--text);
  font-size: 0.92rem;
}
.milestone-hero-next-dot {
  color: var(--text-muted);
  opacity: 0.6;
}
.milestone-hero-next-eta { color: var(--text-muted); }

/* Meetings section (stats paired with upcoming cards) */
.dash-meetings { margin-top: 18px; }
.dash-meetings-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.dash-meetings .dashboard-section-header { margin-top: 0; }

/* ── Dashboard redesign: hero circle + tile stats ───────────────────── */
.dash-main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 20px 48px;
}
.dash-hero {
  position: relative;
  margin: 18px 0 24px;
  padding: 56px 24px 48px;
  border-radius: 24px;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background: linear-gradient(145deg, #001a4d 0%, #003087 55%, #007DBA 100%);
  box-shadow: 0 18px 40px -18px rgba(0, 125, 186, 0.45);
}
[data-theme="action"] .dash-hero {
  background: linear-gradient(145deg, #001229 0%, #0a3a7a 50%, #007DBA 100%);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.55);
}
.dash-hero-bg {
  position: absolute;
  inset: -40% -10%;
  background:
    radial-gradient(closest-side at 20% 30%, rgba(255,255,255,0.18), transparent 70%),
    radial-gradient(closest-side at 80% 70%, rgba(255,255,255,0.10), transparent 70%);
  pointer-events: none;
}
.dash-hero-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.dash-hero-badge-icon { font-size: 0.9em; }
.dash-hero-share {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, transform 0.1s;
}
.dash-hero-share:hover { background: rgba(255, 255, 255, 0.3); }
.dash-hero-share:active { transform: scale(0.97); }
.dash-hero-share:disabled { opacity: 0.5; cursor: wait; }
@media (max-width: 480px) {
  .dash-hero-share-label { display: none; }
  .dash-hero-share { padding: 8px; }
}
.dash-hero-circle {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #003087;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.8),
    0 12px 32px -8px rgba(0,0,0,0.35);
}
.dash-hero-num {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-size: 5.4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #003087;
}
.dash-hero-unit {
  margin-top: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #007DBA;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.dash-hero-since {
  position: relative;
  margin: 22px 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}
.dash-hero-since-label { opacity: 0.75; margin-right: 6px; }
.dash-hero-since-date { font-weight: 600; }
.dash-hero-edit {
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
.dash-hero-edit:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #003087;
}

/* Clean-time reset disclosure inside Settings â†’ Account */
.clean-time-reset { }
.settings-reset-summary {
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.settings-reset-summary::-webkit-details-marker { display: none; }
.settings-reset-summary::before {
  content: "\25B8";
  font-size: 0.8em;
  transition: transform 0.12s;
  display: inline-block;
}
details[open] > .settings-reset-summary::before {
  transform: rotate(90deg);
}
.settings-reset-summary:hover { text-decoration: underline; }
.dash-hero-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  color: var(--text);
  padding: 36px 24px;
  border: 1px dashed var(--border);
  border-radius: 20px;
  box-shadow: none;
}
.dash-hero-empty-title {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}
.dash-hero-empty-help {
  margin: 0 0 4px;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 420px;
  text-align: center;
}
.dash-hero-empty-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.dash-hero-empty-form input[type="date"] {
  padding: 9px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.dash-stat {
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 0;
}
.dash-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.dash-stat-value {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 6px;
  line-height: 1.1;
}
.dash-stat-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

@media (max-width: 640px) {
  .dash-hero { padding: 24px 18px 32px; border-radius: 20px; }
  .dash-hero-circle { width: 200px; height: 200px; }
  .dash-hero-num { font-size: 4.2rem; }
  .dash-hero-unit { font-size: 0.78rem; }
  /* Badge flows inline above the tabs on narrow screens (no overlap) */
  .dash-hero-badge {
    position: static;
    display: flex;
    width: fit-content;
    margin: 0 auto 14px;
    font-size: 0.7rem;
    padding: 5px 10px;
  }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .dash-stat-value { font-size: 1.3rem; }
}
@media (max-width: 420px) {
  .dash-stats { grid-template-columns: 1fr; }
}

/* ── Dashboard hero view tabs + view bodies ─────────────────────────── */
.dash-view-tabs {
  position: relative;
  display: flex;
  gap: 4px;
  justify-content: center;
  margin: 0 0 24px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  backdrop-filter: blur(6px);
}
.dash-view-tab {
  padding: 8px 18px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.dash-view-tab:hover { color: #fff; }
.dash-view-tab.active {
  background: rgba(255, 255, 255, 0.95);
  color: #003087;
}
.dash-view {
  position: relative;
  text-align: center;
  min-height: 420px;
}
/* Streak + Start have minimal content — center vertically in the fixed box.
   :not([hidden]) keeps the HTML `hidden` attribute working on inactive views. */
.dash-view-streak:not([hidden]),
.dash-view-start:not([hidden]) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
}
@media (max-width: 560px) {
  .dash-view { min-height: 380px; }
}
.dash-view-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  margin: 0 0 28px;
}

/* ── View 1: Slices — rounded bubble pills, descending widths, green tones ── */
.dash-slices {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto;
}
.dash-slice {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 26px;
  border-radius: 999px;
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s;
}
.dash-slice:hover { transform: translateX(3px); }
.dash-slice-n {
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.01em;
}
.dash-slice-u {
  font-size: 1rem;
  font-style: italic;
  opacity: 0.9;
}
.dash-slice-1 { background: linear-gradient(90deg, #5fb6e4 0%, #3a9bd1 100%); width: 100%; }
.dash-slice-2 { background: linear-gradient(90deg, #3a9bd1 0%, #1d80b8 100%); width: 92%; }
.dash-slice-3 { background: linear-gradient(90deg, #007DBA 0%, #005f8e 100%); width: 84%; }
.dash-slice-4 { background: linear-gradient(90deg, #005f8e 0%, #00497a 100%); width: 76%; }
.dash-slice-5 { background: linear-gradient(90deg, #003a6e 0%, #002747 100%); width: 68%; }
.dash-slice-6 { background: linear-gradient(90deg, #001f3d 0%, #001229 100%); width: 60%; }

/* ── View 2: Circles (staggered) ───────────────────────────────────── */
.dash-circles {
  position: relative;
  height: 340px;
  max-width: 420px;
  margin: 0 auto;
}
.dash-circle {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  color: #003087;
  border-radius: 50%;
  box-shadow: 0 14px 32px -10px rgba(0, 0, 0, 0.3);
}
.dash-circle-primary { width: 180px; height: 180px; top: 0; left: 50%; transform: translateX(-50%); z-index: 2; }
.dash-circle-left    { width: 150px; height: 150px; bottom: 0; left: 6%; z-index: 1; }
.dash-circle-right   { width: 150px; height: 150px; bottom: 0; right: 6%; z-index: 1; }
.dash-circle-n {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: #003087;
}
.dash-circle-primary .dash-circle-n { font-size: 3.6rem; }
.dash-circle-u {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #007DBA;
  margin-top: 4px;
}
@media (max-width: 560px) {
  .dash-circles { height: 300px; max-width: 320px; }
  .dash-circle-primary { width: 150px; height: 150px; }
  .dash-circle-primary .dash-circle-n { font-size: 3rem; }
  .dash-circle-left, .dash-circle-right { width: 120px; height: 120px; }
  .dash-circle-n { font-size: 2.2rem; }
}
/* Hide extra (hours/min/sec) circles in compact 3-up mode */
.dash-circles:not(.expanded) .dash-circle-extra { display: none; }

/* Toggle chip above the circles */
.dash-circles-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.dash-circles-toggle:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #003087;
}
.dash-circles-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-weight: 700;
  line-height: 1;
}

/* ── 6-up mode: 2 rows Ã— 3 cols, all equal-size circles ─────────────── */
.dash-circles.expanded {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 18px 22px;
  height: auto;
  max-width: 520px;
  justify-items: center;
  margin: 0 auto;
}
.dash-circles.expanded .dash-circle {
  position: static;
  width: 130px;
  height: 130px;
  transform: none;
  top: auto; bottom: auto; left: auto; right: auto;
}
.dash-circles.expanded .dash-circle-n {
  font-size: 2.4rem;
}
.dash-circles.expanded .dash-circle-primary { /* override the big-primary size */
  width: 130px;
  height: 130px;
}
.dash-circles.expanded .dash-circle-primary .dash-circle-n {
  font-size: 2.4rem;
}
.dash-circles.expanded .dash-circle-u {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}
@media (max-width: 560px) {
  .dash-circles.expanded { grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 340px; }
  .dash-circles.expanded .dash-circle,
  .dash-circles.expanded .dash-circle-primary { width: 96px; height: 96px; }
  .dash-circles.expanded .dash-circle-n,
  .dash-circles.expanded .dash-circle-primary .dash-circle-n { font-size: 1.6rem; }
  .dash-circles.expanded .dash-circle-u { font-size: 0.62rem; }
}
@media (max-width: 400px) {
  .dash-circles.expanded { grid-template-columns: repeat(2, 1fr); max-width: 260px; }
}

/* ── View 3: Streak (one big number) ───────────────────────────────── */
.dash-streak {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0 28px;
}
.dash-streak-n {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 300;
  font-size: 9rem;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.25);
}
.dash-streak-u {
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.08em;
  margin-top: 6px;
}
@media (max-width: 560px) {
  .dash-streak-n { font-size: 6.5rem; }
}

/* ── View 4: Start date ────────────────────────────────────────────── */
.dash-start-date {
  margin: 60px 0;
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 500;
  font-size: 2.4rem;
  color: #fff;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}
@media (max-width: 560px) {
  .dash-start-date { font-size: 1.8rem; margin: 40px 0; }
}

/* ── Why I'm sober card ─────────────────────────────────────────────── */
.why-sober {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 22px;
}
.why-sober-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.why-sober-title {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}
.why-sober-edit {
  font-size: 0.82rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.why-sober-edit:hover { text-decoration: underline; }
.why-sober-quote {
  margin: 0;
  padding: 12px 16px;
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 5%, transparent);
  border-radius: 0 8px 8px 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  white-space: pre-wrap;
  font-style: italic;
}
.why-sober-placeholder {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.why-sober-empty {
  border-style: dashed;
}

/* ── Contribute page: glossy donation buttons ── */
.contribute-donate {
  background: linear-gradient(180deg, rgba(22,163,74,0.06), rgba(22,163,74,0.02));
  border: 1px solid rgba(22,163,74,0.25);
  border-radius: 16px;
  padding: 36px 28px;
  margin: 32px 0 24px;
  text-align: center;
}
.contribute-donate-title {
  font-family: "Museo Sans", "Museo Sans Fallback", "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.contribute-donate-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 28px;
  line-height: 1.55;
}
.contribute-donate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 640px;
  margin: 0 auto 20px;
}
@media (max-width: 600px) {
  .contribute-donate-grid { grid-template-columns: 1fr; gap: 12px; }
  .contribute-donate { padding: 28px 18px; }
}
.contribute-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 26px 18px;
  min-height: 108px;
  background: linear-gradient(145deg, #1d80b8 0%, #007DBA 55%, #005f8e 100%);
  color: #fff;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    0 10px 24px -6px rgba(0,125,186,0.45),
    0 2px 6px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform 0.18s cubic-bezier(.2,.7,.3,1.3), box-shadow 0.18s, filter 0.18s;
  overflow: hidden;
}
/* Subtle glossy highlight sweep across the top edge */
.contribute-btn::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0));
  pointer-events: none;
  border-radius: 14px 14px 0 0;
}
.contribute-btn:hover {
  transform: translateY(-3px);
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 16px 32px -6px rgba(22,163,74,0.6),
    0 4px 10px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.3),
    0 0 0 3px rgba(22,163,74,0.18);
  filter: brightness(1.04);
}
.contribute-btn:active { transform: translateY(-1px); }
.contribute-btn-amount {
  font-family: "Museo Sans", "Museo Sans Fallback", "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.contribute-btn-label {
  font-size: 0.84rem;
  font-weight: 600;
  opacity: 0.95;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}
.contribute-btn-flag {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(0,0,0,0.22);
  color: #fff;
  padding: 4px 8px;
  text-align: center;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  z-index: 2;
  backdrop-filter: blur(4px);
}
/* Featured button needs extra top padding so the ribbon doesn't crowd
   the amount below it. */
.contribute-btn--featured {
  padding-top: 36px;
  transform: scale(1.04);
  box-shadow:
    0 12px 28px -4px rgba(22,163,74,0.55),
    0 2px 6px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.3),
    0 0 0 2px rgba(22,163,74,0.25);
}
.contribute-btn--featured:hover {
  transform: scale(1.04) translateY(-3px);
}
@media (max-width: 600px) {
  .contribute-btn--featured { transform: none; }
  .contribute-btn--featured:hover { transform: translateY(-3px); }
}
/* Subtle recurring-support link */
.contribute-recurring {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.88rem;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.contribute-recurring:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}
.contribute-recurring-amount { font-weight: 700; color: var(--accent); }
.contribute-recurring-label { color: var(--text-muted); font-size: 0.82rem; }
.contribute-donate-note {
  margin: 18px 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
}

/* ============================================================================
 * Research-page card system (shared by /research, /research/news, /research/oc,
 * and any future /research/* subpages). Originally lived inline in research.html
 * but extracted on 2026-04-24 so the subpages render the same as the hub.
 * ============================================================================ */
.re-article-list { display: flex; flex-direction: column; gap: 14px; }
.re-article { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; position: relative; overflow: hidden; text-decoration: none; color: inherit; display: block; }
.re-article:hover { border-color: var(--accent); box-shadow: 0 2px 12px rgba(0,0,0,0.06); text-decoration: none; color: inherit; }
.re-article[data-source] { padding-left: 20px; border-left-width: 4px; border-left-style: solid; }
.re-article-source-strip { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 600; padding: 4px 10px; border-radius: 6px; margin-bottom: 10px; line-height: 1.5; min-height: 26px; box-sizing: border-box; }
.re-article-preview { width: 100%; height: 160px; object-fit: cover; object-position: center 25%; border-radius: 6px; margin-bottom: 12px; display: block; background: var(--surface2); }
.re-article-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.re-article-meta { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 8px; }
.re-article-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 10px; }
.re-article-link { font-size: 0.82rem; color: var(--accent); text-decoration: none; }
.re-article-link:hover { text-decoration: underline; }
.re-article[data-source="npr"] { border-left-color: #0a8128; }
.re-article[data-source="npr"] .re-article-source-strip { background: #0a8128; color: #fff; }
.re-article[data-source="cnn"] { border-left-color: #cc0000; }
.re-article[data-source="cnn"] .re-article-source-strip { background: #cc0000; color: #fff; }
.re-article[data-source="wapo"] { border-left-color: #555; }
.re-article[data-source="wapo"] .re-article-source-strip { background: #444; color: #fff; }
.re-article[data-source="fox"] { border-left-color: #003366; }
.re-article[data-source="fox"] .re-article-source-strip { background: #003366; color: #fff; }
.re-article[data-source="nyt"] { border-left-color: #888; }
.re-article[data-source="nyt"] .re-article-source-strip { background: #fff; color: #000; border: 1px solid #ccc; font-family: "Old Standard TT", Georgia, serif; font-style: italic; font-size: 0.78rem; font-weight: 400; padding: 3px 10px; border-radius: 6px; }
.re-article[data-source="yahoo"] { border-left-color: #6001d2; }
.re-article[data-source="yahoo"] .re-article-source-strip { background: #6001d2; color: #fff; }
.re-article[data-source="wallethub"] { border-left-color: #11b87e; }
.re-article[data-source="wallethub"] .re-article-source-strip { background: #11b87e; color: #fff; }
.re-article[data-source="ibtimes"] { border-left-color: #c8102e; }
.re-article[data-source="ibtimes"] .re-article-source-strip { background: #c8102e; color: #fff; }
.re-article[data-source="guardian"] { border-left-color: #052962; }
.re-article[data-source="guardian"] .re-article-source-strip { background: #052962; color: #fff; }
.re-article[data-source="pymnts"] { border-left-color: #d97706; }
.re-article[data-source="pymnts"] .re-article-source-strip { background: #d97706; color: #fff; }
.re-article[data-source="businessinsider"] { border-left-color: #0073e6; }
.re-article[data-source="businessinsider"] .re-article-source-strip { background: #0073e6; color: #fff; }
.re-article[data-source="gamblingharm"] { border-left-color: #b91c1c; }
.re-article[data-source="gamblingharm"] .re-article-source-strip { background: #b91c1c; color: #fff; }
.re-article[data-source="espn"] { border-left-color: #d70021; }
.re-article[data-source="espn"] .re-article-source-strip { background: #d70021; color: #fff; }
.re-article[data-source="nygov"] { border-left-color: #1e40af; }
.re-article[data-source="nygov"] .re-article-source-strip { background: #1e40af; color: #fff; }
.re-article[data-source="healthbenefits"] { border-left-color: #0891b2; }
.re-article[data-source="healthbenefits"] .re-article-source-strip { background: #0891b2; color: #fff; }
.re-article[data-source="brightside"] { border-left-color: #eab308; }
.re-article[data-source="brightside"] .re-article-source-strip { background: #eab308; color: #1f2937; }
.re-article[data-source="slate"] { border-left-color: #b22d23; }
.re-article[data-source="slate"] .re-article-source-strip { background: #b22d23; color: #fff; }
.re-article[data-source="gazette"] { border-left-color: #13335c; }
.re-article[data-source="gazette"] .re-article-source-strip { background: #13335c; color: #fff; }
.re-article[data-source="timesofsandiego"] { border-left-color: #0e7490; }
.re-article[data-source="timesofsandiego"] .re-article-source-strip { background: #0e7490; color: #fff; }
.re-article[data-source="aarp"] { border-left-color: #e4002b; }
.re-article[data-source="aarp"] .re-article-source-strip { background: #e4002b; color: #fff; }
.re-article[data-source="globeandmail"] { border-left-color: #1f3a5f; }
.re-article[data-source="globeandmail"] .re-article-source-strip { background: #1f3a5f; color: #fff; }
.re-article[data-source="robertkinglawfirm"] { border-left-color: #5b2c1a; }
.re-article[data-source="robertkinglawfirm"] .re-article-source-strip { background: #5b2c1a; color: #fff; }
.re-article[data-source="brightsideofnews"] { border-left-color: #f59e0b; }
.re-article[data-source="brightsideofnews"] .re-article-source-strip { background: #f59e0b; color: #fff; }
.re-article[data-source="bettermarkets"] { border-left-color: #1e3a8a; }
.re-article[data-source="bettermarkets"] .re-article-source-strip { background: #1e3a8a; color: #fff; }
.re-article[data-source="baptisthealth"] { border-left-color: #c2410c; }
.re-article[data-source="baptisthealth"] .re-article-source-strip { background: #c2410c; color: #fff; }
.re-article[data-source="newrepublic"] { border-left-color: #1a1a1a; }
.re-article[data-source="newrepublic"] .re-article-source-strip { background: #1a1a1a; color: #fff; }
.re-article[data-source="dailysabah"] { border-left-color: #cf1020; }
.re-article[data-source="dailysabah"] .re-article-source-strip { background: #cf1020; color: #fff; }
.re-article[data-source="aboutlawsuits"] { border-left-color: #1d4e89; }
.re-article[data-source="aboutlawsuits"] .re-article-source-strip { background: #1d4e89; color: #fff; }
.re-article[data-source="theathletic"] { border-left-color: #000; }
.re-article[data-source="theathletic"] .re-article-source-strip { background: #000; color: #fff; }
.re-article[data-source="mindsitenews"] { border-left-color: #1573a7; }
.re-article[data-source="mindsitenews"] .re-article-source-strip { background: #1573a7; color: #fff; }
.re-article[data-source="igamingbusiness"] { border-left-color: #84cc16; }
.re-article[data-source="igamingbusiness"] .re-article-source-strip { background: #a3e635; color: #1f2937; }
.re-article[data-source="gamblinginsider"] { border-left-color: #1c2642; }
.re-article[data-source="gamblinginsider"] .re-article-source-strip { background: #1c2642; color: #fff; }
.re-peer-img { float: right; width: 140px; height: 100px; object-fit: cover; border-radius: 8px; margin: 0 0 10px 16px; border: 1px solid var(--border); background: var(--surface2); }
@media (max-width: 700px) { .re-peer-img { width: 100px; height: 70px; margin-left: 12px; } }
/* Featured article card (OC layout: image left, body right). */
.re-article:has(.re-featured-thumb) { display: flex; gap: 16px; align-items: flex-start; }
.re-featured-thumb { width: 180px; height: 110px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); flex-shrink: 0; }
.re-featured-body { flex: 1; min-width: 0; }
.re-featured-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 700px) {
  .re-article:has(.re-featured-thumb) { flex-direction: column; gap: 12px; }
  .re-featured-thumb { width: 100%; height: 160px; }
}
/* "View all news (17) â†’" CTA replacing in-page pagination on the hub. */
.re-view-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; padding: 9px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: 0.88rem; font-weight: 600; text-decoration: none; transition: all 0.15s ease; }
.re-view-all:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
/* Small text-link version of "View all" — sits near the top of each hub section so people don't have to scroll past 3 cards to discover the subpage. */
.re-section-toplink { display: inline-block; margin: 0 0 14px 0; font-size: 0.82rem; font-weight: 500; color: var(--accent); text-decoration: none; }
.re-section-toplink:hover { text-decoration: underline; }

/* Prev/next chronological nav between articles (used by news_article.html
 * and every OC research_article_*.html template). Two columns on desktop,
 * stacks on mobile. Each side gets a tiny direction label + the title of the
 * adjacent piece so the user knows what they're clicking. */
.na-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 36px 0 24px; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.na-prevnext-link { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: inherit; transition: border-color 0.15s, background 0.15s; min-height: 64px; }
.na-prevnext-link:hover { border-color: var(--accent); background: rgba(22, 163, 74, 0.04); text-decoration: none; }
.na-prevnext-dir { font-size: 0.72rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.na-prevnext-title { font-size: 0.88rem; font-weight: 600; color: var(--text); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.na-prevnext .na-newer { text-align: right; }
.na-prevnext .na-newer .na-prevnext-title { text-align: right; }
.na-prevnext-spacer { display: block; }
@media (max-width: 600px) {
  .na-prevnext { grid-template-columns: 1fr; }
  .na-prevnext .na-newer, .na-prevnext .na-newer .na-prevnext-title { text-align: left; }
}
/* Section pager (â† Page X of Y â†’) — used by [data-paginate] grids on subpages. */
.re-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; padding: 8px 0; }
.re-pager-arrow { background: var(--surface); border: 1px solid var(--border); color: var(--text); width: 38px; height: 38px; border-radius: 8px; font-size: 1rem; cursor: pointer; transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.re-pager-arrow:hover:not(:disabled) { background: var(--accent); color: #fff; border-color: var(--accent); }
.re-pager-arrow:disabled { opacity: 0.3; cursor: not-allowed; }
.re-pager-info { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; min-width: 110px; text-align: center; letter-spacing: 0.01em; }

/* Video grid + facade (used by /research hub videos section AND /research/videos subpage). */
.re-video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.re-video { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.re-video iframe { width: 100%; aspect-ratio: 16/9; display: block; border: none; }
.re-video-facade { position: relative; display: block; width: 100%; aspect-ratio: 16/9; padding: 0; border: 0; margin: 0; background: #000; cursor: pointer; overflow: hidden; }
.re-video-facade img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.2s; }
.re-video-facade:hover img { opacity: 0.85; }
.re-video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; transition: transform 0.2s; }
.re-video-facade:hover .re-video-play { transform: scale(1.08); }
.re-video-play svg { width: 68px; height: 48px; filter: drop-shadow(0 2px 10px rgba(0,0,0,0.4)); }
.re-video-info { padding: 14px 16px; }
.re-video-title { font-size: 0.92rem; font-weight: 700; margin-bottom: 6px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.55em; }
.re-video-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 8px; }
.re-video-channel { color: var(--accent); font-weight: 600; }
.re-video-date { color: var(--text-muted); }
.re-video-meta .re-video-channel + .re-video-date::before { content: "·"; margin-right: 8px; color: var(--text-muted); opacity: 0.6; }
.re-video-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.re-video-info .emoji-board { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--border); }
.re-video-info .emoji-chip { font-size: 0.84rem; padding: 2px 8px 2px 6px; }
.re-video-info .emoji-chip-face { font-size: 0.95rem; }
.re-video-info .emoji-add { padding: 3px 8px; }

/* Twemoji Country Flags polyfill — Windows ships Segoe UI Emoji WITHOUT
   flag glyphs (Microsoft's choice), so ðŸ‡ºðŸ‡¸ renders as "US" letterbox pairs
   in Chrome/Edge on Windows. This @font-face only kicks in for the regional
   indicator range (and the few related codepoints used in subdivision flags),
   so all other emoji still come from the OS font. Result: country flags
   actually look like flags everywhere the emoji board appears. */
@font-face {
  font-family: "Twemoji Country Flags";
  unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0020-E007F;
  src: url("https://cdn.jsdelivr.net/npm/country-flag-emoji-polyfill@0.1/dist/TwemojiCountryFlags.woff2") format("woff2");
  font-display: swap;
}

/* ── Emoji reactions (Zoom-chat style) ─────────────────────────────────── */
/* Each emoji is its own chip; the board is just a flex-row gap. Mirrors
   how Zoom / Slack / Discord render reactions on chat messages. */
.emoji-board {
  display: flex; flex-wrap: wrap; gap: 6px;
  align-items: center;
  margin: 8px 0 14px;
}
.emoji-chip,
.emoji-add {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px 3px 8px;
  font-family: inherit;
  font-size: 0.9rem;
  line-height: 1.1;
  cursor: pointer;
  color: var(--text);
  transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
}
.emoji-chip:hover, .emoji-add:hover { background: var(--surface2); transform: translateY(-1px); }
.emoji-chip:active, .emoji-add:active { transform: translateY(0); }
.emoji-chip:focus-visible, .emoji-add:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.emoji-chip.is-mine {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
}
.emoji-chip.is-mine .emoji-chip-count { color: var(--accent); }
.emoji-chip-face {
  font-size: 1.02rem; line-height: 1;
  /* Twemoji Country Flags first — fills Windows' missing flag glyphs for
     the regional-indicator range. Everything else falls through to the OS
     emoji font. */
  font-family: "Twemoji Country Flags", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", sans-serif;
}
.emoji-chip-count {
  font-size: 0.76rem; font-weight: 700;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  transition: color 140ms ease, transform 140ms ease;
}
.emoji-chip-count.is-pulse { animation: emojiCountPulse 320ms ease; }
@keyframes emojiCountPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.22); }
  100% { transform: scale(1); }
}

.emoji-add {
  padding: 4px 10px;
  color: var(--text-muted);
}
.emoji-add:hover { color: var(--text); }
.emoji-add svg { width: 16px; height: 16px; display: block; }

.emoji-board-empty {
  font-size: 0.78rem; color: var(--text-muted);
  font-style: italic;
}

/* "+N more" badge when reaction count exceeds the display cap. Styled
   like a chip but muted so it reads as overflow rather than a reaction. */
.emoji-board-more {
  display: inline-flex; align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  cursor: default;
}

/* Nana-said-no toast — fires when the server rejects a blocklist emoji.
   Fixed position relative to the viewport so it floats above the picker
   popover without being clipped. */
.emoji-block-toast {
  position: fixed;
  z-index: 10001;
  background: var(--surface);
  border: 1px solid #b91c1c;
  border-radius: 12px;
  padding: 8px 14px 8px 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.20), 0 0 0 4px rgba(185, 28, 28, 0.10);
  display: flex; align-items: center; gap: 10px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text);
  max-width: 320px;
  transform: translateX(-50%);
  animation: emojiBlockIn 220ms cubic-bezier(.18,.7,.3,1);
  pointer-events: none;
}
.emoji-block-toast img {
  width: 32px; height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #fee2e2;
  object-fit: cover;
}
.emoji-block-toast.is-hiding { animation: emojiBlockOut 380ms ease forwards; }
@keyframes emojiBlockIn {
  from { opacity: 0; transform: translate(-50%, 8px) scale(0.92); }
  to   { opacity: 1; transform: translate(-50%, 0)   scale(1); }
}
@keyframes emojiBlockOut {
  to { opacity: 0; transform: translate(-50%, -4px) scale(0.96); }
}

/* Picker popover — anchors near the "+" button. emoji-picker-element
   renders the dropdown internally; we just give it a wrapper with the
   right z-index, shadow, and positioning. */
.emoji-picker-popover {
  position: fixed;
  z-index: 10000;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  overflow: hidden;
}
.emoji-picker-popover emoji-picker {
  --background: var(--surface);
  --border-color: var(--border);
  --button-active-background: color-mix(in srgb, var(--accent) 16%, transparent);
  --button-hover-background: var(--surface2);
  --indicator-color: var(--accent);
  --input-border-color: var(--border);
  --input-background: var(--surface2);
  --input-font-color: var(--text);
  --input-placeholder-color: var(--text-muted);
  /* The picker uses its own custom property for the emoji glyph font.
     Without Twemoji Country Flags first, the Flags tab on Windows shows
     letterbox "US"/"GB" pairs instead of actual flags. */
  --emoji-font-family: "Twemoji Country Flags", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", sans-serif;
  width: 320px;
  height: 380px;
  display: block;
}
@media (max-width: 520px) {
  .emoji-picker-popover emoji-picker { width: min(320px, calc(100vw - 24px)); height: 360px; }
}

/* Float-up burst — position:fixed so it drifts up past the chip without clipping. */
.emoji-burst {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  font-size: 1.6rem;
  transform: translate(-50%, -50%);
  animation: emojiBurst 1.4s cubic-bezier(.18,.7,.3,1) forwards;
  will-change: transform, opacity;
  font-family: "Twemoji Country Flags", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", sans-serif;
}
@keyframes emojiBurst {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.7); }
  15%  { opacity: 1; transform: translate(calc(-50% + var(--drift, 0px)), -90%) scale(1.15); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--drift, 0px) * 2), -260%) scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .emoji-chip:hover, .emoji-add:hover { transform: none; }
  .emoji-burst { animation: none; opacity: 0; }
  .emoji-chip-count.is-pulse { animation: none; }
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   Landing Page — 2-row Header, Hero, CTA, Feature Cards, Live
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* ── LP Header (2-row) ── */
.lp-header {
  position: relative;
  background: #fff;
}

/* Row 1 — Logo */
.lp-header-row1 {
  background: #fff;
  border-bottom: 1px solid #e8eef5;
}
.lp-header-inner1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
}
.lp-header-row1-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Row 2 — Nav (no border/shadow — underline only appears on hovered item) */
.lp-header-row2 {
  background: #fff;
}
.lp-header-inner2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 58px;
}

/* placeholder for removed .lp-header-inner — kept so old refs don't 404 */
.lp-header-inner { display: contents; }

/* ── Logo ── */
.lp-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.lp-logo:hover { text-decoration: none; opacity: 0.9; }
.lp-logo-img { height: 52px; width: auto; display: block; }

/* ── Utility links (Row 1 right, Ã  la St. Jude Careers / Contact Us) ── */
.lp-utility-links {
  display: flex; align-items: center; gap: 4px;
}
.lp-utility-links a {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 300; font-size: 0.82rem; color: #74767B;
  text-decoration: none; padding: 4px 8px;
  transition: color 0.15s;
}
.lp-utility-links a:hover { color: #003087; }
.lp-utility-sep { color: #d0dae6; font-size: 0.82rem; }

/* ── Search button ── */
.lp-search-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: none; background: none;
  cursor: pointer; color: #74767B; border-radius: 50%;
  transition: background 0.15s, color 0.15s;
}
.lp-search-btn:hover { background: #f4f7fb; color: #003087; }
.lp-search-btn svg { width: 18px; height: 18px; }

/* ── Desktop nav (Row 2) ── */
.lp-nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }

.lp-nav-item { position: relative; }
.lp-nav-btn {
  display: flex; align-items: center; gap: 5px;
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 500; font-size: 0.88rem; color: #333333;
  background: none; border: none; cursor: pointer;
  padding: 0 14px; height: 58px; white-space: nowrap;
  border-bottom: 3px solid transparent; margin-bottom: -3px;
  transition: color 0.15s, border-bottom-color 0.15s;
  text-decoration: none;
}
.lp-nav-btn:hover,
.lp-nav-item:focus-within .lp-nav-btn { color: #003087; border-bottom-color: #003087; }
.lp-nav-arrow { width: 10px; height: 6px; flex-shrink: 0; transition: transform 0.2s; }
.lp-nav-item:hover .lp-nav-arrow,
.lp-nav-item:focus-within .lp-nav-arrow { transform: rotate(180deg); }

.lp-nav-plain {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 500; font-size: 0.88rem; color: #333333;
  text-decoration: none; padding: 0 14px; height: 58px;
  display: flex; align-items: center;
  border-bottom: 3px solid transparent; margin-bottom: -3px;
  white-space: nowrap; transition: color 0.15s, border-bottom-color 0.15s;
}
.lp-nav-plain:hover { color: #003087; border-bottom-color: #003087; }

/* Dropdown panel */
.lp-dropdown {
  display: none; position: absolute;
  top: calc(100% + 3px); left: 0; min-width: 220px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12), 0 1px 4px rgba(0,0,0,0.06);
  padding: 16px 8px; z-index: 300;
}
.lp-nav-item:hover .lp-dropdown,
.lp-nav-item:focus-within .lp-dropdown { display: block; }
.lp-dropdown a {
  display: block; padding: 9px 20px;
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 400; font-size: 0.88rem; color: #333333;
  text-decoration: none; border-radius: 8px;
  transition: background 0.15s, color 0.15s; white-space: nowrap;
}
.lp-dropdown a:hover { background: #f4f7fb; color: #003087; }

/* ── CTA pill buttons (Row 2 right) ── */
.lp-nav-actions {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; margin-left: auto;
}
.lp-btn-find {
  display: inline-flex; align-items: center; background: #003087; color: #fff;
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 700; font-size: 0.88rem; padding: 9px 22px;
  border-radius: 999px; text-decoration: none; white-space: nowrap;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.lp-btn-find:hover {
  background: #002266; color: #fff; text-decoration: none;
  transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,48,135,0.30);
}
.lp-btn-donate {
  display: inline-flex; align-items: center; background: #007DBA; color: #fff;
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 700; font-size: 0.88rem; padding: 9px 22px;
  border-radius: 999px; text-decoration: none; white-space: nowrap;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.lp-btn-donate:hover {
  background: #005f8e; color: #fff; text-decoration: none;
  transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,125,186,0.35);
}

/* ── Hero ── */
.lp-hero { width: 100%; overflow: hidden; line-height: 0; }
.lp-hero-img-wrap { position: relative; width: 100%; height: clamp(357px, 49vw, 600px); }
.lp-hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.lp-hero-text-box {
  position: absolute; top: 50%; left: clamp(24px, 5vw, 72px); transform: translateY(-50%);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: clamp(18px, 2vw, 28px) clamp(24px, 3vw, 44px);
  max-width: clamp(300px, 44vw, 560px);
  box-shadow: none;
}
.lp-hero-headline {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.25; color: #fff; margin: 0 0 20px;
}

/* ── Hero stats (counter animation) ── */
.lp-hero-stats {
  display: flex; align-items: flex-start; gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.3);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}
.lp-hero-stats.is-visible { opacity: 1; transform: translateY(0); }
.lp-hero-stat { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.lp-hero-stat-num {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 700; font-size: clamp(1.6rem, 2.4vw, 2rem);
  color: #fff; line-height: 1; letter-spacing: -0.02em;
}
.lp-hero-stat-label {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 300; font-size: 0.78rem; color: rgba(255,255,255,0.88);
  line-height: 1.3; max-width: 140px;
}
.lp-hero-stat-divider {
  width: 1px; height: 40px; background: rgba(255,255,255,0.35); flex-shrink: 0;
}

/* ── Hero "As Seen In" press strip ── */
.lp-hero-press {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.lp-hero-press-label {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}
.lp-hero-press-logos {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.lp-press-logo {
  opacity: 0.75;
  transition: opacity 0.2s;
  color: #fff;
  overflow: visible;
}
.lp-press-logo:hover { opacity: 1; }
.lp-press-wsj { height: 18px; width: auto; }
.lp-press-cnn  { height: 22px; width: auto; }
.lp-hero-press-sep {
  display: inline-block;
  width: 1px; height: 20px;
  background: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

/* ── Find a Meeting page title bar ── */
.find-page-title-bar { background: #003087; padding: 36px 24px 32px; }
.find-page-title-inner { max-width: 1280px; margin: 0 auto; }
.find-page-title { color: #fff; font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; margin: 0 0 8px; }
.find-page-sub { color: rgba(255,255,255,0.8); font-size: 1rem; margin: 0; font-weight: 300; }

/* ── CTA section — full-width button bar ── */
.lp-cta-section { background: #fff; padding: 12px 12px; }
.lp-cta-inner { width: 100%; }
.lp-cta-btns-row {
  display: flex; align-items: stretch; width: 100%;
  gap: 8px; background: transparent;
}
.lp-cta-main-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 700; font-size: 1.15rem; padding: 22px 16px;
  border-radius: 8px; text-decoration: none; text-align: center;
  transition: filter 0.15s, transform 0.12s;
}
.lp-cta-main-btn:hover { filter: brightness(1.1); transform: translateY(-1px); text-decoration: none; }
.lp-cta-main-btn--blue { background: #003087; color: #fff; }
.lp-cta-main-btn--blue:hover { color: #fff; }
.lp-cta-main-btn--ocean { background: #007DBA; color: #fff; }
.lp-cta-main-btn--ocean:hover { color: #fff; }
.lp-cta-crisis-link {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 700; font-size: 1.15rem; color: #fff;
  background: #E30000;
  border-radius: 8px;
  text-decoration: none;
  padding: 22px 16px; white-space: nowrap;
  transition: filter 0.15s, transform 0.12s;
}
.lp-cta-crisis-link:hover { color: #fff; text-decoration: none; filter: brightness(1.08); transform: translateY(-1px); }

/* ── Feature cards ── */
.lp-features { background: #fff; padding: 60px 24px; }
.lp-features-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; max-width: 1100px; margin: 0 auto;
}
.lp-feature-card {
  background: #fff; border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.06);
  overflow: hidden; transition: transform 0.2s, box-shadow 0.2s;
}
.lp-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 16px 40px rgba(0,0,0,0.08);
}
.lp-feature-img-wrap { width: 100%; height: 220px; overflow: hidden; background: #d0dae6; position: relative; }

/* "Seen on CNN" scrolling banner across the bottom of the lighthouse image */
/* "As seen on CNN" badge under the hero stats */
.lp-hero-cnn {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 28px; padding: 13px 19px 13px 25px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.38);
  border-radius: 999px;
  color: #fff; text-decoration: none;
  font-size: 1.18rem; font-weight: 600; letter-spacing: 0.01em;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.lp-hero-cnn:hover, .lp-hero-cnn:focus {
  background: rgba(255,255,255,0.24); border-color: rgba(255,255,255,0.65);
  text-decoration: none; transform: translateY(-1px);
}
.lp-hero-cnn-text { opacity: 0.95; }
.lp-hero-cnn-logo {
  background: #cc0000; color: #fff; font-weight: 800;
  padding: 3px 10px; border-radius: 4px; font-size: 1.18rem; letter-spacing: 0.03em;
}
.lp-hero-cnn-arrow { width: 20px; height: 20px; opacity: 0.85; }
.lp-cnn-ribbon:hover, .lp-cnn-ribbon:focus {
  background: linear-gradient(180deg, #ff1a1a, #c80000); text-decoration: none;
}
.lp-feature-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block; transition: transform 0.3s;
}
.lp-feature-card:hover .lp-feature-img { transform: scale(1.03); }
.lp-feature-body { padding: 32px 36px 36px; }
.lp-feature-title {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 700; font-size: 1.35rem; color: #003087;
  line-height: 1.3; margin: 0 0 14px;
}
.lp-feature-desc {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 300; font-size: 0.95rem; color: #333333;
  line-height: 1.7; margin: 0 0 20px;
}
.lp-feature-link {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 700; font-size: 0.92rem; color: #007DBA;
  text-decoration: none; transition: color 0.15s;
}
.lp-feature-link:hover { color: #003087; text-decoration: underline; }

/* ── Live meetings section ── */
.lp-live { background: #001850; padding: 56px 24px 60px; }
.lp-live-inner { max-width: 1100px; margin: 0 auto; }
.lp-live-header { text-align: center; margin-bottom: 36px; }
.lp-live-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px; padding: 5px 14px 5px 10px;
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 700; font-size: 0.72rem; color: #41B6E6;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px;
}
.lp-live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #41B6E6;
  flex-shrink: 0; animation: livePulse 1.8s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(65,182,230,0.4); }
  50%       { opacity: 0.9; transform: scale(1.15); box-shadow: 0 0 0 5px rgba(65,182,230,0); }
}
.lp-live-title {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff;
  margin: 0 0 12px; line-height: 1.25;
}
.lp-live-sub {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 300; font-size: 1rem; color: rgba(255,255,255,0.65); margin: 0;
}
.lp-live-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px; margin-bottom: 36px;
}
.lp-live-empty {
  grid-column: 1 / -1; text-align: center; color: rgba(255,255,255,0.45);
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-size: 0.95rem; padding: 32px 0;
}
.lp-live-empty a { color: #41B6E6; }
.lp-live-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(65,182,230,0.2);
  border-radius: 12px; padding: 20px 22px;
  display: flex; flex-direction: column; gap: 8px;
  animation: liveGlow 3s ease-in-out infinite alternate;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.lp-live-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(65,182,230,0.15);
  border-color: rgba(65,182,230,0.45);
}
@keyframes liveGlow {
  from { box-shadow: 0 0 0 rgba(65,182,230,0); }
  to   { box-shadow: 0 0 16px rgba(65,182,230,0.10); }
}
.lp-live-card-top { display: flex; align-items: center; justify-content: space-between; }
.lp-live-card-day {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 700; font-size: 0.72rem; color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.lp-live-card-live {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 700; font-size: 0.65rem; color: #41B6E6;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.lp-live-card-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #41B6E6;
  animation: livePulse 1.5s ease-in-out infinite;
}
.lp-live-card-time {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 700; font-size: 1.25rem; color: #fff; line-height: 1;
}
.lp-live-card-name {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 500; font-size: 0.88rem; color: rgba(255,255,255,0.85); line-height: 1.3;
}
.lp-live-card-loc {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 300; font-size: 0.82rem; color: rgba(255,255,255,0.5);
}
.lp-live-card-zoom {
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 300; font-size: 0.75rem; color: rgba(255,255,255,0.38);
  font-variant-numeric: tabular-nums;
}
.lp-live-card-join {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 6px; padding: 10px 0; background: #003087; color: #fff;
  font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 700; font-size: 0.88rem; border-radius: 8px;
  text-decoration: none; transition: background 0.15s, transform 0.15s;
}
.lp-live-card-join:hover { background: #007DBA; color: #fff; transform: translateY(-1px); text-decoration: none; }

/* ── Live list ── */
.lp-ll-wrap { width: 100%; }

@keyframes llRowIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.lp-ll-list {
  list-style: none; margin: 0; padding: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; overflow: hidden;
}

.lp-ll-row {
  display: grid;
  grid-template-columns: 28px 80px 1fr 120px 80px;
  align-items: center; gap: 0 16px;
  padding: 0 20px;
  height: 58px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.04);
  opacity: 0;
  animation: llRowIn 0.35s ease forwards;
  transition: background 0.15s;
}
.lp-ll-row:last-child { border-bottom: none; }
.lp-ll-row:hover { background: rgba(255,255,255,0.08); }

/* Pulsing live dot */
.lp-ll-indicator { display: flex; align-items: center; justify-content: center; }
.lp-ll-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #41B6E6;
  box-shadow: 0 0 0 0 rgba(65,182,230,0.6);
  animation: llPulse 2s ease infinite;
  flex-shrink: 0;
}
@keyframes llPulse {
  0%   { box-shadow: 0 0 0 0   rgba(65,182,230,0.6); }
  60%  { box-shadow: 0 0 0 8px rgba(65,182,230,0);   }
  100% { box-shadow: 0 0 0 0   rgba(65,182,230,0);   }
}

.lp-ll-time {
  font-family: "Museo Sans", sans-serif;
  font-size: 0.8rem; font-weight: 700; color: #41B6E6;
  white-space: nowrap;
}
.lp-ll-name {
  font-family: "Museo Sans", sans-serif;
  font-size: 0.92rem; font-weight: 500; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lp-ll-country {
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lp-ll-join {
  display: inline-block; text-align: center; position: relative;
  background: #003087; color: #fff; border: 1px solid rgba(255,255,255,0.2);
  font-family: "Museo Sans", sans-serif;
  font-size: 0.78rem; font-weight: 700;
  padding: 7px 14px; border-radius: 6px;
  text-decoration: none; transition: background 0.15s;
  white-space: nowrap;
}
.lp-ll-join:hover { background: #007DBA; border-color: #007DBA; }

/* Password tooltip — shown on hover when meeting has a passcode */
.lp-ll-join[data-pass]::after {
  content: "Password: " attr(data-pass);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%; transform: translateX(-50%);
  background: #0d1b3e;
  color: #fff;
  font-size: 0.75rem; font-weight: 400;
  white-space: nowrap;
  padding: 5px 10px; border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.15);
  pointer-events: none;
  opacity: 0; transition: opacity 0.15s;
  z-index: 10;
}
.lp-ll-join[data-pass]::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 3px);
  left: 50%; transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(255,255,255,0.15);
  pointer-events: none;
  opacity: 0; transition: opacity 0.15s;
  z-index: 10;
}
.lp-ll-join[data-pass]:hover::after,
.lp-ll-join[data-pass]:hover::before { opacity: 1; }

.lp-ll-empty {
  text-align: center; padding: 40px 20px;
  font-size: 0.95rem; color: rgba(255,255,255,0.5);
}
.lp-ll-empty a { color: #41B6E6; }

/* Responsive — collapse less important columns on mobile */
@media (max-width: 700px) {
  .lp-ll-row { grid-template-columns: 28px 1fr 90px 60px; height: auto; padding: 14px 16px; gap: 0 10px; }
  .lp-ll-country { display: none; }
  .lp-ll-name { white-space: normal; }
}
@media (max-width: 480px) {
  .lp-ll-row { grid-template-columns: 24px 1fr 56px; }
  .lp-ll-time { display: none; }
}

/* ── World map (legacy, hidden) ── */
.lp-map-wrap {
  position: relative; width: 100%; border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
  margin: 0 0 32px;
}
.lp-map-svg { display: block; width: 100%; height: auto; }
.lp-dot-group:focus { outline: 2px solid #41B6E6; outline-offset: 3px; }

/* Popup card */
.lp-map-popup {
  position: absolute; z-index: 20;
  background: #fff; border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  overflow: hidden; pointer-events: all;
  animation: mapPopupIn 0.18s ease;
}
@keyframes mapPopupIn {
  from { opacity: 0; transform: translateY(6px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}
.lp-map-popup-close {
  position: absolute; top: 8px; right: 10px;
  background: none; border: none; cursor: pointer;
  font-size: 1rem; color: #999; line-height: 1; padding: 2px;
}
.lp-map-popup-close:hover { color: #333; }
.lp-map-popup-country {
  display: flex; align-items: center; gap: 7px;
  background: #003087; color: #fff;
  font-family: "Museo Sans", sans-serif;
  font-size: 0.78rem; font-weight: 700;
  padding: 10px 32px 10px 14px;
}
.lp-map-popup-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #41B6E6; flex-shrink: 0;
  box-shadow: 0 0 6px #41B6E6;
}
.lp-map-popup-count {
  background: #C14991; border-radius: 20px;
  font-size: 0.65rem; padding: 1px 7px; margin-left: 4px;
}
.lp-map-popup-meeting {
  padding: 10px 14px 12px;
  border-top: 1px solid #f0f4fa;
}
.lp-map-popup-meeting + .lp-map-popup-meeting { border-top: 1px solid #e8eef8; }
.lp-map-popup-time { font-size: 0.72rem; color: #007DBA; font-weight: 700; margin-bottom: 2px; }
.lp-map-popup-name { font-size: 0.85rem; font-weight: 700; color: #003087; margin-bottom: 4px; line-height: 1.3; }
.lp-map-popup-zoom { font-size: 0.72rem; color: #74767B; margin-bottom: 8px; }
.lp-map-popup-join {
  display: inline-block;
  background: #003087; color: #fff;
  font-family: "Museo Sans", sans-serif;
  font-size: 0.75rem; font-weight: 700;
  padding: 6px 12px; border-radius: 6px;
  text-decoration: none; transition: background 0.15s;
}
.lp-map-popup-join:hover { background: #007DBA; }

/* No-meetings overlay */
.lp-map-none {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; background: rgba(10,22,40,0.7);
}
.lp-map-none p { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin: 0; }
.lp-map-none a { color: #41B6E6; font-size: 0.9rem; }

.lp-live-footer { text-align: center; }
.lp-live-all-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-family: "Museo Sans", "Museo Sans Fallback", sans-serif;
  font-weight: 700; font-size: 0.95rem; padding: 14px 32px;
  border-radius: 999px; text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.lp-live-all-btn:hover {
  background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.35);
  color: #fff; transform: translateY(-2px); text-decoration: none;
}

/* ── Dark theme overrides ── */
[data-theme="action"] .lp-header-row1,
[data-theme="action"] .lp-header-row2 { background: #111827; }
[data-theme="action"] .lp-header-row1 { border-bottom-color: #1f2937; }
[data-theme="action"] .lp-utility-links a { color: #9ca3af; }
[data-theme="action"] .lp-utility-links a:hover { color: #41B6E6; }
[data-theme="action"] .lp-utility-sep { color: #374151; }
[data-theme="action"] .lp-nav-btn,
[data-theme="action"] .lp-nav-plain { color: #d1d5db; }
[data-theme="action"] .lp-nav-btn:hover,
[data-theme="action"] .lp-nav-plain:hover { color: #41B6E6; border-bottom-color: #41B6E6; }
[data-theme="action"] .lp-dropdown { background: #1f2937; }
[data-theme="action"] .lp-dropdown a { color: #d1d5db; }
[data-theme="action"] .lp-dropdown a:hover { background: #374151; color: #41B6E6; }
[data-theme="action"] .lp-hero-text-box { background: rgba(17,24,39,0.82); }
[data-theme="action"] .lp-hero-headline { color: #e5e7eb; }
[data-theme="action"] .lp-hero-stat-num { color: #41B6E6; }
[data-theme="action"] .lp-hero-stat-label { color: #9ca3af; }
[data-theme="action"] .lp-hero-stat-divider { background: rgba(255,255,255,0.15); }
[data-theme="action"] .lp-cta-section { background: #1f2937; }
[data-theme="action"] .lp-features { background: #111827; }
[data-theme="action"] .lp-feature-card { background: #1f2937; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
[data-theme="action"] .lp-feature-title { color: #41B6E6; }
[data-theme="action"] .lp-feature-desc { color: #d1d5db; }

/* ── Responsive ── */
@media (min-width: 961px) {
  /* Hide hamburger bars on desktop — avatar chip stays visible for logged-in users */
  .nav-toggle:not(.has-avatar) { display: none; }
  .nav-toggle.has-avatar span:not(.nav-toggle-avatar) { display: none; }
}
@media (max-width: 960px) {
  .lp-header-row2 { display: none; }
  /* Hide utility links on mobile so hamburger has room */
  .lp-utility-links { display: none; }
  .lp-search-btn { display: none; }
}
@media (max-width: 640px) {
  .lp-header-inner1 { padding: 0 16px; }
  .lp-logo-icon { width: 40px; }
  .lp-logo-line1 { font-size: 0.78rem; }
  .lp-logo-line2 { font-size: 0.72rem; }
  .lp-hero-text-box { max-width: calc(100% - 32px); left: 16px; transform: translateY(-50%); padding: 18px 16px; }
  .lp-cta-btns-row { flex-wrap: wrap; gap: 2px; }
  .lp-cta-main-btn { flex: 1 1 45%; font-size: 1rem; padding: 18px 12px; }
  .lp-cta-crisis-link { flex: 1 1 100%; font-size: 1rem; padding: 16px 12px; }
  .lp-hero-stats { gap: 14px; }
  .lp-hero-stat-num { font-size: 1.4rem; }
  .lp-features { padding: 40px 16px; }
  .lp-features-inner { grid-template-columns: 1fr; gap: 24px; }
  .lp-feature-img-wrap { height: 180px; }
  .lp-feature-body { padding: 24px 22px 28px; }
  .lp-feature-title { font-size: 1.2rem; }
  .lp-live { padding: 40px 16px 44px; }
  .lp-live-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-live-dot, .lp-live-card-dot { animation: none; }
  .lp-live-card { animation: none; }
  .lp-feature-card:hover, .lp-btn-find:hover, .lp-btn-donate:hover { transform: none; }
}

/* ── Email signup popup ── */
/* ── Newsletter popup overlay + card ── */
.em-popup-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.5);
  align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0; transition: opacity 0.3s ease;
}
.em-popup-overlay--visible { opacity: 1; }
.em-popup {
  display: flex; flex-direction: row;
  background: #fff;
  border-radius: 16px; overflow: hidden;
  width: 100%; max-width: min(52vw, 860px); min-width: 340px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  transform: translateY(14px) scale(0.97);
  transition: transform 0.3s ease;
}
.em-popup-overlay--visible .em-popup { transform: translateY(0) scale(1); }
.em-popup-image {
  flex: 0 0 42%;
  background: url('/static/sunset-hero.jpg') center/cover no-repeat;
  min-height: 420px;
}
.em-popup-card {
  flex: 1;
  background: #fff;
  max-height: 88vh; overflow-y: auto;
  position: relative;
}
@media (max-width: 680px) {
  .em-popup { flex-direction: column; max-width: 96vw; }
  .em-popup-image { min-height: 140px; flex: 0 0 140px; }
}
.em-popup-close {
  position: absolute; top: 10px; right: 12px;
  background: none; border: none; cursor: pointer;
  font-size: 1.4rem; line-height: 1; color: #74767B;
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background 0.15s, color 0.15s; z-index: 2;
}
.em-popup-close:hover { background: #f0f0f0; color: #003087; }
.em-popup-body { padding: 28px 28px 28px; }
.em-popup-eyebrow {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: #C97B5E; margin: 0 0 8px;
}
.em-popup-title {
  font-family: "Museo Sans", sans-serif;
  font-size: 1.45rem; font-weight: 700;
  color: #1a2a4a; margin: 0 0 10px; line-height: 1.25;
}
.em-popup-sub { font-size: 0.88rem; color: #555; margin: 0 0 18px; line-height: 1.55; }
.em-popup-label {
  display: block; font-size: 0.82rem; font-weight: 600; color: #1a2a4a;
  margin-bottom: 6px;
}
.em-popup-input {
  width: 100%; box-sizing: border-box; padding: 11px 13px;
  border: 1.5px solid #d0d5dd; border-radius: 8px;
  font-size: 0.93rem; color: #1a1a2e; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s; font-family: inherit;
}
.em-popup-input:focus { border-color: #003087; box-shadow: 0 0 0 3px rgba(0,48,135,0.12); }
.em-popup-error { font-size: 0.8rem; color: #c0392b; margin-top: 6px; font-weight: 600; }
.em-popup-legal { font-size: 0.7rem; color: #aaa; margin-top: 12px; line-height: 1.5; text-align: center; }

/* Bucket list — step 1 */
.em-bucket-label { font-size: 0.82rem; font-weight: 600; color: #1a2a4a; margin: 0 0 10px; }
.em-bucket-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.em-bucket-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 13px; background: #fff;
  border: 1.5px solid #e2e6ee; border-radius: 10px;
  cursor: pointer; text-align: left; width: 100%;
  transition: border-color 0.15s, background 0.15s;
}
.em-bucket-btn:hover { border-color: #b0b8cc; background: #f8f9fc; }
.em-bucket-btn--selected { border-color: #1D3766 !important; background: #f4f6fb !important; }
.em-bucket-icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.em-bucket-title { font-size: 0.88rem; font-weight: 600; color: #1a2a4a; line-height: 1.3; }
.em-bucket-sub { font-size: 0.75rem; color: #777; line-height: 1.3; }
.em-privacy-note {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.75rem; color: #888; padding: 9px 11px;
  background: #f5f6f8; border-radius: 8px; margin-bottom: 14px; line-height: 1.4;
}
.em-continue-btn {
  width: 100%; padding: 12px; background: #1D3766; color: #fff;
  border: none; border-radius: 8px; font-size: 0.95rem; font-weight: 600;
  cursor: not-allowed; opacity: 0.45; transition: opacity 0.2s, background 0.15s;
}
.em-continue-btn:not([disabled]) { opacity: 1; cursor: pointer; }
.em-continue-btn:not([disabled]):hover { background: #003087; }

/* Step 2 */
.em-confirm-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
  background: #FAECE7; font-size: 0.72rem; font-weight: 600; color: #993C1D;
}
.em-step2-actions { display: flex; gap: 8px; }
.em-back-btn {
  flex: 0 0 auto; padding: 11px 14px; background: transparent;
  border: 1.5px solid #d0d5dd; border-radius: 8px; cursor: pointer;
  color: #555; display: flex; align-items: center; transition: border-color 0.15s;
}
.em-back-btn:hover { border-color: #999; }
.em-submit-btn {
  flex: 1; padding: 12px; background: #1D3766; color: #fff;
  border: none; border-radius: 8px; font-size: 0.93rem; font-weight: 600;
  cursor: pointer; transition: background 0.15s;
}
.em-submit-btn:hover { background: #003087; }
.em-skip-btn {
  background: none; border: none; color: #aaa; font-size: 0.75rem;
  cursor: pointer; padding: 4px; transition: color 0.15s;
}
.em-skip-btn:hover { color: #555; }

/* Step 3 success */
.em-success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: #E1F5EE; display: inline-flex; align-items: center;
  justify-content: center; margin-bottom: 14px;
}
.em-next-cta {
  display: block; padding: 14px 16px; background: #f5f6f8;
  border-radius: 10px; margin-bottom: 14px; text-align: left;
  text-decoration: none; transition: background 0.15s;
}
.em-next-cta:hover { background: #eaecf2; }
.em-next-cta-title { font-size: 0.88rem; font-weight: 600; color: #1a2a4a; margin-bottom: 3px; }
.em-next-cta-sub { font-size: 0.78rem; color: #777; }
.em-popup-account-btn {
  display: block; text-align: center; background: #003087; color: #fff;
  padding: 11px 20px; border-radius: 8px; font-size: 0.9rem; font-weight: 700;
  text-decoration: none; transition: background 0.15s; margin-bottom: 10px;
}
.em-popup-account-btn:hover { background: #007DBA; }
.em-popup-skip {
  display: block; width: 100%; background: none; border: none;
  color: #9a9a9a; font-size: 0.8rem; cursor: pointer;
  text-align: center; padding: 4px; transition: color 0.15s;
}
.em-popup-skip:hover { color: #555; }

.em-form-row { display: flex; gap: 10px; margin-bottom: 12px; }
.em-form-row .em-field-wrap { flex: 1; min-width: 0; }
.em-field-wrap { margin-bottom: 12px; }
.em-opt { font-weight: 400; color: #aaa; font-size: 0.75rem; }
.em-geo-hint { display: flex; align-items: center; gap: 2px; margin: 0 0 10px; padding: 6px 10px; background: #f4f7fb; border-left: 2px solid #007DBA; border-radius: 4px; color: #4a5568; font-size: 0.72rem; line-height: 1.4; }
.em-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin: 8px 0 12px; }
.em-check { display: flex; align-items: center; gap: 7px; font-size: 0.81rem; color: #333; cursor: pointer; }
.em-check input[type="checkbox"] { accent-color: #003087; flex-shrink: 0; }
.em-radio-group { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 12px; }
.em-radio { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #333; cursor: pointer; }
.em-radio input[type="radio"] { accent-color: #003087; }

/* ── Simple single-column popup (find_meeting newsletter signup) ── */
.em-popup.em-popup--simple { flex-direction: column; max-width: 440px; min-width: 320px; }
.em-popup--simple .em-popup-form-view,
.em-popup--simple .em-popup-success-view { display: block; }
.em-popup--simple .em-popup-brand-bar { height: 5px; background: linear-gradient(90deg, #003087 0%, #007DBA 100%); }
.em-popup--simple .em-popup-form { margin: 0 0 10px; }
.em-popup--simple .em-popup-submit {
  width: 100%; padding: 12px; margin-top: 10px;
  background: #1D3766; color: #fff; border: none; border-radius: 8px;
  font-size: 0.95rem; font-weight: 700; cursor: pointer;
  transition: background 0.15s;
}
.em-popup--simple .em-popup-submit:hover { background: #003087; }
.em-popup--simple .em-popup-check-label {
  display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 0;
  font-size: 0.78rem; color: #555; line-height: 1.4; cursor: pointer;
}
.em-popup--simple .em-popup-check { accent-color: #003087; margin-top: 2px; flex-shrink: 0; }
.em-popup--simple .em-popup-check-icon {
  width: 56px; height: 56px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #E1F5EE; color: #0F6E56;
  font-size: 1.8rem; font-weight: 700;
}
.em-popup--simple .em-popup-success-view .em-popup-body { text-align: center; }
.em-popup--simple .em-popup-account-box {
  margin-top: 14px; padding: 16px; background: #f5f6f8;
  border-radius: 10px; text-align: center;
}
.em-popup--simple .em-popup-account-heading {
  font-size: 0.88rem; font-weight: 700; color: #1a2a4a;
  margin: 0 0 12px; line-height: 1.4;
}
.em-reveal { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.35s ease, opacity 0.25s ease 0.05s; }
.em-reveal.em-reveal--open { max-height: 700px; opacity: 1; }
.em-popup-textarea {
  width: 100%; box-sizing: border-box; padding: 11px 13px;
  border: 1.5px solid #d0d5dd; border-radius: 8px;
  font-size: 0.9rem; color: #333; font-family: inherit;
  resize: vertical; outline: none; transition: border-color 0.15s;
  margin-bottom: 4px;
}
.em-popup-textarea:focus { border-color: #003087; box-shadow: 0 0 0 3px rgba(0,48,135,0.1); }

@media (max-width: 520px) {
  .em-popup-body { padding: 20px 18px 24px; }
  .em-popup-title { font-size: 1.25rem; }
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ABOUT PAGE v2 (ab2-*)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* ── Full-width override ── */
main.ab2-main {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

/* ── Shared tokens ── */
.ab2-eyebrow {
  font-family: "Museo Sans", sans-serif;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #007DBA; margin: 0 0 10px;
  display: block;
}
.ab2-eyebrow--light { color: #41B6E6; }
.ab2-section-title {
  font-family: "Museo Sans", sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 700; color: #003087; margin: 0 0 16px; line-height: 1.2;
}
.ab2-section-title--white { color: #fff; }
.ab2-body { font-size: 1rem; color: #555; line-height: 1.7; margin: 0 0 14px; }
.ab2-text-link {
  font-family: "Museo Sans", sans-serif;
  font-size: 0.92rem; font-weight: 700; color: #003087;
  text-decoration: none; border-bottom: 2px solid #003087;
  padding-bottom: 1px; display: inline-block;
  transition: color 0.15s, border-color 0.15s;
}
.ab2-text-link:hover { color: #007DBA; border-color: #007DBA; }

/* Buttons */
.ab2-btn {
  display: inline-block; padding: 13px 28px; border-radius: 6px;
  font-family: "Museo Sans", sans-serif; font-size: 0.95rem; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ab2-btn--white  { background: #fff; color: #003087; border: 2px solid #fff; }
.ab2-btn--white:hover { background: #e8eef8; border-color: #e8eef8; }
.ab2-btn--ghost  { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.7); }
.ab2-btn--ghost:hover { background: rgba(255,255,255,0.15); }
.ab2-btn--blue   { background: #003087; color: #fff; border: 2px solid #003087; }
.ab2-btn--blue:hover { background: #007DBA; border-color: #007DBA; }
.ab2-btn--outline-blue { background: transparent; color: #003087; border: 2px solid #003087; }
.ab2-btn--outline-blue:hover { background: #003087; color: #fff; }

/* ── 1. Hero ── */
.ab2-hero {
  position: relative; width: 100%;
  min-height: 520px;
  display: flex; align-items: center;
  overflow: hidden;
}
.ab2-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
}
.ab2-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,30,87,0.82) 0%, rgba(0,48,135,0.6) 55%, rgba(0,48,135,0.2) 100%);
}
.ab2-hero-content {
  position: relative; z-index: 1;
  max-width: 640px; padding: 56px clamp(24px, 5vw, 72px);
}
.ab2-hero-content .ab2-eyebrow { color: #41B6E6; margin-bottom: 12px; }
.ab2-hero-eyebrow { margin: 0 0 12px; }
.ab2-hero-eyebrow-pill {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  font-family: "Museo Sans", sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px;
}
.ab2-hero-title {
  font-family: "Museo Sans", sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 700; color: #fff; margin: 0 0 18px; line-height: 1.2;
}
.ab2-hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.88);
  line-height: 1.6; margin: 0 0 28px; font-weight: 300;
}
.ab2-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── 2. Mission ── */
.ab2-mission {
  background: #f4f7fc;
  padding: 36px clamp(24px, 8vw, 160px);
  text-align: center;
  border-bottom: 1px solid #e0e6f0;
}
.ab2-mission-eyebrow {
  font-family: "Museo Sans", sans-serif;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #007DBA; margin: 0 0 12px;
}
.ab2-mission-text {
  font-family: "Museo Sans", sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: #1a1a2e; line-height: 1.65;
  max-width: 900px; margin: 0 auto; font-weight: 300;
}

/* ── 2b. Promo video ── */
/* Same #f4f7fc background as .ab2-mission so the two read as one visual unit
   before the dark navy stats strip kicks in. Frame uses padding-top trick for
   a strict 16:9 ratio (source is 1280x720), with a subtle inner shadow that
   reads as depth without competing with the video's own contrast. */
.ab2-video {
  background: #f4f7fc;
  padding: 0 clamp(20px, 8vw, 160px) 56px;
  text-align: center;
  border-bottom: 1px solid #e0e6f0;
}
.ab2-video-frame {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 24px 60px -20px rgba(0, 48, 135, 0.35),
    0 2px 6px rgba(0, 48, 135, 0.12);
}
/* Click-to-load YouTube facade (replaces the old self-hosted <video>). The
   facade and the iframe it swaps in both fill the 16:9 .ab2-video-frame. */
.ab2-video-facade {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block; padding: 0; border: 0; margin: 0;
  background: #000; cursor: pointer; overflow: hidden;
}
.ab2-video-poster {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: opacity 0.2s ease;
}
.ab2-video-facade:hover .ab2-video-poster,
.ab2-video-facade:focus-visible .ab2-video-poster { opacity: 0.85; }
.ab2-video-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; transition: transform 0.2s ease;
}
.ab2-video-play svg { width: 72px; height: 51px; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45)); }
.ab2-video-facade:hover .ab2-video-play,
.ab2-video-facade:focus-visible .ab2-video-play { transform: scale(1.08); }
.ab2-video-facade:focus-visible { outline: 3px solid var(--accent, #003087); outline-offset: 3px; }
.ab2-video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block; border: 0;
}
@media (max-width: 640px) {
  .ab2-video { padding: 0 16px 36px; }
  .ab2-video-frame { border-radius: 10px; }
  .ab2-video-play svg { width: 60px; height: 42px; }
}

/* ── 3. Stats ── */
.ab2-stats { background: #003087; padding: 0; }
.ab2-stats-inner {
  display: flex; align-items: stretch;
  max-width: 100%;
}
.ab2-stat {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 36px 24px; text-align: center;
}
.ab2-stat-divider { width: 1px; background: rgba(255,255,255,0.15); flex-shrink: 0; }
.ab2-stat-num {
  font-family: "Museo Sans", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700; color: #fff; line-height: 1; margin-bottom: 8px;
}
.ab2-stat-label {
  font-size: 0.88rem; color: rgba(255,255,255,0.75);
  font-weight: 300; line-height: 1.4; max-width: 180px;
}

/* ── 4. Story (What is GAMF) ── */
.ab2-story {
  display: grid; grid-template-columns: 52% 48%;
  align-items: start; background: #fff;
}
.ab2-story-img { overflow: hidden; height: 520px; }
.ab2-story-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab2-story-content {
  padding: 52px 56px;
  display: flex; flex-direction: column; justify-content: center;
}

/* ── 5. Programs ── */
.ab2-programs { background: #003087; padding: 56px 24px; }
.ab2-programs-inner { max-width: 1280px; margin: 0 auto; }
.ab2-programs-header { margin-bottom: 40px; }
.ab2-programs-sub {
  font-size: 1rem; color: rgba(255,255,255,0.8);
  line-height: 1.65; max-width: 680px; font-weight: 300; margin: 0;
}
.ab2-programs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-bottom: 40px;
}
.ab2-program-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; padding: 28px 24px;
  transition: background 0.15s;
}
.ab2-program-card:hover { background: rgba(255,255,255,0.12); }
.ab2-program-card--roadmap { opacity: 0.82; }
.ab2-program-card-top {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 10px;
  margin-bottom: 14px;
}
.ab2-program-icon { flex-shrink: 0; }
.ab2-program-badge {
  display: inline-block;
  font-family: "Museo Sans", sans-serif;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 20px;
  background: #41B6E6; color: #003087;
  white-space: nowrap; flex-shrink: 0;
}
.ab2-program-badge--roadmap {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
}
.ab2-program-title {
  font-family: "Museo Sans", sans-serif;
  font-size: 1rem; font-weight: 700; color: #fff;
  margin: 0 0 10px;
}
.ab2-program-text {
  font-size: 0.88rem; color: rgba(255,255,255,0.75);
  line-height: 1.6; margin: 0;
}
.ab2-programs-cta { text-align: center; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── 6. Quote ── */
.ab2-quote {
  background: #f4f7fc; border-left: 6px solid #007DBA;
  padding: 40px clamp(24px, 6vw, 100px);
  text-align: center;
}
.ab2-quote-mark {
  font-size: 4rem; line-height: 0.5;
  color: #007DBA; font-family: Georgia, serif;
  margin: 0 0 12px; display: block;
}
.ab2-quote-text {
  font-family: "Museo Sans", sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 300; color: #1a1a2e; font-style: italic;
  line-height: 1.55; margin: 0 auto 16px; max-width: 760px;
}
.ab2-quote-attr {
  font-size: 0.85rem; color: #74767B; font-weight: 600;
  letter-spacing: 0.04em; margin: 0;
}

/* ── 7. Why support ── */
.ab2-why { background: #fff; padding: 56px 24px; }
.ab2-why-inner { max-width: 1280px; margin: 0 auto; }
.ab2-why-inner > .ab2-section-title { margin-bottom: 32px; }
.ab2-why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-bottom: 36px;
}
.ab2-why-card {
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,48,135,0.08);
  display: flex; flex-direction: column;
}
.ab2-why-img { aspect-ratio: 16/9; overflow: hidden; }
.ab2-why-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab2-why-body { padding: 22px 20px 24px; flex: 1; }
.ab2-why-title {
  font-family: "Museo Sans", sans-serif;
  font-size: 1rem; font-weight: 700; color: #003087;
  margin: 0 0 8px;
}
.ab2-why-text { font-size: 0.9rem; color: #555; line-height: 1.65; margin: 0; }
.ab2-why-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── 8. FAQ ── */
.ab2-faq { background: #f4f7fc; padding: 56px 24px; }
.ab2-faq-inner { max-width: 860px; margin: 0 auto; }
.ab2-faq-inner > .ab2-section-title { margin-bottom: 28px; }
.ab2-faq-list { border-top: 1px solid #d8e0ef; }
.ab2-faq-item { border-bottom: 1px solid #d8e0ef; }
.ab2-faq-item summary { list-style: none; }
.ab2-faq-item summary::-webkit-details-marker { display: none; }
.ab2-faq-q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 0; cursor: pointer;
  font-family: "Museo Sans", sans-serif;
  font-size: 1rem; font-weight: 700; color: #1a1a2e;
  transition: color 0.15s;
}
.ab2-faq-q:hover { color: #003087; }
.ab2-faq-arrow {
  width: 20px; height: 20px; flex-shrink: 0; color: #003087;
  transition: transform 0.25s ease;
}
.ab2-faq-a { padding: 0 0 18px; }
.ab2-faq-a p { margin: 0; font-size: 0.95rem; color: #555; line-height: 1.7; }

/* ── 9. Explore cards ── */
.ab2-explore { background: #fff; padding: 56px 24px; }
.ab2-explore-inner { max-width: 1280px; margin: 0 auto; }
.ab2-explore-inner > .ab2-section-title { margin-bottom: 28px; }
.ab2-explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ab2-explore-card {
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,48,135,0.08);
  text-decoration: none; display: flex; flex-direction: column;
  transition: box-shadow 0.15s, transform 0.15s;
}
.ab2-explore-card:hover { box-shadow: 0 6px 28px rgba(0,48,135,0.14); transform: translateY(-2px); }
.ab2-explore-img { aspect-ratio: 16/9; overflow: hidden; }
.ab2-explore-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.ab2-explore-card:hover .ab2-explore-img img { transform: scale(1.03); }
.ab2-explore-body { padding: 20px 20px 24px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.ab2-explore-text { font-size: 0.9rem; color: #555; line-height: 1.6; margin: 0; flex: 1; }
.ab2-explore-body .ab2-text-link { align-self: flex-start; }

/* ── 10. Links ── */
.ab2-links { background: #003087; padding: 40px 24px; }
.ab2-links-inner { max-width: 1280px; margin: 0 auto; }
.ab2-links-title {
  font-family: "Museo Sans", sans-serif;
  font-size: 1rem; font-weight: 700; color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin: 0 0 20px; font-size: 0.75rem;
}
.ab2-links-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px 32px;
}
.ab2-links-list a {
  font-family: "Museo Sans", sans-serif;
  font-size: 0.9rem; color: rgba(255,255,255,0.85); font-weight: 500;
  text-decoration: none; transition: color 0.15s;
}
.ab2-links-list a:hover { color: #fff; text-decoration: underline; }

/* ── Team ── */
.ab2-team { background: #f4f7fc; padding: 72px 24px; }
.ab2-team-inner { max-width: 1280px; margin: 0 auto; }
.ab2-team-inner > .ab2-section-title { margin-bottom: 40px; }
.ab2-team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ab2-team-card {
  background: #fff; border-radius: 12px;
  padding: 36px 28px; text-align: center;
  box-shadow: 0 2px 16px rgba(0,48,135,0.07);
  display: flex; flex-direction: column; align-items: center; gap: 0;
}
.ab2-team-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  overflow: hidden; margin: 0 auto 20px;
  background: #e8eef8;
  flex-shrink: 0;
}
.ab2-team-avatar svg { display: block; }
.ab2-team-body { text-align: center; }
.ab2-team-name {
  font-family: "Museo Sans", sans-serif;
  font-size: 1.1rem; font-weight: 700; color: #003087; margin: 0 0 4px;
}
.ab2-team-role {
  font-family: "Museo Sans", sans-serif;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #007DBA; margin: 0 0 14px;
}
.ab2-team-bio {
  font-size: 0.9rem; color: #555; line-height: 1.65; margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .ab2-programs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .ab2-story { grid-template-columns: 1fr; }
  .ab2-story-img { height: 300px; }
  .ab2-story-content { padding: 36px 28px; }
  .ab2-why-grid, .ab2-explore-grid { grid-template-columns: 1fr 1fr; }
  .ab2-links-list { grid-template-columns: repeat(2, 1fr); }
  .ab2-stats-inner { flex-direction: column; }
  .ab2-stat-divider { width: 100%; height: 1px; }
  .ab2-team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .ab2-hero-btns { flex-direction: column; align-items: flex-start; }
  .ab2-programs-grid { grid-template-columns: 1fr; }
  .ab2-why-grid, .ab2-explore-grid { grid-template-columns: 1fr; }
  .ab2-links-list { grid-template-columns: 1fr 1fr; }
  .ab2-hero-content { padding: 40px 20px; }
  .ab2-story-content { padding: 28px 20px; }
  .ab2-team-grid { grid-template-columns: 1fr; }
}

/* /about#founding-story — desktop shows photo in left column (sticky);
   mobile stacks the photo inline after the first paragraph. Both photo
   nodes are present in the DOM; CSS picks which one renders. */
.founding-photo--mobile { display: none; }
@media (max-width: 860px) {
  .founding-grid { grid-template-columns: 1fr !important; gap: 0 !important; }
  .founding-photo--desktop { display: none; }
  .founding-photo--mobile { display: block; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SITE FOOTER (sf-*)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.site-footer {
  background: #001d54;
  color: rgba(255,255,255,0.85);
  font-family: "Museo Sans", sans-serif;
  width: 100%;
}

/* ── Intake CTA strip (paired Need-Help / Help-Others buttons) ── */
.sf-intake-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 28px 24px 24px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sf-intake-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: "Museo Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}
.sf-intake-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  filter: brightness(1.05);
  text-decoration: none;
}
.sf-intake-btn--help { background: #C14991; color: #fff; }
.sf-intake-btn--give { background: #007DBA; color: #fff; }
@media (max-width: 540px) {
  .sf-intake-cta { gap: 10px; padding: 22px 18px 18px; flex-direction: column; }
  .sf-intake-btn { width: 100%; min-width: 0; }
}

/* ── Shared inner wrapper ── */
.sf-main,
.sf-browse,
.sf-bottom { padding-left: clamp(20px, 5vw, 72px); padding-right: clamp(20px, 5vw, 72px); }

/* ── Main grid ── */
.sf-main { padding-top: 60px; padding-bottom: 52px; }
.sf-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 0 48px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

/* ── Brand column ── */
.sf-col--brand { padding-right: 32px; }

.sf-wordmark {
  display: flex; flex-direction: column;
  text-decoration: none; line-height: 1.15;
  margin-bottom: 20px;
}
.sf-wordmark-top {
  font-family: "Museo Sans", sans-serif;
  font-size: 1.05rem; font-weight: 700;
  color: #fff; letter-spacing: 0.01em;
}
.sf-wordmark-bottom {
  font-family: "Museo Sans", sans-serif;
  font-size: 1.05rem; font-weight: 300;
  color: rgba(255,255,255,0.75); letter-spacing: 0.01em;
}

.sf-vision {
  font-size: 0.88rem; color: rgba(255,255,255,0.6);
  line-height: 1.65; margin: 0 0 20px;
}
.sf-contact {
  margin: 0 0 22px;
  display: flex; flex-direction: column; gap: 2px;
}
.sf-contact-link {
  font-size: 1rem; font-weight: 700;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}
.sf-contact-link:hover { color: #fff; }
.sf-contact-hours {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}
.sf-cta-btn {
  display: inline-block;
  background: #C14991; color: #fff;
  font-family: "Museo Sans", sans-serif;
  font-size: 0.85rem; font-weight: 700;
  padding: 10px 22px; border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
.sf-cta-btn:hover { background: #a83d7d; }

/* ── Link columns ── */
.sf-col { padding-top: 2px; }
.sf-col-title {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin: 0 0 14px;
}
.sf-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 11px;
}
.sf-links a {
  font-size: 0.88rem; color: rgba(255,255,255,0.75);
  text-decoration: none; transition: color 0.15s;
}
.sf-links a:hover { color: #fff; }

/* ── Browse band ── */
.sf-newsletter {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px clamp(20px, 5vw, 72px);
}
.sf-newsletter-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px; max-width: 760px; margin: 0 auto;
}
.sf-newsletter-label {
  color: rgba(255,255,255,0.7); font-size: 0.85rem; margin: 0; flex: 1 1 220px;
}
.sf-newsletter-form {
  display: flex; gap: 8px; flex: 1 1 300px;
}
.sf-newsletter-input {
  flex: 1; padding: 8px 12px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1); color: #fff; font-size: 0.88rem; outline: none;
}
.sf-newsletter-input::placeholder { color: rgba(255,255,255,0.45); }
.sf-newsletter-input:focus { border-color: rgba(255,255,255,0.55); }
.sf-newsletter-btn {
  padding: 8px 18px; border-radius: 6px; border: none; background: #fff; color: #003087;
  font-size: 0.88rem; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.sf-newsletter-btn:hover { background: #e8eef8; }
.sf-newsletter-success, .sf-newsletter-error {
  font-size: 0.85rem; margin: 0; color: rgba(255,255,255,0.8); width: 100%;
}
.sf-browse {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px; padding-bottom: 22px;
}
.sf-browse-inner {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  max-width: 1280px; margin: 0 auto; text-align: center;
}
.sf-browse-label {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin: 0;
}
.sf-browse-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px;
}
.sf-browse-links a {
  font-size: 0.8rem; color: rgba(255,255,255,0.55);
  text-decoration: none; transition: color 0.15s;
}
.sf-browse-links a:hover { color: rgba(255,255,255,0.9); }

/* ── Bottom bar ── */
.sf-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px; padding-bottom: 28px;
}
.sf-bottom-inner {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  max-width: 1280px; margin: 0 auto; text-align: center;
}
.sf-legal { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin: 0; }
.sf-legal a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.15s; }
.sf-legal a:hover { color: #fff; }
.sf-disclaimer { font-size: 0.76rem; color: rgba(255,255,255,0.35); margin: 4px 0 0; line-height: 1.5; }
.sf-copyright { font-size: 0.76rem; color: rgba(255,255,255,0.3); margin: 0; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .sf-grid { grid-template-columns: 1.8fr 1fr 1fr; gap: 0 36px; }
  .sf-col--brand { grid-column: 1 / -1; padding-right: 0; margin-bottom: 36px; }
  .sf-vision { max-width: 520px; }
}
@media (max-width: 640px) {
  .sf-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .sf-col--brand { grid-column: 1 / -1; margin-bottom: 8px; }
  .sf-main { padding-top: 44px; padding-bottom: 40px; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MEDIA PAGE (med-*)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* ── Shared section wrapper ── */
.med-section { background: #f4f7fc; }

/* ── Press release ── */
.med-pr-section { background: #fff; padding: 72px 24px; }
.med-pr-inner { max-width: 840px; margin: 0 auto; }
.med-pr {
  margin-top: 36px;
  border: 1px solid #e0e6f0; border-radius: 12px;
  overflow: hidden;
}
.med-pr-header {
  background: #003087; padding: 36px 40px;
}
.med-pr-date { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #41B6E6; margin: 0 0 10px; }
.med-pr-title {
  font-family: "Museo Sans", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 700;
  color: #fff; margin: 0 0 12px; line-height: 1.3;
}
.med-pr-dateline { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin: 0; }
.med-pr-body { padding: 36px 40px; }
.med-pr-body p {
  font-size: 0.97rem; color: #333; line-height: 1.75; margin: 0 0 18px;
}
.med-pr-quote {
  border-left: 4px solid #007DBA;
  margin: 24px 0; padding: 14px 20px;
  background: #f4f7fc; border-radius: 0 8px 8px 0;
  font-size: 1rem; color: #003087; font-style: italic; line-height: 1.65;
}
.med-pr-quote cite { display: block; font-size: 0.85rem; font-style: normal; color: #74767B; margin-top: 8px; }
.med-pr-footer {
  background: #f4f7fc; padding: 20px 40px;
  border-top: 1px solid #e0e6f0;
  font-size: 0.88rem; color: #555;
}
.med-pr-footer p { margin: 0 0 4px; }
.med-pr-footer a { color: #003087; }

/* ── Brand section ── */
.med-brand-section { background: #f4f7fc; padding: 72px 24px; }
.med-brand-inner { max-width: 1100px; margin: 0 auto; }
.med-brand-sub {
  font-family: "Museo Sans", sans-serif;
  font-size: 1.05rem; font-weight: 700; color: #003087;
  margin: 48px 0 20px; padding-bottom: 10px;
  border-bottom: 2px solid #e0e6f0;
}

/* Logo cards */
.med-logo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 28px; max-width: 720px; }
.med-logo-card { border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,48,135,0.08); }
.med-logo-card--light .med-logo-preview { background: #fff; padding: 40px; display: flex; align-items: center; justify-content: center; min-height: 140px; }
.med-logo-card--dark .med-logo-preview { background: #001d54; padding: 40px; display: flex; align-items: center; justify-content: center; min-height: 140px; }
.med-logo-preview img { max-height: 60px; width: auto; display: block; }
.med-logo-label { font-size: 0.82rem; font-weight: 700; color: #555; margin: 0; padding: 12px 16px 4px; background: #fff; }
.med-logo-dl {
  display: block; padding: 10px 16px;
  background: #fff; border-top: 1px solid #f0f0f0;
  font-size: 0.82rem; font-weight: 700; color: #003087;
  text-decoration: none; transition: background 0.15s;
}
.med-logo-dl:hover { background: #f4f7fc; }

/* Color palette */
.med-colors { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 4px; }
.med-color { text-align: center; }
.med-color-swatch { width: 72px; height: 72px; border-radius: 10px; margin-bottom: 8px; }
.med-color-name { font-size: 0.78rem; font-weight: 700; color: #333; margin: 0; }
.med-color-hex { font-size: 0.72rem; color: #74767B; margin: 2px 0 0; font-family: monospace; }

/* Typography table */
.med-type-table { border: 1px solid #e0e6f0; border-radius: 8px; overflow: hidden; max-width: 600px; }
.med-type-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr; padding: 12px 16px; font-size: 0.88rem; color: #333; border-bottom: 1px solid #e0e6f0; }
.med-type-row:last-child { border-bottom: none; }
.med-type-row--head { background: #003087; color: #fff; font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* Voice list */
.med-voice-list { padding: 0 0 0 20px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.med-voice-list li { font-size: 0.92rem; color: #444; line-height: 1.6; }

/* ── In the News / Community ── */
.med-news-section { background: #fff; padding: 72px 24px; }
.med-news-inner { max-width: 840px; margin: 0 auto; }
.med-news-sub { font-size: 1.25rem; font-weight: 700; color: #003087; margin: 48px 0 4px; }

/* CNN feature */
.med-cnn-feature {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px;
  align-items: center; margin-top: 28px;
  background: #fff; border: 1px solid #e0e6f0; border-radius: 14px;
  overflow: hidden; box-shadow: 0 2px 16px rgba(0,48,135,0.07);
}
.med-cnn-figure { display: block; background: #f4f7fc; }
.med-cnn-figure img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  border-right: 1px solid #e0e6f0;
}
.med-cnn-body { padding: 28px 32px 28px 4px; }
.med-cnn-source { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #cc0000; }
.med-cnn-title { font-size: 1.3rem; font-weight: 700; color: #1a1a1a; line-height: 1.3; margin: 8px 0 12px; }
.med-cnn-desc { font-size: 0.95rem; color: #444; line-height: 1.65; margin: 0 0 20px; }
.med-cnn-desc strong { color: #003087; }
.med-cnn-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.med-reddit-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; margin-top: 28px;
}
.med-reddit-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e0e6f0; border-radius: 12px;
  padding: 24px; text-decoration: none;
  box-shadow: 0 2px 12px rgba(0,48,135,0.06);
  transition: box-shadow 0.15s, border-color 0.15s, transform 0.15s;
}
.med-reddit-card:hover {
  box-shadow: 0 6px 20px rgba(0,48,135,0.12);
  border-color: #FF4500; transform: translateY(-2px);
}
.med-reddit-card-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 12px;
}
.med-reddit-sub { font-size: 0.8rem; font-weight: 700; color: #FF4500; }
.med-reddit-badge {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 4px 9px; border-radius: 999px;
}
.med-reddit-badge--approved { background: #e6f4ea; color: #1a7f37; }
.med-reddit-badge--wiki { background: #eef2fb; color: #003087; }
.med-reddit-title { font-size: 1.05rem; font-weight: 700; color: #1a1a1a; margin: 0 0 8px; line-height: 1.35; }
.med-reddit-desc { font-size: 0.9rem; color: #555; line-height: 1.6; margin: 0 0 16px; }
.med-reddit-desc strong { color: #003087; }
.med-reddit-link { margin-top: auto; font-size: 0.85rem; font-weight: 700; color: #003087; }
.med-reddit-card:hover .med-reddit-link { color: #FF4500; }

/* ── Responsive ── */
@media (max-width: 700px) {
  .med-logo-grid { grid-template-columns: 1fr; }
  .med-reddit-grid { grid-template-columns: 1fr; }
  .med-cnn-feature { grid-template-columns: 1fr; }
  .med-cnn-figure img { border-right: none; border-bottom: 1px solid #e0e6f0; }
  .med-cnn-body { padding: 24px; }
  .med-pr-header, .med-pr-body, .med-pr-footer { padding-left: 24px; padding-right: 24px; }
  .med-type-row { grid-template-columns: 1fr 1fr; }
  .med-type-row span:last-child { display: none; }
  .med-type-row--head span:last-child { display: none; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PARTNERSHIPS PAGE (sp-*)
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* ── Why Now ── */
.sp-why { background: #fff; padding: 72px 24px; }
.sp-why-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 380px;
  gap: 64px; align-items: start;
}
.sp-why-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  position: sticky; top: 40px;
}
.sp-stat {
  background: #f4f7fc; border-radius: 12px;
  padding: 28px 20px; text-align: center;
}
.sp-stat-num {
  display: block;
  font-family: "Museo Sans", sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700; color: #003087; line-height: 1;
  margin-bottom: 8px;
}
.sp-stat-label { font-size: 0.82rem; color: #74767B; line-height: 1.4; }

/* ── Mission Campaign ── */
.sp-campaign {
  background: #003087; padding: 80px 24px;
  text-align: center;
}
.sp-campaign-inner { max-width: 1100px; margin: 0 auto; }
.sp-campaign-sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.8);
  line-height: 1.7; max-width: 720px; margin: 0 auto 52px;
  font-weight: 300;
}
.sp-campaign-why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-bottom: 52px; text-align: left;
}
.sp-campaign-why-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 28px 24px;
}
.sp-campaign-icon { margin-bottom: 16px; }
.sp-campaign-why-title {
  font-family: "Museo Sans", sans-serif;
  font-size: 1rem; font-weight: 700; color: #fff;
  margin: 0 0 10px;
}
.sp-campaign-why-text { font-size: 0.88rem; color: rgba(255,255,255,0.72); line-height: 1.6; margin: 0; }

/* Progress bar */
.sp-campaign-progress {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px; padding: 32px 36px;
  max-width: 680px; margin: 0 auto;
}
.sp-progress-labels {
  display: flex; justify-content: space-between;
  font-family: "Museo Sans", sans-serif;
  font-size: 0.85rem; font-weight: 700;
  color: rgba(255,255,255,0.7); margin-bottom: 14px;
}
.sp-progress-goal { color: #41B6E6; }
.sp-progress-bar-wrap {
  background: rgba(255,255,255,0.15);
  border-radius: 100px; height: 10px; overflow: hidden;
  margin-bottom: 16px;
}
.sp-progress-bar {
  background: linear-gradient(90deg, #41B6E6, #007DBA);
  height: 100%; border-radius: 100px;
  transition: width 1s ease;
}
.sp-progress-note { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin: 0; font-style: italic; }

/* ── Roadmap ── */
.sp-roadmap { background: #f4f7fc; padding: 72px 24px; }
.sp-roadmap-inner { max-width: 1100px; margin: 0 auto; }
.sp-roadmap-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sp-roadmap-item {
  background: #fff; border-radius: 12px;
  padding: 28px 24px;
  border: 1px solid #e0e6f0;
  display: flex; gap: 20px; align-items: flex-start;
}
.sp-roadmap-item--live { border-color: #007DBA; }
.sp-roadmap-item--flagship { border-color: #C14991; background: #fff8fc; }
.sp-roadmap-num {
  font-family: "Museo Sans", sans-serif;
  font-size: 1.6rem; font-weight: 700; color: #e0e6f0;
  line-height: 1; flex-shrink: 0; min-width: 32px;
}
.sp-roadmap-item--live .sp-roadmap-num { color: #007DBA; }
.sp-roadmap-item--flagship .sp-roadmap-num { color: #C14991; }
.sp-roadmap-status {
  display: inline-block;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 20px;
  background: #e8eef8; color: #74767B;
  margin-bottom: 8px;
}
.sp-roadmap-status--live { background: #d6f0fb; color: #007DBA; }
.sp-roadmap-status--flagship { background: #f9e4f2; color: #C14991; }
.sp-roadmap-title {
  font-family: "Museo Sans", sans-serif;
  font-size: 0.97rem; font-weight: 700; color: #003087;
  margin: 0 0 8px;
}
.sp-roadmap-text { font-size: 0.86rem; color: #555; line-height: 1.6; margin: 0; }

/* ── Who we work with ── */
.sp-partners { background: #fff; padding: 72px 24px; }
.sp-partners-inner { max-width: 1280px; margin: 0 auto; }
.sp-partners-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sp-partner-card {
  background: #f4f7fc; border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid #e0e6f0;
  transition: box-shadow 0.15s;
}
.sp-partner-card:hover { box-shadow: 0 4px 20px rgba(0,48,135,0.1); }
.sp-partner-icon { margin-bottom: 18px; }
.sp-partner-title {
  font-family: "Museo Sans", sans-serif;
  font-size: 1.05rem; font-weight: 700; color: #003087;
  margin: 0 0 12px;
}
.sp-partner-text { font-size: 0.9rem; color: #555; line-height: 1.7; margin: 0; }

/* ── Tiers ── */
.sp-tiers { background: #001d54; padding: 80px 24px; }
.sp-tiers-inner { max-width: 1280px; margin: 0 auto; }
.sp-tiers-sub {
  font-size: 1rem; color: rgba(255,255,255,0.72);
  line-height: 1.7; max-width: 680px; margin: 0 auto 52px;
  text-align: center; font-weight: 300;
}
.sp-tiers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; align-items: start;
}
.sp-tier {
  border-radius: 14px; padding: 32px 24px;
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid rgba(255,255,255,0.12);
}
.sp-tier--title {
  background: linear-gradient(160deg, #C14991, #8b3069);
  border-color: #C14991;
  transform: translateY(-12px);
}
.sp-tier--gold { background: rgba(255,255,255,0.07); }
.sp-tier--silver { background: rgba(255,255,255,0.05); }
.sp-tier--bronze { background: rgba(255,255,255,0.04); }
.sp-tier-badge {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}
.sp-tier--title .sp-tier-badge { color: rgba(255,255,255,0.85); }
.sp-tier-price {
  font-family: "Museo Sans", sans-serif;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 700; color: #fff; margin-bottom: 4px; line-height: 1;
}
.sp-tier-price span { font-size: 0.85rem; font-weight: 300; color: rgba(255,255,255,0.6); }
.sp-tier-tagline { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin: 0 0 24px; }
.sp-tier-perks {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 10px; flex: 1;
}
.sp-tier-perks li {
  font-size: 0.85rem; color: rgba(255,255,255,0.8);
  padding-left: 18px; position: relative; line-height: 1.4;
}
.sp-tier-perks li::before {
  content: "\2713"; position: absolute; left: 0;
  color: #41B6E6; font-weight: 700; font-size: 0.8rem;
}
.sp-tier--title .sp-tier-perks li::before { color: #fff; }
.sp-tier-cta {
  display: block; text-align: center;
  padding: 12px 20px; border-radius: 8px;
  font-family: "Museo Sans", sans-serif;
  font-size: 0.85rem; font-weight: 700;
  text-decoration: none; transition: background 0.15s;
  background: rgba(255,255,255,0.15); color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}
.sp-tier-cta:hover { background: rgba(255,255,255,0.25); }
.sp-tier--title .sp-tier-cta { background: #fff; color: #C14991; }
.sp-tier--title .sp-tier-cta:hover { background: #f0e8f4; }
.sp-tiers-note {
  text-align: center; margin-top: 40px;
  font-size: 0.88rem; color: rgba(255,255,255,0.5);
}
.sp-tiers-note a { color: rgba(255,255,255,0.75); }
.sp-tax-disclaimer {
  text-align: center; margin: 18px auto 0; max-width: 720px;
  font-size: 0.75rem; line-height: 1.55; color: rgba(255,255,255,0.45);
}

/* ── Founder quote ── */
.sp-founder-quote {
  background: #f4f7fc;
  border-left: 6px solid #007DBA;
  padding: 52px clamp(24px, 8vw, 140px);
  text-align: center;
}
.sp-founder-quote-inner { max-width: 800px; margin: 0 auto; }
.sp-fq-mark { font-size: 4rem; line-height: 0.5; color: #007DBA; font-family: Georgia, serif; margin: 0 0 12px; display: block; }
.sp-fq-text { font-family: "Museo Sans", sans-serif; font-size: clamp(1rem, 1.8vw, 1.25rem); font-weight: 300; color: #003087; line-height: 1.7; margin: 0 0 20px; font-style: italic; }
.sp-fq-attr { font-size: 0.85rem; font-weight: 700; color: #74767B; margin: 0; }

/* ── Contact CTA ── */
.sp-contact { background: #fff; padding: 72px 24px; text-align: center; }
.sp-contact-inner { max-width: 700px; margin: 0 auto; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .sp-tiers-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-tier--title { transform: none; }
  .sp-roadmap-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-partners-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .sp-why-inner { grid-template-columns: 1fr; }
  .sp-why-stats { position: static; }
  .sp-campaign-why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sp-tiers-grid { grid-template-columns: 1fr; }
  .sp-roadmap-grid { grid-template-columns: 1fr; }
  .sp-why-stats { grid-template-columns: 1fr 1fr; }
  .sp-partners-grid { grid-template-columns: 1fr; }
}


/* ── Partner Inquiry Modal — 3-step wizard (pi-) ── */
@keyframes piFadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes piSlideUp  { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes piStepFwd  { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
@keyframes piStepBack { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }

.pi-overlay {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(0, 14, 48, 0.78);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: piFadeIn 0.22s ease;
}
.pi-overlay[hidden] { display: none !important; }

.pi-modal {
  background: #fff; border-radius: 20px;
  width: 100%; max-width: 500px;
  position: relative;
  animation: piSlideUp 0.3s cubic-bezier(0.22,1,0.36,1);
  box-shadow: 0 40px 100px rgba(0,14,48,0.45);
  overflow: hidden;
}

/* ── Dark header band with step progress ── */
.pi-head {
  background: #003087;
  padding: 22px 24px 20px;
}
.pi-head-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.pi-head-title {
  font-family: "Museo Sans", sans-serif;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55); text-transform: uppercase; margin: 0;
}
.pi-close {
  background: rgba(255,255,255,0.12); border: none; cursor: pointer;
  width: 30px; height: 30px; border-radius: 50%;
  font-size: 1.15rem; color: rgba(255,255,255,0.7); line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s; flex-shrink: 0;
}
.pi-close:hover { background: rgba(255,255,255,0.22); color: #fff; }

/* Step indicator */
.pi-progress {
  display: flex; align-items: center; gap: 0;
}
.pi-prog-step {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.pi-prog-circle {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: "Museo Sans", sans-serif;
  font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.35);
  transition: all 0.3s; background: transparent;
}
.pi-prog-label {
  font-family: "Museo Sans", sans-serif;
  font-size: 0.67rem; font-weight: 600;
  color: rgba(255,255,255,0.35); white-space: nowrap;
  transition: color 0.3s;
}
.pi-prog-step--active .pi-prog-circle {
  background: #fff; border-color: #fff; color: #003087;
}
.pi-prog-step--active .pi-prog-label { color: #fff; }
.pi-prog-step--done .pi-prog-circle {
  background: #41B6E6; border-color: #41B6E6; color: #fff;
}
.pi-prog-step--done .pi-prog-label { color: rgba(255,255,255,0.6); }

.pi-prog-line {
  flex: 1; height: 2px; min-width: 36px;
  background: rgba(255,255,255,0.15);
  margin: 0 8px 22px; /* push down to align with circles */
  transition: background 0.35s;
}
.pi-prog-line--done { background: #41B6E6; }

/* ── Body ── */
.pi-body { padding: 28px 32px 30px; }

.pi-step-panel { animation: piStepFwd 0.28s cubic-bezier(0.22,1,0.36,1); }
.pi-step-panel--back { animation: piStepBack 0.28s cubic-bezier(0.22,1,0.36,1); }
.pi-step-panel[hidden] { display: none; }

.pi-step-h { margin-bottom: 20px; }
.pi-step-h h2 {
  font-family: "Museo Sans", sans-serif;
  font-size: 1.15rem; font-weight: 800; color: #003087;
  line-height: 1.35; margin: 0 0 6px;
}
.pi-step-h p { font-size: 0.85rem; color: #64748b; line-height: 1.55; margin: 0; }

.pi-form { display: flex; flex-direction: column; gap: 13px; }

.pi-field { display: flex; flex-direction: column; gap: 5px; }

.pi-label {
  font-family: "Museo Sans", sans-serif;
  font-size: 0.81rem; font-weight: 700; color: #1a1f2e;
}
.pi-req { color: #C14991; }
.pi-opt { font-weight: 400; color: #9496a0; font-size: 0.74rem; margin-left: 4px; }

.pi-input, .pi-textarea {
  border: 1.5px solid #d4d8e2; border-radius: 8px;
  padding: 10px 13px;
  font-size: 0.92rem; font-family: "Museo Sans", sans-serif;
  color: #1a1f2e; background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none; width: 100%; box-sizing: border-box;
}
.pi-input:focus, .pi-textarea:focus {
  border-color: #007DBA; box-shadow: 0 0 0 3px rgba(0,125,186,0.12);
}
.pi-textarea { resize: none; height: 86px; }

.pi-fieldset { border: none; padding: 0; margin: 0; }
.pi-fieldset legend { display: block; margin-bottom: 7px; }

.pi-radios { display: flex; flex-direction: column; gap: 6px; }

.pi-radio-label {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border: 1.5px solid #e4e7f0; border-radius: 8px;
  cursor: pointer; font-size: 0.87rem; color: #1a1f2e;
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
}
.pi-radio-label:hover { border-color: #007DBA; background: #f4f9ff; }
.pi-radio-label input[type="radio"] {
  accent-color: #003087; width: 15px; height: 15px; flex-shrink: 0; cursor: pointer;
}
.pi-radio-label:has(input:checked) {
  border-color: #003087; background: #eef2fb; color: #003087; font-weight: 700;
}

.pi-error {
  background: #fff0f3; border: 1px solid #fca5a5;
  border-radius: 8px; padding: 8px 12px;
  font-size: 0.82rem; color: #b91c1c;
}

/* ── Nav ── */
.pi-nav {
  display: flex; align-items: center; gap: 10px; margin-top: 20px;
}
.pi-btn-back {
  background: none; border: 1.5px solid #d4d8e2; color: #64748b;
  border-radius: 8px; padding: 10px 18px;
  font-family: "Museo Sans", sans-serif; font-size: 0.87rem; font-weight: 600;
  cursor: pointer; transition: border-color 0.15s, color 0.15s; white-space: nowrap;
}
.pi-btn-back:hover { border-color: #003087; color: #003087; }
.pi-btn-next {
  flex: 1; background: #003087; color: #fff; border: none; border-radius: 8px;
  font-family: "Museo Sans", sans-serif; font-size: 0.92rem; font-weight: 700;
  padding: 12px 24px; cursor: pointer; transition: background 0.15s;
}
.pi-btn-next:hover:not(:disabled) { background: #007DBA; }
.pi-btn-next:disabled { opacity: 0.55; cursor: not-allowed; }

.pi-fine-print {
  font-size: 0.73rem; color: #9496a0; text-align: center;
  margin: 10px 0 0; font-style: italic;
}

/* ── Success ── */
.pi-success { padding: 52px 32px; text-align: center; }
.pi-success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: #003087; color: #fff; font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.pi-success-title {
  font-family: "Museo Sans", sans-serif;
  font-size: 1.8rem; font-weight: 800; color: #003087; margin: 0 0 12px;
}
.pi-success-body { font-size: 0.95rem; color: #44464b; line-height: 1.7; max-width: 360px; margin: 0 auto 12px; }
.pi-success-sig { font-size: 0.88rem; color: #9496a0; font-style: italic; margin: 0; }

@media (max-width: 560px) {
  .pi-body { padding: 22px 20px 24px; }
  .pi-prog-label { display: none; }
  .pi-prog-line { min-width: 20px; }
  .pi-success { padding: 40px 20px; }
}

/* ── Onboarding full-width popup ─────────────────────────────────────── */
.onb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.62);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.onb-overlay--in { opacity: 1; }

.onb-card {
  display: grid;
  grid-template-columns: 38fr 62fr;
  width: min(1040px, 92vw);
  height: min(86vh, 680px);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.45);
  background:
    linear-gradient(135deg, rgba(0,48,135,0.78) 0%, rgba(0,10,50,0.86) 100%),
    url('/static/sunset-bg.jpg') center center / cover no-repeat;
  background-color: #003087;
  transform: translateY(16px) scale(0.985);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.onb-overlay--in .onb-card { transform: translateY(0) scale(1); }

.onb-photo {
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px 40px;
  min-width: 0;
}
.onb-photo-overlay { display: contents; }
.onb-photo-tagline {
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  line-height: 1.6;
  margin: 0 0 12px;
}
.onb-photo-attr {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  margin: 0;
  letter-spacing: 0.03em;
}

.onb-panel {
  background: #fff;
  margin: 28px 28px 28px 0;
  border-radius: 12px;
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  position: relative;
  min-height: 0;
  min-width: 0;
}

.onb-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none; border: none;
  font-size: 1.6rem; line-height: 1;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.onb-close:hover { color: #374151; background: #f3f4f6; }

.onb-screen { max-width: 480px; }
.onb-screen--center {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.onb-eyebrow {
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #007DBA;
  margin: 0 0 8px;
}
.onb-heading {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text, #111827);
  margin: 0 0 12px;
  line-height: 1.2;
}
.onb-sub {
  font-size: 0.9rem;
  color: var(--text-muted, #6b7280);
  margin: 0 0 14px;
  line-height: 1.65;
}
.onb-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted, #9ca3af);
  margin: 14px 0 0;
  line-height: 1.65;
}

/* Form */
.onb-field { margin-bottom: 14px; }
.onb-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border, #d1d5db);
  border-radius: 8px;
  font-size: 0.93rem;
  font-family: inherit;
  color: var(--text, #111827);
  background: var(--bg, #fff);
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
.onb-input:focus {
  outline: none;
  border-color: #007DBA;
  box-shadow: 0 0 0 3px rgba(0,125,186,0.14);
}
.onb-textarea { resize: vertical; min-height: 120px; }
.onb-error { font-size: 0.82rem; color: #dc2626; margin-bottom: 10px; }

/* Buttons */
.onb-btn-primary {
  display: block;
  width: 100%;
  padding: 13px 28px;
  background: #003087;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.93rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s, transform 0.1s;
  margin-top: 6px;
}
.onb-btn-primary:hover { background: #002268; color: #fff; }
.onb-btn-primary:active { transform: scale(0.98); }

.onb-btn-ghost {
  background: none;
  border: 1.5px solid var(--border, #d1d5db);
  color: var(--text-muted, #6b7280);
  font-size: 0.88rem;
  font-family: inherit;
  cursor: pointer;
  padding: 11px 22px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.onb-btn-ghost:hover { background: var(--surface2, #f3f4f6); color: var(--text, #374151); }

.onb-btn-cta {
  padding: 13px 28px;
  background: #C14991;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.93rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, transform 0.1s;
}
.onb-btn-cta:hover { background: #a83c7d; }
.onb-btn-cta:active { transform: scale(0.98); }

.onb-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

/* Thank you */
.onb-check-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #003087; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin: 0 0 20px;
}

@media (max-width: 700px) {
  .onb-card { display: block; width: 100%; height: 96dvh; border-radius: 0; overflow-y: auto; }
  .onb-photo { display: none; }
  .onb-panel { margin: 0; border-radius: 0; padding: 36px 22px 40px; height: 100%; justify-content: flex-start; }
  .onb-heading { font-size: 1.35rem; }
  .onb-screen { max-width: 100%; }
}
/* ── end onboarding popup ────────────────────────────────────────────── */

/* ── Onboarding wizard popup (unused, kept for reference) ────────────── */
.wiz-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.wiz-overlay--in { opacity: 1; }

.wiz-card {
  display: flex;
  width: 100%;
  max-width: 820px;
  max-height: calc(100vh - 32px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.30);
  background: #fff;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1);
}
.wiz-overlay--in .wiz-card { transform: translateY(0) scale(1); }

.wiz-photo {
  flex: 0 0 42%;
  background: url('/static/sunset-bg.jpg') center/cover no-repeat;
}

.wiz-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 44px 40px 36px;
  overflow-y: auto;
  position: relative;
  background: #fff;
}

.wiz-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none; border: none;
  font-size: 1.5rem; line-height: 1;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.wiz-close:hover { color: #374151; background: #f3f4f6; }

.wiz-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #007DBA;
  margin: 0 0 10px;
}

.wiz-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
  line-height: 1.3;
}

.wiz-sub {
  font-size: 0.88rem;
  color: #6b7280;
  margin: 0 0 20px;
  line-height: 1.5;
}

.wiz-legal {
  font-size: 0.74rem;
  color: #9ca3af;
  margin: 12px 0 0;
  line-height: 1.5;
}

/* Step indicators */
.wiz-steps {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 0;
}
.wiz-step { display: flex; align-items: center; }
.wiz-step-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700;
  border: 2px solid #e5e7eb;
  color: #9ca3af;
  background: #fff;
  flex-shrink: 0;
  transition: all 0.2s;
}
.wiz-step-line {
  height: 2px;
  width: 32px;
  background: #e5e7eb;
  flex-shrink: 0;
  margin: 0 2px;
  transition: background 0.2s;
}
.wiz-step--done .wiz-step-dot { background: #003087; border-color: #003087; color: #fff; }
.wiz-step--done .wiz-step-line { background: #003087; }
.wiz-step--active .wiz-step-dot { border-color: #007DBA; color: #007DBA; }

/* Form elements */
.wiz-field { margin-bottom: 14px; }
.wiz-label { display: block; font-size: 0.82rem; font-weight: 600; color: #374151; margin-bottom: 5px; }
.wiz-input {
  width: 100%; padding: 9px 12px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.9rem; font-family: inherit;
  color: #111827; background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
.wiz-input:focus {
  outline: none;
  border-color: #007DBA;
  box-shadow: 0 0 0 3px rgba(0,125,186,0.15);
}
.wiz-textarea { resize: vertical; min-height: 90px; }

.wiz-row { display: flex; gap: 12px; }
.wiz-row .wiz-field { flex: 1; }

/* Checkboxes */
.wiz-check-label {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.83rem; color: #374151;
  margin-bottom: 10px; cursor: pointer;
  line-height: 1.4;
}
.wiz-check-label input[type="checkbox"] {
  margin-top: 2px; flex-shrink: 0;
  width: 15px; height: 15px;
  accent-color: #003087;
}

.wiz-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 12px;
  margin-bottom: 4px;
}

/* Buttons */
.wiz-btn-primary {
  display: block; width: 100%;
  padding: 11px 20px;
  background: #003087; color: #fff;
  border: none; border-radius: 8px;
  font-size: 0.92rem; font-weight: 700;
  cursor: pointer; text-align: center;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  margin-top: 8px;
}
.wiz-btn-primary:hover { background: #002268; }
.wiz-btn-primary:active { transform: scale(0.98); }

.wiz-btn-ghost {
  background: none; border: none;
  color: #6b7280; font-size: 0.88rem;
  cursor: pointer; padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.wiz-btn-ghost:hover { background: #f3f4f6; color: #374151; }

.wiz-btn-cta {
  display: block; width: 100%;
  padding: 11px 20px;
  background: #C14991; color: #fff;
  border: none; border-radius: 8px;
  font-size: 0.92rem; font-weight: 700;
  cursor: pointer; text-align: center;
  transition: background 0.15s, transform 0.1s;
  margin-top: 8px;
}
.wiz-btn-cta:hover { background: #a83c7d; }
.wiz-btn-cta:active { transform: scale(0.98); }

.wiz-nav {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.wiz-error {
  font-size: 0.82rem; color: #dc2626;
  margin-bottom: 8px;
}

.wiz-screen--center {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; flex: 1;
}
.wiz-check-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #003087; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
}

@media (max-width: 640px) {
  .wiz-card { flex-direction: column; max-height: 96vh; }
  .wiz-photo { flex: 0 0 160px; }
  .wiz-panel { padding: 28px 22px 24px; }
  .wiz-row { flex-direction: column; gap: 0; }
  .wiz-checks { grid-template-columns: 1fr; }
}
/* ── end wizard ──────────────────────────────────────────────────────── */

/* ── Signup nudge (post-join + favorite hook) ──────────────────────────── */
.signup-nudge-overlay {
  position: fixed; inset: 0; z-index: 1000; padding: 20px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.5); opacity: 0; transition: opacity .2s ease;
}
.signup-nudge-overlay.is-visible { opacity: 1; }
.signup-nudge {
  position: relative; width: 100%; max-width: 380px;
  background: var(--surface, #fff); color: var(--text, #111);
  border: 1px solid var(--border, #e5e7eb); border-radius: 14px;
  padding: 28px 24px 22px; text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.32);
  transform: translateY(10px) scale(0.98); transition: transform .2s ease;
}
.signup-nudge-overlay.is-visible .signup-nudge { transform: none; }
.signup-nudge-close {
  position: absolute; top: 8px; right: 12px; border: none; background: none;
  font-size: 24px; line-height: 1; color: var(--text-muted, #888); cursor: pointer;
}
.signup-nudge-icon { font-size: 30px; color: var(--accent, #2563eb); margin-bottom: 6px; }
.signup-nudge h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 700; }
.signup-nudge p { margin: 0 0 18px; font-size: 0.9rem; line-height: 1.5; color: var(--text-muted, #555); }
.signup-nudge .btn-google { width: 100%; justify-content: center; }
.signup-nudge-email { display: inline-block; margin-top: 12px; font-size: 0.83rem; font-weight: 500; color: var(--accent, #2563eb); text-decoration: none; }
.signup-nudge-email:hover { text-decoration: underline; }
.signup-nudge-dismiss { display: block; width: 100%; margin-top: 8px; padding: 6px; border: none; background: none; font-size: 0.8rem; color: var(--text-muted, #999); cursor: pointer; }
.signup-nudge-dismiss:hover { color: var(--text, #333); }
/* "— OR —" newsletter box appended to both nudges (favorite hook + post-join) */
.signup-nudge-or {
  display: flex; align-items: center; gap: 10px; margin: 16px 0 12px;
  color: var(--text-muted, #999); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
}
.signup-nudge-or::before, .signup-nudge-or::after {
  content: ""; flex: 1; height: 1px; background: var(--border, #e5e7eb);
}
.signup-nudge-news-label {
  margin: 0 0 10px; font-size: 0.82rem; line-height: 1.45; color: var(--text-muted, #555); text-align: center;
}
.signup-nudge-news-form { display: flex; gap: 6px; }
.signup-nudge-news-form input {
  flex: 1; min-width: 0; padding: 8px 10px; border-radius: 8px;
  border: 1px solid var(--border, #e5e7eb); background: var(--surface, #fff);
  color: var(--text, #111); font-size: 0.85rem; outline: none;
}
.signup-nudge-news-form input:focus { border-color: var(--accent, #2563eb); }
.signup-nudge-news-form button {
  padding: 8px 14px; border-radius: 8px; border: none; background: #003087;
  color: #fff; font-size: 0.85rem; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.signup-nudge-news-form button:hover { background: #00256b; }
.signup-nudge-news-success { margin: 4px 0 0; font-size: 0.85rem; font-weight: 600; color: #0F6E56; text-align: center; }

