/* Botanos — landing styles */

:root {
  --sage: #7a9a6c;
  --sage-dark: #4d6c47;
  --sage-deep: #3a5436;
  --terracotta: #c97a59;
  --terracotta-deep: #a85e3f;
  --bg: #faf7f1;
  --cream: #f3ecdf;
  --cream-2: #ede4d2;
  --ink: #2b2b2b;
  --muted: #6b6b6b;
  --hairline: #e3dccb;

  --max: 1180px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--sage-dark); text-decoration: none; }
a:hover { color: var(--sage-deep); }

h1, h2, h3 { color: var(--sage-deep); margin: 0; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.05; letter-spacing: -0.025em; font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; line-height: 1.3; }

p { margin: 0; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  padding: 22px 0;
  position: sticky;
  top: 0;
  background: rgba(250, 247, 241, 0.85);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  z-index: 5;
  border-bottom: 1px solid transparent;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--sage-deep);
}
.brand-mark { color: var(--sage); }
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--terracotta-deep);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.tag-pill::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(201, 122, 89, 0.18);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 56px 0 80px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--sage-dark);
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 22px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sage);
}
.hero h1 .accent {
  color: var(--sage);
  font-style: italic;
  font-weight: 400;
}
.hero-sub {
  color: var(--muted);
  font-size: 1.1rem;
  margin-top: 14px;
  font-style: italic;
}
.hero-lead {
  margin-top: 28px;
  font-size: 1.12rem;
  color: var(--ink);
  max-width: 30em;
  line-height: 1.55;
}
.hero-cta-row {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease, border-color 160ms ease;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--sage-dark);
  color: #fff;
}
.btn-primary:hover { background: var(--sage-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--sage-dark);
  border-color: var(--hairline);
}
.btn-ghost:hover { border-color: var(--sage); color: var(--sage-deep); }

.hero-meta {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-meta svg { color: var(--sage); }

/* Hero illustration card */
.hero-art {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  background: linear-gradient(165deg, var(--cream) 0%, #ece1cb 100%);
  padding: 28px;
  overflow: hidden;
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(122, 154, 108, 0.18), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(201, 122, 89, 0.12), transparent 55%);
  pointer-events: none;
}
.hero-phone {
  position: absolute;
  inset: 32px;
  background: #fffdf7;
  border-radius: 28px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 30px 60px -20px rgba(74, 85, 60, 0.25),
    0 12px 24px -10px rgba(74, 85, 60, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-phone .phone-bar {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  font-size: 0.72rem;
  color: var(--muted);
  font-feature-settings: "tnum";
}
.hero-phone .phone-bar .dots {
  display: inline-flex; gap: 4px;
}
.hero-phone .phone-bar .dots i {
  width: 4px; height: 4px; background: var(--muted); border-radius: 50%; opacity: 0.5;
}
.phone-canvas {
  flex: 1;
  position: relative;
  background:
    radial-gradient(circle at 50% 38%, #eaf0e1 0%, #d8e1cd 60%, #c9d5bb 100%);
  overflow: hidden;
}
.scan-frame {
  position: absolute;
  inset: 14% 14% 26%;
  border-radius: 18px;
}
.scan-frame::before, .scan-frame::after {
  content: "";
  position: absolute;
  width: 28px; height: 28px;
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: 6px;
}
.scan-frame::before { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.scan-frame::after { bottom: -2px; right: -2px; border-left: none; border-top: none; }
.scan-corners {
  position: absolute;
  width: 28px; height: 28px;
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: 6px;
}
.scan-corners.tr { top: 14%; right: 14%; transform: translate(2px,-2px); border-left: none; border-bottom: none; }
.scan-corners.bl { bottom: 26%; left: 14%; transform: translate(-2px,2px); border-right: none; border-top: none; }

.scan-pulse {
  position: absolute;
  left: 14%; right: 14%;
  top: 36%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(122, 154, 108, 0.85), transparent);
  animation: pulse 2.6s ease-in-out infinite;
  border-radius: 2px;
}
@keyframes pulse {
  0% { transform: translateY(-60px); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(60px); opacity: 0; }
}

.phone-readout {
  position: absolute;
  left: 14%; right: 14%; bottom: 20px;
  background: rgba(255, 253, 247, 0.96);
  border: 1px solid rgba(74, 85, 60, 0.08);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 10px 24px -12px rgba(74, 85, 60, 0.25);
}
.phone-readout .row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.7rem;
  color: var(--muted);
}
.phone-readout .label {
  color: var(--sage-deep); font-weight: 600;
}
.phone-readout .diag {
  margin-top: 6px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink);
}
.phone-readout .bar {
  margin-top: 8px;
  height: 4px;
  background: var(--cream-2);
  border-radius: 2px;
  overflow: hidden;
}
.phone-readout .bar i {
  display: block;
  height: 100%;
  width: 72%;
  background: var(--sage);
  border-radius: 2px;
}

/* Floating leaf accents around hero art */
.leaf-float {
  position: absolute;
  color: var(--sage);
  opacity: 0.85;
  filter: drop-shadow(0 6px 12px rgba(74, 85, 60, 0.18));
}
.leaf-float.l1 { top: 6%; left: -28px; transform: rotate(-22deg); width: 90px; }
.leaf-float.l2 { bottom: -24px; right: -18px; transform: rotate(34deg); width: 110px; color: var(--terracotta); opacity: 0.75; }
.leaf-float.l3 { top: 38%; right: -34px; transform: rotate(58deg); width: 70px; opacity: 0.55; }

/* ---------- Section base ---------- */
section { padding: 80px 0; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--terracotta-deep);
  margin: 0 0 12px;
}
.section-head {
  max-width: 36em;
  margin: 0 0 48px;
}
.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.08rem;
}

