/* AgentBrain — Founding / Private Beta page styles (shared) */
:root {
  --bg:        #ffffff;
  --bg-soft:   #fafafa;
  --bg-tint:   #f5f5f7;
  --panel:     #ffffff;
  --ink:       #0a0a0c;
  --muted:     #5b5b62;
  --soft:      #8e8e95;
  --hair:      rgba(10,10,12,0.07);
  --hair-strong: rgba(10,10,12,0.12);

  --blue:  #4f64ff;
  --cyan:  #5bc7d8;
  --green: #1d9f6f;
  --amber: #c98118;
  --red:   #e5484d;
  --purple: #7c3aed;

  --accent-grad: linear-gradient(135deg, #4f64ff 0%, #6c7dff 50%, #5bc7d8 100%);

  --sans: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --display: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --max: 880px;
  --pad: clamp(22px, 4vw, 56px);
  --t-fast: 180ms;
  --t-move: 220ms;
}

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

html { scroll-behavior: smooth; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--ink); color: #fff; }

body {
  background:
    radial-gradient(1100px 650px at 80% 4%, rgba(79,100,255,0.12), transparent 55%),
    radial-gradient(900px 600px at 6% 30%, rgba(91,199,216,0.08), transparent 60%),
    radial-gradient(1000px 700px at 94% 62%, rgba(124,58,237,0.05), transparent 60%),
    radial-gradient(900px 600px at 10% 88%, rgba(79,100,255,0.06), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  min-height: 100vh;
}

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px var(--pad) 96px;
}

/* —— Scroll reveal —— */
.reveal { opacity: 1; transform: none; }
html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0ms);
}
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* —— Signal Mark —— */
.ab-mark { display: block; flex-shrink: 0; }
.ab-mark circle { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .ab-mark .core { animation: abCore 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
  .ab-mark .r1 { animation: abR1 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite 0.15s; }
  .ab-mark .r2 { animation: abR2 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite 0.3s; }
}
@keyframes abCore { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes abR1 { 0%, 100% { transform: scale(1); opacity: 0.45; } 50% { transform: scale(1.055); opacity: 0.62; } }
@keyframes abR2 { 0%, 100% { transform: scale(1); opacity: 0.22; } 50% { transform: scale(1.045); opacity: 0.34; } }

/* —— Top bar —— */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 56px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}
.topbar .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.topbar .brand .ab-mark { width: 22px; height: 22px; }
.topbar .nav { display: flex; align-items: center; gap: 28px; }
.topbar .nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--t-fast) ease;
}
.topbar .nav a:hover { color: var(--ink); }
.topbar .nav a.apply-link { color: var(--blue); font-weight: 500; }
.topbar .nav a.apply-link:hover { color: var(--ink); }

/* —— Language switch —— */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--soft);
}
.lang-switch button {
  background: none;
  border: none;
  padding: 4px 5px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--soft);
  cursor: pointer;
  border-radius: 5px;
  transition: color var(--t-fast) ease, background var(--t-fast) ease;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button[aria-pressed="true"] {
  color: var(--ink);
  font-weight: 500;
  background: var(--bg-tint);
}

/* —— Buttons —— */
.btn-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  background: var(--accent-grad);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 26px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.1px;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--t-move) cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow var(--t-move) ease;
  box-shadow: 0 1px 2px rgba(10,10,12,0.08), 0 0 0 1px rgba(79,100,255,0.2) inset;
}
.btn-primary .arrow { transition: transform var(--t-move) ease; opacity: 0.9; }
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79,100,255,0.22), 0 0 0 1px rgba(79,100,255,0.3) inset;
}
.btn-primary:hover .arrow { transform: translateX(3px); }
.btn-primary:active { transform: translateY(0); }

.btn-row .btn-primary {
  min-height: 50px;
  padding: 14px 30px;
  font-size: 16px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 13px 20px;
  background: transparent;
  border: 1px solid var(--hair-strong);
  border-radius: 10px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.1px;
  text-decoration: none;
  transition: border-color var(--t-fast) ease, background var(--t-fast) ease;
}
.btn-ghost:hover { border-color: var(--ink); background: var(--bg-soft); }

