/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0A0A0A;
  --bg-2: #111111;
  --bg-3: #161616;
  --bg-4: #1C1C1C;
  --cream: #F5F0E8;
  --cream-dim: #C0B8AA;
  --accent: #C9A84C;
  --accent-dim: #8B7235;
  --accent-glow: rgba(201, 168, 76, 0.12);
  --border: rgba(245, 240, 232, 0.07);
  --border-strong: rgba(245, 240, 232, 0.15);
  --text-muted: rgba(245, 240, 232, 0.45);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  line-height: 1.15;
}

.section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 48px;
  display: block;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0A0A0A;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #D4B55A; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo-mark { color: var(--accent); font-weight: 700; }
.nav-tagline {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  font-weight: 500;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: 120px 40px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.18;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.97) 0%, rgba(10,10,10,0.7) 50%, rgba(10,10,10,0.85) 100%);
}
.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.eyebrow-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}
.eyebrow-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  font-weight: 500;
}
.hero-headline {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 32px;
  max-width: 12ch;
  line-height: 1.08;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.125rem;
  color: var(--cream-dim);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 48px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.proof-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4CAF50;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(76,175,80,0.5);
}

/* === PROBLEM === */
.problem {
  padding: 120px 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.problem-inner { max-width: 1200px; margin: 0 auto; }
.problem-content { display: grid; grid-template-columns: 1fr 340px; gap: 80px; align-items: start; }
.problem-narrative p {
  font-size: 1.0625rem;
  color: var(--cream-dim);
  line-height: 1.75;
  margin-bottom: 20px;
}
.problem-lead {
  font-family: 'Fraunces', serif;
  font-size: 1.375rem;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 28px !important;
  line-height: 1.45;
}
.problem-emphasis {
  color: var(--cream) !important;
  font-weight: 500;
  margin-top: 40px;
}
.problem-visual { display: flex; flex-direction: column; gap: 2px; }
.gap-stat {
  background: var(--bg-3);
  padding: 28px 28px;
  border: 1px solid var(--border);
}
.gap-stat--accent { border-color: var(--accent-dim); }
.gap-number {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 8px;
}
.gap-stat--accent .gap-number { color: var(--accent); }
.gap-label { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.5; }

/* === HOW IT WORKS === */
.how {
  padding: 120px 40px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.how-inner { max-width: 1200px; margin: 0 auto; }
.how-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 56px;
}
.how-step {
  flex: 1;
  padding: 40px 36px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  position: relative;
}
.step-icon { color: var(--accent); margin-bottom: 24px; }
.step-title {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  color: var(--cream);
  margin-bottom: 12px;
  font-weight: 400;
}
.step-desc { font-size: 0.9375rem; color: var(--cream-dim); line-height: 1.65; }
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  flex-shrink: 0;
  color: var(--accent-dim);
}
.how-output { display: flex; gap: 12px; flex-wrap: wrap; }
.output-pill {
  background: var(--bg-4);
  border: 1px solid var(--border-strong);
  padding: 10px 20px;
  font-size: 0.8125rem;
  color: var(--cream-dim);
  border-radius: 2px;
  font-weight: 500;
}

/* === CREDIBILITY === */
.credibility {
  padding: 120px 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.credibility-inner { max-width: 1200px; margin: 0 auto; }
.credibility-quote {
  max-width: 680px;
  margin: 0 auto 80px;
  text-align: center;
}
.quote-mark { margin-bottom: 24px; }
.quote-text {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-style: italic;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.55;
  margin-bottom: 24px;
}
.quote-attr {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.credibility-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.pillar { background: var(--bg-3); padding: 36px 32px; display: flex; flex-direction: column; gap: 16px; }
.pillar-icon { color: var(--accent); }
.pillar-text { font-size: 0.9375rem; color: var(--cream-dim); line-height: 1.55; }

/* === CLOSING / WAITLIST === */
.closing {
  padding: 120px 40px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.closing-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.closing-label { display: block; margin-bottom: 20px; }
.closing-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 20px;
  line-height: 1.2;
}
.closing-sub { font-size: 1.0625rem; color: var(--cream-dim); margin-bottom: 40px; }
.closing-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}
.proof-stats { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.proof-quote {
  font-family: 'Fraunces', serif;
  font-size: 1.0625rem;
  font-style: italic;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.55;
  max-width: 520px;
  text-align: center;
}
.proof-attr { font-size: 0.8125rem; color: var(--text-muted); }

/* === FORM === */
.waitlist-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  padding: 48px;
  border-radius: 4px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.8125rem;
  color: var(--cream-dim);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.form-group .optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--text-muted); }
.form-group input {
  background: var(--bg-3);
  border: 1px solid var(--border-strong);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  padding: 12px 16px;
  border-radius: 3px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-group input::placeholder { color: var(--text-muted); }
.form-group input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-group input.error { border-color: #E05252; }
.field-error { font-size: 0.75rem; color: #E05252; min-height: 16px; }
.form-submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.btn-submit { width: 100%; justify-content: center; padding: 16px; font-size: 1rem; }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-disclaimer { font-size: 0.8125rem; color: var(--text-muted); text-align: center; }
.form-success {
  padding: 64px 48px;
  background: var(--bg-2);
  border: 1px solid rgba(76,175,80,0.3);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.success-icon { color: #4CAF50; }
.form-success h3 { font-family: 'Fraunces', serif; font-size: 1.5rem; color: var(--cream); }
.form-success p { color: var(--cream-dim); font-size: 1rem; }

/* === FOOTER === */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 80px 40px 40px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 80px; margin-bottom: 64px; }
.footer-logo { font-family: 'Fraunces', serif; font-size: 1.125rem; font-weight: 500; color: var(--cream); display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.footer-logo-mark { color: var(--accent); }
.footer-desc { font-size: 0.875rem; color: var(--text-muted); max-width: 32ch; line-height: 1.65; }
.footer-links { display: flex; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-muted); font-weight: 500; margin-bottom: 4px; }
.footer-link { font-size: 0.875rem; color: var(--cream-dim); text-decoration: none; transition: color 0.2s; }
.footer-link:hover { color: var(--cream); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 32px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 0.8125rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.8125rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--cream-dim); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .problem-content { grid-template-columns: 1fr; }
  .problem-visual { grid-template-columns: repeat(3, 1fr); display: grid; }
  .credibility-pillars { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .how-steps { flex-direction: column; }
  .step-arrow { display: none; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .hero, .problem, .how, .credibility, .closing { padding: 80px 24px; }
  .nav-inner { padding: 0 24px; }
  .hero-headline { font-size: 2.5rem; }
  .waitlist-form { padding: 32px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-links { gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .problem-visual { grid-template-columns: 1fr; }
  .credibility-pillars { grid-template-columns: 1fr; }
  .how-output { gap: 8px; }
  .output-pill { font-size: 0.75rem; padding: 8px 14px; }
}