:root {
  --cream: #F2EBE0;
  --cream-soft: #F8F3EB;
  --cream-deep: #E8DFD0;
  --ink: #3D2438;
  --ink-soft: #4A2E43;
  --terracotta: #C77550;
  --terracotta-deep: #A85F3F;
  --stone: #6B5F54;
  --hairline: #D9CFBF;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  opacity: 0.05;
  z-index: 1;
  mix-blend-mode: multiply;
}

.section, .footer { position: relative; z-index: 2; }

.display {
  font-family: 'Fraunces', serif;
  font-optical-sizing: auto;
  font-weight: 350;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

.italic {
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
  font-weight: 300;
}

.italic.accent { color: var(--terracotta); }

.eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: block;
}

.eyebrow.light { color: var(--cream-deep); }

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 1100px; }

@media (min-width: 768px) {
  .container { padding: 0 40px; }
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
}
.col-2 { grid-column: span 12; }
.col-10 { grid-column: span 12; }
@media (min-width: 768px) {
  .col-2 { grid-column: span 2; }
  .col-10 { grid-column: span 10; }
}

.two-col {
  display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 64px;
}
@media (min-width: 768px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 80px; }
}

.three-col {
  display: grid; grid-template-columns: 1fr; gap: 40px;
}
@media (min-width: 768px) {
  .three-col { grid-template-columns: repeat(3, 1fr); gap: 64px; }
}

.mb-l { margin-bottom: 64px; }
.mb-xl { margin-bottom: 80px; }
.mt-xl { margin-top: 64px; }
@media (min-width: 768px) {
  .mb-xl { margin-bottom: 128px; }
  .mt-xl { margin-top: 80px; }
}

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

.hero { padding-top: 128px; padding-bottom: 80px; }
@media (min-width: 768px) {
  .hero { padding-top: 160px; padding-bottom: 128px; }
}

.dark { background: var(--ink); color: var(--cream); }
.how { background: var(--cream-soft); }

.rule { width: 40px; height: 2px; background: var(--terracotta); margin-top: 8px; }

/* === LOGO === */
.brand-logo {
  height: 28px;
  width: auto;
  display: block;
}
.brand-logo .letter {
  font-family: 'Inter', sans-serif;
  font-size: 80px;
  font-weight: 200;
  fill: var(--ink);
}
.brand-logo .custom-a {
  fill: none;
  stroke: var(--terracotta);
  stroke-width: 7;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.dark .brand-logo .letter { fill: var(--cream); }
.dark .brand-logo .custom-a { stroke: var(--terracotta); }

.brand-logo-footer { height: 32px; }

/* === NAV === */
.nav-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: all 0.4s ease;
}
.nav-bar.scrolled {
  background: rgba(242, 235, 224, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (min-width: 768px) { .nav-inner { padding: 20px 40px; } }
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.nav-cta {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}
.nav-cta:hover { color: var(--terracotta); }

/* === HERO === */
.hero-headline {
  font-size: clamp(3rem, 11vw, 8.5rem);
  margin-top: 32px;
  max-width: 16ch;
}
@media (min-width: 768px) { .hero-headline { margin-top: 48px; } }
.hero-subhead {
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 350;
  color: var(--stone);
  margin-top: 24px;
  max-width: 32ch;
  line-height: 1.2;
}
@media (min-width: 768px) { .hero-subhead { margin-top: 40px; } }
.hero-body {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 40px;
  max-width: 56ch;
  line-height: 1.65;
}
@media (min-width: 768px) { .hero-body { margin-top: 56px; } }

.section-headline {
  font-size: clamp(2.2rem, 7vw, 5.2rem);
  max-width: 22ch;
}

.pull-quote {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  margin-top: 64px;
  max-width: 24ch;
  line-height: 1.25;
  font-weight: 350;
}
@media (min-width: 768px) { .pull-quote { margin-top: 96px; } }

.lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 45ch;
}
.lead.light { color: var(--cream-deep); }

/* === FORM === */
.form-wrap { margin-top: 48px; max-width: 560px; }
@media (min-width: 768px) { .form-wrap { margin-top: 64px; } }

.waitlist-form .eyebrow { margin-bottom: 16px; }

.form-row { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 768px) { .form-row { flex-direction: row; gap: 8px; align-items: flex-end; } }

.senova-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  padding: 14px 0;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  width: 100%;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s ease;
}
.senova-input::placeholder { color: var(--stone); }
.senova-input:focus { border-bottom-color: var(--terracotta); }

