/* ============================================================
   SITELESS — Brand palette
   Ink      #0E1116   primary bg
   Signal   #2F6BFF   electric blue accent
   Off-white #F4F5F3  primary text
   Slate    #3A4149   borders/hairlines only (not body text)
   ============================================================ */

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

:root {
  --ink:        #0E1116;
  --signal:     #2F6BFF;
  --offwhite:   #F4F5F3;
  --slate:      #3A4149;
  --muted:      rgba(244,245,243,0.65);
  --border:     rgba(58,65,73,0.55);
  --signal-glow: rgba(47,107,255,0.12);
}

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--offwhite);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Password gate ─────────────────────────────────────────── */
#gate {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
  transition: opacity 0.5s ease;
}
#gate.hidden { opacity: 0; pointer-events: none; }

.gate-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: min(380px, 90vw);
  text-align: center;
}

.gate-mark {
  width: 56px;
  height: 56px;
}

.gate-coming {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1.1rem, 4vw, 1.4rem);
  letter-spacing: 0.25em;
  color: var(--signal);
  text-transform: uppercase;
}

.gate-subtitle {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

.gate-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.gate-input {
  background: rgba(58,65,73,0.25);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--offwhite);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  text-align: center;
  letter-spacing: 0.1em;
  outline: none;
  transition: border-color 0.2s;
}
.gate-input::placeholder { color: rgba(244,245,243,0.3); letter-spacing: 0.05em; }
.gate-input:focus { border-color: var(--signal); }

.gate-btn {
  background: var(--signal);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 13px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: box-shadow 0.25s, background 0.2s;
}
.gate-btn:hover { box-shadow: 0 0 18px rgba(47,107,255,0.45); }

.gate-error {
  font-size: 0.8125rem;
  color: var(--muted);
  min-height: 18px;
  transition: opacity 0.2s;
  opacity: 0;
}
.gate-error.visible { opacity: 1; }

.gate-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

/* ── Main site ─────────────────────────────────────────────── */
#site {
  opacity: 1;
}

/* ── Scroll reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Utility ───────────────────────────────────────────────── */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal);
}

.section-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.hairline {
  width: 100%;
  height: 1px;
  background: var(--border);
}

/* ── Header ────────────────────────────────────────────────── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  transition: background 0.35s, backdrop-filter 0.35s, border-bottom 0.35s;
}
#header.scrolled {
  background: rgba(14,17,22,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.header-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.header-wordmark {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--offwhite);
  line-height: 1;
}

.coming-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(47,107,255,0.1);
  border: 1px solid rgba(47,107,255,0.3);
  border-radius: 100px;
  padding: 3px 10px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--signal);
  white-space: nowrap;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.header-nav a:hover { color: var(--offwhite); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--signal);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: box-shadow 0.25s, background 0.2s;
}
.btn-primary:hover { box-shadow: 0 0 20px rgba(47,107,255,0.5); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  padding-bottom: 1px;
}
.btn-ghost:hover { color: var(--offwhite); border-color: rgba(244,245,243,0.3); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--offwhite);
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(14,17,22,0.97);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 20px;
  gap: 16px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1rem;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 0;
}
.mobile-nav a:hover { color: var(--offwhite); }
.mobile-nav .btn-primary { width: 100%; justify-content: center; margin-top: 4px; }

/* ── Hero ──────────────────────────────────────────────────── */
#hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: min(700px, 120vw);
  height: min(700px, 120vw);
  background: radial-gradient(circle, rgba(47,107,255,0.13) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.hero-bg-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,17,22,0) 60%, var(--ink) 100%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-coming {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(3.5rem, 11vw, 8rem);
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--offwhite);
  margin-bottom: 32px;
}
.hero-coming span { color: var(--signal); }

.hero-tagline {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  color: var(--offwhite);
  line-height: 1.35;
  margin-bottom: 18px;
  max-width: 680px;
}

.hero-sub {
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-ctas .btn-primary {
  font-size: 1rem;
  padding: 14px 28px;
}

/* ── Problem ───────────────────────────────────────────────── */
#problem {
  padding: 100px 0;
}

.problem-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.problem-inner .eyebrow { margin-bottom: 32px; display: block; }

.problem-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: clamp(1.35rem, 3vw, 1.875rem);
  line-height: 1.45;
  color: var(--offwhite);
  margin-bottom: 32px;
}

.problem-body {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.problem-turn {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.1875rem;
  color: var(--signal);
  margin-top: 40px;
}

/* ── How It Works ──────────────────────────────────────────── */
#how {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.how-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--offwhite);
  margin-bottom: 64px;
  line-height: 1.2;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 28px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.step:first-child { border-top: 1px solid var(--border); }

.step-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.75rem;
  color: var(--signal);
  line-height: 1;
  padding-top: 4px;
}

