/* ============================================================
 * About page — manifesto + modules + changelog + sponsorship.
 * Brand-consistent navy gradient + orange accent, elevated for
 * marketing-grade landing typography. Single page; section
 * anchors (#modules, #signup, #roadmap, #changelog, #sponsorship)
 * available for deep-linking.
 * ============================================================ */

.about-shell {
  padding-top: 8px;
  padding-bottom: 32px;
}

/* ── HERO ───────────────────────────────────────────────────── */

.about-hero {
  position: relative;
  padding: 56px 56px 60px;
  margin-bottom: 2rem;
  background: linear-gradient(120deg, #0a2540 0%, #143659 55%, #1a4775 100%);
  border-radius: 14px;
  color: #ffffff;
  overflow: hidden;
}
.about-hero::after {
  /* soft orange halo top-right for warmth */
  content: "";
  position: absolute;
  top: -120%;
  right: -8%;
  width: 70%;
  height: 280%;
  background: radial-gradient(circle, rgba(253, 126, 20, 0.22) 0%, transparent 65%);
  pointer-events: none;
}
.about-hero > * { position: relative; z-index: 1; }

.about-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fd7e14;
  margin-bottom: 14px;
}
.about-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fd7e14;
  box-shadow: 0 0 12px rgba(253, 126, 20, 0.7);
}
.about-hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  max-width: 22ch;
}
.about-hero-lede {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 64ch;
  margin: 0 0 22px;
}
.about-hero-lede strong { color: #ffffff; font-weight: 700; }

.about-hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.about-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  transition: background .15s, border-color .15s, transform .10s, box-shadow .15s;
}
.about-hero-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
  transform: translateY(-1px);
}
.about-hero-btn.is-primary {
  background: #fd7e14;
  border-color: #fd7e14;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(253, 126, 20, 0.40);
}
.about-hero-btn.is-primary:hover {
  background: #ff9637;
  border-color: #ff9637;
  box-shadow: 0 8px 24px rgba(253, 126, 20, 0.50);
}
.about-hero-strap {
  margin-top: 6px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
}

/* ── SECTIONS ─────────────────────────────────────────────── */

.about-section {
  padding: 48px 8px;
}
.about-section-band {
  background: linear-gradient(180deg, rgba(10, 37, 64, 0.04), rgba(10, 37, 64, 0.02));
  border-radius: 12px;
  padding: 48px 32px;
  margin: 12px 0;
}
.about-section-head {
  max-width: 860px;
  margin-bottom: 28px;
}
.about-eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: #fd7e14;
  margin-bottom: 6px;
}
.about-section-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #0a2540;
  margin: 0 0 10px;
  max-width: 28ch;
}
.about-section-sub {
  font-size: 1rem;
  line-height: 1.55;
  color: #495057;
  margin: 0;
  max-width: 64ch;
}

.about-section-cta {
  margin-top: 24px;
  display: flex;
  justify-content: flex-start;
}

.about-section-cta .about-hero-btn { color: #ffffff; }
.about-section-cta .about-hero-btn:not(.is-primary) {
  color: #0a2540;
  border-color: #dee2e6;
  background: #ffffff;
}
.about-section-cta .about-hero-btn:not(.is-primary):hover {
  border-color: #fd7e14;
  color: #c84a00;
}

/* ── GRIDS ────────────────────────────────────────────────── */

.about-grid {
  display: grid;
  gap: 16px;
}
.about-grid.is-three { grid-template-columns: repeat(3, 1fr); }
.about-grid.is-two   { grid-template-columns: repeat(2, 1fr); }
.about-grid.is-modules { grid-template-columns: repeat(3, 1fr); }
.about-grid.is-benefits { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 920px) {
  .about-grid.is-three,
  .about-grid.is-modules { grid-template-columns: repeat(2, 1fr); }
  .about-grid.is-benefits,
  .about-grid.is-two { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .about-grid.is-three,
  .about-grid.is-modules,
  .about-grid.is-two { grid-template-columns: 1fr; }
  .about-hero { padding: 36px 24px 40px; }
  .about-hero-title { font-size: 2rem; }
  .about-section { padding: 32px 0; }
  .about-section-band { padding: 32px 18px; }
}

/* ── TILE (Mission, Sponsorship) ──────────────────────────── */

.about-tile {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 22px 22px 24px;
  transition: border-color .12s, box-shadow .15s, transform .12s;
}
.about-tile-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(253, 126, 20, 0.12);
  color: #fd7e14;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 12px;
}
.about-tile-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0a2540;
  margin: 0 0 6px;
  line-height: 1.3;
}
.about-tile p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #495057;
}

/* ── WHO WE ARE ──────────────────────────────────────────── */