/* —— Hero —— */
header { margin-bottom: 88px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: rgba(79,100,255,0.08);
  color: var(--blue);
  border: 1px solid rgba(79,100,255,0.16);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2px;
  margin-bottom: 32px;
}
.eyebrow .status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(79,100,255,0.5);
  animation: pulseRing 2.6s ease-out infinite;
}
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(79,100,255,0.5); }
  70%  { box-shadow: 0 0 0 9px rgba(79,100,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(79,100,255,0); }
}
@media (prefers-reduced-motion: reduce) {
  .eyebrow .status { animation: none; }
}

h1 {
  font-family: var(--display);
  font-size: clamp(38px, 5.2vw, 60px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 28px;
  text-wrap: balance;
}
h1 em {
  font-style: normal;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 660px;
  margin-bottom: 28px;
  letter-spacing: -0.2px;
  text-wrap: pretty;
}
.lede .quiet { color: var(--muted); }

/* —— Seat indicator —— */
.seats { display: flex; align-items: center; gap: 14px; }
.seat-dots { display: flex; gap: 6px; }
.seat-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  background: rgba(79,100,255,0.08);
}
.seats .seat-meta {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--soft);
  letter-spacing: 0.2px;
}
.seats .seat-meta .sep { margin: 0 4px; opacity: 0.6; }

/* —— Sections —— */
section { margin-bottom: 88px; }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hair);
  position: relative;
}
.section-head::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 64px;
  height: 2px;
  background: var(--accent-grad);
}
.section-num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--soft);
  letter-spacing: 0.4px;
}
h2 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.section-intro {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 28px;
  text-wrap: pretty;
}
.section-intro strong { color: var(--ink); font-weight: 500; }

/* —— Pitch leads —— */
.pitch-lead {
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 27px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.5px;
  color: var(--ink);
  max-width: 680px;
  margin-bottom: 36px;
  text-wrap: pretty;
}
.pitch-lead em {
  font-style: normal;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pitch-text p {
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--ink);
  max-width: 660px;
  margin-bottom: 16px;
  letter-spacing: -0.1px;
  text-wrap: pretty;
}
.pitch-text p:last-child { margin-bottom: 0; }
.pitch-text strong { font-weight: 500; }

/* —— Failure modes —— */
.fails {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 36px;
}
.fail {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--hair);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  transition: border-color var(--t-fast) ease;
}
.fail:hover { border-color: var(--hair-strong); }
.fail .x {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--red);
  line-height: 1.5;
}

/* —— "It is knowing" mono ledger —— */
.knowing {
  list-style: none;
  max-width: 560px;
  margin: 0 0 36px;
  border: 1px solid var(--hair);
  border-radius: 12px;
  background: var(--bg-soft);
  overflow: hidden;
}
.knowing li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 12px 18px;
  font-size: 15.5px;
  color: var(--ink);
  border-bottom: 1px solid var(--hair);
}
.knowing li:last-child { border-bottom: none; }
.knowing .k-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--soft);
  letter-spacing: 0.3px;
}

/* —— Pillars (What AgentBrain gives) —— */
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.pillar {
  padding: 26px 26px 28px;
  background: var(--panel);
  border: 1px solid var(--hair);
  border-radius: 14px;
  transition: border-color var(--t-fast) ease, transform var(--t-move) cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow var(--t-move) ease;
}
.pillar:hover {
  border-color: var(--hair-strong);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -18px rgba(10,10,12,0.25);
}
.pillar .p-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--blue);
  display: block;
  margin-bottom: 14px;
}
.pillar h3 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}
.pillar p {
  font-size: 15px;
  line-height: 1.58;
  color: var(--muted);
  text-wrap: pretty;
}
.pillar p strong { color: var(--ink); font-weight: 500; }

/* —— Inline CTA strip —— */
.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding: 20px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--hair);
  border-radius: 12px;
}
.cta-strip .note { font-size: 15px; color: var(--muted); text-wrap: pretty; }
.cta-strip .note strong { color: var(--ink); font-weight: 500; }

