/* Planterly product page. Tokens mirror css/style.css so the page and the app read as one brand. */
:root {
  --green-50: #E8F5EE;
  --green-100: #C3E6D0;
  --green-400: #2E9E68;
  --green-600: #1A7A4E;
  --green-800: #0E4F31;
  --green-900: #072B1A;
  --stone-50: #F7F6F3;
  --stone-100: #EDEBE6;
  --stone-200: #D9D6CE;
  --text: #1C1B18;
  --text-2: #6B6760;
  --text-3: #9E9A91;
  --surface: #FFFFFF;
  --border: rgba(58, 56, 52, 0.10);
  --border-md: rgba(58, 56, 52, 0.18);
  --accent: #2E9E68;
  --accent-dark: #1A7A4E;
  --hero-dark: #123726;
  --hero-mid: #1B5E40;
  --sand: #E4C795;
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 28px;
  --shadow-sm: 0 8px 24px rgba(28, 27, 24, 0.06);
  --shadow-md: 0 18px 40px rgba(28, 27, 24, 0.12);
  --font-main: "Gill Sans", "Gill Sans MT", "Seravek", "Trebuchet MS", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(46, 158, 104, 0.12), transparent 32%),
    linear-gradient(180deg, #F7F4ED 0%, #EEF2EA 100%);
  background-color: #F4F2ED;
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img, svg { display: block; }
[hidden] { display: none !important; }

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.05; font-weight: 500; }
h2 { font-size: clamp(28px, 4.4vw, 40px); max-width: 22ch; }
h3 { font-size: 19px; letter-spacing: -0.01em; line-height: 1.2; }

.kicker {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--green-100); outline-offset: 2px; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn svg { flex: none; }

.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; }

.btn-primary {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 20px rgba(46, 158, 104, 0.22);
}
.btn-primary svg { background: #FFFFFF; border-radius: 50%; padding: 3px; width: 24px; height: 24px; margin-left: -8px; }
.btn-primary:hover { background: linear-gradient(180deg, #35AA72 0%, #156942 100%); }

.btn-secondary {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--border-md);
  color: var(--text);
}
.btn-secondary:hover { background: #FFFFFF; }

.btn-outline {
  background: transparent;
  border-color: var(--border-md);
  color: var(--text);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.7); }

.btn-light { background: #FFFFFF; color: var(--green-800); }
.btn-light:hover { background: var(--green-50); }
.btn-ghost-light { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, 0.35); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 244, 237, 0.82);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--green-800);
  margin-right: auto;
}
.wordmark img { border-radius: 9px; }
.site-nav { display: none; gap: 24px; }
.site-nav a { text-decoration: none; color: var(--text-2); font-size: 15px; }
.site-nav a:hover { color: var(--text); }