.about-who-body {
  max-width: 920px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: #1a1a1a;
}
.about-who-body p { margin: 0 0 14px; }
.about-who-body strong { color: #0a2540; font-weight: 700; }
.about-who-pillars {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.about-who-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 7px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e9ecef;
  color: #0a2540;
}
.about-who-pill .bi { color: #fd7e14; }

/* ── MODULE CARDS ────────────────────────────────────────── */

.about-module {
  display: block;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-left: 3px solid #fd7e14;
  border-radius: 10px;
  padding: 20px 22px 22px;
  color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .12s;
}
.about-module:hover {
  border-color: #fd7e14;
  border-left-color: #fd7e14;
  box-shadow: 0 10px 28px rgba(10, 37, 64, 0.10);
  transform: translateY(-2px);
  color: inherit;
}
.about-module-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.about-module-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(120deg, #0a2540 0%, #1a4775 100%);
  color: #fd7e14;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.about-module-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0a2540;
  letter-spacing: -0.005em;
}
.about-module-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  background: #fd7e14;
  color: #ffffff;
  margin-left: auto;
}
.about-module-body {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #495057;
}

/* "Coming soon" modules: visually intact but non-interactive so users
   know what's planned without bouncing into a 404 or half-built page. */
.about-module.is-coming-soon {
  cursor: default;
  border-left-color: #adb5bd;
  background: #fafbfc;
}
.about-module.is-coming-soon:hover {
  border-color: #e9ecef;
  border-left-color: #adb5bd;
  box-shadow: none;
  transform: none;
}
.about-module.is-coming-soon .about-module-icon {
  background: linear-gradient(120deg, #495057 0%, #6c757d 100%);
  color: #fd7e14;
}
.about-module.is-coming-soon .about-module-badge {
  background: #6c757d;
  color: #ffffff;
}

/* ── BENEFITS ────────────────────────────────────────────── */

.about-benefit {
  display: flex;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 20px 22px;
}
.about-benefit-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fd7e14;
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.about-benefit-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0a2540;
  margin: 0 0 4px;
}
.about-benefit p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #495057;
}

/* ── ROADMAP ─────────────────────────────────────────────── */

.about-roadmap {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.about-roadmap::before {
  content: "";
  position: absolute;
  left: 70px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: rgba(253, 126, 20, 0.18);
}
@media (max-width: 620px) {
  .about-roadmap::before { left: 4px; }
}
.about-roadmap > li {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 12px 0 18px;
  align-items: flex-start;
}
.about-roadmap-when {
  flex-shrink: 0;
  width: 110px;
  position: relative;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 800;
  color: #c84a00;
  padding-top: 2px;
}
.about-roadmap-when::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fd7e14;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 1px #fd7e14;
}
@media (max-width: 620px) {
  .about-roadmap-when {
    width: auto;
    padding-left: 20px;
  }
  .about-roadmap-when::after { left: -2px; right: auto; }
}
.about-roadmap-what h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0a2540;
  margin: 0 0 4px;
}
.about-roadmap-what p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #495057;
  max-width: 64ch;
}

/* ── CHANGELOG ───────────────────────────────────────────── */

.about-changelog {
  list-style: none;
  margin: 0;
  padding: 0;
}
.about-changelog > li {
  display: flex;
  gap: 18px;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  margin-bottom: 10px;
}
.about-changelog-date {
  flex-shrink: 0;
  width: 88px;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 800;
  color: #fd7e14;
  padding-top: 2px;
}
.about-changelog-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0a2540;
  margin: 0 0 4px;
}
.about-changelog-body p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #495057;
}
@media (max-width: 620px) {
  .about-changelog > li { flex-direction: column; gap: 4px; }
  .about-changelog-date { width: auto; }
}

/* ── FOOTER STRIP ────────────────────────────────────────── */

