/* plantlet.co — marketing site. Same brand as the app: sage and olive lead,
   terracotta is reserved for the one action that matters (start free),
   and wooden plant stakes carry batch codes and step numbers. */

@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url("fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-display: swap; src: url("fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url("fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap; src: url("fonts/figtree-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Caprasimo"; font-weight: 400; font-display: swap; src: url("fonts/caprasimo-latin-400-normal.woff2") format("woff2"); }

:root {
  --husk: #f5ead8;      /* page */
  --paper: #fffaf2;     /* surfaces */
  --soil: #2e2b25;      /* text */
  --soil-2: #5c564b;
  --muted: #7d7464;
  --sage: #728157;
  --leaf: #56633f;
  --olive: #3d472b;
  --terra: #b2622d;
  --terra-dk: #974f20;
  --stake: #e6cc9c;     /* pine plant label */
  --stake-edge: #c9a76c;
  --stake-ink: #5a3d14;
  --line: #e3d3b8;

  --display: "Caprasimo", Georgia, serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--husk); color: var(--soil); font: 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; font-family: var(--display); line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
h3 { font-family: var(--text); font-weight: 700; font-size: 1.1rem; line-height: 1.3; letter-spacing: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
.fine { font-size: .9rem; color: var(--muted); }
.fine a { color: var(--soil-2); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; white-space: nowrap; transition: background .15s; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.05rem; }
.btn-terra { background: var(--terra); color: #fff; }
.btn-terra:hover { background: var(--terra-dk); }
.btn-ghost { border-color: var(--stake-edge); color: var(--soil); }
.btn-ghost:hover { background: rgba(201, 167, 108, .15); }
.btn-light { background: var(--husk); color: var(--olive); }
.btn-light:hover { background: #fff; }
.link-quiet { text-decoration: none; font-weight: 600; color: var(--soil-2); }
.link-quiet:hover { color: var(--soil); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--husk) 90%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.nav-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--display); font-size: 1.45rem; }
.logo { width: 34px; height: 34px; flex-shrink: 0; }
.nav-links { display: none; gap: 22px; }
.nav-links a { text-decoration: none; font-weight: 500; color: var(--soil-2); }
.nav-links a:hover { color: var(--soil); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav-cta .btn { min-height: 42px; padding: 0 16px; }

/* ---------- stakes (the brand device) ---------- */
.stake { position: relative; display: inline-grid; place-items: center; align-content: center; background: var(--stake);
  color: var(--stake-ink); border: 1px solid var(--stake-edge); font-family: var(--display);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%); filter: drop-shadow(0 3px 6px rgba(70, 45, 10, .18)); }
.stake::before { content: ""; position: absolute; top: 8px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: rgba(90, 61, 20, .35); }
.stake span { font-size: 1.35rem; line-height: 1; letter-spacing: .02em; }
.stake small { font-family: var(--text); font-weight: 700; font-size: .78rem; opacity: .75; margin-top: 2px; }

/* ---------- hero ---------- */
.hero { padding: 28px 0 64px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; }
.beta-tag { display: inline-block; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 600; color: var(--leaf); margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.6rem, 8.5vw, 4.4rem); max-width: 13ch; margin-bottom: 22px; color: var(--olive); }
.lede { font-size: 1.15rem; color: var(--soil-2); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 16px; }

.hero-shot { position: relative; margin: 0; }
.browser { margin: 0; background: var(--paper); border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(61, 50, 30, .35), 0 2px 6px rgba(61, 50, 30, .08); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: #efe2cb; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d8c3a0; }
.browser-bar span { margin: 0 auto; font-size: .75rem; color: var(--muted); background: var(--paper); padding: 2px 14px; border-radius: 6px; transform: translateX(-18px); }
.phone { background: #1d1b17; border-radius: 34px; padding: 9px; box-shadow: 0 30px 60px -18px rgba(40, 30, 10, .45); }
.phone img { border-radius: 26px; }
.hero .browser { display: none; }
.hero-phone { width: min(78%, 330px); margin: 0 auto; }
.stake-a, .stake-b { position: absolute; width: 58px; height: 76px; padding-bottom: 12px; }
.stake-a span, .stake-b span { font-size: 1.1rem; }
.stake-a { left: 0; top: 6%; transform: rotate(-8deg); }
.stake-b { right: 0; top: 52%; transform: rotate(6deg); }
.hero-phone { width: min(70%, 310px); }

/* ---------- problem ---------- */
.problem { padding: 72px 0; background: var(--paper); border-block: 1px solid var(--line); }
.problem-grid { display: grid; gap: 40px; align-items: center; }
.problem-copy h2 { max-width: 15ch; margin-bottom: 20px; color: var(--olive); }
.problem-copy p { color: var(--soil-2); max-width: 34em; }
.sheet-vs { display: grid; gap: 18px; }
.sheet { overflow: hidden; border: 1px solid #cfd6c4; border-radius: 6px; background: #fff; position: relative;
  -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent); mask-image: linear-gradient(90deg, #000 62%, transparent); }
.sheet table { border-collapse: collapse; font: 12.5px/1.3 ui-sans-serif, Arial, sans-serif; color: #333; white-space: nowrap; }
.sheet th { background: #eef1ea; font-weight: 600; color: #4b5446; }
.sheet th, .sheet td { border: 1px solid #dde3d6; padding: 6px 9px; min-width: 84px; text-align: left; }
.sheet td:first-child, .sheet th:first-child { min-width: 52px; }
.note-card { background: var(--husk); border: 1px solid var(--line); border-radius: 16px; padding: 14px; max-width: 420px; margin-left: auto; width: 100%;
  box-shadow: 0 10px 24px -12px rgba(61, 50, 30, .3); }
.note-card header { display: flex; align-items: center; gap: 8px; font-size: .9rem; margin-bottom: 4px; }
.note-card .when { margin-left: auto; color: var(--muted); }
.note-card p { margin: 0 0 10px; }
.note-card img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; }
.code { font: 700 .82rem/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .05em; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 4px 7px; }

/* ---------- how ---------- */
.how { padding: 80px 0 40px; }
.how h2 { margin-bottom: 40px; color: var(--olive); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; counter-reset: none; }
.steps li { display: grid; grid-template-columns: 58px 1fr; column-gap: 18px; align-items: start; }
.steps .stake.num { width: 58px; height: 76px; padding-bottom: 12px; grid-row: span 2; }
.steps .stake.num span { font-size: 1.9rem; }
.steps h3 { margin: 8px 0 6px; }
.steps p { color: var(--soil-2); margin: 0; max-width: 30em; }

/* ---------- devices ---------- */
.devices { padding: 40px 0 88px; }
.devices-grid { display: grid; gap: 40px; align-items: center; margin-bottom: 56px; }
.devices-phones { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 520px; margin: 0 auto; width: 100%; }
.devices-phones .phone:last-child { transform: translateY(32px); }
.devices-copy h2 { margin-bottom: 18px; color: var(--olive); max-width: 16ch; }
.devices-copy p { color: var(--soil-2); max-width: 32em; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--sage);
  -webkit-mask: radial-gradient(circle, #000 60%, transparent 62%); }
.ticks li::after { content: ""; position: absolute; left: 5px; top: calc(.35em + 5px); width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.browser.wide { display: none; }

/* ---------- growers ---------- */
.growers { background: var(--olive); color: #ecead9; padding: 80px 0; }
.growers-grid { display: grid; gap: 24px; }
.growers h2 { color: #fff; max-width: 14ch; }
.growers p { max-width: 36em; color: #d8dcc8; }
.growers .btn { margin-top: 8px; }

/* ---------- privacy ---------- */
.privacy-band { padding: 80px 0; }
.privacy-grid { display: grid; gap: 28px; }
.privacy-band h2 { color: var(--olive); max-width: 14ch; }
.privacy-band dl { margin: 0; display: grid; gap: 22px; }
.privacy-band dt { font-weight: 700; margin-bottom: 4px; }
.privacy-band dd { margin: 0; color: var(--soil-2); max-width: 30em; }

/* ---------- faq ---------- */
.faq { padding: 72px 0; background: var(--paper); border-block: 1px solid var(--line); }
.faq-wrap { max-width: 820px; }
.faq h2 { color: var(--olive); margin-bottom: 26px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--sage); border-bottom: 2px solid var(--sage);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { color: var(--soil-2); margin: 0 0 20px; max-width: 40em; }

/* ---------- closer / footer ---------- */
.closer { padding: 80px 0; }
.closer-row { display: grid; gap: 20px; justify-items: start; }
.closer h2 { color: var(--olive); margin-bottom: 8px; }
.closer p { color: var(--soil-2); margin: 0; }
.logo.big { width: 64px; height: 64px; }
.foot { border-top: 1px solid var(--line); padding: 26px 0 calc(26px + env(safe-area-inset-bottom, 0px)); font-size: .92rem; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.foot a { text-decoration: none; color: var(--soil-2); }
.foot a:hover { color: var(--soil); text-decoration: underline; }

/* ---------- small phones ---------- */
@media (max-width: 420px) {
  .nav-cta .link-quiet { display: none; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- tablet+ ---------- */
@media (min-width: 760px) {
  :root { --gutter: 32px; }
  .nav-links { display: flex; }
  .steps { grid-template-columns: 1fr 1fr; column-gap: 48px; row-gap: 44px; }
  .problem-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; }
  .growers-grid, .privacy-grid { grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
  .privacy-grid .fine { grid-column: 2; }
  .closer-row { grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
  .browser.wide { display: block; }
}

/* ---------- desktop ---------- */
@media (min-width: 1000px) {
  .hero { padding: 48px 0 96px; }
  .hero-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
  .hero .browser { display: block; }
  .hero-phone { position: absolute; width: 33%; left: -9%; bottom: -14%; margin: 0; }
  .stake-a, .stake-b { width: 74px; height: 96px; padding-bottom: 16px; }
  .stake-a span, .stake-b span { font-size: 1.35rem; }
  .stake-a { left: 30%; right: auto; top: -54px; }
  .stake-b { left: auto; right: 14%; top: -46px; }
  .steps { grid-template-columns: repeat(4, 1fr); column-gap: 32px; }
  .steps li { grid-template-columns: 1fr; }
  .steps .stake.num { grid-row: auto; margin-bottom: 8px; }
  .devices-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 80vh; display: grid; place-content: center; gap: 18px; text-align: center; }
.notfound .logo { margin: 0 auto; }
.notfound h1 { font-size: 2.4rem; color: var(--olive); }
.notfound p { color: var(--soil-2); margin: 0; }
.nf-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
