*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #faf8f5;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --accent: #e85d4c;
  --accent-soft: #fde8e5;
  --mint: #3d9a72;
  --mint-soft: #e8f5ef;
  --lavender: #7c6cf0;
  --lavender-soft: #ede9fe;
  --border: #e8e4de;
  --shadow: 0 20px 50px rgba(26, 26, 26, 0.08);
  --radius: 20px;
  --font: 'DM Sans', system-ui, sans-serif;
  --display: 'Fraunces', Georgia, serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #121110;
    --surface: #1c1a18;
    --text: #f5f2ed;
    --muted: #a8a29e;
    --accent: #ff7a6b;
    --accent-soft: #3a2220;
    --mint-soft: #1a2e24;
    --lavender-soft: #2a2540;
    --border: #2e2a26;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  }
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.bg-blob--1 {
  width: 420px;
  height: 420px;
  background: var(--lavender-soft);
  top: -120px;
  right: -80px;
}

.bg-blob--2 {
  width: 360px;
  height: 360px;
  background: var(--accent-soft);
  bottom: 10%;
  left: -100px;
}

.header,
main,
.footer {
  position: relative;
  z-index: 1;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.logo {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

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

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.hero {
  padding: 3rem 0 2.5rem;
  max-width: 640px;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  line-height: 1.08;
  margin: 0 0 1.25rem;
  font-weight: 700;
}

.hero-accent {
  color: var(--accent);
}

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
  max-width: 52ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-note {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(232, 93, 76, 0.35);
}

.btn--secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
  width: 100%;
}

.btn--ghost {
  background: transparent;
  color: var(--muted);
  padding: 0.5rem 0.75rem;
}

.btn--sm {
  font-size: 0.875rem;
}

.btn--full {
  width: 100%;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 4rem;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

.stat-value {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head h2 {
  font-family: var(--display);
  font-size: 1.75rem;
  margin: 0 0 0.35rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.sample {
  margin-bottom: 4rem;
}

.daily-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  max-width: 520px;
}

.daily-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.badge {
  background: var(--lavender-soft);
  color: var(--lavender);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.daily-quote {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.35;
  margin: 0 0 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid var(--accent);
}

.daily-quote cite {
  display: block;
  font-family: var(--font);
  font-size: 0.85rem;
  font-style: normal;
  color: var(--muted);
  margin-top: 0.5rem;
}

.daily-block {
  background: var(--mint-soft);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
}

.daily-block h3 {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mint);
}

.daily-block p {
  margin: 0;
  font-size: 0.95rem;
}

.daily-block--tip {
  background: var(--lavender-soft);
}

.daily-block--tip h3 {
  color: var(--lavender);
}

.daily-block--fact {
  background: var(--accent-soft);
}

.daily-block--fact h3 {
  color: var(--accent);
}

.daily-done {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--border);
  cursor: pointer;
  font-weight: 500;
}

.daily-done input {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--mint);
}

.pricing {
  margin-bottom: 4rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.price-card--featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.price-badge {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.price-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.price {
  margin: 0 0 1rem;
}

.price-amount {
  font-family: var(--display);
  font-size: 2.25rem;
  font-weight: 700;
}

.price-period {
  color: var(--muted);
  font-size: 0.95rem;
}

.price-card ul {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.price-card li {
  margin-bottom: 0.35rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-bottom: 0.65rem;
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
}

.faq-item p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer {
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

.modal {
  border: none;
  border-radius: var(--radius);
  padding: 0;
  max-width: 420px;
  width: calc(100% - 2rem);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.modal__inner {
  padding: 1.75rem;
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

.modal h2 {
  font-family: var(--display);
  margin: 0 0 0.35rem;
}

.modal__sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 1.25rem;
}

.field {
  display: block;
  margin-bottom: 1rem;
}

.field span {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--muted);
}

.field input,
.field select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
  background: var(--bg);
  color: var(--text);
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: var(--bg);
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  z-index: 100;
  transition: opacity 0.25s;
}

.toast[hidden] {
  opacity: 0;
  pointer-events: none;
}

.member-main {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.member-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
}

.member-panel h1 {
  font-family: var(--display);
  margin: 0 0 0.5rem;
}

.member-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-error {
  color: var(--accent);
  font-size: 0.9rem;
  margin: 0;
}

.member-footnote {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.archive-list a {
  display: block;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}

.archive-list a:hover {
  border-color: var(--accent);
}

@media (max-width: 640px) {
  .nav a:not(.btn) {
    display: none;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 1.5rem;
  }
}
