/* ─── Design tokens ─────────────────────────────────────────────── */
:root {
  --bg:       #0d1117;
  --bg-alt:   #161b22;
  --bg-card:  #1c2128;
  --border:   #21262d;
  --fg:       #e6edf3;
  --fg-muted: #7d8590;
  --fg-dim:   #484f58;
  --accent:   #3fb950;   /* sharp green — action only */
  --gold:     #d29922;
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'Space Mono', monospace;
  --radius:   4px;
}

/* ─── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ─── Google Fonts import ───────────────────────────────────────── */
/* Loaded in layout.ejs <head> */

/* ─── Navigation ────────────────────────────────────────────────── */
.site-nav {
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13,17,23,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--accent); }
.nav-tagline {
  font-size: 12px;
  color: var(--fg-dim);
  font-weight: 400;
}

/* ─── Hero ──────────────────────────────────────────────────────── */
.hero {
  padding: 120px 40px 100px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
/* Subtle grid texture behind hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.18;
  pointer-events: none;
}
/* Glow blob */
.hero::after {
  content: '';
  position: absolute;
  top: -120px;
  left: -80px;
  width: 600px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(63,185,80,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  padding: 6px 14px;
  border: 1px solid rgba(63,185,80,0.3);
  border-radius: 100px;
  background: rgba(63,185,80,0.06);
}
.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.0;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 540px;
  margin-bottom: 52px;
  line-height: 1.7;
}
/* Email capture */
.hero-form-wrap { max-width: 480px; }
.hero-form {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.hero-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(63,185,80,0.12);
}
.hero-input {
  flex: 1;
  background: var(--bg-card);
  color: var(--fg);
  border: none;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
}
.hero-input::placeholder { color: var(--fg-dim); }
.hero-btn {
  background: var(--accent);
  color: #0d1117;
  border: none;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
  letter-spacing: 0.01em;
}
.hero-btn:hover { background: #56d364; }
.hero-btn:active { transform: scale(0.98); }
.hero-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.hero-form-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--fg-dim);
  min-height: 20px;
}
.hero-form-error { color: #f85149; }
.waitlist-success {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  padding: 14px 0;
}

/* ─── Niches (what we're launching) ─────────────────────────────── */
.niches {
  padding: 100px 40px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.niches-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.niches-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.niches-headline {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 60px;
  max-width: 620px;
  letter-spacing: -0.02em;
}
.niches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.niche-card {
  background: var(--bg-card);
  padding: 36px 32px;
  position: relative;
  transition: background 0.2s;
}
.niche-card:hover { background: #1f2937; }
.niche-card::before {
  /* Left accent bar — only on first card */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: transparent;
}
.niche-card:first-child::before { background: var(--accent); }
.niche-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.niche-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.niche-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.75;
}
.niches-caveat {
  margin-top: 40px;
  font-size: 13px;
  color: var(--fg-dim);
}
.niches-caveat a { color: var(--accent); text-decoration: none; }

/* ─── Proof points (why niche beats generic) ─────────────────────── */
.proof {
  padding: 100px 40px;
  border-bottom: 1px solid var(--border);
}
.proof-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.proof-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 60px;
}
.proof-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.proof-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 48px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.proof-number {
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
  padding-top: 4px;
}
.proof-content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.proof-content p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.8;
  max-width: 600px;
}

/* ─── Objections ────────────────────────────────────────────────── */
.objections {
  background: var(--bg-alt);
  padding: 100px 40px;
  border-bottom: 1px solid var(--border);
}
.objections-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.objections-content h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 16px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.objections-headline { /* alias */ }
.objections-body {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.8;
}

/* ─── Closing ───────────────────────────────────────────────────── */
.closing {
  padding: 100px 40px;
}
.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.closing-statement {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--fg);
  font-style: italic;
  max-width: 760px;
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}
.closing-rule {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 28px;
}
.closing-tagline {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* ─── Footer ────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 40px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg-muted);
}
.footer-copy {
  font-size: 12px;
  color: var(--fg-dim);
}

