:root {
  --bg: #eef3ea;
  --ink: #1d3228;
  --muted: #5d7166;
  --line: rgba(29, 50, 40, 0.12);
  --forest: #234136;
  --blush: #e8b4b4;
  --paper: #fbf8f2;
  --sans: "Nunito", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background:
    radial-gradient(circle at 90% 10%, rgba(232, 180, 180, 0.35), transparent 28%),
    radial-gradient(circle at 0% 80%, rgba(35, 65, 54, 0.08), transparent 30%),
    var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--forest);
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(1040px, calc(100% - 40px)); margin-inline: auto; }
.slim { width: min(640px, calc(100% - 40px)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(14px);
}

.bar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.35rem;
}

nav { display: flex; gap: 18px; }
nav a, .text-link { color: var(--muted); }
nav a:hover { color: var(--ink); }

.actions { display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-flex;
  background: var(--forest);
  color: #f6f3ea;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  cursor: pointer;
  font-weight: 700;
}

.btn-ghost {
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--paper);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}

.mobile { display: none; flex-direction: column; gap: 12px; padding: 0 20px 16px; }
.mobile.is-open { display: flex; }

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.pill {
  display: inline-block;
  background: var(--blush);
  color: #5a3030;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
}

h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.05; margin-bottom: 14px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.lede { color: var(--muted); max-width: 42ch; }

.invite { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.invite input {
  flex: 1 1 220px;
  border: 0;
  background: var(--paper);
  border-radius: 999px;
  padding: 12px 16px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.invite input:focus { outline: 2px solid var(--forest); outline-offset: 2px; }

.note { flex-basis: 100%; min-height: 1.2em; color: var(--forest); }
.note.is-error { color: #9b2c2c; }

.window {
  background: var(--paper);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 24px 50px rgba(35, 65, 54, 0.12);
}

.dots { display: flex; gap: 6px; margin-bottom: 16px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #d9cfc0; display: block; }
.dots i:first-child { background: var(--blush); }

.win-title { font-weight: 800; margin-bottom: 12px; }
.window ul { list-style: none; display: grid; gap: 12px; }
.window li { display: flex; align-items: center; gap: 10px; }

.ava { width: 32px; height: 32px; border-radius: 50%; display: inline-block; }
.a1 { background: #234136; }
.a2 { background: #e8b4b4; }
.a3 { background: #c4d4b8; }

.care, .pricing, .stories, .faq, .cta { padding: 72px 0; }

.kicker {
  color: var(--forest);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 12px;
}

.stack { display: grid; gap: 14px; }

.stack article {
  background: var(--paper);
  border-radius: 28px;
  padding: 28px;
}

.stack .alt { background: var(--forest); color: #f6f3ea; }
.stack .alt p { color: #d5e0d8; }

.stack p { color: var(--muted); margin-top: 8px; }

.center { text-align: center; }
.center h2 { margin: 8px auto 18px; max-width: 18ch; }

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.toggle button {
  width: 48px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: var(--paper);
  position: relative;
  cursor: pointer;
}

.toggle button::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--forest);
  transition: transform 0.2s ease;
}

.toggle button[aria-checked="true"]::after { transform: translateX(20px); }
.toggle em { font-style: normal; color: var(--forest); }

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.plans article {
  background: var(--paper);
  border-radius: 32px;
  padding: 28px;
}

.plans .featured {
  background: #fff;
  box-shadow: 0 16px 40px rgba(35, 65, 54, 0.1);
}

.price { font-size: 2.2rem; font-weight: 800; margin: 8px 0 14px; }
.price small { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.plans ul { list-style: none; color: var(--muted); display: grid; gap: 6px; margin-bottom: 18px; }

.stories blockquote {
  background: var(--blush);
  color: #4a2a2a;
  border-radius: 32px;
  padding: 36px;
}

.stories p { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.25; margin-bottom: 12px; }

.faq details { padding: 12px 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 800; }
.faq p { color: var(--muted); margin-top: 8px; }

.cta h2 { margin-bottom: 18px; }

.site-footer { padding: 12px 0 36px; color: var(--muted); }

@media (max-width: 840px) {
  nav, .text-link { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid, .plans { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .toggle button::after { transition: none; }
}
