/* ==========================================================================
   Bald Bois — Waitlist Landing Page
   Palette: black + white (from the logo), warmed up with a soft
   "California sunset" accent trio — light sky blue, light yellow, and a
   soft orange — used for CTAs, small highlights, and glows. Chill and
   welcoming, not loud. No red.
   ========================================================================== */

:root {
  --bg: #0b0b0d;
  --bg-alt: #141416;
  --bg-card: #1a1a1d;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f7f5f0;
  --text-dim: #b3b0a8;
  --text-faint: #7a776f;

  /* Sunset trio */
  --sky: #9fd8ea;
  --sun: #ffd880;
  --horizon: #ff9f68;
  --accent-gradient: linear-gradient(100deg, var(--sky) 0%, var(--sun) 50%, var(--horizon) 100%);

  /* Single-tone accents used for small UI (borders, checkmarks, focus) */
  --accent: var(--horizon);
  --accent-quiet: var(--sky);
  --accent-text: #17130f;

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: inherit; text-decoration: none; }

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: 20px;
}

/* -------------------- Typography helpers -------------------- */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.5px;
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  margin: 0 0 20px;
}

.shine-text {
  color: var(--sun); /* fallback for browsers without background-clip:text */
  background-image: var(--accent-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-quiet);
  margin: 0 0 14px;
}

.eyebrow.center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0.3px;
  margin: 0 0 16px;
}

.section-title.center { text-align: center; }

.section-sub {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-sub.center { text-align: center; }

/* -------------------- Buttons -------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  color: var(--accent-text);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.15s ease, transform 0.1s ease;
}

.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(0.98); }

.btn-small {
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* -------------------- Header -------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 13, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 1px;
}

.site-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  margin-right: 28px;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.15s ease;
}

.site-nav a:hover { color: var(--text); }

@media (max-width: 720px) {
  .site-nav { display: none; }
}

/* -------------------- Hero -------------------- */

.hero {
  position: relative;
  padding-block: 64px 88px;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-copy {
  flex: 1 1 480px;
  min-width: 0;
}

.hero-visual {
  flex: 1 1 480px;
  max-width: 560px;
  margin-inline: auto;
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 2px solid var(--line-strong);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 216, 128, 0.15);
}

@media (max-width: 860px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-visual { order: -1; flex-basis: auto; width: 100%; max-width: 480px; }
  .hero-sub { margin-inline: auto; }
}

.brand-tagline {
  font-style: italic;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--horizon);
  margin: 0 0 20px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 0 10px;
}

.hero-sub:last-of-type {
  margin-bottom: 32px;
}

.hero-shine {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(255, 216, 128, 0.2), rgba(255, 159, 104, 0.1) 45%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* -------------------- Waitlist form -------------------- */

.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  flex-wrap: wrap;
}

.waitlist-form input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 15px 18px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: var(--bg-alt);
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font-body);
}

.waitlist-form input[type="email"]::placeholder { color: var(--text-faint); }

.waitlist-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent-quiet);
}

.final-cta .waitlist-form,
.final-cta .form-microcopy {
  margin-inline: auto;
}

.form-microcopy {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin: 14px 0 0;
}

.trust-bullets {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 0;
  margin: 16px 0 0;
}

.trust-bullets li {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  padding-left: 20px;
  position: relative;
}

.trust-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--horizon);
  font-weight: 700;
}

.final-cta .trust-bullets {
  justify-content: center;
  margin-bottom: 4px;
}

/* -------------------- Founding spots progress -------------------- */

.spots-progress {
  max-width: 460px;
  margin: 18px 0 0;
}

.spots-progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  overflow: hidden;
}

.spots-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent-gradient);
  border-radius: 999px;
  transition: width 0.8s ease;
}

.spots-progress-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin: 8px 0 0;
}

.final-cta .spots-progress {
  margin-inline: auto;
}

/* -------------------- Stats bar -------------------- */

.stats-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-block: 36px;
}

.stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--accent);
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 4px;
}

@media (max-width: 720px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

/* -------------------- Sections -------------------- */

.section {
  padding-block: 96px;
}

.section-alt {
  background: var(--bg-alt);
}

/* -------------------- Box grid -------------------- */

.box-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 860px) {
  .box-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .box-grid { grid-template-columns: 1fr; }
}

.box-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 24px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.box-item:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.box-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 216, 128, 0.14);
  color: var(--horizon);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.box-footnote {
  text-align: center;
  color: var(--text-faint);
  font-size: 0.95rem;
  margin: 40px 0 0;
}

.box-item h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
}

.box-item p {
  color: var(--text-dim);
  margin: 0;
  font-size: 0.95rem;
}

/* -------------------- Steps -------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
}

.step {
  text-align: center;
}

.step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  line-height: 48px;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.2rem;
  margin: 0 0 8px;
}

.step p {
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 280px;
  margin-inline: auto;
}

/* -------------------- Pricing -------------------- */

.pricing-card {
  max-width: 420px;
  margin: 48px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
}

.price-tag {
  margin: 0 0 24px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 3.4rem;
  color: var(--accent);
}

.price-period {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-left: 4px;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-features li {
  padding-left: 28px;
  position: relative;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.price-note {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin: 16px 0 0;
}

/* -------------------- Community -------------------- */

.community-inner {
  text-align: center;
}

.community-copy {
  max-width: 680px;
  margin: 0 auto 32px;
  color: var(--text-dim);
  font-size: 1.05rem;
}

.community-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color 0.15s ease;
}

.pill svg {
  flex-shrink: 0;
  color: var(--horizon);
}

.pill:hover { border-color: var(--accent-quiet); }

/* -------------------- Founder's note -------------------- */

.founder-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.founder-avatar {
  position: relative;
  flex: 0 0 160px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(159, 216, 234, 0.14), rgba(255, 216, 128, 0.14));
}

.founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-avatar-fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  color: var(--horizon);
}

.founder-avatar.img-missing img { display: none; }
.founder-avatar.img-missing .founder-avatar-fallback { display: flex; }

.founder-content {
  flex: 1;
  min-width: 0;
}

.founder-note {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin: 0 0 16px;
}

.founder-signature {
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

@media (max-width: 640px) {
  .founder-inner { flex-direction: column; text-align: center; }
}

/* -------------------- FAQ -------------------- */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 24px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 16px 0;
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.15s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  color: var(--text-dim);
  margin: 0 0 18px;
  font-size: 0.95rem;
}

/* -------------------- Final CTA -------------------- */

.final-cta-inner {
  text-align: center;
}

.final-cta .section-sub { margin-bottom: 36px; }

/* -------------------- Footer -------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand .logo { margin-bottom: 6px; }

.footer-brand p {
  color: var(--text-faint);
  font-size: 0.9rem;
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

.footer-social a:hover { color: var(--text); }

.footer-copy {
  width: 100%;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.8rem;
  margin: 20px 0 0;
}

.footer-legal {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  margin: 6px 0 0;
}

.footer-legal a {
  color: var(--text-faint);
  text-decoration: underline;
}

.footer-legal a:hover {
  color: var(--text-dim);
}

/* -------------------- Toast -------------------- */

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.toast.toast-error {
  border-color: var(--horizon);
}
