/* ============================================================
   WeAreALERT.org — Design System
   Palette: charcoal / navy / professional
============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #1A3558;
  --navy-dark:   #12263F;
  --navy-light:  #2A4E7C;
  --charcoal:    #1C2A3A;
  --slate:       #4A6080;
  --slate-light: #8A9BB0;
  --purple:      #7B35C2;      /* ALERT brand accent — overlay tool + acronym only */
  --purple-light:#9B5DE5;
  --success:     #2D6A4F;
  --danger:      #9B2226;
  --border:      #D8E2EE;
  --border-soft: #EDF2F8;
  --bg:          #FFFFFF;
  --bg-soft:     #F7F9FC;
  --bg-navy:     #EEF3FA;
  --text:        #1C2A3A;
  --text-muted:  #4A6080;
  --white:       #FFFFFF;
  --radius:      10px;
  --radius-sm:   6px;
  --shadow:      0 1px 12px rgba(26,53,88,0.08);
  --shadow-md:   0 4px 24px rgba(26,53,88,0.12);
  --max-w:       1140px;
  --font:        -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  --font-serif:  Georgia, 'Times New Roman', serif;
}

/* Demo banner */
.demo-banner {
  background: #78350f;
  color: #fef3c7;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); }

/* ============================================================
   NAV
============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: 60px;
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  text-decoration: none;
  white-space: nowrap;
}

.nav-logo .alert-word { color: var(--purple); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  padding: 0.4rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--navy); background: var(--bg-soft); }
.nav-links a.active { color: var(--navy); font-weight: 600; }

.nav-cta {
  padding: 0.45rem 1.1rem !important;
  background: var(--navy) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
}

.nav-cta:hover { background: var(--navy-dark) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   PAGE SHELL
============================================================ */
.page-main { min-height: calc(100vh - 60px); }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   TYPOGRAPHY HELPERS
============================================================ */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.page-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-sub {
  font-size: 1.1rem;
  color: var(--slate);
  margin-top: 0.75rem;
  max-width: 600px;
  line-height: 1.6;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all .15s;
  border: 2px solid transparent;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: var(--white); }

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--bg-navy); }

.btn-ghost {
  background: transparent;
  color: var(--slate);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); background: var(--bg-soft); }

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ============================================================
   FORMS
============================================================ */
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
}

.req { color: var(--navy); }
.optional { font-weight: 400; color: var(--slate-light); }

input[type="text"],
input[type="email"],
select,
textarea {
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,53,88,0.10);
}

input.error,
textarea.error { border-color: var(--danger); }

.field-note {
  font-size: 0.75rem;
  color: var(--slate-light);
  margin: 0;
}

.field-error {
  font-size: 0.75rem;
  color: var(--danger);
  display: none;
}

.field-error.show { display: block; }

/* Checkbox */
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--charcoal);
}

.check-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--navy);
  flex-shrink: 0;
  cursor: pointer;
}

/* ============================================================
   COPY BLOCK
============================================================ */
.copy-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.copy-block-text {
  font-size: 0.9rem;
  color: var(--text);
  flex: 1;
  line-height: 1.5;
}

/* ============================================================
   CARDS
============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

/* ============================================================
   COUNTER DISPLAY
============================================================ */
.counter-inline {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.counter-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.counter-label {
  font-size: 0.88rem;
  color: var(--slate);
}

/* ============================================================
   HERO SECTIONS
============================================================ */
.hero {
  padding: 5rem 1.5rem 4rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border-soft);
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ============================================================
   SECTION DIVIDERS
============================================================ */
.section {
  padding: 5rem 1.5rem;
}

.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-title {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

.section-navy .section-title { color: var(--white); }
.section-navy .page-sub { color: rgba(255,255,255,0.75); }

/* ============================================================
   HOMEPAGE SPECIFICS
============================================================ */
.hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
}

.social-proof-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
}

.principles-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.25rem 0;
}

.principles-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--charcoal);
}

.principles-list li::before {
  content: '—';
  color: var(--navy);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}

.how-it-works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: steps;
}

.step-item {
  counter-increment: steps;
}

.step-item::before {
  content: counter(steps);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.step-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
}

.step-item p {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.6;
}