/* ---- Hero ---- */
.hero { padding: 48px 0 56px; }
.hero-inner { display: grid; gap: 48px; align-items: center; }
.hero h1 {
  font-size: clamp(40px, 8vw, 68px);
  letter-spacing: -0.045em;
  line-height: 0.98;
  color: var(--green-900);
  max-width: 12ch;
}
.lede { margin-top: 20px; font-size: 18px; color: var(--text-2); max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-row-center { justify-content: center; }
.form-note { margin-top: 14px; font-size: 14px; color: var(--text-3); min-height: 1.5em; }
.form-note.is-error { color: #B3261E; }

.hero-visual { position: relative; max-width: 440px; width: 100%; justify-self: center; }
.mock-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 24px;
  background: linear-gradient(135deg, var(--hero-dark) 0%, var(--hero-mid) 52%, var(--sand) 150%);
  color: #FFFFFF;
  box-shadow: 0 28px 60px rgba(14, 79, 49, 0.28);
  overflow: hidden;
}
.mock-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
}
.mock-head { display: flex; justify-content: space-between; align-items: center; }
.mock-label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.74); }
.mock-chip { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); }
.mock-count { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; }
.mock-count strong { font-size: 72px; font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.mock-count span { font-size: 18px; color: rgba(255, 255, 255, 0.78); }
.mock-bar { margin-top: 16px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.mock-bar-fill { width: 76.6%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7ED4A4, #E4C795); }
.mock-sub { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, 0.78); }
.mock-plants { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.mock-plants li {
  font-size: 13px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.mock-toast {
  position: absolute;
  left: -12px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  box-shadow: var(--shadow-md);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--green-50); }

/* ---- Why 30 ---- */
.why { padding: 24px 0 8px; }
.why-inner {
  display: grid;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--border-md);
}
.why h2 { font-size: clamp(24px, 3.4vw, 30px); color: var(--green-800); }
.why p { font-size: 17px; color: var(--text-2); max-width: 70ch; }

/* ---- Sections ---- */
.section { padding: 72px 0; }
.section-alt { background: rgba(255, 255, 255, 0.55); border-block: 1px solid var(--border); }

.feature-grid { display: grid; gap: 16px; margin-top: 36px; }
.feature {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-50);
  color: var(--accent-dark);
  margin-bottom: 18px;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature p { margin-top: 8px; color: var(--text-2); }

.steps { list-style: none; display: grid; gap: 28px; margin-top: 36px; counter-reset: none; }
.step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-dark);
  color: #FFFFFF;
  font-size: 18px;
  margin-bottom: 16px;
}
.steps p { margin-top: 8px; color: var(--text-2); max-width: 36ch; }

/* ---- iOS ---- */
.ios {
  display: grid;
  gap: 40px;
  align-items: center;
  padding: 32px 24px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.badge {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--accent-dark);
  margin-bottom: 16px;
}
.ios-copy p { margin-top: 14px; font-size: 17px; color: var(--text-2); max-width: 48ch; }
.ios-visual { justify-self: center; }
.phone {
  width: 240px;
  padding: 18px 16px 26px;
  border-radius: 38px;
  background: var(--stone-50);
  border: 8px solid var(--text);
  box-shadow: var(--shadow-md);
}
.phone-notch { width: 80px; height: 20px; margin: -6px auto 18px; border-radius: 999px; background: var(--text); }
.phone-title { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 12px; }
.friend {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-top: 8px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 14px;
}
.avatar.a2 { background: #F1E2C4; color: #6B4A12; }
.avatar.a3 { background: var(--stone-200); color: var(--text); }
.friend-name { flex: 1; font-size: 14px; }
.friend-count { font-size: 15px; color: var(--accent-dark); font-variant-numeric: tabular-nums; }

/* ---- Final CTA ---- */
.final-cta { padding: 0 0 72px; }
.final-cta-inner {
  text-align: center;
  padding: 56px 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--hero-dark) 0%, var(--hero-mid) 52%, var(--sand) 160%);
  color: #FFFFFF;
}
.final-cta h2 { margin: 0 auto; font-size: clamp(30px, 5vw, 44px); }
.final-cta p { margin-top: 10px; color: rgba(255, 255, 255, 0.8); font-size: 17px; }
/* Cards that are also .wrap: keep the 16px gutter outside them so they line up with the other sections. */
.wrap.final-cta-inner,
.wrap.ios { width: calc(100% - 32px); max-width: 1088px; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0 40px; font-size: 14px; color: var(--text-3); }
.site-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer a { color: var(--text-2); }

/* ---- Small phones ---- */
@media (max-width: 420px) {
  .cta-row .btn { width: 100%; }
  .mock-toast { left: 8px; }
  .mock-count strong { font-size: 60px; }
}

/* ---- Tablet and up ---- */
@media (min-width: 720px) {
  .site-nav { display: flex; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ios { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); padding: 48px; }
}

@media (min-width: 960px) {
  .hero { padding: 72px 0 96px; }
  .hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; }
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

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