:root {
  --bg: #FDFAF5;
  --fg: #1A1A18;
  --fg-muted: #6B6B63;
  --accent: #D97706;
  --accent-light: #FEF3C7;
  --surface: #FFFFFF;
  --border: #E8E3D8;
  --green-deep: #1B4332;
  --green-mid: #2D6A4F;
}

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

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

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

::selection { background: var(--accent); color: white; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 100px;
  padding: 14px 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  box-shadow: 0 2px 12px rgba(217,119,6,0.25);
}
.btn-primary:hover {
  background: #B45309;
  box-shadow: 0 4px 20px rgba(217,119,6,0.35);
  transform: translateY(-1px);
}
.btn-primary.btn-sm { padding: 10px 24px; font-size: 0.9rem; }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--green-deep);
  border: 2px solid var(--border);
  border-radius: 100px;
  padding: 12px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.btn-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

/* ─── HEADER ─── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  isolation: isolate;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(253, 250, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green-deep);
  letter-spacing: -0.01em;
}
.tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-style: italic;
  font-family: 'Playfair Display', serif;
}
/* Show header CTA on desktop; inline style overrides on layout.ejs */

/* ─── HERO ─── */
.hero {
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero-headline {
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  color: var(--green-deep);
  margin-bottom: 20px;
  line-height: 1.1;
}
.hero-lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  display: block;
}
.hero-img-caption {
  text-align: center;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-style: italic;
}

/* Decorative elements */
.hero-decoration { position: absolute; inset: 0; pointer-events: none; }
.deco-star {
  position: absolute;
  width: 20px;
  right: 15%;
  top: 25%;
  animation: float 4s ease-in-out infinite;
}
.deco-star-2 { width: 14px; right: 12%; top: 40%; animation-delay: 1.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(10deg); }
}
.deco-circle {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid var(--accent-light);
  right: -60px;
  top: 60px;
  opacity: 0.6;
}

/* ─── SECTION COMMONS ─── */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-headline {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--green-deep);
  margin-bottom: 48px;
}

/* ─── SAMPLE ADVENTURE PREVIEW ─── */
.preview { padding: 100px 40px; background: #F5F0E8; }
.preview-inner { max-width: 1100px; margin: 0 auto; }
.preview-intro {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 580px;
  margin-bottom: 48px;
  line-height: 1.7;
}
.preview-scroll {
  display: flex;
  gap: 20px;
  align-items: stretch;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.preview-scroll::-webkit-scrollbar { height: 4px; }
.preview-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.preview-card {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
  min-width: 200px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}
.preview-card--photo {
  border: 2px solid var(--accent);
  align-items: center;
  padding: 24px 16px;
  text-align: center;
  min-width: 160px;
  justify-content: center;
}
.preview-card-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  padding: 8px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.scene-label { color: var(--accent); background: var(--accent-light); }

.preview-img-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #F0EBE0;
  flex: 1;
}
.preview-img-box--photo { background: #FEF9F0; border: none; padding: 0; }

.preview-card-caption {
  padding: 10px 14px 4px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.88rem;
  color: var(--fg);
  line-height: 1.4;
}
.preview-card-sub {
  padding: 0 14px 14px;
  font-size: 0.75rem;
  color: var(--fg-muted);
}

.preview-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 4px;
  opacity: 0.7;
}

.preview-note {
  margin-top: 24px;
  font-size: 0.82rem;
  color: var(--fg-muted);
  font-style: italic;
}
.preview-cta { margin-top: 32px; }

/* ─── HOW IT WORKS ─── */
.how-it-works { padding: 80px 40px; background: var(--green-deep); color: white; }
.how-it-works .section-eyebrow { color: var(--accent); }
.how-it-works .section-headline { color: white; }
.how-inner { max-width: 1000px; margin: 0 auto; }
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step { flex: 1; padding: 0 24px; }
.step:first-child { padding-left: 0; }
.step-icon { margin-bottom: 12px; }
.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}
.step-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: white;
}
.step-content p { font-size: 0.9rem; opacity: 0.8; line-height: 1.6; color: rgba(255,255,255,0.8); }
.step-divider {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-top: 44px;
}