/* ============================================================
   MAKE IT VISIBLE PAGE
============================================================ */
.visibility-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.visibility-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--white);
}

.visibility-card-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 0.5rem;
}

.visibility-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.visibility-card p {
  font-size: 0.88rem;
  color: var(--slate);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 1rem 0 1.25rem;
  counter-reset: steps;
}

.steps-list li {
  counter-increment: steps;
  display: flex;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--slate);
}

.steps-list li::before {
  content: counter(steps) ".";
  font-weight: 600;
  color: var(--navy);
  flex-shrink: 0;
}

/* Overlay tool */
.overlay-tool {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.overlay-preview-wrap {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  background: #e8e4f5;
  flex-shrink: 0;
  position: relative;
}

#overlay-canvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
}

.canvas-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--slate-light);
  text-align: center;
  padding: 1rem;
  pointer-events: none;
}

.overlay-controls {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.style-selector {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.style-btn {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.5rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  transition: all .15s;
}

.style-btn small { font-weight: 400; font-size: 0.7rem; color: var(--slate-light); }
.style-btn.active { border-color: var(--purple); background: #f3eeff; color: var(--purple); }

.upload-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--navy);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.87rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}

.upload-label:hover { background: var(--navy-dark); }

/* ============================================================
   STATEMENT PAGE
============================================================ */
.statement-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.statement-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: normal;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.statement-subtitle {
  font-size: 1rem;
  color: var(--slate);
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.statement-body {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--charcoal);
}

.statement-body p { margin-bottom: 1.4rem; }

.statement-body strong {
  font-weight: bold;
  color: var(--charcoal);
}

.statement-principle {
  margin-bottom: 1.2rem;
}

.statement-close {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 1.1rem !important;
  font-style: italic;
}

/* Tighter spacing for statement on sign page */
.sign-context-statement .statement-body {
  font-size: 0.88rem;
  line-height: 1.58;
}
.sign-context-statement .statement-body p { margin-bottom: 0.55rem; }
.sign-context-statement .statement-principle { margin-bottom: 0.45rem; }
.sign-context-statement .statement-close {
  margin-top: 0.9rem;
  padding-top: 0.65rem;
  font-size: 0.95rem !important;
}

.statement-cta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   SIGN PAGE
============================================================ */
.sign-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "intro form"
    "statement form";
  gap: 0;
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: calc(100vh - 60px);
}

.sign-context-intro {
  grid-area: intro;
  padding: 3rem 2.5rem 1.5rem 1.5rem;
  border-right: 1px solid var(--border);
}

.sign-context-statement {
  grid-area: statement;
  padding: 0 2.5rem 3rem 1.5rem;
  border-right: 1px solid var(--border);
}

.sign-form-col {
  grid-area: form;
  padding: 2.5rem 1.5rem 2.5rem 2.5rem;
  background: var(--bg-soft);
}

.sign-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 380px;
}

.sign-form h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
}

