:root {
  --bg: #F8F5EE;
  --fg: #1C1917;
  --accent: #C9854A;
  --accent-dark: #9E6838;
  --muted: #8A8279;
  --surface: #EDE8DF;
  --border: #D8D0C4;
  --white: #FFFFFF;
}

*, *::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', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 8vw;
  gap: 4vw;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(201,133,74,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-left {
  padding: 8vh 0;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-family: 'DM Sans', sans-serif;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 1.75rem;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-scent-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.scent-tag {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  background: rgba(255,255,255,0.5);
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 500px;
  position: relative;
}

.hero-image-wrap {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 3/4;
  border-radius: 200px 200px 100px 100px;
  background: linear-gradient(160deg, #2A2017 0%, #3D2D1E 40%, #C9854A 100%);
  position: relative;
  box-shadow: 0 40px 80px rgba(30,20,10,0.25);
}

.hero-flame-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 60px;
  background: radial-gradient(ellipse at bottom, rgba(255,200,100,0.9) 0%, rgba(255,150,50,0.5) 40%, transparent 80%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  filter: blur(2px);
  animation: flicker 2.5s ease-in-out infinite alternate;
}

@keyframes flicker {
  0% { opacity: 0.8; transform: translateX(-50%) scaleY(1); }
  50% { opacity: 1; transform: translateX(-50%) scaleY(1.1); }
  100% { opacity: 0.85; transform: translateX(-50%) scaleY(0.95); }
}

/* Scent Story */
.scent-story {
  padding: 10vh 8vw;
  background: var(--fg);
  color: var(--bg);
}

.scent-story-label,
.ai-label,
.sub-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  font-family: 'DM Sans', sans-serif;
}

.scent-story-heading,
.ai-heading,
.sub-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 4rem;
  letter-spacing: -0.02em;
}

.scents-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
}

.scent-card {
  padding: 2.5rem 2rem;
  background: rgba(248,245,238,0.04);
  border: 1px solid rgba(248,245,238,0.08);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.scent-card-center {
  background: rgba(201,133,74,0.08);
  border-color: rgba(201,133,74,0.2);
}

.scent-visual {
  height: 200px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), transparent);
}

.scent-visual-cedar { background: linear-gradient(160deg, #2D3B35 0%, #4A6356 50%, #8BAF9E 100%); }
.scent-visual-golden { background: linear-gradient(160deg, #3D2A0E 0%, #7A5226 50%, #C9854A 100%); }
.scent-visual-midnight { background: linear-gradient(160deg, #1A1F1C 0%, #2E3D30 50%, #4A6050 100%); }

.scent-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--bg);
}

.scent-body p {
  font-size: 0.9rem;
  color: rgba(248,245,238,0.6);
  line-height: 1.65;
  margin-bottom: 1rem;
  font-weight: 300;
}

.scent-notes {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
}

/* AI Features */
.ai-section {
  padding: 12vh 8vw;
  background: var(--surface);
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.ai-card {
  padding: 3rem 2.5rem;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ai-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--surface);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--fg);
}

.ai-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}

/* Subscription */
.subscription-section {
  padding: 12vh 8vw;
  background: var(--bg);
}

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

.sub-card {
  padding: 3rem 2.5rem;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sub-card-featured {
  background: var(--fg);
  color: var(--bg);
}

.sub-card-featured .sub-tagline,
.sub-card-featured p {
  color: rgba(248,245,238,0.6);
}

.sub-tier-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: 'DM Sans', sans-serif;
}

.sub-card-featured .sub-tier-label {
  color: var(--accent);
}

.sub-price {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
  color: var(--fg);
}

.sub-card-featured .sub-price {
  color: var(--bg);
}

.sub-price span {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
}

.sub-card-featured .sub-price span {
  color: rgba(248,245,238,0.5);
}

.sub-tagline {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.5rem;
}

.sub-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.sub-features li {
  font-size: 0.85rem;
  color: var(--muted);
  padding-left: 1.2rem;
  position: relative;
}

.sub-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.sub-card-featured .sub-features li {
  color: rgba(248,245,238,0.65);
}

/* Closing */
.closing-section {
  padding: 15vh 8vw;
  background: var(--fg);
  color: var(--bg);
  text-align: center;
  position: relative;
}

.closing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--accent));
}

.closing-inner {
  max-width: 600px;
  margin: 0 auto;
}

.closing-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--bg);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.closing-body {
  font-size: 1rem;
  color: rgba(248,245,238,0.6);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 3rem;
}

.closing-rule {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 2rem;
}

.closing-tagline {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--accent);
}

/* Footer */
.site-footer {
  padding: 5vh 8vw;
  background: #110E0B;
  color: rgba(248,245,238,0.4);
  text-align: center;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--bg);
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-size: 0.85rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: rgba(248,245,238,0.4);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(248,245,238,0.25);
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 8vh 6vw;
    min-height: auto;
    gap: 3vh;
  }

  .hero-right {
    min-height: 300px;
  }

  .hero-image-wrap {
    max-width: 260px;
    margin: 0 auto;
  }

  .scents-grid {
    grid-template-columns: 1fr;
  }

  .ai-grid {
    grid-template-columns: 1fr;
  }

  .sub-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

/* Waitlist Form */
.waitlist-wrap {
  margin-top: 3rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.waitlist-count {
  font-size: 0.8rem;
  color: rgba(248, 245, 238, 0.45);
  text-align: center;
  margin-bottom: 1.5rem;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.05em;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: flex;
  gap: 0.75rem;
}

.form-input {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(248, 245, 238, 0.2);
  border-radius: 100px;
  background: rgba(248, 245, 238, 0.06);
  color: var(--bg);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-input::placeholder {
  color: rgba(248, 245, 238, 0.35);
}

.form-input:focus {
  border-color: var(--accent);
}

.form-btn {
  padding: 0.75rem 1.75rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.form-btn:hover:not(:disabled) {
  background: var(--accent-dark);
}

.form-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-btn .btn-loading {
  display: none;
}

.form-section-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 245, 238, 0.45);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
}

.form-check-group,
.form-frequency-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.form-checkbox,
.form-radio {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: rgba(248, 245, 238, 0.7);
  font-family: 'DM Sans', sans-serif;
  user-select: none;
}

.form-checkbox input,
.form-radio input {
  accent-color: var(--accent);
  cursor: pointer;
  width: 14px;
  height: 14px;
}

.form-error {
  font-size: 0.8rem;
  color: #e07070;
  text-align: center;
  min-height: 1.2em;
  font-family: 'DM Sans', sans-serif;
}

.waitlist-success {
  text-align: center;
  padding: 1.5rem;
}

.success-headline {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.success-body {
  font-size: 0.9rem;
  color: rgba(248, 245, 238, 0.6);
  font-weight: 300;
}

@media (max-width: 480px) {
  .hero {
    padding: 6vh 5vw;
  }

  .hero-headline {
    font-size: 2.5rem;
  }

  .scents-grid,
  .ai-grid,
  .sub-grid {
    gap: 1px;
  }

  .form-row {
    flex-direction: column;
  }

  .form-btn {
    width: 100%;
  }
}