/* ---------- Problem ---------- */
.problem {
  background: var(--cream);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.problem h2 .strike {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--terracotta);
  text-decoration-thickness: 2px;
}
.advice-stack {
  position: relative;
  display: grid;
  gap: 14px;
}
.advice {
  background: #fffdf7;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-size: 0.95rem;
  color: var(--ink);
  box-shadow: 0 4px 14px -8px rgba(74, 85, 60, 0.14);
}
.advice .who { color: var(--muted); font-size: 0.78rem; margin-bottom: 4px; }
.advice.contradicts { border-color: rgba(201, 122, 89, 0.4); }
.advice.botanos {
  background: var(--sage-deep);
  color: #fffdf7;
  border-color: transparent;
  margin-top: 10px;
}
.advice.botanos .who { color: rgba(255, 253, 247, 0.7); }
.advice.botanos strong { color: #fff; }

/* ---------- How it works ---------- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step {
  position: relative;
  padding: 28px;
  border-radius: var(--r-lg);
  background: #fffdf7;
  border: 1px solid var(--hairline);
}
.step-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--terracotta-deep);
  text-transform: uppercase;
}
.step-illo {
  height: 140px;
  margin: 18px 0 22px;
  border-radius: var(--r-md);
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.step h3 { font-size: 1.25rem; color: var(--sage-deep); }
.step p { color: var(--muted); margin-top: 8px; font-size: 0.98rem; }

/* ---------- Species ---------- */
.species {
  background: var(--cream);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.species-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.species-card {
  background: #fffdf7;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.species-illo {
  aspect-ratio: 4/3;
  border-radius: var(--r-md);
  margin-bottom: 22px;
  overflow: hidden;
  position: relative;
}
.species-illo.cannabis  { background: linear-gradient(165deg, #d6e2c4, #b9cc9f); }
.species-illo.tomato    { background: linear-gradient(165deg, #f3d8c6, #e1ad8a); }
.species-illo.monstera  { background: linear-gradient(165deg, #cfdec1, #97b27e); }
.species-illo svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.species-name {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  font-weight: 600;
}
.species-card h3 { margin-top: 6px; font-size: 1.4rem; }
.species-card p { color: var(--muted); margin-top: 10px; font-size: 0.96rem; }
.species-card .meta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  font-size: 0.84rem;
  color: var(--muted);
  display: flex; justify-content: space-between;
}
.species-foot {
  margin-top: 32px;
  text-align: center;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---------- Trust ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.pillar {
  padding: 4px 0;
}
.pillar-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--sage-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.pillar h3 { font-size: 1.15rem; }
.pillar p { color: var(--muted); margin-top: 8px; font-size: 0.98rem; line-height: 1.6; }
.pillar .small {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--sage-dark);
  display: inline-flex; align-items: center; gap: 6px;
}

/* ---------- Signup ---------- */
.signup {
  background: var(--sage-deep);
  color: #fffdf7;
  border-radius: 0;
}
.signup-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.signup h2 { color: #fffdf7; }
.signup p.lead {
  color: rgba(255, 253, 247, 0.78);
  margin-top: 14px;
  font-size: 1.08rem;
}
.signup-form {
  margin-top: 32px;
  display: flex;
  gap: 10px;
  background: rgba(255, 253, 247, 0.08);
  padding: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 253, 247, 0.18);
}
.signup-form input[type="email"] {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fffdf7;
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 18px;
}
.signup-form input::placeholder { color: rgba(255, 253, 247, 0.55); }
.signup-form button {
  background: var(--terracotta);
  color: #fffdf7;
  border: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 160ms ease;
}
.signup-form button:hover { background: var(--terracotta-deep); }
.signup .promise {
  margin-top: 18px;
  color: rgba(255, 253, 247, 0.65);
  font-size: 0.9rem;
}
.store-row {
  margin-top: 36px;
  display: flex; justify-content: center; gap: 18px; flex-wrap: wrap;
  color: rgba(255, 253, 247, 0.55);
  font-size: 0.86rem;
}
.store-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255, 253, 247, 0.2);
  padding: 8px 14px;
  border-radius: 999px;
}

/* ---------- Human touch ---------- */
.human-touch {
  padding: 56px 0 24px;
  text-align: center;
}
.human-touch p {
  max-width: 38rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}
.human-touch a {
  color: var(--sage-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.human-touch a:hover { color: var(--sage-deep); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 40px 0 56px;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 0.92rem;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--sage-dark); }
.site-footer .brand { font-size: 0.98rem; }
.site-footer .brand-mark { width: 22px; height: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { max-width: 440px; margin: 0 auto; }
  .problem-grid { grid-template-columns: 1fr; gap: 36px; }
  .how-grid { grid-template-columns: 1fr; gap: 16px; }
  .species-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 28px; }
  section { padding: 64px 0; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .hero { padding: 32px 0 56px; }
  .hero-cta-row { gap: 12px; }
  .btn { width: 100%; justify-content: center; }
  .hero-cta-row .btn { flex: 1 1 100%; }
  .signup-form {
    flex-direction: column;
    border-radius: var(--r-md);
    padding: 10px;
  }
  .signup-form input[type="email"] { width: 100%; padding: 14px; }
  .signup-form button { width: 100%; padding: 14px; }
  .tag-pill { font-size: 0.76rem; padding: 5px 10px; }
  .site-header { padding: 16px 0; }
  section { padding: 56px 0; }
  .step { padding: 22px; }
  .species-card { padding: 22px; }
  .hero-meta { gap: 14px 22px; }
}

/* ---------- Legal pages compatibility ---------- */
.legal {
  max-width: 720px;
  margin: 40px auto 80px;
  padding: 0 24px;
  color: var(--ink);
}
.legal h1 { font-size: 2rem; margin-bottom: 24px; color: var(--sage-deep); }
.legal h2 { font-size: 1.3rem; margin: 32px 0 12px; color: var(--sage-deep); }
.legal p { margin: 12px 0; color: var(--ink); }
.legal a { color: var(--sage-dark); text-decoration: underline; }
