:root {
  --bg: #faf6ee;
  --bg-soft: #f3ecdf;
  --card: #fffdf8;
  --text: #33402f;
  --muted: #6b7a63;
  --line: rgba(51, 64, 47, 0.12);
  --brand: #5d8a5e;
  --brand-dark: #3d6440;
  --brand-soft: rgba(93, 138, 94, 0.12);
  --blush: #f2d8c4;
  --butter: #f6dfa4;
  --sage: #dce8d4;
  --shadow: 0 16px 40px rgba(61, 100, 64, 0.1);
  --shadow-soft: 0 8px 24px rgba(61, 100, 64, 0.08);
  --max-width: 1080px;
  --radius-lg: 26px;
  --radius-md: 16px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at 12% -4%, rgba(246, 223, 164, 0.45), transparent 34%),
    radial-gradient(circle at 92% 6%, rgba(220, 232, 212, 0.7), transparent 36%),
    linear-gradient(180deg, #fdfaf3 0%, var(--bg) 100%);
  line-height: 1.7;
  font-size: 17px;
}

a {
  color: var(--brand-dark);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand);
}

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

.shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(253, 250, 243, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-header-inner,
.site-footer-inner {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header-inner {
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  box-shadow: 0 6px 16px rgba(61, 100, 64, 0.18);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: flex-end;
}

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

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

.nav .nav-cta {
  background: var(--brand-dark);
  color: #fffdf8;
  padding: 9px 18px;
  border-radius: 999px;
}

.nav .nav-cta:hover {
  background: var(--brand);
  color: #fffdf8;
}

/* ---------- Type ---------- */

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.9rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 16px;
}

.lead {
  font-size: 1.13rem;
  color: var(--muted);
  max-width: 58ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 76px 0 56px;
  overflow: hidden;
}

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

.tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--brand-dark);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}

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

.button-primary {
  background: var(--brand-dark);
  color: #fffdf8;
  box-shadow: 0 10px 24px rgba(61, 100, 64, 0.25);
}

.button-primary:hover {
  color: #fffdf8;
  background: var(--brand);
}

.button-secondary {
  background: rgba(255, 253, 248, 0.85);
  border-color: var(--line);
  color: var(--brand-dark);
}

.hero-note {
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 12px;
}

/* ---------- Phone mockup ---------- */

.phone-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-wrap::before {
  content: "";
  position: absolute;
  inset: 8% -6% -4% -6%;
  background: radial-gradient(closest-side, rgba(220, 232, 212, 0.9), transparent);
  border-radius: 50%;
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  width: min(300px, 82vw);
  background: #2f3a2c;
  border-radius: 42px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(47, 58, 44, 0.28);
  transform: rotate(2deg);
}

.phone-screen {
  background: linear-gradient(180deg, #fdfaf3, #f6f0e2);
  border-radius: 32px;
  padding: 22px 18px 26px;
  overflow: hidden;
}

.phone-greeting {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.phone-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.phone-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-soft);
}

.phone-card .plant-emoji {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.phone-card h4 {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 800;
  margin: 0;
}

.phone-card p {
  font-size: 0.74rem;
  color: var(--muted);
  margin: 0;
}

.phone-badge {
  margin-left: auto;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.badge-water {
  background: rgba(122, 168, 214, 0.18);
  color: #3d6a96;
}

.badge-happy {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.badge-soon {
  background: rgba(232, 179, 108, 0.22);
  color: #a06b23;
}

.phone-journal {
  background: var(--sage);
  border-radius: 18px;
  padding: 12px 14px;
  margin-top: 14px;
}

.phone-journal .journal-label {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin: 0 0 4px;
}

.phone-journal p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.82rem;
  margin: 0;
  color: var(--text);
}

/* ---------- Sections ---------- */

.section {
  padding: 44px 0 64px;
}

.section-heading {
  max-width: 62ch;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading .lead {
  margin-left: auto;
  margin-right: auto;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.card p:last-child {
  margin-bottom: 0;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.tint-sage { background: var(--sage); }
.tint-blush { background: var(--blush); }
.tint-butter { background: rgba(246, 223, 164, 0.6); }

/* ---------- Quote band ---------- */

.quote-band {
  text-align: center;
  padding: 30px 0;
}

.quote-band blockquote {
  margin: 0 auto;
  max-width: 34ch;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.35;
  color: var(--brand-dark);
}

.quote-band .leaf {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 12px;
}

/* ---------- Beta band ---------- */

.beta-band {
  background: linear-gradient(140deg, rgba(220, 232, 212, 0.85), rgba(242, 216, 196, 0.55));
  border: 1px solid rgba(93, 138, 94, 0.16);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
  box-shadow: var(--shadow);
}

.beta-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(61, 100, 64, 0.2);
}

.beta-band .lead {
  margin: 0 auto 8px;
}

.beta-band .button-row {
  justify-content: center;
}

/* ---------- Legal pages ---------- */

.page-hero {
  padding: 64px 0 24px;
}

.page-hero p {
  max-width: 70ch;
}

.legal-wrap {
  padding-bottom: 72px;
}

.legal-card {
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 20px;
}

.legal-card p:last-child,
.legal-card li:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  margin: 0 0 16px 20px;
  padding: 0;
}

.legal-card li {
  margin-bottom: 10px;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 40px 0 44px;
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.6);
}

.site-footer-inner {
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 28px;
}

.footer-brand {
  max-width: 34ch;
}

.footer-brand .brand {
  margin-bottom: 10px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--brand-dark);
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  font-weight: 700;
  color: var(--muted);
}

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

.footer-col-title {
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 4px;
}

.footer-legal {
  width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 6px;
}

.small {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-grid {
    gap: 40px;
  }

  .phone {
    transform: rotate(0deg);
  }
}

@media (max-width: 640px) {
  .card,
  .legal-card {
    padding: 24px;
  }

  .beta-band {
    padding: 36px 22px;
  }

  .nav {
    gap: 14px;
  }

  .site-footer-inner {
    flex-direction: column;
  }
}
