/* ==========================================================================
   SAI FOUNDER'S EDITION: CAMPAIGN ADAPTER
   Universal Network Development LLC
   --------------------------------------------------------------------------
   Genuine gaps only. Everything else is the ported Sovereign liquid-glass
   surface (sovereign-glass.css + sovereign-product-glass.css, byte-identical
   to the Sovereign site's own copies). Every rule is scoped to .founders-page so nothing
   leaks into other Sovereign pages, and no colour here is new: every value is
   a house token or a house rgba of one.
   Proof: test-founders-page.mjs (static checks) + a 375px headless render
   with a layout probe (zero elements past the viewport edge).
   ========================================================================== */

/* sovereign-product-glass.css references --text-high, which the core token set
   does not define. Alias it so reused intake/field classes render at full
   contrast instead of falling back through inheritance. */
.founders-page {
  --text-high: var(--text-pure);
}

/* Accessibility helpers ------------------------------------------------- */
/* Skip link: the header carries six links before the content (WCAG 2.4.1). */
.founders-page .skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 9999px;
  background: var(--bg-deep);
  border: 1px solid var(--accent-cyan);
  color: var(--text-pure);
  font-size: 13px;
  text-decoration: none;
}
.founders-page .skip-link:focus { top: 12px; }

.founders-page .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* The glass buttons are translucent white on translucent white, so the browser
   default focus ring can vanish against them. One visible ring for keyboards. */
.founders-page a:focus-visible,
.founders-page button:focus-visible,
.founders-page summary:focus-visible,
.founders-page .table-scroll:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

/* House labels use --text-muted (#64748b), about 4:1 on the near-black glass:
   below the 4.5:1 AA floor for text this small. On this page they read as
   --text-dim (about 7:1). Remove once the house tokens are fixed centrally. */
.founders-page .ribbon-lbl,
.founders-page .metric-box-lbl,
.founders-page .footer-legal-copy,
.founders-page .scroll-hint-text {
  color: var(--text-dim);
}

/* The campaign is one long scroll of glass sections; same rhythm as the
   product front's showcase-flow. */
.founders-page .campaign-flow {
  position: relative;
  z-index: 10;
  max-width: 1160px;
  margin: 0 auto 90px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Hero support ---------------------------------------------------------- */
.founders-page .hero-lede {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 6px;
}
.founders-page .hero-lede strong { color: var(--text-pure); }
.founders-page .hero-actions-row { flex-wrap: wrap; gap: 12px; }
.founders-page .hero-credentials-ribbon { margin-top: 30px; flex-wrap: wrap; gap: 14px; }

/* A prose column reusing the legal typography, without the boxed legal-card
   chrome (sections already sit inside glass-section-card). */
.founders-page .prose-body {
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.75;
  max-width: 760px;
}
.founders-page .prose-body p { margin-bottom: 16px; }
.founders-page .prose-body strong { color: var(--text-pure); }
.founders-page .prose-body a { color: var(--accent-cyan); }
.founders-page .prose-after-note { margin-top: 20px; }
.founders-page .funds-intro { margin-top: 28px; }

/* Owner-only placeholder markers ---------------------------------------- */
/* Marks a real gap the owner fills before launch (founder story, ship list,
   goal, prices, refund terms). Deliberately unmistakable so nothing ships
   with a blank presented as finished copy. The page is noindex while any
   marker remains (see the head of founders.html). */
.founders-page .owner-fill {
  position: relative;
  margin: 22px 0 4px;
  padding: 18px 20px 18px 22px;
  border: 1px dashed rgba(167, 139, 250, 0.55);
  border-radius: 16px;
  background: rgba(167, 139, 250, 0.06);
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.65;
}
.founders-page .owner-fill::before {
  content: "TO SET BEFORE LAUNCH";
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(167, 139, 250, 0.16);
  border: 1px solid rgba(167, 139, 250, 0.4);
  color: var(--accent-violet);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
}
.founders-page .owner-fill p { margin: 0; }
.founders-page .owner-fill .fill-hint {
  display: block;
  margin-top: 8px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
}
/* An inline owner value ([SET] inside a sentence, a table cell or a price slot). */
.founders-page .set-cell {
  font-family: var(--font-mono);
  color: var(--accent-violet);
  white-space: nowrap;
}

/* Funding goal ---------------------------------------------------------- */
/* No progress bar: a meter must read the real paid total or not exist. */
.founders-page .goal-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: center;
}
.founders-page .goal-wrap .owner-fill { margin: 0; }
.founders-page .goal-figure {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #ffffff;
}
.founders-page .goal-figure .set-cell { font-size: 40px; letter-spacing: 0; }
.founders-page .goal-caption {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 340px;
}

