@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --bg: #0f0f0e;
  --bg-warm: #161614;
  --bg-card: #1c1c19;
  --fg: #e8e4dc;
  --fg-muted: #9a9589;
  --fg-dim: #6b665e;
  --accent: #c4a167;
  --accent-glow: rgba(196, 161, 103, 0.15);
  --accent-warm: #d4b078;
  --serif: 'Lora', Georgia, serif;
  --sans: 'Outfit', -apple-system, sans-serif;
  --breath-duration: 6s;
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* --- BREATHING ANIMATION --- */
@keyframes breathe {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.08); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  animation: breathe var(--breath-duration) ease-in-out infinite;
  pointer-events: none;
}

.hero-wordmark {
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 400;
  line-height: 1.2;
  max-width: 720px;
  color: var(--fg);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-warm);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--fg-muted);
  max-width: 520px;
  margin-top: 1.5rem;
  line-height: 1.8;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-divider {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin-top: 3rem;
  opacity: 0.5;
  animation: fadeInUp 1s ease-out 0.6s both;
}

/* --- SECTION BASE --- */
section {
  padding: 6rem 2rem;
}

.section-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* --- PROMISE SECTION --- */
.promise {
  background: var(--bg-warm);
  border-top: 1px solid rgba(196, 161, 103, 0.08);
  border-bottom: 1px solid rgba(196, 161, 103, 0.08);
}

.promise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.promise-item {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(196, 161, 103, 0.06);
}

.promise-item:last-child {
  border-bottom: none;
}

.promise-item h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.promise-item p {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 600px;
}

/* --- HOW IT WORKS --- */
.how {
  background: var(--bg);
}

.how .section-inner > h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 3rem;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
}

.how-step {
  background: var(--bg-card);
  border: 1px solid rgba(196, 161, 103, 0.06);
  border-radius: 12px;
  padding: 2rem;
}

.how-step .step-num {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 1rem;
  display: block;
}

.how-step h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.how-step p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- QUOTE --- */
.quote-section {
  background: var(--bg-warm);
  text-align: center;
  padding: 5rem 2rem;
  border-top: 1px solid rgba(196, 161, 103, 0.08);
  border-bottom: 1px solid rgba(196, 161, 103, 0.08);
}

.quote-section blockquote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-style: italic;
  color: var(--accent-warm);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.quote-section .quote-attr {
  margin-top: 1.5rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--fg-dim);
  font-style: normal;
}

/* --- CLOSING --- */
.closing {
  background: var(--bg);
  text-align: center;
  padding: 6rem 2rem;
}

.closing h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  color: var(--fg);
  max-width: 650px;
  margin: 0 auto 1.5rem;
  line-height: 1.4;
}

.closing p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.8;
}

/* --- FOOTER --- */
footer {
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(196, 161, 103, 0.06);
  background: var(--bg);
}

.footer-name {
  font-family: var(--serif);
  font-size: 0.9rem;
  color: var(--fg-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--fg-dim);
  opacity: 0.6;
}

/* --- RESPONSIVE --- */
@media (max-width: 640px) {
  .hero {
    min-height: 90vh;
    padding: 2rem 1.5rem;
  }

  .hero::before {
    width: 300px;
    height: 300px;
  }

  section {
    padding: 4rem 1.5rem;
  }

  .how-steps {
    grid-template-columns: 1fr;
  }
}