/* —— Claim list with labels —— */
.claims {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.claim {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 18px 22px;
  background: var(--panel);
  border: 1px solid var(--hair);
  border-radius: 12px;
  transition: border-color var(--t-fast) ease, transform var(--t-move) cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow var(--t-move) ease;
}
.claim:hover {
  border-color: var(--hair-strong);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -18px rgba(10,10,12,0.25);
}
.claim-text { font-size: 16px; line-height: 1.55; color: var(--ink); }
.claim-text .qualifier {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  background: var(--bg-tint);
  padding: 2px 6px;
  border-radius: 4px;
}

/* —— Labels —— */
.label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 0.4px;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid;
  white-space: nowrap;
  align-self: start;
  margin-top: 2px;
}
.label.live       { background: rgba(29,159,111,0.08);  color: var(--green);  border-color: rgba(29,159,111,0.22); }
.label.benchmark  { background: rgba(79,100,255,0.08);  color: var(--blue);   border-color: rgba(79,100,255,0.22); }
.label.proof      { background: rgba(201,129,24,0.08);  color: #a0671b;       border-color: rgba(201,129,24,0.24); }
.label.hypothesis { background: rgba(124,58,237,0.08);  color: var(--purple); border-color: rgba(124,58,237,0.22); }
.label.roadmap    { background: rgba(10,10,12,0.04);    color: var(--muted);  border-color: var(--hair-strong); }
.label.blocked    { background: rgba(229,72,77,0.08);   color: var(--red);    border-color: rgba(229,72,77,0.22); }

/* —— Take / Skip two-column —— */
.requirements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.req-col {
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--hair);
  border-radius: 12px;
  transition: border-color var(--t-fast) ease;
}
.req-col:hover { border-color: var(--hair-strong); }
.req-col h3 {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--blue);
  margin-bottom: 20px;
}
.req-col.skip h3 { color: var(--soft); }
.req-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.req-col li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  padding-left: 22px;
  position: relative;
}
.req-col li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 500;
  font-family: var(--mono);
}
.req-col.skip li { color: var(--muted); }
.req-col.skip li::before { content: "−"; color: var(--soft); }

/* —— Test checklist —— */
.testlist {
  list-style: none;
  border: 1px solid var(--hair);
  border-radius: 14px;
  background: var(--panel);
  overflow: hidden;
}
.testlist li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 16px 22px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
  border-bottom: 1px solid var(--hair);
}
.testlist li:last-child { border-bottom: none; }
.testlist .q {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
}

/* —— Outcomes (after 90 days) —— */
.outcomes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}
.outcome {
  padding: 24px 24px 26px;
  border-radius: 14px;
  border: 1px solid var(--hair);
  background: var(--panel);
}
.outcome.yes { border-color: rgba(29,159,111,0.25); }
.outcome.no  { border-color: var(--hair-strong); }
.outcome .o-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
  border: 1px solid;
}
.outcome.yes .o-tag { color: var(--green); background: rgba(29,159,111,0.08); border-color: rgba(29,159,111,0.22); }
.outcome.no  .o-tag { color: var(--muted); background: rgba(10,10,12,0.04);   border-color: var(--hair-strong); }
.outcome h3 {
  font-family: var(--display);
  font-size: 17.5px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.outcome p { font-size: 14.5px; line-height: 1.58; color: var(--muted); text-wrap: pretty; }

/* —— Prose —— */
.prose p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 640px;
}

/* —— Form —— */
form {
  background: var(--panel);
  border: 1px solid var(--hair);
  border-radius: 14px;
  padding: 36px 32px;
}
.field { margin-bottom: 28px; }
.field:last-of-type { margin-bottom: 32px; }

.field-label {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  margin-bottom: 8px;
}
.field-label .optional {
  text-transform: none;
  color: var(--soft);
  font-weight: 400;
  letter-spacing: 0.2px;
}
.field-hint {
  font-size: 14px;
  color: var(--soft);
  margin-bottom: 10px;
  line-height: 1.5;
}

input[type="email"],
input[type="text"],
textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--hair-strong);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
input[type="email"]:focus,
input[type="text"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(79,100,255,0.12);
}
textarea {
  resize: vertical;
  min-height: 90px;
  font-family: var(--sans);
  line-height: 1.55;
}

.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-option {
  flex: 1;
  min-width: 100px;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--hair-strong);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color var(--t-fast) ease, background var(--t-fast) ease;
}
.radio-option:hover { border-color: var(--blue); }
.radio-option input { accent-color: var(--blue); }
.radio-option:has(input:checked) {
  border-color: var(--blue);
  background: rgba(79,100,255,0.04);
}

.submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.submit-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--soft);
  letter-spacing: 0.2px;
}
.apply-smallprint {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--soft);
  line-height: 1.6;
  max-width: 620px;
  text-wrap: pretty;
}