/* Use of funds: the 3-column table must never be clipped by the card's
   overflow:hidden. It scrolls inside its own focusable region instead. */
.founders-page .table-scroll {
  margin: 4px 0 0;
  overflow-x: auto;
  border-radius: 12px;
}
.founders-page .legal-data-table { margin: 0; }

/* "What SAI is" pillars grid (reuses vector-card visuals) --------------- */
.founders-page .pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.founders-page .pillars-grid .vector-card { min-height: 236px; }

/* Backer tiers ----------------------------------------------------------- */
.founders-page .tiers-note {
  margin: -8px 0 18px;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.6;
}
.founders-page .tiers-note a { color: var(--accent-cyan); }
.founders-page #tiers .owner-fill { margin: 0 0 26px; }
.founders-page .tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.founders-page .tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  border-radius: 20px;
  padding: 24px 22px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.02) 40%,
    rgba(15, 23, 42, 0.35) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-top: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    inset 0 1.2px 1.8px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 2px 0 rgba(0, 0, 0, 0.4),
    0 16px 36px -10px rgba(0, 0, 0, 0.65),
    0 0 20px -5px rgba(56, 189, 248, 0.08);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.founders-page .tier-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.35);
  border-top-color: rgba(255, 255, 255, 0.65);
  box-shadow:
    inset 0 1.5px 2.5px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 2px 0 rgba(0, 0, 0, 0.4),
    0 24px 50px -10px rgba(0, 0, 0, 0.85),
    0 0 35px -5px rgba(56, 189, 248, 0.3);
}
.founders-page .tier-card.featured {
  border-color: rgba(56, 189, 248, 0.5);
  border-top-color: rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 1.5px 2.5px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 2px 0 rgba(0, 0, 0, 0.45),
    0 24px 54px -10px rgba(0, 0, 0, 0.85),
    0 0 44px -6px rgba(56, 189, 248, 0.4);
}
/* A plain label for the core tier. No scarcity badges: nothing on this page
   is capped, so nothing may claim to be "limited". It sits on the card's top
   edge like a tab, so the tier name and price line up with the other cards. */
.founders-page .tier-ribbon {
  position: absolute;
  top: -10px;
  right: 18px;
  padding: 3px 10px;
  border-radius: 9999px;
  background: linear-gradient(rgba(56, 189, 248, 0.14), rgba(56, 189, 248, 0.14)), var(--bg-deep);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.founders-page .tier-eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin: 0 0 12px;
}
.founders-page .tier-price {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 16px;
}
.founders-page .tier-price .set-cell { font-size: 24px; letter-spacing: 0; }
.founders-page .tier-perks {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 9px;
  flex-grow: 1;
  align-content: start;
}
.founders-page .tier-perks li {
  position: relative;
  padding-left: 22px;
  font-size: 12.8px;
  line-height: 1.5;
  color: var(--text-dim);
}
.founders-page .tier-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background: radial-gradient(circle at 50% 50%, var(--accent-emerald) 0 3px, transparent 4px);
  border: 1px solid rgba(52, 211, 153, 0.4);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.35);
}
.founders-page .tier-card .btn-sovereign-primary,
.founders-page .tier-card .btn-sovereign-secondary {
  width: 100%;
  justify-content: center;
  margin-top: auto;
  border: 0;
  font-family: inherit;
}
.founders-page .tier-card .btn-sovereign-secondary { border: 1px solid rgba(255, 255, 255, 0.16); }
/* A closed tier must look closed: no lift, no glow, no pointer. */
.founders-page .tier-card button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* FAQ + risks reuse legal typography ------------------------------------ */
.founders-page .faq-list { display: grid; gap: 12px; }
.founders-page .faq-item {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}
.founders-page .faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.founders-page .faq-item > summary::-webkit-details-marker { display: none; }
.founders-page .faq-item > summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--accent-cyan);
  line-height: 1;
}
.founders-page .faq-item[open] > summary::after { content: "\2212"; }
.founders-page .faq-item .faq-answer {
  padding: 0 20px 18px;
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.7;
  overflow-wrap: anywhere; /* long email addresses must wrap at 375px */
}
.founders-page .faq-item .faq-answer a { color: var(--accent-cyan); }
.founders-page .faq-item .faq-answer .owner-fill { margin: 0; }

.founders-page .risk-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.founders-page .risk-list li {
  padding-left: 20px;
  position: relative;
  color: var(--text-dim);
  font-size: 13.8px;
  line-height: 1.7;
}
.founders-page .risk-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: var(--accent-blue);
  box-shadow: 0 0 10px var(--accent-blue);
}
.founders-page .risk-list strong { color: var(--text-pure); }

