@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&display=swap');

:root {
  --bg: #FBF8F3;
  --surface: #FFFFFF;
  --surface-alt: #F5EFE4;
  --text: #1C1B1A;
  --text-secondary: #726D65;
  --border: #EDE6DA;
  --tint: #C1802E;
  --tint-text: #FFFFFF;
  --morning: #C1802E;
  --midday: #3A85B8;
  --evening: #6B588F;
  --shadow: 0 12px 32px rgba(28, 27, 26, 0.08);
  --serif: 'Fraunces', ui-serif, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17140F;
    --surface: #221E19;
    --surface-alt: #1D1913;
    --text: #F3F0EA;
    --text-secondary: #A79F95;
    --border: #332C24;
    --tint: #E7AE5C;
    --tint-text: #1C1408;
    --morning: #E7AE5C;
    --midday: #6FB3E0;
    --evening: #A292C9;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ─────────────────────────────────────────────────────────────── */

nav.site-nav {
  padding: 22px 0;
}

nav.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(155deg, var(--morning), var(--evening));
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
}

.lang-switch a {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-secondary);
}

.lang-switch a[aria-current="true"] {
  background: var(--tint);
  color: var(--tint-text);
}

/* ── Hero ────────────────────────────────────────────────────────────── */

.hero {
  padding: 56px 0 72px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tint);
  margin: 0 0 18px;
}

h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

h1 em {
  font-style: italic;
  color: var(--tint);
}

.lede {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 46ch;
  margin: 0 0 32px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--tint);
  color: var(--tint-text);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.hero-shot {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-shot img {
  width: min(320px, 82vw);
  border-radius: 34px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* ── Rhythm (3x daily) section ──────────────────────────────────────── */

.rhythm {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
}

.section-head {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 48px;
}

.section-head .eyebrow { display: block; }

h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 34px);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 16px;
  margin: 0;
}

.rhythm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rhythm-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px 24px;
}

.slot-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}

.slot-badge.morning { background: color-mix(in srgb, var(--morning) 16%, transparent); color: var(--morning); }
.slot-badge.midday { background: color-mix(in srgb, var(--midday) 16%, transparent); color: var(--midday); }
.slot-badge.evening { background: color-mix(in srgb, var(--evening) 16%, transparent); color: var(--evening); }

.rhythm-card .time {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.rhythm-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
}

.rhythm-card p {
  color: var(--text-secondary);
  font-size: 15px;
  margin: 0;
}

/* ── Groups feature ──────────────────────────────────────────────────── */

.feature {
  padding: 80px 0;
}

.feature .wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.feature-shot img {
  width: min(300px, 78vw);
  margin: 0 auto;
  border-radius: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.plan-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tint);
  background: color-mix(in srgb, var(--tint) 14%, transparent);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.feature-copy p {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 48ch;
}

.feature-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.feature-list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}

.feature-list .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tint);
  margin-top: 9px;
  flex-shrink: 0;
}

/* ── Verse strip ─────────────────────────────────────────────────────── */

.verse {
  background: var(--surface-alt);
  padding: 64px 0;
  text-align: center;
}

.verse blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 2.6vw, 24px);
  line-height: 1.55;
  max-width: 46ch;
  margin: 0 auto 16px;
}

.verse cite {
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  color: var(--tint);
  letter-spacing: 0.03em;
}

/* ── Footer ──────────────────────────────────────────────────────────── */

footer {
  padding: 48px 0 40px;
  border-top: 1px solid var(--border);
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
}

.footer-links a:hover { color: var(--text); }

.footer-meta {
  font-size: 13px;
  color: var(--text-secondary);
}

@media (max-width: 760px) {
  .hero .wrap,
  .feature .wrap {
    grid-template-columns: 1fr;
  }
  .hero-shot, .feature-shot { order: -1; }
  .rhythm-grid { grid-template-columns: 1fr; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
}
