/* ============================================================
   HUMAN UPRISE — the campaign landing (/action/?c=slug).

   Built at 390px first: the person arriving here tapped a link under a
   Reel, on a phone, in an in-app browser. Wider screens only get more
   room; nothing a phone sees is taken away. min-width queries only,
   minmax(0,1fr) columns, form controls at 16px or more so iOS never
   zooms, and the page never scrolls sideways.
   ============================================================ */
@font-face { font-family: "Anton"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/assets/fonts/anton-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/assets/fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("/assets/fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-style: normal; font-display: swap;
  src: url("/assets/fonts/manrope-latin-800-normal.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --an-ground: #0a0807;
  --an-raise: #15110f;
  --an-raise-2: #1d1815;
  --an-ink: #f4efe6;
  --an-dim: #b3a89c;
  --an-faint: #81776d;
  --an-rule: rgba(244, 239, 230, 0.14);
  --an-hot: #ff5141;
  --an-hot-ink: #1a0503;
  --an-gold: #e8c877;
  --an-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --an-ui: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --an-pad: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
/* horizontal clipping lives on the root only: overflow on body makes it
   the containing block for fixed and sticky children (the app bar
   floated mid-screen on older iPhones; see css/style.css) */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 72px; overflow-x: clip; }
@supports not (overflow: clip) { html { overflow-x: hidden; } }
body.an-body {
  margin: 0;
  min-height: 100dvh;
  background: var(--an-ground);
  color: var(--an-ink);
  font: 400 1rem/1.6 var(--an-ui);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }

/* ---- the bar ---- */
.an-top {
  position: sticky; top: 0; z-index: 10;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) var(--an-pad) 10px;
  background: rgba(10, 8, 7, 0.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--an-rule);
  font-weight: 800; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.an-top__home { text-decoration: none; }
.an-top__net { color: var(--an-dim); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-top__acct { text-decoration: none; color: var(--an-hot); }

/* ---- the column ---- */
.an { width: 100%; max-width: 40rem; margin: 0 auto; padding: 0 var(--an-pad) 3rem; }
.an-sec { padding: 2.25rem 0 0; }

.an-hero { padding: 2.5rem 0 0.5rem; }
.an-kicker {
  margin: 0; font-weight: 800; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--an-hot);
}
.an-from {
  display: inline-block; margin: 0.9rem 0 0; padding: 0.35rem 0.75rem; border-radius: 999px;
  background: var(--an-raise-2); box-shadow: inset 0 0 0 1px var(--an-rule);
  font-weight: 800; font-size: 0.72rem; letter-spacing: 0.08em; color: var(--an-ink);
}
.an-h1 {
  margin: 0.75rem 0 0.5rem;
  font-family: var(--an-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3rem, 15.5vw, 5.75rem); line-height: 0.9; letter-spacing: 0.005em;
  overflow-wrap: anywhere;
}
.an-title { margin: 0.5rem 0 0; font-weight: 800; font-size: 1.05rem; }
.an-lede { margin: 0.75rem 0 0; color: var(--an-dim); font-weight: 600; font-size: 1rem; line-height: 1.65; max-width: 60ch; }
.an-lede--sm { font-size: 0.95rem; }
.an-note { margin: 0.5rem 0 0; color: var(--an-faint); font-weight: 600; font-size: 0.85rem; line-height: 1.55; }
.an-small { display: inline-block; margin-top: 0.5rem; color: var(--an-dim); font-weight: 600; font-size: 0.85rem; }

.an-h2 {
  margin: 0 0 0.25rem;
  font-family: var(--an-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2rem, 9vw, 3rem); line-height: 0.95; overflow-wrap: anywhere;
}
.an-h3 { margin: 1.75rem 0 0.25rem; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--an-dim); }
.an-q { margin: 1.5rem 0 0.5rem; font-weight: 800; font-size: 0.95rem; }

/* ---- buttons ---- */
.an-cta { display: grid; gap: 10px; margin-top: 1.5rem; }
.an-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0.8rem 1.25rem; border: 0; border-radius: 14px;
  background: var(--an-raise-2); box-shadow: inset 0 0 0 1px var(--an-rule);
  color: var(--an-ink); font: 800 max(16px, 1rem)/1.2 var(--an-ui); letter-spacing: 0.02em;
  text-decoration: none; text-align: center; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.an-btn:focus-visible, .an-chip:focus-visible, .an-lane:focus-visible { outline: 2px solid var(--an-gold); outline-offset: 2px; }
.an-btn--hot { background: var(--an-hot); color: var(--an-hot-ink); box-shadow: none; }
.an-btn--gold { background: var(--an-gold); color: #1a1404; box-shadow: none; }
.an-btn--ghost { background: transparent; }
.an-btn--block { display: flex; width: 100%; margin-top: 1rem; }
.an-btn[disabled] { opacity: 0.55; cursor: progress; }

/* ---- meters ---- */
.an-meter__n { margin: 0; font-weight: 600; color: var(--an-dim); font-size: 0.95rem; }
.an-meter__n b {
  display: block; color: var(--an-ink);
  font-family: var(--an-display); font-weight: 400; font-size: clamp(3rem, 16vw, 4.5rem); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.an-bar { position: relative; height: 10px; margin-top: 0.9rem; border-radius: 999px; background: var(--an-raise-2); overflow: hidden; }
.an-bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: var(--an-hot); transition: width 0.9s cubic-bezier(.2,.8,.2,1); }
.an-bar--gold i { background: var(--an-gold); }
.an-meter__goal { margin: 0.6rem 0 0; font-weight: 600; font-size: 0.85rem; color: var(--an-faint); }
.an-meter--money { margin-top: 0.5rem; }

/* ---- phases ---- */
.an-phases { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0; }
.an-phases li {
  position: relative; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0.75rem;
  padding: 0.85rem 0; border-top: 1px solid var(--an-rule);
}
.an-phases li:last-child { border-bottom: 1px solid var(--an-rule); }
.an-phases .n { font-family: var(--an-display); font-size: 1.5rem; line-height: 1; color: var(--an-faint); }
.an-phases b { display: block; font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--an-dim); }
.an-phases small { display: block; margin-top: 0.15rem; font-weight: 600; font-size: 0.88rem; color: var(--an-faint); line-height: 1.5; }
.an-phases li.is-now .n, .an-phases li.is-now b { color: var(--an-hot); }
.an-phases li.is-now small { color: var(--an-ink); }
.an-phases li.is-now b::after {
  content: "Now"; margin-left: 0.5rem; padding: 0.1rem 0.45rem; border-radius: 999px; vertical-align: 0.1em;
  background: var(--an-hot); color: var(--an-hot-ink); font-size: 0.62rem; letter-spacing: 0.12em;
}
.an-phases li.is-done .n, .an-phases li.is-done b { color: var(--an-gold); }

/* ---- chips ---- */
.an-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 0.75rem; }
.an-chip {
  min-height: 44px; padding: 0.55rem 0.95rem; border: 0; border-radius: 999px;
  background: var(--an-raise-2); box-shadow: inset 0 0 0 1px var(--an-rule);
  color: var(--an-ink); font: 700 max(16px, 0.95rem)/1.2 var(--an-ui); cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.an-chip[aria-pressed="true"] { background: var(--an-ink); color: var(--an-ground); box-shadow: none; }

/* ---- the account form ---- */
.an-auth { margin-top: 1.5rem; padding: 1rem; border-radius: 18px; background: var(--an-raise); box-shadow: inset 0 0 0 1px var(--an-rule); }
.an-seg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px; padding: 4px; border-radius: 12px; background: var(--an-ground); }
.an-seg button {
  min-height: 44px; border: 0; border-radius: 9px; background: transparent; color: var(--an-dim);
  font: 800 max(16px, 0.9rem)/1.2 var(--an-ui); cursor: pointer;
}
.an-seg button[aria-selected="true"] { background: var(--an-raise-2); color: var(--an-ink); }
.an-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.an-field { display: block; margin-top: 0.85rem; }
.an-field span { display: block; margin-bottom: 0.3rem; font-weight: 800; font-size: 0.78rem; color: var(--an-dim); }
.an-field input, .an-share__url {
  width: 100%; min-height: 48px; padding: 0.7rem 0.85rem; border: 0; border-radius: 12px;
  background: var(--an-ground); box-shadow: inset 0 0 0 1px var(--an-rule); color: var(--an-ink);
  font: 600 max(16px, 1rem)/1.3 var(--an-ui);
}
.an-field input:focus, .an-share__url:focus { outline: none; box-shadow: inset 0 0 0 2px var(--an-gold); }
.an-check { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 1rem; font-weight: 600; font-size: 0.9rem; color: var(--an-dim); }
.an-check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--an-hot); }
.an-check a { color: var(--an-ink); }
.an-msg { min-height: 1.5em; margin: 0.75rem 0 0; font-weight: 700; font-size: 0.92rem; color: var(--an-gold); }
.an-msg.is-bad { color: #ff9a91; }

/* ---- you ---- */
.an-card { margin-top: 2.25rem; padding: 1.5rem 1.1rem 1.25rem; border-radius: 22px; background: var(--an-raise); box-shadow: inset 0 0 0 1px var(--an-rule); }
.an-card__k { margin: 0; font-weight: 800; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--an-hot); }
.an-card__no {
  margin: 0.2rem 0 0; font-family: var(--an-display); font-size: clamp(3.5rem, 20vw, 6rem); line-height: 0.95;
  font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
}
.an-stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1px; margin: 1.25rem 0 0; border-radius: 14px; overflow: hidden; background: var(--an-rule); }
.an-stats div { padding: 0.75rem 0.85rem; background: var(--an-raise); }
.an-stats dt { font-weight: 800; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--an-faint); }
.an-stats dd { margin: 0.2rem 0 0; font-weight: 800; font-size: 1.05rem; overflow-wrap: anywhere; }
.an-card__skills { margin: 0.9rem 0 0; font-weight: 600; font-size: 0.9rem; color: var(--an-dim); }
.an-share { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 0.75rem; }
.an-share__url { font-size: max(16px, 0.9rem); color: var(--an-dim); }
.an-lanes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 0.75rem; }
.an-lane {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px;
  min-height: 56px; padding: 0.75rem 1rem; border: 0; border-radius: 14px; text-align: left;
  background: var(--an-raise-2); box-shadow: inset 0 0 0 1px var(--an-rule); color: var(--an-ink);
  font: 800 max(16px, 0.98rem)/1.25 var(--an-ui); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.an-lane small { display: block; margin-top: 0.15rem; font-weight: 600; font-size: 0.82rem; color: var(--an-dim); }
.an-lane i { font-style: normal; color: var(--an-hot); font-size: 1.1rem; }
.an-lane.is-done { box-shadow: inset 0 0 0 1px var(--an-gold); }
.an-lane.is-done i { color: var(--an-gold); }

/* ---- action-first campaign shell ---- */
.an-action-first .an-hero { display: none; }
.an-action-head { padding: 1.1rem 0 0.35rem; }
.an-action-head__title { margin-top: 0.35rem; font-size: clamp(2.4rem, 12vw, 4.2rem); }
.an-action-head__sub {
  margin: 0.45rem 0 0; color: var(--an-dim); font-weight: 700; font-size: 0.95rem;
}
.an-intake { padding: 0.45rem 0 0; }
.an-intake__law { margin-top: 0.8rem; }
.an-intake-choice.is-selected {
  background: var(--an-ink); color: var(--an-ground); box-shadow: none;
}
.an-intake-choice.is-selected small { color: rgba(10,8,7,.68); }
.an-intake-choice.is-selected i { color: var(--an-ground); }
.an-intake-choice:disabled {
  cursor: not-allowed; opacity: 0.45; filter: saturate(0.4);
}
.an-intake-choice:disabled i {
  color: currentColor; font-size: 0.68rem; text-transform: uppercase; letter-spacing: .08em;
}
.an-selected-action {
  margin-bottom: 0.9rem; padding: 0.95rem 1rem; border-radius: 16px;
  background: var(--an-raise); box-shadow: inset 0 0 0 1px var(--an-hot);
}
.an-selected-action span {
  display: block; color: var(--an-hot); font-weight: 800; font-size: .66rem;
  letter-spacing: .14em; text-transform: uppercase;
}
.an-selected-action b { display: block; margin-top: .2rem; font-size: 1.05rem; line-height: 1.3; }
.an-selected-action p { margin: .35rem 0 0; color: var(--an-dim); font-weight: 600; font-size: .84rem; line-height: 1.5; }
.an-join.is-quick #anHave,
.an-join.is-quick .an-q,
.an-join.is-quick #anSkills { display: none; }
.an-join.is-quick { padding-top: 1rem; }
.an-action-first .an-meter:first-of-type { margin-top: 1.5rem; }

/* ---- campaign-defined intake + funded action bounties ---- */
.an-intake-grid {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 1rem;
}
.an-intake-choice {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px;
  min-height: 64px; padding: 0.9rem 1rem; border: 0; border-radius: 16px; text-align: left;
  background: var(--an-raise); box-shadow: inset 0 0 0 1px var(--an-rule); color: var(--an-ink);
  font: 800 max(16px, 1rem)/1.25 var(--an-ui); text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.an-intake-choice small {
  display: block; margin-top: 0.2rem; color: var(--an-dim); font-weight: 600; font-size: 0.82rem; line-height: 1.45;
}
.an-intake-choice i { font-style: normal; color: var(--an-hot); font-size: 1.2rem; }
.an-intake-choice:focus-visible, .an-intake-choice:hover { outline: none; box-shadow: inset 0 0 0 2px var(--an-hot); }

.an-bounty-list { display: grid; gap: 12px; margin-top: 1rem; }
.an-bounty {
  padding: 1rem; border-radius: 18px; background: var(--an-raise); box-shadow: inset 0 0 0 1px var(--an-rule);
}
.an-bounty__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.an-bounty__top b { display: block; font-weight: 800; font-size: 1rem; line-height: 1.25; }
.an-bounty__top p { margin: 0.45rem 0 0; color: var(--an-dim); font-weight: 600; font-size: 0.86rem; line-height: 1.55; }
.an-bounty__cat {
  display: block; margin-bottom: 0.35rem; color: var(--an-hot); font-weight: 800;
  font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.an-bounty__reward {
  white-space: nowrap; font-family: var(--an-display); font-weight: 400; font-size: 1.75rem; line-height: 1; color: var(--an-gold);
}
.an-bounty__stats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0.85rem; }
.an-bounty__stats span {
  padding: 0.35rem 0.55rem; border-radius: 999px; background: var(--an-ground);
  box-shadow: inset 0 0 0 1px var(--an-rule); color: var(--an-dim);
  font-weight: 800; font-size: 0.7rem; font-variant-numeric: tabular-nums;
}
.an-bounty__proof {
  margin: 0.85rem 0 0; padding: 0.75rem 0.85rem; border-left: 2px solid var(--an-gold);
  background: color-mix(in srgb, var(--an-gold) 7%, transparent); color: var(--an-dim);
  font-weight: 600; font-size: 0.82rem; line-height: 1.55;
}
.an-bounty__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 0.9rem; }
.an-bounty__actions .an-btn { width: 100%; min-height: 46px; }
.an-bounty__actions button:disabled {
  cursor: not-allowed; opacity: 0.48; filter: saturate(0.45);
}
.an-bounties > .an-note { margin-top: 1rem; }

/* ---- evidence ---- */
.an-facts { list-style: none; counter-reset: fact; margin: 1rem 0 0; padding: 0; display: grid; gap: 10px; }
.an-facts li {
  counter-increment: fact; position: relative; padding: 1rem 1rem 0.9rem 3rem; border-radius: 16px;
  background: var(--an-raise); box-shadow: inset 0 0 0 1px var(--an-rule);
}
.an-facts li::before {
  content: counter(fact, decimal-leading-zero); position: absolute; left: 1rem; top: 1.05rem;
  font-family: var(--an-display); font-size: 1.1rem; color: var(--an-hot);
}
.an-facts p { margin: 0; font-weight: 600; font-size: 0.98rem; line-height: 1.55; }
.an-facts a { display: inline-block; margin-top: 0.5rem; font-weight: 800; font-size: 0.8rem; color: var(--an-dim); text-decoration: none; overflow-wrap: anywhere; }
.an-facts a::after { content: " \2197"; }
.an-facts .an-src { display: inline-block; margin-top: 0.5rem; font-weight: 800; font-size: 0.8rem; color: var(--an-faint); }
.an-verify { margin-top: 1.25rem; padding: 1rem 1.1rem; border-radius: 16px; background: transparent; box-shadow: inset 0 0 0 1px var(--an-gold); }
.an-verify .an-h3 { margin-top: 0; color: var(--an-gold); }
.an-verify p { margin: 0.5rem 0 0; color: var(--an-dim); font-weight: 600; font-size: 0.92rem; line-height: 1.6; }
.an-sources { list-style: none; margin: 0.5rem 0 0; padding: 0; }
.an-sources li { padding: 0.75rem 0; border-top: 1px solid var(--an-rule); }
.an-sources a { font-weight: 700; font-size: 0.95rem; text-decoration: none; overflow-wrap: anywhere; }
.an-sources small { display: block; color: var(--an-faint); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---- ledger ---- */
.an-ledger { list-style: none; margin: 1rem 0 0; padding: 0; }
.an-ledger li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 0.75rem; padding: 0.8rem 0; border-top: 1px solid var(--an-rule); }
.an-ledger li:last-child { border-bottom: 1px solid var(--an-rule); }
.an-ledger b { font-weight: 800; font-size: 0.95rem; }
.an-ledger .amt { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.an-ledger small { grid-column: 1 / -1; color: var(--an-faint); font-weight: 600; font-size: 0.8rem; }
.an-ledger a { color: var(--an-dim); }
.an-ledger .empty { display: block; color: var(--an-faint); font-weight: 600; font-size: 0.9rem; }

/* ---- the index ---- */
.an-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 10px; }
.an-list a {
  display: block; padding: 1.1rem 1rem; border-radius: 16px; text-decoration: none;
  background: var(--an-raise); box-shadow: inset 0 0 0 1px var(--an-rule);
}
.an-list small { display: block; font-weight: 800; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--an-hot); }
.an-list b { display: block; margin-top: 0.25rem; font-family: var(--an-display); font-weight: 400; font-size: 1.6rem; line-height: 1; text-transform: uppercase; }
.an-list span { display: block; margin-top: 0.4rem; font-weight: 600; font-size: 0.88rem; color: var(--an-dim); }

