:root {
  --bg: #faf9f6;
  --bg-alt: #f0ede8;
  --fg: #1a1a2e;
  --fg-muted: #5a5a72;
  --accent: #e8a838;
  --accent-dark: #c4881e;
  --nav-bg: rgba(250, 249, 246, 0.92);
  --section-pad: 100px 24px;
  --max-w: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(26, 26, 46, 0.08);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--fg);
}

/* ── HERO ── */
.hero {
  position: relative;
  padding: 160px 24px 100px;
  overflow: hidden;
  background: var(--fg);
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}
.hero-blob-1 {
  width: 500px;
  height: 500px;
  background: #e8a838;
  top: -120px;
  right: -80px;
}
.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: #c4881e;
  bottom: -80px;
  left: 10%;
}
.hero-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  border: 1px solid rgba(232, 168, 56, 0.4);
  padding: 6px 12px;
  border-radius: 2px;
}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 32px;
}
.hero-lede {
  font-size: 18px;
  color: rgba(255,255,255,0.68);
  max-width: 580px;
  line-height: 1.7;
  font-weight: 300;
}
.hero-proof {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.12);
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}
.hero-proof-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 40px;
}
.hero-proof-item:first-child { padding-left: 0; }
.hero-proof-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
}
.hero-proof-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-proof-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.15);
}

/* ── MANIFESTO ── */
.manifesto {
  background: var(--bg);
  padding: var(--section-pad);
}
.manifesto-inner {
  max-width: 800px;
  margin: 0 auto;
}
.manifesto-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.manifesto-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 40px;
}
.manifesto-headline em {
  font-style: italic;
  color: var(--accent-dark);
}
.manifesto-body p {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.manifesto-body p:last-child {
  font-size: 20px;
  font-weight: 500;
  color: var(--fg);
}
.manifesto-body em {
  font-style: italic;
  color: var(--fg);
}

/* ── PROCESS ── */
.process {
  background: var(--fg);
  padding: var(--section-pad);
  color: #fff;
}
.process-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.process-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.process-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 600px;
  margin-bottom: 72px;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.process-step-number {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 500;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 20px;
}
.process-step-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
}
.process-step-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ── OFFERS ── */
.offers {
  background: var(--bg-alt);
  padding: var(--section-pad);
}
.offers-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.offers-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.offers-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
  max-width: 560px;
  margin-bottom: 56px;
}
.offers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.offer-card {
  background: var(--bg);
  padding: 40px;
  border: 1px solid rgba(26, 26, 46, 0.08);
  transition: transform 0.2s ease;
}
.offer-card:hover {
  transform: translateY(-2px);
}
.offer-icon {
  margin-bottom: 20px;
}
.offer-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 10px;
}
.offer-card-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── CLOSING ── */
.closing {
  background: var(--accent);
  padding: var(--section-pad);
}
.closing-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.closing-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4.5vw, 58px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 17px;
  color: rgba(26, 26, 46, 0.65);
  margin-bottom: 48px;
}
.closing-stat {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.closing-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  font-weight: 500;
  color: var(--fg);
  line-height: 1;
}
.closing-stat-label {
  font-size: 16px;
  color: rgba(26, 26, 46, 0.7);
  max-width: 340px;
  line-height: 1.5;
}

/* ── FOOTER ── */
.footer {
  background: var(--fg);
  padding: 48px 24px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  display: block;
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ── TOUCH TARGETS (mobile) ── */
/* Interactive elements need 44px min touch targets on mobile */
@media (max-width: 768px) {
  a, button, input, textarea, select, label,
  [role="button"], [role="link"], [role="tab"] {
    min-height: 44px;
    min-width: 44px;
  }
  a, button, [role="button"] {
    -webkit-tap-highlight-color: transparent;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { padding: 120px 24px 80px; }
  .hero-proof { flex-direction: column; gap: 28px; margin-top: 48px; }
  .hero-proof-item { padding: 0; flex-direction: row; align-items: baseline; gap: 12px; }
  .hero-proof-divider { display: none; }
  .hero-proof-number { font-size: 36px; }
  .process-steps { grid-template-columns: 1fr; gap: 40px; }
  .offers-grid { grid-template-columns: 1fr; }
  .closing-stat { flex-direction: column; gap: 8px; }
  .closing-stat-num { font-size: 56px; }
  .footer-inner { flex-direction: column; gap: 24px; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 36px; }
  .manifesto-headline { font-size: 26px; }
  .process-headline { font-size: 26px; }
  .offers-headline { font-size: 26px; }
  .closing-headline { font-size: 28px; }
  .offer-card { padding: 28px; }
}

/* ── BUTTON UTILITIES ── */
.btn, .btn-primary, .btn-secondary {
  -webkit-appearance: none;
  appearance: none;
}

@media (max-width: 768px) {
  /* Onboarding page — add top padding for fixed nav on mobile */
  .onboarding-page {
    padding-top: 88px;
  }

  /* Step indicator — larger touch targets for step circles */
  .step-num {
    width: 36px;
    height: 36px;
    font-size: 13px;
    min-height: 36px;
    min-width: 36px;
  }

  /* Form card — ensure no horizontal overflow that could clip inputs */
  .form-card {
    padding: 24px 20px;
    overflow-x: hidden;
  }

  /* Booking embed — cap height so the form below remains visible on phone */
  .booking-embed {
    min-height: 320px;
    max-height: 55vh;
  }

  /* Nav CTA button — ensure it stays tappable */
  .nav a.btn {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Dashboard generate-form — stack inputs and button on mobile */
  .generate-form {
    flex-direction: column;
    align-items: stretch;
  }
  .generate-form .form-group {
    min-width: 0;
  }
  .generate-form button {
    width: 100%;
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  /* Booking iframe — further reduce on small phones */
  .booking-embed {
    min-height: 260px;
    max-height: 45vh;
  }

  /* Onboarding form — tighter padding on very small screens */
  .onboarding-page {
    padding: 80px 12px 32px;
  }
}