/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #F7F0E6;
  --sienna: #C2571A;
  --sienna-light: #E07B3F;
  --dark: #1A1008;
  --ink: #2C1F0E;
  --muted: #8A7260;
  --dust: #EDE4D7;
  --rust-dark: #8B3D10;
}

html { scroll-behavior: smooth; }

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

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

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 8vw 0;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.hero-bg-texture {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(194, 87, 26, 0.03) 40px,
      rgba(194, 87, 26, 0.03) 41px
    );
  pointer-events: none;
}

.hero-compass {
  position: absolute;
  right: 6vw;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  opacity: 0.06;
  background: radial-gradient(circle, var(--sienna) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-vertical-rule {
  position: absolute;
  left: 50px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--sienna) 30%, var(--sienna) 70%, transparent);
  opacity: 0.2;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-bottom: 60px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sienna);
  border: 1px solid var(--sienna);
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 32px;
}

.hero-headline {
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-tagline {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--sienna);
}

.tagline-mark {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--sienna);
}

.hero-meta-strip {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid rgba(44, 31, 14, 0.12);
  padding: 28px 0;
  margin-top: auto;
  flex-wrap: wrap;
  gap: 20px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  padding: 0 40px 0 0;
}

.meta-item:first-child { padding-left: 0; }

.meta-number {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--sienna);
  line-height: 1;
  margin-bottom: 4px;
}

.meta-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
  max-width: 160px;
}

.meta-divider {
  width: 1px;
  height: 40px;
  background: rgba(44, 31, 14, 0.12);
  margin: 0 40px 0 0;
  flex-shrink: 0;
}

/* ===== HERO CTA FORM ===== */
.hero-cta-form {
  margin-top: 44px;
  max-width: 560px;
}

.cta-form { display: flex; flex-direction: column; gap: 12px; }

.cta-input-wrap {
  display: flex;
  gap: 0;
  background: #fff;
  border: 2px solid rgba(44, 31, 14, 0.12);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cta-input-wrap:focus-within {
  border-color: var(--sienna);
  box-shadow: 0 0 0 4px rgba(194, 87, 26, 0.12);
}

.cta-input {
  flex: 1;
  padding: 16px 20px;
  font-size: 16px;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  border: none;
  background: transparent;
  outline: none;
}

.cta-input::placeholder { color: var(--muted); }

.cta-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  background: var(--sienna);
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.cta-btn:hover { background: var(--rust-dark); }

.cta-skip {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  text-align: center;
  transition: color 0.2s;
}

.cta-skip:hover { color: var(--sienna); }

@media (max-width: 600px) {
  .cta-input-wrap { flex-direction: column; border-radius: 6px; }
  .cta-btn { padding: 14px 20px; justify-content: center; }
  .cta-input { padding: 14px 20px; border-top: 1px solid rgba(44,31,14,0.08); }
}

/* ===== PROBLEM ===== */
.problem {
  background: var(--dark);
  padding: 100px 8vw;
}

.problem-inner { max-width: 1100px; margin: 0 auto; }

.problem-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sienna-light);
  margin-bottom: 20px;
}

.problem-headline {
  font-size: clamp(32px, 4vw, 54px);
  color: var(--cream);
  max-width: 600px;
  margin-bottom: 60px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
}

.problem-card {
  background: rgba(247, 240, 230, 0.05);
  border: 1px solid rgba(247, 240, 230, 0.08);
  padding: 40px 36px;
}

.problem-icon {
  color: var(--sienna-light);
  margin-bottom: 20px;
}

.problem-card h3 {
  font-size: 18px;
  color: var(--cream);
  margin-bottom: 12px;
  font-family: 'Playfair Display', serif;
}

.problem-card p {
  font-size: 14px;
  color: rgba(247, 240, 230, 0.55);
  line-height: 1.7;
}

/* ===== FEATURES ===== */
.features {
  background: var(--cream);
  padding: 100px 8vw;
}

.features-header { text-align: center; margin-bottom: 70px; }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sienna);
  border: 1px solid var(--sienna);
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.features-headline {
  font-size: clamp(30px, 4vw, 48px);
  color: var(--dark);
  max-width: 500px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.feature-card {
  background: #fff;
  border: 1px solid rgba(44, 31, 14, 0.08);
  padding: 44px 36px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(44, 31, 14, 0.1);
}

.feature-number {
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  font-weight: 900;
  color: rgba(194, 87, 26, 0.08);
  line-height: 1;
  margin-bottom: 24px;
  position: absolute;
  top: 24px;
  right: 28px;
}

.feature-icon-wrap {
  width: 60px;
  height: 60px;
  background: var(--dust);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sienna);
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 14px;
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.features-detail-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(44, 31, 14, 0.08);
  flex-wrap: wrap;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

.detail-icon {
  width: 22px;
  height: 22px;
  background: var(--sienna);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

/* ===== HOW IT WORKS ===== */
.howitworks {
  background: var(--dust);
  padding: 100px 8vw;
}

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

.hiw-headline {
  font-size: clamp(30px, 4vw, 48px);
  color: var(--dark);
  margin-bottom: 64px;
}

.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hiw-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid rgba(44, 31, 14, 0.1);
  position: relative;
}

.hiw-step:last-child { border-bottom: none; }

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 900;
  color: var(--sienna);
  opacity: 0.3;
  line-height: 1;
}

