/* ============ BETA PAGE ADDITIONS ============ */
/* Re-uses ALL tokens + component styles from styles.css. Additive only. */

/* Hero tweaks for beta page (shorter, tighter) */
.hero-beta {
  min-height: auto;
  padding: 160px 0 100px;
}
.hero-beta h1 {
  font-size: clamp(40px, 6.2vw, 68px);
  max-width: 960px;
}
.hero-beta .hero-sub { max-width: 660px; }

/* Tight quote-style accent on hero h1 */
.hero-beta h1 .accent { display: inline-block; }

/* Pain cards — reuse .problem-card but with a numbered step badge */
.pain-card { position: relative; }
.pain-card-num {
  position: absolute;
  top: 24px; right: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--slate-400);
}
.pain-card-cost {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px dashed var(--slate-200);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--slate-700);
  line-height: 1.55;
}
.pain-card-cost strong {
  color: var(--slate-900);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  display: block;
  margin-bottom: 4px;
  color: var(--rose);
}

/* ============ FOUNDING / SIGNUP SECTION ============ */
.founding {
  background: var(--slate-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.founding::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 40% at 20% 0%, rgba(0,194,168,0.18) 0%, transparent 70%),
    radial-gradient(50% 40% at 85% 100%, rgba(0,194,168,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.founding .container { position: relative; z-index: 1; }

.founding-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: start;
}

/* Left: pitch */
.founding-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px;
  background: rgba(0,194,168,0.12);
  border: 1px solid rgba(0,194,168,0.3);
  border-radius: 100px;
  font-size: 13px;
  color: var(--teal);
  margin-bottom: 28px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.founding-eyebrow-dot {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px;
  background: var(--teal);
  color: #06261f;
  border-radius: 100px;
  font-weight: 700;
  font-size: 11px;
  font-family: var(--font-display);
}
.founding h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 28px;
  text-wrap: balance;
}
.founding h2 .accent { color: var(--teal); font-style: italic; font-weight: 700; }
.founding p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  margin: 0 0 20px;
  max-width: 520px;
}
.founding p strong { color: #fff; font-weight: 600; }

/* Seat meter */
.seat-meter {
  margin-top: 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 22px 24px;
  max-width: 420px;
}
.seat-meter-top {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 12px;
}
.seat-meter-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.seat-meter-count {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #fff;
}
.seat-meter-count strong { color: var(--teal); font-weight: 800; }
.seat-meter-bar {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}
.seat-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), #7DE3D3);
  border-radius: 100px;
  box-shadow: 0 0 16px rgba(0,194,168,0.6);
}
.seat-meter-note {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}

/* Perks list */
.founding-perks {
  list-style: none; padding: 0;
  margin: 32px 0 0;
  display: flex; flex-direction: column; gap: 14px;
  max-width: 480px;
}
.founding-perks li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 15.5px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
.founding-perks li svg { flex: none; margin-top: 3px; color: var(--teal); }
.founding-perks li strong { color: #fff; font-weight: 600; }

/* Right: form card */
.signup-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.1),
    0 40px 80px -30px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.08);
  position: relative;
  color: var(--slate-800);
}
.signup-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(0,194,168,0.3), transparent 40%);
  z-index: -1;
  opacity: 0.6;
}

.signup-card-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.signup-card-kicker::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--teal);
}
.signup-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--slate-900);
  margin: 0 0 8px;
  line-height: 1.1;
}
.signup-card-tag {
  font-size: 15px;
  color: var(--slate-500);
  margin: 0 0 28px;
  line-height: 1.55;
}

.signup-form { display: flex; flex-direction: column; gap: 18px; }
.signup-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 14px;
}
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-500);
  font-weight: 500;
  margin-bottom: 6px;
}
.field input,
.field select {
  width: 100%;
  background: var(--cream);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--slate-900);
  outline: none;
  transition: border-color .15s, background .15s, box-shadow .15s;
  appearance: none;
  -webkit-appearance: none;
}
.field input:focus,
.field select:focus {
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0,194,168,0.15);
}
.field input::placeholder { color: var(--slate-400); }
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.field.has-error input,
.field.has-error select {
  border-color: var(--rose);
  background: #FEF6F7;
}

/* Consent checkbox */
.consent {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  font-size: 13.5px;
  color: var(--slate-700);
  line-height: 1.55;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.consent.has-error {
  border-color: var(--rose);
  background: #FEF6F7;
}
.consent input[type="checkbox"] {
  flex: none;
  appearance: none;
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border: 1.5px solid var(--slate-300);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  margin-top: 1px;
  position: relative;
  transition: border-color .15s, background .15s;
}
.consent input[type="checkbox"]:hover { border-color: var(--slate-500); }
.consent input[type="checkbox"]:checked {
  background: var(--teal);
  border-color: var(--teal);
}
.consent input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px; top: 2px;
  width: 5px; height: 10px;
  border: solid #06261f;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.consent.has-error input[type="checkbox"] { border-color: var(--rose); }
.consent a { color: var(--slate-900); text-decoration: underline; font-weight: 500; }
.consent a:hover { color: var(--teal-dark); }

/* Inline error */
.form-error {
  display: flex; align-items: flex-start; gap: 8px;
  background: #FEF6F7;
  border: 1px solid #FDD3DA;
  color: #9F1239;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.5;
}
.form-error svg { flex: none; margin-top: 1px; color: var(--rose); }

.signup-submit {
  width: 100%;
  font-size: 17px;
  padding: 16px 24px;
  border-radius: 12px;
  margin-top: 4px;
}
.signup-trust {
  font-size: 12.5px;
  color: var(--slate-500);
  text-align: center;
  line-height: 1.55;
  margin: 0;
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}

/* Success state */
.signup-success {
  text-align: center;
  padding: 12px 0 4px;
}
.signup-success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  border-radius: 50%;
  display: grid; place-items: center;
}
.signup-success h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--slate-900);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.signup-success p {
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.6;
  margin: 0;
  max-width: 340px;
  margin-left: auto; margin-right: auto;
}
.signup-success-meta {
  margin-top: 24px;
  padding: 16px;
  background: var(--cream);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate-700);
  letter-spacing: 0.02em;
}
.signup-success-meta strong { color: var(--slate-900); font-family: var(--font-display); font-size: 14px; }

/* Responsive */
@media (max-width: 960px) {
  .founding-grid { grid-template-columns: 1fr; gap: 48px; }
  .signup-card { padding: 28px; }
  .signup-card h3 { font-size: 26px; }
  .signup-row { grid-template-columns: 1fr; }
  .hero-beta { padding: 120px 0 60px; }
  .pain-card-num { top: 20px; right: 20px; }
}