/* Final CTA -------------------------------------------------------------- */
.founders-page .cta-band { text-align: center; }
.founders-page .cta-band .section-title { font-size: 30px; margin-bottom: 12px; }
.founders-page .cta-band .prose-body { margin: 0 auto 26px; text-align: center; }
.founders-page .cta-band .hero-actions-row { justify-content: center; }

/* Inline checkout status (mirrors intake-status tone) -------------------- */
.founders-page .checkout-status {
  min-height: 18px;
  margin: 14px 0 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.5;
}
.founders-page .checkout-status.error { color: #ffb0bb; }
.founders-page .checkout-status a { color: var(--accent-cyan); margin-left: 6px; }

/* Footer note (was an inline style) ------------------------------------- */
.founders-page .footer-note {
  max-width: 760px;
  margin: 0 auto 14px;
  text-align: center;
  color: var(--text-dim);
  font-size: 12.5px;
  line-height: 1.6;
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .founders-page .pillars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .founders-page .tiers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .founders-page .goal-wrap { grid-template-columns: 1fr; gap: 22px; }
}

/* Phone widths. Measured at 375px before this block: the header pill ran to
   x=405, the funds table and footer links ran past the edge, and the house
   44/48px card padding left ~230px for text. */
@media (max-width: 640px) {
  .founders-page .pillars-grid,
  .founders-page .tiers-grid { grid-template-columns: 1fr; }
  .founders-page .campaign-flow { gap: 24px; padding: 0 16px; }
  .founders-page .glass-section-card { padding: 28px 20px; border-radius: 22px; }
  .founders-page .section-head-wrap { margin-bottom: 22px; padding-bottom: 16px; }
  .founders-page .section-title { font-size: 22px; }
  .founders-page .cta-band .section-title { font-size: 24px; }
  .founders-page .goal-figure { font-size: 42px; }
  .founders-page .legal-data-table th,
  .founders-page .legal-data-table td { padding: 10px 10px; font-size: 12.5px; }
  .founders-page .tier-card { min-height: 0; }
  .founders-page .footer-top-row { flex-direction: column; gap: 14px; }
  .founders-page .footer-nav-links { flex-wrap: wrap; justify-content: center; gap: 10px 20px; }
}

/* The house header has no room for the crest, the wordmark and the action
   pill below ~480px. The crest stays (it is the brand mark) and the link keeps
   its accessible name from aria-label; only the wordmark text drops. */
@media (max-width: 480px) {
  .founders-page .sovereign-nav-wrapper { padding: 0 16px; }
  .founders-page .sovereign-header-nav { gap: 12px; padding: 7px 10px 7px 14px; }
  .founders-page .sovereign-header-nav .brand-name { display: none; }
  .founders-page .nav-action-pill { padding: 8px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .founders-page .tier-card { transition: none; }
  .founders-page .tier-card:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   PRE-LAUNCH "GET NOTIFIED" (2026-10-03). House tokens only.
   -------------------------------------------------------------------------- */
.founders-page .founders-mark {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 0 14px;
  filter: drop-shadow(0 10px 28px rgba(56, 189, 248, 0.28));
}
.founders-page .founders-notify-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.founders-page .founders-notify-input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 13px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-pure);
  font: inherit;
  font-size: 15px;
  backdrop-filter: blur(12px);
}
.founders-page .founders-notify-input::placeholder { color: var(--text-dim); }
.founders-page .founders-notify-input:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}
.founders-page .founders-notify-form .btn-sovereign-primary { flex: 0 0 auto; }
.founders-page .founders-notify-form .btn-sovereign-primary:disabled { opacity: 0.6; cursor: wait; }
.founders-page .founders-notify-fine,
.founders-page .founders-notify-status {
  flex-basis: 100%;
  margin: 0;
  font-size: 13px;
  color: var(--text-dim);
}
.founders-page .founders-notify-status.is-ok { color: var(--accent-emerald); }
.founders-page .founders-notify-status.is-error { color: #f87171; }
.founders-page .founders-notify-inline { max-width: 560px; margin: 18px auto 0; justify-content: center; }
.founders-page .tier-price small {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-dim);
}
.founders-page .tier-card .btn-sovereign-primary,
.founders-page .tier-card .btn-sovereign-secondary { margin-top: auto; text-align: center; }
.founders-page .tiers-grid.founders-single { grid-template-columns: minmax(0, 420px); justify-content: center; }
