:root {
  --canvas: #f7f5f0;
  --canvas-deep: #f2f0eb;
  --card: #ffffff;
  --olive: #5c7047;
  --olive-dark: #4a5c38;
  --moss: #7a9461;
  --leaf-bg: rgba(92, 112, 71, 0.1);
  --water: #387ab8;
  --prune: #b87a38;
  --repot: #947050;
  --text: #2a2e28;
  --text-muted: #5c6358;
  --text-soft: #8a9186;
  --shadow: rgba(56, 60, 48, 0.08);
  --shadow-lg: rgba(56, 60, 48, 0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--olive);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--olive-dark);
}

.container {
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Background wash */

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(122, 148, 97, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(56, 122, 184, 0.06), transparent 55%),
    linear-gradient(180deg, #fdfcf9 0%, var(--canvas) 40%, var(--canvas-deep) 100%);
}

/* Header */

.site-header {
  padding: 1.25rem 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--olive);
  color: #fff !important;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(92, 112, 71, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-cta:hover {
  background: var(--olive-dark);
  transform: translateY(-1px);
  color: #fff;
}

/* Hero */

.hero {
  padding: 2.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
}

.hero-copy {
  max-width: 34rem;
}

@media (max-width: 900px) {
  .hero-copy {
    margin-inline: auto;
  }
}

.hero-mark {
  width: 72px;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 8px 20px rgba(92, 112, 71, 0.15));
}

@media (max-width: 900px) {
  .hero-mark {
    margin-inline: auto;
  }
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: var(--text);
}

.hero .tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-actions {
    justify-content: center;
  }
}

.app-store-badge {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.app-store-badge:hover {
  transform: scale(1.03);
  opacity: 0.92;
}

.app-store-badge img {
  height: 52px;
  width: auto;
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--text-soft);
}

/* Phone frames with real screenshots */

.hero-visual {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

.phone-stack {
  position: relative;
  width: min(340px, 88vw);
  height: min(520px, 115vw);
}

.phone-frame {
  margin: 0;
  border-radius: 36px;
  padding: 10px;
  background: linear-gradient(155deg, #2e312c 0%, #121412 100%);
  box-shadow:
    0 28px 56px var(--shadow-lg),
    0 0 0 1px rgba(255, 255, 255, 0.07) inset;
}

.phone-screen {
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  line-height: 0;
}

.phone-screen img {
  width: 100%;
  height: auto;
  vertical-align: top;
}

.phone-front {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 72%;
  z-index: 2;
  transform: rotate(2deg);
}

.phone-back {
  position: absolute;
  left: 0;
  top: 0;
  width: 68%;
  z-index: 1;
  transform: rotate(-6deg);
  opacity: 0.92;
  filter: saturate(0.95);
}

.phone-inline {
  width: min(260px, 100%);
  margin-inline: auto;
}

.phone-card {
  width: 100%;
}

.highlight-shot {
  margin: 0;
  text-align: center;
}

.highlight-shot figcaption {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* Onboarding spotlight — dark section matches dark-mode screenshot */

.onboarding-spotlight {
  background: linear-gradient(160deg, #1a1f18 0%, #121412 45%, #0f100e 100%);
  border-block: 1px solid rgba(122, 148, 97, 0.12);
  padding: 4.5rem 0;
}

.onboarding-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 820px) {
  .onboarding-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
}

.onboarding-copy .section-label {
  color: var(--moss);
}

.onboarding-copy .section-title {
  color: #f5f4f0;
}

.onboarding-copy .section-lead {
  color: rgba(245, 244, 240, 0.72);
  margin-bottom: 0;
}

.onboarding-shot {
  margin: 0;
  width: min(240px, 70vw);
}

@media (max-width: 820px) {
  .onboarding-shot {
    margin-inline: auto;
  }
}

.onboarding-shot .phone-frame {
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

/* Screenshot gallery — light mode shots only */

.screenshots {
  padding-top: 2rem;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.screenshot-grid-duo {
  grid-template-columns: repeat(2, minmax(0, 280px));
  justify-content: center;
  gap: 2rem;
}

@media (max-width: 820px) {
  .screenshot-grid,
  .screenshot-grid-duo {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin-inline: auto;
  }
}

.screenshot-card {
  margin: 0;
  text-align: center;
}

.screenshot-card figcaption {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.screenshot-card .phone-frame {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.screenshot-card:hover .phone-frame {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px var(--shadow-lg);
}

/* Sections */

section {
  padding: 4rem 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section-lead {
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 0 2.5rem;
}

/* Features */

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

.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 20px var(--shadow);
  border: 1px solid rgba(92, 112, 71, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--shadow-lg);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-icon.water { background: rgba(56, 122, 184, 0.12); }
.feature-icon.leaf { background: var(--leaf-bg); }
.feature-icon.prune { background: rgba(184, 122, 56, 0.12); }
.feature-icon.repot { background: rgba(148, 112, 80, 0.12); }
.feature-icon.photo { background: linear-gradient(135deg, var(--leaf-bg), rgba(56, 122, 184, 0.08)); }
.feature-icon.sync { background: rgba(92, 112, 71, 0.12); }

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Highlight band */

.highlight {
  background: linear-gradient(135deg, rgba(92, 112, 71, 0.08) 0%, rgba(122, 148, 97, 0.05) 100%);
  border-block: 1px solid rgba(92, 112, 71, 0.08);
}

.highlight-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 720px) {
  .highlight-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.highlight-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.highlight-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--leaf-bg);
  color: var(--olive);
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 0.15rem;
}

/* Pricing */

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

.price-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 20px var(--shadow);
  border: 1px solid rgba(92, 112, 71, 0.06);
}

.price-card.pro {
  border-color: rgba(92, 112, 71, 0.2);
  background: linear-gradient(180deg, #fff 0%, #faf9f6 100%);
  box-shadow: 0 8px 32px rgba(92, 112, 71, 0.12);
}

.price-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0 0 0.25rem;
}

.price-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--olive);
  background: var(--leaf-bg);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.price-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-soft);
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.price-features li {
  padding: 0.45rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(92, 112, 71, 0.06);
}

.price-features li:last-child {
  border-bottom: none;
}

/* Footer */

.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(92, 112, 71, 0.1);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-brand p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--text-soft);
  max-width: 28ch;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
}

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

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(92, 112, 71, 0.08);
  font-size: 0.82rem;
  color: var(--text-soft);
  text-align: center;
}
