/* ========================================================================
   PB Waitlist — styles
   Palette (Theme.swift):  bg #0E1014 · gold #F5A524 / pressed #DE8F18
   off-white #F2F0E9 · surface #1A1D22 · surface-elev #22252A · stroke white@10%
   ======================================================================== */

:root {
  --bg: #0E1014;
  --surface: #1A1D22;
  --surface-elev: #22252A;
  --gold: #F5A524;
  --gold-pressed: #DE8F18;
  --ink: #F2F0E9;
  --text: #FFFFFF;
  --text-2: rgba(255, 255, 255, 0.62);
  --text-3: rgba(255, 255, 255, 0.45);
  --stroke: rgba(255, 255, 255, 0.10);
  --stroke-2: rgba(255, 255, 255, 0.16);

  --r-btn: 14px;
  --r-card: 20px;
  --r-chip: 999px;

  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Honeypot — visually removed, still in the DOM for bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ----------------------------- Buttons ----------------------------- */
.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  border-radius: var(--r-btn);
  padding: 15px 22px;
  transition: background-color .15s ease, transform .05s ease, opacity .15s ease;
}
.btn--gold { background: var(--gold); color: #1A1206; }
.btn--gold:hover { background: var(--gold-pressed); }
.btn--gold:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ----------------------------- Type helpers ----------------------------- */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 12px;
}
.kicker em { color: var(--gold); font-style: normal; }

.logo__pb { font-family: "Archivo Black", "Arial Black", sans-serif; font-weight: 900; }

/* ============================== HERO ============================== */
.hero {
  position: relative;
  padding: 56px 0 64px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(245,165,36,.10), transparent 60%),
    radial-gradient(80% 60% at 50% 0%, rgba(255,255,255,.04), transparent 70%);
  border-bottom: 1px solid var(--stroke);
}
.hero__inner { display: flex; flex-direction: column; align-items: center; }

.logo { display: inline-flex; margin-bottom: 22px; line-height: 0; }
.logo__mark { filter: drop-shadow(0 6px 20px rgba(0,0,0,.5)); }

.hero__title {
  font-size: clamp(40px, 11vw, 66px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.hero__sub {
  max-width: 540px;
  font-size: 17px;
  color: var(--text-2);
  margin: 0 0 30px;
}
.hero__follow {
  margin-top: 26px;
  font-size: 14px;
  color: var(--text-2);
  text-decoration: none;
}
.hero__follow span { color: var(--ink); font-weight: 600; }
.hero__follow:hover span { color: var(--gold); }

/* ----------------------------- Signup form ----------------------------- */
.signup { width: 100%; max-width: 480px; }
.signup--center { margin: 0 auto; }
.signup__row {
  display: flex;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--stroke-2);
  border-radius: var(--r-btn);
  padding: 6px;
}
.signup__input {
  flex: 1 1 auto;
  min-width: 0;
  background: transparent;
  border: 0;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  padding: 0 12px;
}
.signup__input::placeholder { color: var(--text-3); }
.signup__input:focus { outline: none; }
.signup__row:focus-within { border-color: var(--gold); }

.signup .btn { white-space: nowrap; flex: 0 0 auto; }

.signup__micro { font-size: 13px; color: var(--text-3); margin: 12px 2px 0; }
.signup__status { font-size: 14px; margin: 12px 2px 0; min-height: 0; }
.signup__status.is-error { color: #FF8A80; }
.signup__status.is-success { color: #7FE7A4; }
.signup__status:empty { margin: 0; }

/* ============================== SECTIONS ============================== */
.section { padding: 72px 0; border-bottom: 1px solid var(--stroke); }
.section--alt { background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); }
.section__title {
  font-size: clamp(26px, 5vw, 34px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 36px;
  max-width: 760px;
}

/* ----------------------------- Problem cards ----------------------------- */
.cards { display: grid; gap: 16px; }
.cards--3 { grid-template-columns: 1fr; }
.card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--r-card);
  padding: 24px;
}
.card__title { font-size: 18px; font-weight: 600; margin: 0 0 10px; }
.card__body { font-size: 15px; color: var(--text-2); margin: 0; }
.card__body strong { color: var(--ink); font-weight: 600; }

/* ----------------------------- Feature grid ----------------------------- */
.features { display: grid; gap: 28px; align-items: center; }
.features__fish {
  width: 100%;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.55));
}
.features__list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 20px;
}
.feature__title { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.feature__body { font-size: 15px; color: var(--text-2); margin: 0; }
.disclaimer {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  font-style: italic;
  color: var(--text-3);
}

/* ----------------------------- Verified band ----------------------------- */
.verified {
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(245,165,36,.12), transparent 60%),
    var(--surface);
  text-align: center;
}
.verified__inner { max-width: 680px; margin: 0 auto; }
.verified .section__title { margin-left: auto; margin-right: auto; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(245,165,36,.12);
  color: var(--gold);
  border: 1px solid rgba(245,165,36,.35);
  border-radius: var(--r-chip);
  padding: 7px 14px 7px 11px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 22px;
}
.verified__body { font-size: 17px; color: var(--text-2); margin: 0 auto; max-width: 600px; }
.verified__body strong { color: var(--ink); font-weight: 600; }
.verified__note { margin-top: 18px; font-size: 13px; color: var(--text-3); }

/* ----------------------------- "What PB is not" ----------------------------- */
.nots {
  list-style: none;
  margin: 0 0 24px; padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 760px;
}
.not {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 14px 16px;
}
.not::before {
  content: "✕";
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  flex: 0 0 auto;
}
.nots__foot { font-size: 15px; color: var(--text-2); margin: 0; max-width: 620px; }

/* ----------------------------- Final CTA ----------------------------- */
.cta { text-align: center; }
.cta__inner { max-width: 640px; margin: 0 auto; }
.cta .section__title { margin-left: auto; margin-right: auto; }
.cta .kicker { color: var(--gold); }
.cta__body { font-size: 17px; color: var(--text-2); margin: 0 auto 30px; max-width: 540px; }

/* ============================== FOOTER ============================== */
.footer { padding: 44px 0 56px; }
.footer__inner { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer__brand { display: flex; align-items: baseline; gap: 10px; }
.footer__pb { font-family: "Archivo Black", "Arial Black", sans-serif; color: var(--gold); font-size: 20px; }
.footer__tag { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.footer__privacy { font-size: 13px; color: var(--text-3); margin: 0; max-width: 560px; }
.footer__links { font-size: 13px; color: var(--text-3); display: flex; gap: 10px; align-items: center; }
.footer__links a { color: var(--text-2); text-decoration: none; }
.footer__links a:hover { color: var(--gold); }
.footer__sep { color: var(--text-3); }

/* ============================== RESPONSIVE ============================== */
@media (min-width: 720px) {
  .container { padding: 0 32px; }
  .hero { padding: 80px 0 88px; }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
  .features__list { grid-template-columns: 1fr 1fr; gap: 26px 32px; }
  .nots { grid-template-columns: 1fr 1fr; }
  .footer__inner { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .footer__privacy { order: 3; flex-basis: 100%; }
}

@media (min-width: 980px) {
  .section { padding: 96px 0; }
}

/* ----------------------------- Motion / a11y ----------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