/* ─── Featured product ───────────────────────────────────────────── */
.product-featured {
  padding: 100px 40px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.product-featured-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.product-featured-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 40px;
}
.product-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.product-featured-images { display: flex; flex-direction: column; gap: 12px; }
.product-img-main img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
  border: 1px solid var(--border);
}
.product-img-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.product-img-thumb {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
}
.product-img-placeholder {
  background: var(--bg-card);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-dim);
  text-align: center;
  padding: 8px;
  line-height: 1.5;
}
.product-img-note {
  font-size: 12px;
  color: var(--fg-dim);
  line-height: 1.6;
}
.product-featured-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--fg);
}
.product-featured-tagline {
  font-size: 15px;
  color: var(--fg-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}
.product-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 40px;
}
.product-bullets li {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.75;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.bullet-head {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--fg);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.product-featured-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.product-featured-status {
  font-size: 12px;
  color: var(--fg-dim);
  font-family: var(--font-mono);
}
.product-featured-btn {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}
.product-featured-btn:hover {
  background: var(--accent);
  color: #0d1117;
}

/* ─── Featured product #2 (alt variant) ─────────────────────────── */
/* Alternates background so adjacent sections don't bleed together */
.product-featured--alt {
  background: var(--bg);
}

/* Product #2 inline notify button (same border style as product-featured-btn) */
button.product-featured-btn {
  cursor: pointer;
  background: transparent;
}

/* ─── Product #2 modal ───────────────────────────────────────────── */
.product2-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.product2-modal-overlay[hidden] { display: none; }

.product2-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 44px;
  max-width: 480px;
  width: 100%;
  position: relative;
}

.product2-modal-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.product2-modal-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 12px;
}

.product2-modal-sub {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.product2-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--fg-dim);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.15s;
}
.product2-modal-close:hover { color: var(--fg); }

.product2-input-row {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
  margin-bottom: 0;
}
.product2-input-row:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(63,185,80,0.12);
}

.product2-input {
  flex: 1;
  background: var(--bg);
  color: var(--fg);
  border: none;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
}
.product2-input::placeholder { color: var(--fg-dim); }

.product2-submit {
  background: var(--accent);
  color: #0d1117;
  border: none;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
  letter-spacing: 0.01em;
}
.product2-submit:hover { background: #56d364; }
.product2-submit:active { transform: scale(0.98); }
.product2-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.product2-form-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--fg-dim);
  min-height: 20px;
}
.product2-form-error { color: #f85149; }

@media (max-width: 768px) {
  .product2-modal { padding: 32px 24px; }
  .product2-input-row { flex-direction: column; border-radius: var(--radius); }
  .product2-submit { padding: 14px; text-align: center; }
}

/* ─── What's next ────────────────────────────────────────────────── */
.whats-next {
  padding: 80px 40px;
  border-bottom: 1px solid var(--border);
}
.whats-next-inner { max-width: 1100px; margin: 0 auto; }
.whats-next-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 28px;
}
.whats-next-card {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
  align-items: start;
  max-width: 720px;
  margin-bottom: 24px;
}
.whats-next-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-dim);
  padding-top: 4px;
}
.whats-next-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--fg);
}
.whats-next-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.whats-next-status {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(210,153,34,0.3);
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(210,153,34,0.06);
}
.whats-next-note {
  font-size: 13px;
  color: var(--fg-dim);
  max-width: 600px;
  line-height: 1.7;
}

/* ─── Brand thesis ───────────────────────────────────────────────── */
.brand-thesis {
  padding: 100px 40px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.brand-thesis-inner { max-width: 1100px; margin: 0 auto; }
.brand-thesis-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 48px;
}
.brand-thesis-body {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.brand-thesis-body p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--fg-muted);
}
.brand-thesis-body p:first-child {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 400;
  color: var(--fg);
  line-height: 1.65;
  letter-spacing: -0.01em;
}

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .site-nav, .hero, .niches, .proof, .objections, .closing,
  .product-featured, .whats-next, .brand-thesis {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero { padding-top: 72px; padding-bottom: 72px; }
  .hero-form { flex-direction: column; border-radius: var(--radius); }
  .hero-btn { padding: 14px; text-align: center; }
  .niches-grid { grid-template-columns: 1fr; gap: 2px; }
  .proof-item { grid-template-columns: 1fr; gap: 16px; }
  .proof-number { font-size: 32px; }
  .objections-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
  .product-featured-grid { grid-template-columns: 1fr; gap: 40px; }
  .whats-next-card { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
}
