/* America.co /mobilize — phone sign-up, live movement count, member page. Base tokens shared with /apply. */
:root {
  --ap-ink: #081122;
  --ap-navy: #0e1b33;
  --ap-surface: #132340;
  --ap-paper: #fcfaf5;
  --ap-red: #e62020;
  --ap-red-hover: #c91818;
  --ap-gold: #e2c68a;
  --ap-blue: #1e3a8a;
  --ap-line-dark: rgba(255, 255, 255, 0.12);
  --ap-line-light: rgba(10, 20, 40, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background:
    radial-gradient(ellipse 72% 55% at 82% 8%, rgba(44, 92, 184, 0.28), transparent 65%),
    radial-gradient(ellipse 50% 45% at 10% 88%, rgba(230, 32, 32, 0.13), transparent 65%),
    linear-gradient(180deg, #070f20 0%, #0b162c 100%);
  color: #f3f6fb;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--ap-gold);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: #fff;
  color: var(--ap-ink);
  font-weight: 800;
  font-size: 0.8rem;
  text-decoration: none;
  border: 2px solid var(--ap-ink);
  border-radius: 6px;
}
.skip-link:focus { top: 1rem; }

/* Initial SSR nav fallback (upgraded automatically by site-nav.js) */
.hub-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1rem, 2.2vw, 2.25rem);
  background: rgba(8, 17, 34, 0.96);
  border-bottom: 1px solid var(--ap-line-dark);
  backdrop-filter: blur(14px);
}
.hub-nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.hub-nav-logo img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: #000; }
.hub-nav-logo .wordmark {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.12rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.hub-nav-logo .wordmark .a { color: #ef2929; }
.hub-nav-logo .wordmark .c { color: #79a2f5; }
.hub-nav-links { display: none; align-items: center; gap: 1.3rem; margin-left: auto; }
@media (min-width: 1060px) { .hub-nav-links { display: flex; } }
.hub-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}
.hub-nav .nav-join {
  background: #ef2929;
  color: #fff;
  padding: 0.72rem 1.15rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.ap-wrap {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.ap-main {
  padding: 112px 0 64px;
}

.ap-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #8da2c2;
  margin-bottom: 22px;
}
.ap-breadcrumbs a { color: #b8c9e3; text-decoration: none; }
.ap-breadcrumbs a:hover { color: #fff; text-decoration: underline; }

.ap-header {
  max-width: 680px;
  margin-bottom: 32px;
}
.ap-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(226, 198, 138, 0.1);
  border: 1px solid rgba(226, 198, 138, 0.34);
  color: var(--ap-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.ap-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ap-red);
}
.ap-header h1 {
  margin: 0 0 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: #ffffff;
}
.ap-header h1 span { color: #ff5d62; }
.ap-header p {
  margin: 0;
  font-size: clamp(15.5px, 1.3vw, 17.5px);
  line-height: 1.6;
  color: #c5d4ea;
}

/* 2-Column Layout: Clean Form Card + Explore Our Other Places */
.ap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: start;
}

/* Primary Simple Form Card */
.ap-form-card {
  background: var(--ap-paper);
  color: #0e1a2f;
  border-radius: 18px;
  padding: clamp(24px, 3.2vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 26px 64px rgba(2, 6, 18, 0.55);
}
.ap-form {
  display: grid;
  gap: 20px;
}
.ap-field {
  display: grid;
  gap: 7px;
}
.ap-field label {
  font-size: 14px;
  font-weight: 700;
  color: #101f38;
  letter-spacing: -0.01em;
}
.ap-field label .req {
  color: var(--ap-red);
  margin-left: 3px;
}
.ap-field input,
.ap-field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1.5px solid #c6cedb;
  background: #ffffff;
  color: #0e1a2f;
  font-size: 15.5px;
  line-height: 1.5;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.ap-field input::placeholder,
.ap-field textarea::placeholder {
  color: #707e94;
}
.ap-field input:hover,
.ap-field textarea:hover {
  border-color: #93a2ba;
}
.ap-field input:focus,
.ap-field textarea:focus {
  outline: none;
  border-color: var(--ap-blue);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.14);
}
.ap-field textarea {
  min-height: 112px;
  resize: vertical;
}
.ap-field textarea#a-mission {
  min-height: 92px;
}

.ap-submit {
  width: 100%;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 10px;
  background: var(--ap-red);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(230, 32, 32, 0.28);
  transition: background-color 160ms ease, transform 160ms ease;
}
.ap-submit:hover {
  background: var(--ap-red-hover);
  transform: translateY(-1px);
}
.ap-submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.ap-status {
  margin: 0;
  min-height: 22px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: #164f3a;
}
.ap-status.is-error { color: #b91c1c; }
.ap-status:empty { display: none; }

.ap-privacy-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: #5b687e;
}
.ap-privacy-note a { color: var(--ap-blue); text-underline-offset: 3px; }

/* Companion Panel: Links to Our Other Places */
.ap-places-card {
  background: linear-gradient(180deg, #132340 0%, #0e1b33 100%);
  border: 1px solid var(--ap-line-dark);
  border-radius: 18px;
  padding: clamp(22px, 2.8vw, 30px);
  box-shadow: 0 22px 54px rgba(2, 6, 18, 0.42);
}
.ap-places-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ap-gold);
  margin: 0 0 6px;
}
.ap-places-card h2 {
  margin: 0 0 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffffff;
}
.ap-places-intro {
  margin: 0 0 18px;
  font-size: 13.8px;
  line-height: 1.55;
  color: #b5c6df;
}

.ap-places-list {
  display: grid;
  gap: 8px;
}
.ap-place-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.ap-place-link:hover {
  background: rgba(255, 255, 255, 0.095);
  border-color: rgba(226, 198, 138, 0.5);
  transform: translateY(-1px);
}
.ap-place-link strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}
.ap-place-link small {
  display: block;
  font-size: 12.5px;
  color: #9fb3d1;
  margin-top: 2px;
  line-height: 1.35;
}
.ap-place-arrow {
  font-size: 16px;
  color: var(--ap-gold);
  flex-shrink: 0;
}

.ap-social-strip {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--ap-line-dark);
}
.ap-social-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8ea4c4;
  margin-bottom: 10px;
}
.ap-social-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ap-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e4edf9;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.ap-social-pill:hover {
  background: rgba(226, 198, 138, 0.18);
  border-color: rgba(226, 198, 138, 0.55);
  color: #fff;
}