.dark .senova-input { border-bottom-color: var(--cream); color: var(--cream); }
.dark .senova-input::placeholder { color: var(--cream-deep); }

.btn-primary {
  background: var(--ink);
  color: var(--cream);
  padding: 16px 32px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--terracotta); transform: translateY(-1px); }
.btn-primary svg { transition: transform 0.3s ease; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.dark .btn-primary { background: var(--cream); color: var(--ink); }
.dark .btn-primary:hover { background: var(--terracotta); color: var(--cream); }

.form-help { margin-top: 16px; font-size: 0.75rem; color: var(--stone); letter-spacing: 0.02em; }
.form-error { margin-top: 12px; font-size: 0.85rem; color: var(--terracotta-deep); min-height: 1.2em; }

.form-success {
  padding: 32px 0;
  border-top: 1px solid var(--terracotta);
  border-bottom: 1px solid var(--terracotta);
}
.success-headline { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 12px; font-weight: 350; }
.success-body { color: var(--ink-soft); max-width: 50ch; line-height: 1.6; }
.dark .success-body { color: var(--cream-deep); }

/* === STEPS === */
.step-card {
  border-top: 1px solid var(--hairline);
  padding-top: 40px;
  transition: border-color 0.3s ease;
}
.step-card:hover { border-color: var(--terracotta); }
.step-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 3.5rem;
  color: var(--terracotta);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 32px;
  font-variant-numeric: tabular-nums;
}
.step-title { font-size: 1.6rem; font-weight: 400; line-height: 1.15; margin-bottom: 20px; }
.step-body { color: var(--stone); line-height: 1.7; font-size: 0.98rem; }

/* === WHY === */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 64px; }
@media (min-width: 768px) {
  .why-grid { grid-template-columns: 1fr 1fr; gap: 64px; margin-left: 16.66%; }
}
.why-card { border-top: 1px solid var(--hairline); padding-top: 32px; }
.why-head { margin-bottom: 20px; }
.why-head h3 { font-size: 1.5rem; font-weight: 400; line-height: 1.2; }
.why-card p { color: var(--stone); line-height: 1.7; font-size: 0.98rem; }

/* === FAQ === */
.faq-list { margin-top: 32px; }
.faq-item { border-top: 1px solid var(--hairline); transition: all 0.3s ease; }
.faq-item:last-child { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  padding: 28px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.3s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--terracotta); }

.faq-icon {
  flex-shrink: 0;
  width: 18px; height: 18px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: currentColor; transition: opacity 0.3s ease;
}
.faq-icon::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.faq-icon::after { top: 0; bottom: 0; left: 50%; width: 1px; transform: translateX(-50%); }
.faq-item[open] .faq-icon::after { opacity: 0; }

.faq-body {
  padding: 0 0 32px;
  max-width: 56ch;
  color: var(--stone);
  font-size: 1rem;
  line-height: 1.7;
}

/* === FOOTER === */
.footer { padding: 64px 0; border-top: 1px solid var(--hairline); }
.footer-top { margin-bottom: 48px; }
.footer-tag { font-size: 0.875rem; color: var(--stone); max-width: 40ch; line-height: 1.6; margin-top: 16px; }
.footer-disclaimer { border-top: 1px solid var(--hairline); padding-top: 32px; }
.footer-disclaimer p { font-size: 0.75rem; color: var(--stone); line-height: 1.7; max-width: 95ch; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 24px; font-size: 0.75rem; color: var(--stone); }
.footer-meta a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
.footer-meta a:hover { color: var(--terracotta); }

/* === ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.anim-fade { animation: fadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }

@media (prefers-reduced-motion: reduce) {
  .anim-fade { animation: none; }
  html { scroll-behavior: auto; }
}
