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

:root {
  --bg: #F5F0E6;
  --bg-alt: #EDE8DC;
  --fg: #1B3A2D;
  --fg-light: #3D6B52;
  --fg-muted: #6B8F7A;
  --accent: #D4943A;
  --accent-dark: #A8752D;
  --white: #FFFFFF;
  --shadow: rgba(27, 58, 45, 0.12);
}

html { scroll-behavior: smooth; }

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

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

/* ===================== NAV ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 230, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 58, 45, 0.08);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 400;
  padding-left: 12px;
  border-left: 1px solid rgba(27, 58, 45, 0.2);
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212, 148, 58, 0.15) 0%, transparent 70%);
  top: -100px; right: 5%;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(27, 58, 45, 0.08) 0%, transparent 70%);
  bottom: -80px; left: -80px;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27, 58, 45, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 58, 45, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content { max-width: 560px; }

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(2.8rem, 5vw, 4rem);
  color: var(--fg);
  margin-bottom: 28px;
  line-height: 1.05;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-light);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-stat-row {
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-top: 3px;
}
.hero-stat-div {
  width: 1px; height: 36px;
  background: rgba(27, 58, 45, 0.15);
}

/* DEVICE MOCKUP */
.hero-visual { display: flex; justify-content: center; }
.hero-device {
  width: 320px;
  background: var(--fg);
  border-radius: 28px;
  padding: 4px;
  box-shadow: 0 24px 64px rgba(27, 58, 45, 0.3), 0 4px 12px rgba(27, 58, 45, 0.15);
}
.device-screen {
  background: #0D2118;
  border-radius: 24px;
  padding: 20px 20px 24px;
}
.screen-header {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.screen-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.screen-body { display: flex; flex-direction: column; gap: 12px; }
.screen-greeting {
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  font-family: 'DM Sans', sans-serif;
}
.checkin-card {
  background: rgba(212, 148, 58, 0.12);
  border: 1px solid rgba(212, 148, 58, 0.25);
  border-radius: 12px;
  padding: 14px;
}
.checkin-label {
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.checkin-q {
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  line-height: 1.45;
  margin-bottom: 10px;
  font-style: italic;
}
.checkin-progress { height: 3px; background: rgba(255,255,255,0.1); border-radius: 2px; margin-bottom: 8px; }
.checkin-bar { height: 100%; background: var(--accent); border-radius: 2px; }
.checkin-meta { color: rgba(255,255,255,0.35); font-size: 0.6rem; }
.habit-row { display: flex; flex-direction: column; gap: 6px; }
.habit {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.7rem; color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 8px 12px;
}
.habit-done { color: rgba(100, 200, 140, 0.8); }
.habit-icon { font-size: 0.8rem; }
.screen-quote {
  color: rgba(255,255,255,0.25);
  font-size: 0.65rem;
  font-style: italic;
  text-align: center;
  padding-top: 4px;
}

/* ===================== MANIFESTO ===================== */
.manifesto {
  background: var(--fg);
  color: var(--bg);
  padding: 100px 0;
}
.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.manifesto-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.manifesto-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--bg);
  margin-bottom: 60px;
  max-width: 700px;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.manifesto-col-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.4);
  margin-bottom: 20px;
}
.manifesto-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.manifesto-list li {
  font-size: 1rem;
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
}
.manifesto-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
}
.manifesto-list-good li::before { background: var(--accent); }
.manifesto-list-bad li { color: rgba(245, 240, 230, 0.5); }
.manifesto-list-bad li::before { background: rgba(245, 240, 230, 0.2); }

/* ===================== FEATURES ===================== */
.features {
  padding: 100px 0;
  background: var(--bg);
}
.features-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.features-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.features-headline {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}
.features-sub {
  font-size: 1.05rem;
  color: var(--fg-light);
  max-width: 540px;
  margin-bottom: 64px;
  line-height: 1.7;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(27, 58, 45, 0.1);
  border: 1px solid rgba(27, 58, 45, 0.1);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg);
  padding: 40px 36px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg-alt); }
.feature-icon { margin-bottom: 20px; }
.feature-title {
  font-size: 1.1rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}
.feature-desc {
  font-size: 0.9rem;
  color: var(--fg-light);
  line-height: 1.65;
}

/* ===================== HOW ===================== */
.how {
  padding: 100px 0;
  background: var(--bg-alt);
}
.how-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.how-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 60px;
}
.step-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 20px;
  align-items: start;
}
.step { padding-top: 4px; }
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(27, 58, 45, 0.12);
  display: block;
  margin-bottom: 16px;
}
.step-title {
  font-size: 1.1rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--fg);
}
.step-desc {
  font-size: 0.875rem;
  color: var(--fg-light);
  line-height: 1.65;
}
.step-connector {
  width: 40px;
  height: 1px;
  background: rgba(27, 58, 45, 0.15);
  margin-top: 36px;
  flex-shrink: 0;
}

/* ===================== CLOSING ===================== */
.closing {
  padding: 100px 0 80px;
  background: var(--fg);
  color: var(--bg);
}
.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.closing-quote {}
.closing-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--bg);
  margin-bottom: 20px;
}
.closing-attr {
  font-size: 0.8rem;
  color: rgba(245, 240, 230, 0.4);
}
.closing-vision {}
.closing-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.closing-headline {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  color: var(--bg);
  line-height: 1.35;
}

/* ===================== FOOTER ===================== */
.footer {
  background: #0D2118;
  padding: 40px 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bg);
  margin-bottom: 8px;
  display: block;
}
.footer-desc {
  font-size: 0.8rem;
  color: rgba(245, 240, 230, 0.35);
  max-width: 320px;
  line-height: 1.5;
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(245, 240, 230, 0.25);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .closing-inner { grid-template-columns: 1fr; gap: 40px; }
  .step-row { grid-template-columns: 1fr; gap: 32px; }
  .step-connector { display: none; }
  .nav-inner { padding: 16px 24px; }
  .hero-inner, .manifesto-inner, .features-inner, .how-inner, .closing-inner, .footer-inner { padding: 0 24px; }
  .hero { padding: 72px 0 60px; min-height: auto; }
}

@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero-stat-row { flex-wrap: wrap; gap: 16px; }
  .hero-stat-div { display: none; }
}