:root {
  --parchment: #f4efe5;
  --surface: #fffbf3;
  --surface-strong: #ffffff;
  --forest: #254a3b;
  --forest-soft: #345d4c;
  --sage: #6f8f74;
  --moss: #dce6d7;
  --moss-soft: #e9efe4;
  --ochre: #c59a4a;
  --ochre-soft: #f1e5c9;
  --ink: #23312a;
  --muted: #788179;
  --hairline: #e5ded0;
  --danger: #a85a4a;
  --shadow: 0 22px 60px rgba(35, 49, 42, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; }

.site-shell { min-height: 100vh; overflow: hidden; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 40px)); margin-inline: auto; }

header {
  position: relative;
  z-index: 5;
  padding: 24px 0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -.03em;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--forest);
  display: grid;
  grid-template-columns: repeat(2, 8px);
  grid-template-rows: repeat(2, 8px);
  gap: 5px;
  place-content: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.brand-mark i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ochre);
}
.brand-mark i:nth-child(2), .brand-mark i:nth-child(3) { background: var(--moss); }
.nav-links { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 700; }
.nav-links a:hover { color: var(--forest); }

.hero {
  position: relative;
  padding: 84px 0 110px;
}
.hero::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -180px;
  top: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220,230,215,.9), rgba(220,230,215,0) 68%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--moss);
  border-radius: 999px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 22px;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ochre); }
h1, h2, h3 { margin: 0; letter-spacing: -.045em; line-height: 1.03; }
h1 { font-size: clamp(48px, 7vw, 82px); max-width: 780px; }
h2 { font-size: clamp(34px, 4.5vw, 54px); }
h3 { font-size: 22px; }
.lede { font-size: clamp(18px, 2vw, 21px); color: #566159; max-width: 660px; margin: 25px 0 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 18px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .17s ease, background .17s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--forest); color: white; }
.button-secondary { background: var(--surface); color: var(--forest); border-color: var(--hairline); }
.small-note { margin-top: 15px; color: var(--muted); font-size: 13px; }

.phone-card {
  width: min(390px, 100%);
  margin-inline: auto;
  padding: 12px;
  border-radius: 40px;
  background: #1f2d27;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.phone-screen {
  background: var(--parchment);
  border-radius: 30px;
  min-height: 610px;
  padding: 25px 20px 22px;
  overflow: hidden;
  position: relative;
}
.phone-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.mini-label { font-size: 12px; color: var(--muted); font-weight: 700; }
.streak { font-size: 14px; font-weight: 850; color: var(--forest); }
.habit-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  margin-bottom: 14px;
}
.habit-card strong { display: block; font-size: 18px; margin-bottom: 4px; }
.progress-row { display: flex; gap: 8px; margin-top: 18px; }
.progress-row span { width: 30px; height: 8px; border-radius: 999px; background: var(--hairline); }
.progress-row span.done { background: var(--sage); }
.progress-row span.today { background: var(--ochre); }
.growth-orb {
  margin-top: 28px;
  height: 190px;
  border-radius: 30px;
  background: linear-gradient(145deg, var(--moss-soft), var(--ochre-soft));
  position: relative;
  overflow: hidden;
}
.growth-orb::before, .growth-orb::after {
  content: "";
  position: absolute;
  border-radius: 60% 40% 60% 40%;
  background: var(--sage);
  opacity: .75;
  transform-origin: bottom center;
}
.growth-orb::before { width: 72px; height: 118px; left: 145px; top: 49px; transform: rotate(28deg); }
.growth-orb::after { width: 58px; height: 92px; left: 92px; top: 75px; transform: rotate(-29deg); }
.stem { position: absolute; width: 7px; height: 118px; background: var(--forest); left: 147px; top: 56px; border-radius: 999px; }

.section { padding: 100px 0; }
.section.alt { background: rgba(255,251,243,.55); border-block: 1px solid var(--hairline); }
.section-heading { max-width: 720px; margin-bottom: 50px; }
.section-heading p { color: var(--muted); font-size: 18px; margin: 18px 0 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 26px;
}
.feature-kicker { color: var(--ochre); font-weight: 850; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.feature p { color: var(--muted); margin-bottom: 0; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: start; }
.quote-card { background: var(--forest); color: white; padding: 34px; border-radius: 30px; font-size: 25px; line-height: 1.25; letter-spacing: -.02em; }
.quote-card small { display: block; color: #dce6d7; font-size: 13px; margin-top: 20px; font-weight: 700; }
.clean-list { list-style: none; margin: 0; padding: 0; }
.clean-list li { padding: 15px 0; border-bottom: 1px solid var(--hairline); display: flex; gap: 12px; }
.clean-list li::before { content: "•"; color: var(--ochre); font-weight: 900; }

.center-card {
  margin: 70px auto;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 30px;
  padding: clamp(30px, 6vw, 58px);
  box-shadow: var(--shadow);
  text-align: center;
}
.status-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 25px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: var(--moss);
  color: var(--forest);
  font-size: 38px;
  font-weight: 900;
}
.center-card p { color: var(--muted); font-size: 18px; max-width: 600px; margin: 18px auto 28px; }

.document { padding: 58px 0 100px; }
.document-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: 26px; padding: clamp(28px, 5vw, 52px); }
.document-card h1 { font-size: clamp(38px, 6vw, 58px); margin-bottom: 10px; }
.document-card h2 { font-size: 24px; margin-top: 36px; }
.document-card p, .document-card li { color: #4e5a53; }
.document-meta { color: var(--muted); margin-bottom: 34px; }

footer { padding: 44px 0 55px; border-top: 1px solid var(--hairline); }
.footer-grid { display: flex; justify-content: space-between; gap: 25px; align-items: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 700; }
.copyright { color: var(--muted); font-size: 13px; margin-top: 12px; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .hero { padding-top: 50px; }
  .hero-grid, .principles { grid-template-columns: 1fr; }
  .hero-grid { gap: 55px; }
  .feature-grid { grid-template-columns: 1fr; }
  .phone-card { max-width: 340px; }
  .phone-screen { min-height: 535px; }
  .footer-grid { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