.step-body h3 {
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 12px;
}

.step-body p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
}

.step-connector {
  display: none;
}

/* ===== AUDIO GUIDE ===== */
.audioguide {
  background: var(--cream);
  padding: 100px 8vw;
}

.ag-content {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.ag-headline {
  font-size: clamp(30px, 4vw, 48px);
  color: var(--dark);
  margin-bottom: 28px;
}

.ag-body {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.ag-quote {
  margin-top: 40px;
  padding-left: 24px;
  border-left: 3px solid var(--sienna);
}

.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: var(--sienna);
  line-height: 0.5;
  margin-bottom: 12px;
  opacity: 0.4;
}

blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  line-height: 1.6;
}

.ag-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ag-phone { text-align: center; }

.phone-frame {
  background: var(--dark);
  border-radius: 36px;
  padding: 12px;
  display: inline-block;
  box-shadow: 0 40px 80px rgba(26, 16, 8, 0.25), 0 0 0 1px rgba(255,255,255,0.08);
  max-width: 280px;
}

.phone-screen {
  background: #1C1408;
  border-radius: 26px;
  padding: 24px 20px;
  text-align: left;
}

.app-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--sienna-light);
  font-weight: 500;
  margin-bottom: 20px;
}

.phone-title {
  font-size: 10px;
  color: rgba(247, 240, 230, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.phone-track {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: var(--cream);
  margin-bottom: 12px;
  font-weight: 600;
}

.phone-narrative {
  font-size: 11px;
  color: rgba(247, 240, 230, 0.55);
  line-height: 1.65;
  margin-bottom: 16px;
}

.phone-progress {
  margin-bottom: 14px;
}

.progress-bar {
  height: 3px;
  background: rgba(247, 240, 230, 0.15);
  border-radius: 2px;
  margin-bottom: 6px;
  position: relative;
}

.progress-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 62%;
  background: var(--sienna);
  border-radius: 2px;
}

.progress-time {
  font-size: 10px;
  color: rgba(247, 240, 230, 0.35);
}

.phone-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.ctrl-rew, .ctrl-fwd { color: rgba(247, 240, 230, 0.5); cursor: pointer; }
.ctrl-play {
  width: 36px;
  height: 36px;
  background: var(--sienna);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
}

.phone-caption {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

/* ===== CLOSING ===== */
.closing {
  background: var(--dark);
  padding: 120px 8vw;
  text-align: center;
}

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

.closing-deco {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--sienna));
  margin: 0 auto 48px;
}

.closing-headline {
  font-size: clamp(36px, 5vw, 64px);
  color: var(--cream);
  margin-bottom: 28px;
  line-height: 1.2;
}

.closing-headline em {
  color: var(--sienna-light);
  font-style: italic;
}

.closing-sub {
  font-size: 17px;
  color: rgba(247, 240, 230, 0.5);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 48px;
}

.closing-tags {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.closing-tag {
  font-size: 12px;
  color: var(--sienna-light);
  border: 1px solid rgba(224, 123, 63, 0.3);
  padding: 6px 16px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #120D06;
  padding: 48px 8vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--cream);
  display: block;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 12px;
  color: rgba(247, 240, 230, 0.3);
}

.footer-note {
  font-size: 12px;
  color: rgba(247, 240, 230, 0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding: 60px 6vw 0; }
  .hero-meta-strip { flex-direction: column; gap: 16px; }
  .meta-divider { display: none; }
  .meta-item { padding: 0; }
  .features-grid { grid-template-columns: 1fr; }
  .ag-content { grid-template-columns: 1fr; }
  .ag-visual { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .hiw-step { grid-template-columns: 48px 1fr; gap: 20px; }
  .step-num { font-size: 36px; }
  .site-footer { flex-direction: column; gap: 16px; text-align: center; }
  .closing-tags { gap: 8px; }
  .features-detail-row { gap: 16px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 40px; }
  .closing-headline { font-size: 30px; }
  .features, .problem, .howitworks, .audioguide, .closing { padding: 72px 6vw; }
}