.about-footer-strip {
  padding: 48px 32px 56px;
  margin-top: 24px;
  background: linear-gradient(120deg, #0a2540 0%, #1a4775 100%);
  color: #ffffff;
  border-radius: 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-footer-strip::after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(253, 126, 20, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.about-footer-strip > * { position: relative; z-index: 1; }
.about-footer-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.about-footer-sub {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 62ch;
  margin: 0 auto 22px;
}
.about-footer-actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── CONTACT FORM (embedded on About page) ───────────────── */

.about-contact-card {
  max-width: 720px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.06);
  padding: 28px 30px 26px;
  position: relative;
  overflow: hidden;
}
.about-contact-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #0a2540 0%, #1a4775 100%);
}
.about-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 620px) {
  .about-contact-row { grid-template-columns: 1fr; }
  .about-contact-card { padding: 22px 20px 20px; }
}
.about-contact-field { margin-top: 14px; }
.about-contact-form label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #6c757d;
  margin-bottom: 6px;
}
.about-contact-form .form-control,
.about-contact-form .form-select {
  border-radius: 8px;
  border: 1px solid #dee2e6;
  font-size: 0.92rem;
  padding: 0.5rem 0.7rem;
}
.about-contact-form .form-control:focus,
.about-contact-form .form-select:focus {
  border-color: #fd7e14;
  box-shadow: 0 0 0 3px rgba(253, 126, 20, 0.14);
}
.about-contact-form textarea.form-control {
  min-height: 140px;
  resize: vertical;
}
.about-contact-actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.about-contact-submit {
  background: #fd7e14;
  color: #ffffff;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: filter .12s, transform .12s;
}
.about-contact-submit:hover { filter: brightness(1.06); transform: translateY(-1px); }
.about-contact-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.about-contact-fineprint {
  font-size: 0.78rem;
  color: #6c757d;
}
.about-contact-success,
.about-contact-error {
  display: none;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.86rem;
}
.about-contact-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}
.about-contact-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}
.about-contact-aside {
  margin: 18px 0 0;
  font-size: 0.86rem;
  color: #6c757d;
}
.about-contact-aside a {
  color: #0a2540;
  text-decoration: none;
  border-bottom: 1px dotted #0a2540;
}
.about-contact-aside a:hover { color: #fd7e14; border-bottom-color: #fd7e14; }

/* ── VOTE / ROADMAP TILES ────────────────────────────────── */

.about-vote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 760px) {
  .about-vote-grid { grid-template-columns: 1fr; }
}
.about-vote-tile {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-left: 3px solid #0a2540;
  border-radius: 10px;
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .12s, background .15s;
}
.about-vote-tile:hover {
  border-color: #fd7e14;
  border-left-color: #fd7e14;
  box-shadow: 0 8px 22px rgba(10, 37, 64, 0.08);
  transform: translateY(-1px);
}
.about-vote-tile:focus-visible {
  outline: 2px solid #fd7e14;
  outline-offset: 2px;
}
.about-vote-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(120deg, #0a2540 0%, #1a4775 100%);
  color: #fd7e14;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.about-vote-body { display: block; min-width: 0; }
.about-vote-title {
  display: block;
  font-size: 0.97rem;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 3px;
  letter-spacing: -0.005em;
}
.about-vote-blurb {
  display: block;
  font-size: 0.83rem;
  line-height: 1.5;
  color: #495057;
}
.about-vote-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fd7e14;
  color: #ffffff;
  white-space: nowrap;
  min-width: 72px;
  transition: background .15s, color .15s;
}

/* Voted state — the chosen tile gets a soft mint highlight and the
   pill flips to a green "Voted" badge. */
.about-vote-tile.is-voted {
  border-left-color: #2dd4a8;
  background: linear-gradient(135deg, rgba(45, 212, 168, 0.10) 0%, rgba(45, 212, 168, 0.02) 100%);
}
.about-vote-tile.is-voted .about-vote-state {
  background: #047857;
  color: #ffffff;
}

/* The other tiles dim slightly so the chosen one reads first, but stay
   fully clickable so the user can switch their vote. */
.about-vote-tile.is-dimmed { opacity: 0.78; }
.about-vote-tile.is-dimmed .about-vote-state {
  background: transparent;
  color: #6c757d;
  border: 1px solid #ced4da;
}
.about-vote-tile.is-dimmed:hover {
  opacity: 1;
}
.about-vote-tile.is-dimmed:hover .about-vote-state {
  background: #fd7e14;
  color: #ffffff;
  border-color: #fd7e14;
}

.about-vote-status {
  margin: 16px auto 0;
  max-width: 60ch;
  font-size: 0.88rem;
  color: #047857;
  text-align: center;
  min-height: 1.2em;
}

/* ── Sticky sub-nav (anchors each major section) ───────────────
   Sits just under the site header on scroll. Horizontally
   scrollable on narrow viewports so every section stays reachable
   without compromising the section content below. */
.about-subnav {
  position: sticky;
  top: var(--shell-header-h, 60px);
  z-index: 30;
  margin: -8px -8px 28px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(150%) blur(8px);
  border-radius: 999px;
  border: 1px solid rgba(10, 37, 64, 0.08);
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.08);
  display: flex;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
}
.about-subnav::-webkit-scrollbar { height: 4px; }
.about-subnav::-webkit-scrollbar-thumb {
  background: rgba(10, 37, 64, 0.20);
  border-radius: 2px;
}
.about-subnav-item {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #495057;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.12s, color 0.12s;
}
.about-subnav-item:hover {
  background: rgba(253, 126, 20, 0.10);
  color: #b85a02;
}
.about-subnav-item.is-active {
  background: #0a2540;
  color: #fd7e14;
}
@media (max-width: 720px) {
  .about-subnav { margin: -4px -4px 20px; padding: 6px 8px; }
  .about-subnav-item { padding: 5px 10px; font-size: 0.78rem; }
}

/* Sticky offset so anchor jumps land below the sub-nav (which is
   below the site header). Keep this lighter than a hard scroll-margin
   so animated focus rings still feel local. */
.about-section[id],
section[id="contact-form"] {
  scroll-margin-top: calc(var(--shell-header-h, 60px) + 64px);
}