/* —— Form success state —— */
.form-success {
  display: none;
  background: var(--panel);
  border: 1px solid rgba(29,159,111,0.25);
  border-radius: 14px;
  padding: 44px 32px;
  text-align: center;
}
.form-success.show { display: block; }
form.hide { display: none; }
.form-success .ab-mark { width: 44px; height: 44px; margin: 0 auto 20px; }
.form-success h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.form-success .ok-note {
  font-size: 15px;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.6;
}
.form-success .meta {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--soft);
  letter-spacing: 0.2px;
}

/* —— Next steps (inside success state) —— */
.next-steps {
  list-style: none;
  text-align: left;
  max-width: 540px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.next-steps .step {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 16px;
  align-items: start;
}
.next-steps .step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--hair-strong);
  background: var(--bg-soft);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.next-steps .step-body h4 {
  font-family: var(--display);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 4px;
}
.next-steps .step-body p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.mono-link {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px dashed rgba(79,100,255,0.4);
  transition: color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.mono-link:hover { color: var(--ink); border-color: var(--ink); }

/* —— Sticky CTA bar —— */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 90px);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 12px 10px 20px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--hair-strong);
  border-radius: 100px;
  box-shadow: 0 12px 32px -12px rgba(10,10,12,0.25);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.35s ease;
}
.sticky-cta.show {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}
.sticky-cta .count {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.sticky-cta .btn-primary {
  min-height: 40px;
  padding: 9px 20px;
  font-size: 14px;
  border-radius: 100px;
}

/* —— Footer —— */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  margin-top: 56px;
  border-top: 1px solid var(--hair);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--soft);
  letter-spacing: 0.2px;
}
footer .made { display: flex; align-items: center; gap: 10px; }
footer .made .ab-mark { width: 16px; height: 16px; opacity: 0.85; }
footer .links { display: flex; gap: 22px; }
footer .links a {
  color: var(--soft);
  text-decoration: none;
  transition: color var(--t-fast) ease;
}
footer .links a:hover { color: var(--ink); }

/* —— Responsive —— */
@media (min-width: 1080px) {
  .page { max-width: 980px; }
  .fails { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 880px) {
  .topbar .nav { gap: 18px; }
  .topbar { font-size: 12.5px; }
}
@media (max-width: 640px) {
  .page { padding: 32px 20px 110px; }
  .topbar { padding-bottom: 40px; font-size: 12px; }
  .topbar .nav { gap: 14px; }
  .topbar .nav a:not(.apply-link) { display: none; }
  header { margin-bottom: 64px; }
  h1 { font-size: 34px; }
  .lede { font-size: 17px; }
  section { margin-bottom: 64px; }
  h2 { font-size: 24px; }
  .fails { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .outcomes { grid-template-columns: 1fr; }
  .requirements { grid-template-columns: 1fr; gap: 20px; }
  .req-col { padding: 22px; }
  .claim { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .label { justify-self: start; }
  form { padding: 26px 22px; }
  .cta-strip { padding: 18px; }
  footer { flex-direction: column; gap: 14px; align-items: flex-start; }
  footer .links { gap: 18px; }

  /* device polish (phone) */
  .btn-row { gap: 10px; }
  .btn-row .btn-primary, .btn-row .btn-ghost { width: 100%; justify-content: center; }
  .seats { flex-wrap: wrap; gap: 10px; }
  .pitch-lead { font-size: 19px; }
  .section-intro { font-size: 15px; }
  .fail { padding: 14px 16px; font-size: 14.5px; }
  .knowing li { padding: 10px 14px; font-size: 14.5px; }
  .testlist li { padding: 13px 16px; font-size: 14.5px; grid-template-columns: 24px 1fr; gap: 10px; }
  .pillar { padding: 20px 18px 22px; }
  .pillar h3 { font-size: 17px; }
  .pillar p { font-size: 14.5px; }
  .outcome { padding: 20px 18px; }
  .cta-strip { flex-direction: column; align-items: stretch; }
  .cta-strip .btn-primary { justify-content: center; }
  .radio-group { flex-direction: column; }
  .radio-option { min-width: 0; }
  .submit-row { flex-direction: column; align-items: stretch; }
  .submit-row .btn-primary { justify-content: center; }
  .submit-meta { text-align: center; }
  .next-steps { gap: 16px; }
}

@media (max-width: 480px) {
  .sticky-cta { padding: 8px 10px; }
  .sticky-cta .count { display: none; }
  .eyebrow { font-size: 11px; padding: 5px 10px; }
  h1 { font-size: 30px; }
}