.step-body {}

.step-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.1875rem;
  color: var(--offwhite);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Deliverables grid ─────────────────────────────────────── */
#includes {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.includes-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--offwhite);
  margin-bottom: 16px;
  line-height: 1.2;
}

.includes-sub {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 56px;
  max-width: 540px;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.d-card {
  background: rgba(14,17,22,0.95);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.d-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  margin-bottom: 4px;
  flex-shrink: 0;
}

.d-title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--offwhite);
}

.d-desc {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Pricing ───────────────────────────────────────────────── */
#pricing {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.pricing-label {
  display: block;
  margin-bottom: 36px;
}

.pricing-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--offwhite);
  margin-bottom: 14px;
  line-height: 1.2;
}

.pricing-note {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 52px;
  max-width: 520px;
}

.pricing-card {
  background: rgba(47,107,255,0.05);
  border: 1px solid rgba(47,107,255,0.25);
  border-radius: 12px;
  padding: 48px;
  max-width: 640px;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47,107,255,0.6), transparent);
}

.pricing-product {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 24px;
}

.pricing-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.price-amount {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(2.5rem, 7vw, 3.75rem);
  color: var(--offwhite);
  line-height: 1;
}

.price-label {
  font-size: 1rem;
  color: var(--muted);
}

.pricing-plus {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.price-monthly {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--offwhite);
}

.pricing-divider {
  height: 1px;
  background: rgba(58,65,73,0.5);
  margin: 32px 0;
}

.pricing-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.pricing-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.pd-icon {
  color: var(--signal);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.75rem;
}

.pricing-fine {
  font-size: 0.8125rem;
  color: rgba(244,245,243,0.4);
  line-height: 1.65;
  margin-top: 4px;
}

.pricing-vs {
  margin-top: 52px;
}

.vs-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--offwhite);
  margin-bottom: 24px;
}

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

.vs-card {
  background: rgba(58,65,73,0.15);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}

.vs-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.vs-line {
  font-size: 0.875rem;
  color: var(--offwhite);
  line-height: 1.55;
}

/* ── Why Siteless ──────────────────────────────────────────── */
#why {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.why-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--offwhite);
  margin-bottom: 52px;
  line-height: 1.2;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.why-item {
  background: rgba(14,17,22,0.95);
  padding: 32px 28px;
}

.why-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--offwhite);
  margin-bottom: 8px;
}

.why-desc {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Waitlist CTA ──────────────────────────────────────────── */
#waitlist {
  padding: 120px 0 100px;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.waitlist-glow {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: min(600px, 120vw);
  height: min(400px, 80vw);
  background: radial-gradient(ellipse at center bottom, rgba(47,107,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.waitlist-inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.waitlist-mission {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--offwhite);
  line-height: 1.3;
  margin-bottom: 16px;
}

.waitlist-sub {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 48px;
  line-height: 1.65;
}

/* NOTE FOR JUSTIN: This form is a placeholder. It does not send data anywhere.
   Before launch, connect it to a backend service (e.g. Airtable, Notion API,
   Mailchimp, or a simple serverless function) to actually capture submissions. */
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.wl-input {
  background: rgba(58,65,73,0.2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 13px 16px;
  color: var(--offwhite);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.wl-input::placeholder { color: rgba(244,245,243,0.3); }
.wl-input:focus { border-color: var(--signal); }

.waitlist-form .btn-primary {
  font-size: 0.9375rem;
  padding: 14px 20px;
  justify-content: center;
  width: 100%;
}

.waitlist-contact {
  font-size: 0.8125rem;
  color: rgba(244,245,243,0.35);
}
.waitlist-contact a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(244,245,243,0.2);
  transition: color 0.2s, border-color 0.2s;
}
.waitlist-contact a:hover { color: var(--offwhite); border-color: rgba(244,245,243,0.5); }

.wl-success {
  display: none;
  font-size: 0.9375rem;
  color: var(--signal);
  padding: 14px;
  border: 1px solid rgba(47,107,255,0.3);
  border-radius: 6px;
  background: rgba(47,107,255,0.07);
}

/* ── Footer ────────────────────────────────────────────────── */
#footer {
  padding: 40px 0 36px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
.footer-mark { width: 26px; height: 26px; }
.footer-wordmark {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
  color: var(--offwhite);
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(244,245,243,0.4);
  line-height: 1.6;
  text-align: right;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-right-btn { display: none; }
  .nav-toggle { display: block; }

  .vs-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 32px 24px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-copy { text-align: left; }

  #how .how-heading, #includes .includes-heading,
  #pricing .pricing-heading, #why .why-heading { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .hero-coming { letter-spacing: 0.05em; }
  .step { grid-template-columns: 36px 1fr; gap: 0 16px; }
  .deliverables-grid { grid-template-columns: 1fr; }
}