.visibility-toggle {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.toggle-opt {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: background .15s;
  border-bottom: 1px solid var(--border);
}

.toggle-opt:last-child { border-bottom: none; }

.toggle-opt input[type="radio"] { position: absolute; opacity: 0; }

.toggle-opt.selected { background: var(--bg-navy); }

.toggle-opt-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

.toggle-opt-text strong {
  display: block;
  font-size: 0.87rem;
  color: var(--charcoal);
}

.toggle-opt-text small {
  font-size: 0.75rem;
  color: var(--slate);
}

/* Post-submission */
.post-sign {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 380px;
}

.post-sign.show { display: flex; }
.sign-form.hide { display: none; }

.success-check {
  width: 52px;
  height: 52px;
  background: var(--success);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* ============================================================
   SIGNERS PAGE
============================================================ */
.signers-header {
  padding: 3rem 1.5rem 2rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.signers-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.signers-count {
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.signers-count-label {
  font-size: 1rem;
  color: var(--slate);
  margin-top: 0.25rem;
}

.signers-search-wrap {
  position: relative;
  flex: 1;
  max-width: 340px;
}

.signers-search-wrap input {
  width: 100%;
  padding: 0.65rem 0.9rem 0.65rem 2.5rem;
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-light);
  font-size: 0.9rem;
  pointer-events: none;
}

.signers-table-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.signers-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.signers-table th {
  text-align: left;
  padding: 0.6rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  border-bottom: 1.5px solid var(--border);
  background: var(--bg-soft);
}

.signers-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-soft);
  color: var(--charcoal);
  vertical-align: top;
}

.signers-table tr:last-child td { border-bottom: none; }
.signers-table tr:hover td { background: var(--bg-soft); }

.signer-name { font-weight: 600; }
.signer-meta { color: var(--slate); font-size: 0.85rem; }

.no-results {
  text-align: center;
  padding: 3rem;
  color: var(--slate);
  font-size: 0.95rem;
}

/* ============================================================
   FAQ PAGE
============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 2rem 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  text-align: left;
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform .2s;
  color: var(--slate-light);
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-a {
  padding: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.7;
  display: none;
}

.faq-item.open .faq-a { display: block; }

/* ============================================================
   ABOUT PAGE
============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.person-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.person-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
}

.person-card .person-title {
  font-size: 0.82rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.person-card p {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.6;
}

/* ============================================================
   VERIFICATION PAGE
============================================================ */
.verify-page {
  max-width: 520px;
  margin: 6rem auto;
  padding: 0 1.5rem;
  text-align: center;
}

.verify-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.verify-icon.success { background: #D1FAE5; }
.verify-icon.error   { background: #FEE2E2; }
.verify-icon.loading { background: var(--bg-navy); animation: pulse 1.5s infinite; }

@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--charcoal);
  color: #8A9BB0;
  padding: 3rem 1.5rem;
  border-top: 1px solid #2A3A4A;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.footer-logo .alert-word { color: var(--purple-light); }

.footer-tagline {
  font-size: 0.85rem;
  color: #7A8FA8;
  max-width: 380px;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-legal {
  font-size: 0.75rem;
  color: #556070;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: right;
}

.footer-links a {
  font-size: 0.82rem;
  color: #7A8FA8;
  text-decoration: none;
  transition: color .15s;
}

.footer-links a:hover { color: var(--white); }

/* ============================================================
   TOAST
============================================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--charcoal);
  color: white;
  padding: 0.7rem 1.4rem;
  border-radius: 100px;
  font-size: 0.87rem;
  font-weight: 500;
  z-index: 1000;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
  white-space: nowrap;
  pointer-events: none;
  box-shadow: var(--shadow-md);
}

.toast.show { transform: translateX(-50%) translateY(0); }

/* ============================================================
   UTILITIES
============================================================ */
[hidden] { display: none !important; }

.text-navy   { color: var(--navy); }
.text-slate  { color: var(--slate); }
.text-muted  { color: var(--slate-light); }
.text-center { text-align: center; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.fade-in { animation: fadeIn .4s ease both; }

@keyframes fadeIn {
  from { opacity:0; transform:translateY(12px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 960px) {
  .sign-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "intro"
      "form"
      "statement";
    min-height: auto;
  }
  .sign-context-intro { border-right: none; padding: 2rem 1.25rem 1.25rem; }
  .sign-context-statement { border-right: none; border-top: 1px solid var(--border); padding: 1.5rem 1.25rem 2rem; }
  .sign-form-col { padding: 2rem 1.25rem; }
  .sign-form, .post-sign { max-width: 100%; }
  .visibility-options { grid-template-columns: 1fr; }
  .how-it-works { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { text-align: left; flex-direction: row; flex-wrap: wrap; gap: 0.75rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 0.75rem 1rem; gap: 0; box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.65rem 0.5rem; border-radius: 0; border-bottom: 1px solid var(--border-soft); font-size: 0.95rem; }
  .nav-links a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .site-nav { position: relative; }
  .nav-cta { background: var(--navy) !important; }
  .hero { padding: 3rem 1.25rem 2.5rem; }
  .section { padding: 3rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .signers-header-inner { flex-direction: column; align-items: flex-start; }
  .signers-search-wrap { max-width: 100%; width: 100%; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .social-proof { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .social-proof-divider { display: none; }
}

@media (max-width: 480px) {
  .signers-table th:nth-child(3),
  .signers-table td:nth-child(3),
  .signers-table th:nth-child(4),
  .signers-table td:nth-child(4) { display: none; }
}