/* Footer */
.ap-footer {
  border-top: 1px solid var(--ap-line-dark);
  background: #060d1b;
  padding: 28px 0;
  color: #93a7c5;
  font-size: 12.5px;
}
.ap-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}
.ap-footer-brand {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.ap-footer-brand .a { color: #ef2929; }
.ap-footer-brand .c { color: #79a2f5; }
.ap-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}
.ap-footer-links a {
  color: #bfd0e8;
  text-decoration: none;
  font-weight: 500;
}
.ap-footer-links a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 900px) {
  .ap-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .ap-wrap { width: calc(100% - 32px); }
  .ap-main { padding: 88px 0 44px; }
  .ap-header { margin-bottom: 22px; }
  .ap-header h1 { font-size: 34px; }
  .ap-form-card { padding: 22px 18px; }
  .ap-field input, .ap-field textarea { font-size: 16px; }
  .ap-places-card { padding: 20px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Mobilize ---------- */
.mb-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .mb-hero { grid-template-columns: 1fr; } }
.mb-count { margin: 26px 0 8px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.mb-count strong { font-family: 'Montserrat', Arial, sans-serif; font-weight: 900; font-size: clamp(48px, 7vw, 84px); line-height: .9; letter-spacing: -.045em; color: #fff; font-variant-numeric: tabular-nums; }
.mb-count span { font-size: 15px; font-weight: 700; color: #c5d4ea; text-transform: uppercase; letter-spacing: .08em; }
.mb-pulse { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 18px; padding: 0; list-style: none; color: #b8c9e3; font-size: 14px; }
.mb-pulse b { color: #fff; font-variant-numeric: tabular-nums; }
.mb-goal { max-width: 520px; }
.mb-goal-bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.mb-goal-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ef2929, #ff7a7a); border-radius: inherit; transition: width 900ms ease; }
.mb-goal p { margin: 8px 0 0; font-size: 13px; color: #9fb3d1; }
.mb-invited { margin: 0 0 16px; padding: 10px 14px; border-radius: 10px; background: #eef3ff; color: #1e3a8a; font-weight: 700; font-size: 14px; }
.mb-invited:empty { display: none; }
.mb-consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 12.5px; line-height: 1.5; color: #46536a; }
.mb-consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: #e62020; }
.mb-consent a { color: var(--ap-blue); }
.mb-optional { font-weight: 500; color: #6b778c; font-size: 13px; }
.mb-done h2, .mb-card h2 { margin: 0 0 6px; font-family: 'Montserrat', Arial, sans-serif; font-weight: 900; font-size: clamp(24px, 3vw, 30px); text-transform: uppercase; letter-spacing: -.03em; color: #0e1a2f; }
.mb-done p { margin: 0 0 12px; color: #33415a; font-size: 15px; }
.mb-steps { margin: 0 0 18px; padding-left: 20px; color: #33415a; font-size: 15px; }
.mb-steps li { margin: 4px 0; }
.mb-link { display: flex; gap: 8px; align-items: stretch; margin: 6px 0 10px; }
.mb-link input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 10px; border: 1.5px solid #c6cedb; font-size: 15px; font-weight: 700; color: #0e1a2f; background: #fff; }
.mb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 10px 16px; border-radius: 10px; border: 1.5px solid #0e1a2f; background: #0e1a2f; color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.mb-btn.ghost { background: transparent; color: #0e1a2f; }
.mb-btn.red { background: var(--ap-red); border-color: var(--ap-red); }
.mb-btn:disabled { opacity: .6; cursor: default; }
.mb-share { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.mb-note { font-size: 13px; color: #5b687e; margin: 10px 0 0; }
.mb-section { margin-top: clamp(40px, 6vw, 72px); }
.mb-section > h2 { margin: 0 0 8px; font-family: 'Montserrat', Arial, sans-serif; font-weight: 900; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.03em; text-transform: uppercase; color: #fff; }
.mb-section > p { margin: 0 0 20px; color: #b8c9e3; max-width: 680px; }
.mb-today { display: grid; gap: 6px; padding: clamp(20px, 3vw, 30px); border-radius: 18px; background: linear-gradient(135deg, #132340, #1b2f56); border: 1px solid var(--ap-line-dark); }
.mb-today .k { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ap-gold); }
.mb-today h3 { margin: 0; font-size: clamp(20px, 2.4vw, 26px); color: #fff; line-height: 1.3; }
.mb-today .q { color: #9fb3d1; font-size: 14px; }
.mb-today .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; align-items: center; }
.mb-today .mb-btn { border-color: rgba(255,255,255,.35); }
.mb-today .mb-btn.ghost { color: #fff; }
.mb-how { padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: how; }
@media (max-width: 760px) { .mb-how { grid-template-columns: 1fr; } }
.mb-how li { list-style: none; padding: 20px; border-radius: 14px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1); color: #c5d4ea; font-size: 14.5px; }
.mb-how li::before { counter-increment: how; content: counter(how); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ap-red); color: #fff; font-weight: 900; margin-bottom: 10px; }
.mb-how strong { display: block; color: #fff; font-size: 16px; margin-bottom: 4px; }
.mb-how ol { margin: 0; padding: 0; }
.mb-quests { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; padding: 0; margin: 0; list-style: none; }
.mb-quests a { display: block; height: 100%; padding: 12px 14px; border-radius: 11px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1); text-decoration: none; color: #e4edf9; font-size: 14px; font-weight: 600; }
.mb-quests a:hover { border-color: rgba(226,198,138,.5); background: rgba(255,255,255,.09); }
.mb-quests a.is-today { border-color: var(--ap-gold); background: rgba(226,198,138,.12); }
.mb-quests small { display: block; color: #9fb3d1; font-weight: 500; font-size: 12px; margin-bottom: 2px; }
.mb-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 4px 0 16px; }
.mb-stats div { padding: 12px; border-radius: 12px; background: #f1f4f9; text-align: center; }
.mb-stats b { display: block; font-family: 'Montserrat', Arial, sans-serif; font-weight: 900; font-size: 26px; color: #0e1a2f; font-variant-numeric: tabular-nums; }
.mb-stats span { font-size: 12px; color: #5b687e; font-weight: 600; }
.mb-small-link { background: none; border: 0; padding: 0; color: #5b687e; font-size: 12.5px; text-decoration: underline; cursor: pointer; }
.mb-admin { display: grid; gap: 16px; color: #0e1a2f; }
.mb-admin table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mb-admin td, .mb-admin th { text-align: left; padding: 6px 8px; border-bottom: 1px solid #e3e8f0; vertical-align: top; }
.mb-admin pre { white-space: pre-wrap; background: #0e1a2f; color: #fff; padding: 12px; border-radius: 10px; font-size: 13px; margin: 0; }
.mb-admin select, .mb-admin input[type=date], .mb-admin input[type=text], .mb-admin input[type=password], .mb-admin input[type=tel] { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1.5px solid #c6cedb; font-size: 15px; }
[hidden] { display: none !important; }
.mb-faq-list { display: grid; gap: 10px; max-width: 860px; }
.mb-faq-list details { border-radius: 12px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1); }
.mb-faq-list summary { cursor: pointer; padding: 15px 18px; font-weight: 700; color: #fff; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.mb-faq-list summary::-webkit-details-marker { display: none; }
.mb-faq-list summary::after { content: '+'; color: var(--ap-gold); font-weight: 800; }
.mb-faq-list details[open] summary::after { content: '\2212'; }
.mb-faq-list p { margin: 0; padding: 0 18px 16px; color: #c5d4ea; font-size: 15px; }
#join { scroll-margin-top: 100px; }