.an-mnet { margin-top: 1rem; padding-bottom: 0.5rem; }

/* ---- footer ---- */
/* the house stylesheet already pads body.has-appbar clear of the bar */
.an-foot { max-width: 40rem; margin: 0 auto; padding: 1.5rem var(--an-pad) 2rem; border-top: 1px solid var(--an-rule); }
.an-crumb { display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; margin: 0; font-weight: 800; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--an-dim); }
.an-crumb a { text-decoration: none; color: var(--an-ink); }
.an-crumb span[aria-hidden] { color: var(--an-faint); }
.an-foot__law { margin: 0.9rem 0 0; font-weight: 600; font-size: 0.78rem; line-height: 1.6; color: var(--an-faint); }

@media (prefers-reduced-motion: reduce) {
  .an-bar i { transition: none; }
}

/* ---- more room: tablet and up only ADD space ---- */
@media (min-width: 600px) {
  :root { --an-pad: 28px; }
  .an-cta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .an-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .an-lanes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .an-intake-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .an-bounty__actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .an-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .an-card { padding: 2rem 1.75rem 1.75rem; }
  .an-hero { padding-top: 4rem; }
}
@media (min-width: 960px) {
  .an, .an-foot { max-width: 46rem; }
  .an-sec { padding-top: 3rem; }
}