/* ─── FOR WHO ─── */
.forwho { padding: 100px 40px; }
.forwho-inner { max-width: 1100px; margin: 0 auto; }
.forwho-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.forwho-card {
  padding: 36px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.forwho-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.forwho-icon { margin-bottom: 20px; }
.forwho-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}
.forwho-card p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.65; }

/* ─── PRICING ─── */
.pricing { padding: 100px 40px; background: #F5F0E8; }
.pricing-inner { max-width: 960px; margin: 0 auto; }
.pricing-intro {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 520px;
  margin-bottom: 48px;
  line-height: 1.7;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.pricing-card--featured {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(217,119,6,0.15);
  transform: scale(1.03);
}
.pricing-card-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.pricing-card--featured .pricing-card-label { color: var(--accent); }
.pricing-pack {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 8px;
}
.pricing-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}
.pricing-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 100px;
  padding: 5px 16px;
  font-size: 0.78rem;
  font-weight: 600;
}
.pricing-waitlist-nudge {
  background: var(--green-deep);
  color: white;
  border-radius: 20px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.pricing-lock-icon { font-size: 1.5rem; flex-shrink: 0; }
.pricing-waitlist-nudge p {
  flex: 1;
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.5;
  color: white;
}
.pricing-waitlist-nudge strong { color: white; }

/* ─── FEATURES (kept for compatibility) ─── */
.features { padding: 100px 40px; }
.features-inner { max-width: 1100px; margin: 0 auto; }
.features-header { margin-bottom: 48px; }
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.feature-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: box-shadow 0.2s ease;
}
.feature-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.feature-icon { margin-bottom: 16px; }
.feature-card h3 {
  font-size: 1.05rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}
.feature-card p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.6; }
.feature-card em { font-style: italic; color: var(--green-mid); }

/* ─── WAITLIST SECTION ─── */
.waitlist-section {
  padding: 100px 40px;
  background: var(--green-deep);
  color: white;
}
.waitlist-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.closing-headline {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: white;
  margin-bottom: 24px;
}
.closing-body {
  font-size: 1.05rem;
  opacity: 0.85;
  line-height: 1.75;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.85);
}
.closing-content { margin-bottom: 52px; }

.waitlist-form-wrap { text-align: center; }
.waitlist-label {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
  font-style: italic;
}
.waitlist-form {}
.waitlist-input-group {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto 12px;
  flex-wrap: wrap;
}
.waitlist-input {
  flex: 1;
  min-width: 220px;
  padding: 14px 20px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  background: rgba(255,255,255,0.1);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease;
}
.waitlist-input::placeholder { color: rgba(255,255,255,0.45); }
.waitlist-input:focus { border-color: var(--accent); background: rgba(255,255,255,0.15); }
.waitlist-btn { white-space: nowrap; }
.waitlist-privacy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-top: 8px;
}
.waitlist-success { padding: 32px; }
.waitlist-success-icon { font-size: 2.5rem; margin-bottom: 12px; }
.waitlist-success-text {
  font-size: 1.2rem;
  color: white;
  font-weight: 600;
  margin-bottom: 8px;
}
.waitlist-success-sub { font-size: 0.95rem; color: rgba(255,255,255,0.7); }
.waitlist-error {
  color: #FCA5A5;
  font-size: 0.9rem;
  margin-top: 8px;
  padding: 8px 16px;
  background: rgba(239,68,68,0.15);
  border-radius: 8px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── FOOTER ─── */
.site-footer {
  padding: 40px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand .wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--green-deep);
  display: block;
  margin-bottom: 4px;
}
.footer-brand p {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-style: italic;
}
.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-social { font-size: 0.85rem; color: var(--fg-muted); font-weight: 500; }
.footer-contact {
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
}
.footer-contact:hover { text-decoration: underline; }
.footer-meta span { font-size: 0.75rem; color: var(--fg-muted); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .features-grid { grid-template-columns: 1fr; }
  .forwho-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: none; }
  .steps { flex-direction: column; gap: 32px; }
  .step-divider { display: none; }
  .step { padding: 0; }
  .pricing-waitlist-nudge { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .hero { padding: 96px 24px 56px; }
  .how-it-works, .features, .forwho, .pricing, .waitlist-section { padding: 64px 24px; }
  .preview { padding: 64px 24px; }
  .site-header { padding: 0 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .waitlist-input-group { flex-direction: column; }
  .waitlist-input { min-width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }
}
