/* ── Rootine Design System ── */
:root {
  /* Palette — earthy, warm, grounded */
  --forest: #1a2e1a;
  --forest-mid: #2d4a2d;
  --sage: #7a9a6e;
  --sage-light: #a8c49a;
  --gold: #c8a44e;
  --gold-light: #e6cc7a;
  --sand: #f5f0e8;
  --sand-dark: #e8e0d0;
  --cream: #faf8f4;
  --bark: #3d2e1e;
  --bark-light: #5c4a36;
  --text: #1a1a17;
  --text-mid: #4a4a40;
  --text-sub: #7a7a6e;
  --white: #ffffff;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  /* Radius */
  --radius: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── Section Labels ── */
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sage);
  margin-bottom: var(--space-sm);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--forest);
  margin-bottom: var(--space-sm);
}
.section-sub {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.7;
}

/* ── Nav ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.5rem, 5vw, 4rem);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav__logo { display: flex; align-items: center; gap: 0.5rem; }
.nav__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--forest);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: var(--radius);
}
.nav__wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--forest);
  letter-spacing: -0.02em;
}
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--forest); }
.nav__cta {
  background: var(--forest) !important;
  color: var(--cream) !important;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 500 !important;
  transition: background 0.2s !important;
}
.nav__cta:hover { background: var(--forest-mid) !important; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
}
.btn--primary {
  background: var(--forest);
  color: var(--cream);
}
.btn--primary:hover { background: var(--forest-mid); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}
.btn--ghost:hover { background: var(--forest); color: var(--cream); }

/* ── Hero ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 100vh;
  padding: 8rem clamp(1.5rem, 5vw, 4rem) var(--space-xl);
  gap: var(--space-lg);
}
.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage);
  margin-bottom: var(--space-sm);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--forest);
  margin-bottom: 1.5rem;
}
.hero__accent {
  color: var(--gold);
}
.hero__sub {
  font-size: 1.2rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: var(--space-md);
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero visual — animated rings */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__circle {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid;
}
.hero__ring--1 {
  width: 100%;
  height: 100%;
  border-color: rgba(122, 154, 110, 0.2);
  animation: spin 30s linear infinite;
}
.hero__ring--2 {
  width: 75%;
  height: 75%;
  border-color: rgba(200, 164, 78, 0.25);
  animation: spin 20s linear infinite reverse;
}
.hero__ring--3 {
  width: 50%;
  height: 50%;
  border-color: rgba(122, 154, 110, 0.3);
  animation: spin 15s linear infinite;
}
.hero__ring--1::after,
.hero__ring--2::after,
.hero__ring--3::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  top: -4px;
  left: 50%;
}
.hero__ring--1::after { background: var(--sage); }
.hero__ring--2::after { background: var(--gold); }
.hero__ring--3::after { background: var(--sage-light); }
.hero__icon { font-size: 3.5rem; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Pillars ── */
.pillars {
  padding: var(--space-2xl) clamp(1.5rem, 5vw, 4rem);
  background: var(--sand);
}
.pillars__header {
  max-width: 600px;
  margin-bottom: var(--space-lg);
}
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.pillar {
  background: var(--cream);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.05);
}
.pillar__icon { font-size: 2rem; margin-bottom: var(--space-sm); }
.pillar__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.75rem;
}
.pillar__text {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.pillar__points li {
  font-size: 0.85rem;
  color: var(--text-sub);
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}
.pillar__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

/* ── Daily Rhythm ── */
.rhythm {
  padding: var(--space-2xl) clamp(1.5rem, 5vw, 4rem);
}
.rhythm__header {
  max-width: 600px;
  margin-bottom: var(--space-lg);
}
.rhythm__timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 800px;
}
.rhythm__block {
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  border-left: 4px solid;
  background: var(--sand);
}
.rhythm__block--morning { border-color: var(--gold); }
.rhythm__block--midday { border-color: var(--sage); }
.rhythm__block--evening { border-color: var(--bark-light); }
.rhythm__time {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-sub);
  margin-bottom: 0.5rem;
}
.rhythm__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: var(--space-sm);
}
.rhythm__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-sm);
}
.tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
}
.tag--ayurveda { background: #f0e8d0; color: #8a7030; }
.tag--neuro { background: #d8ecd0; color: #3a6030; }
.tag--holistic { background: #e0dce8; color: #5a4870; }
.rhythm__why {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ── Science ── */
.science {
  padding: var(--space-2xl) clamp(1.5rem, 5vw, 4rem);
  background: var(--forest);
  color: var(--cream);
}
.science .section-label { color: var(--sage-light); }
.science .section-title { color: var(--cream); }
.science__header {
  max-width: 600px;
  margin-bottom: var(--space-lg);
}
.science__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.stat {
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}
.stat__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}
.stat__text {
  font-size: 0.9rem;
  color: rgba(250, 248, 244, 0.75);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.stat__source {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sage);
}

/* ── Features ── */
.features {
  padding: var(--space-2xl) clamp(1.5rem, 5vw, 4rem);
}
.features__header {
  max-width: 500px;
  margin-bottom: var(--space-lg);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.feature {
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  border: 1px solid var(--sand-dark);
  transition: border-color 0.2s, transform 0.2s;
}
.feature:hover { border-color: var(--sage); transform: translateY(-2px); }
.feature__icon { font-size: 1.75rem; margin-bottom: var(--space-sm); }
.feature h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.5rem;
}
.feature p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ── CTA ── */
.cta {
  padding: var(--space-2xl) clamp(1.5rem, 5vw, 4rem);
  background: var(--sand);
  text-align: center;
}
.cta__content { max-width: 560px; margin: 0 auto; }
.cta__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--forest);
  margin-bottom: var(--space-sm);
}
.cta__sub {
  font-size: 1.1rem;
  color: var(--text-mid);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}
.cta__form {
  display: flex;
  gap: 0.75rem;
  max-width: 460px;
  margin: 0 auto var(--space-sm);
}
.cta__input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.cta__input:focus { border-color: var(--sage); }
.cta__input::placeholder { color: var(--text-sub); }
.cta__btn { white-space: nowrap; }
.cta__note {
  font-size: 0.8rem;
  color: var(--text-sub);
}

/* ── Footer ── */
.footer {
  padding: var(--space-lg) clamp(1.5rem, 5vw, 4rem);
  background: var(--forest);
  text-align: center;
}
.footer__inner { max-width: 400px; margin: 0 auto; }
.footer .nav__mark {
  background: rgba(255,255,255,0.1);
  color: var(--gold-light);
}
.footer .nav__wordmark { color: var(--cream); }
.footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--space-sm);
}
.footer__tagline {
  font-size: 0.9rem;
  color: rgba(250, 248, 244, 0.5);
  margin-bottom: var(--space-sm);
}
.footer__copy {
  font-size: 0.75rem;
  color: rgba(250, 248, 244, 0.3);
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .nav__links a:not(.nav__cta) { display: none; }
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 7rem;
    min-height: auto;
  }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__circle { width: 260px; height: 260px; }
  .pillars__grid { grid-template-columns: 1fr; }
  .science__grid { grid-template-columns: 1fr 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .cta__form { flex-direction: column; }
}

@media (max-width: 480px) {
  .science__grid { grid-template-columns: 1fr; }
}