/* Plantistry brand: the base every public page shares (the home page, the
   legal pages and the species library). Change the look here, once. */
@font-face {
  font-family: 'Lora';
  src: url('/assets/fonts/lora-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --green: #2E6B4F;
  --green-dark: #1F4A37;
  --green-light: #4C8A6C;
  --ink: #1E2A24;
  --ink-soft: #5A6B62;
  --bg: #F4F7F4;
  --paper: #FFFFFF;
  --line: #E1E8E2;
  --radius: 10px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter Variable', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Nav */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(244, 247, 244, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 64px; }
.nav .logo img { height: 30px; width: auto; }
.wordmark {
  font-weight: 800; letter-spacing: 0.04em; font-size: 1.25rem;
  color: var(--green-dark); white-space: nowrap;
}
.wordmark em { font-style: normal; color: var(--green-light); }
.logo { display: flex; align-items: center; gap: 10px; }
.nav .links { display: flex; gap: 24px; font-weight: 600; font-size: 0.95rem; }
.nav .links a { color: var(--ink-soft); }
.nav .links a:hover { color: var(--green-dark); }
.nav .spacer { flex: 1; }
.btn {
  display: inline-block; font-weight: 600; font-size: 0.95rem;
  padding: 9px 20px; border-radius: var(--radius);
  border: 1px solid transparent; white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-quiet { color: var(--green-dark); border-color: var(--line); background: var(--paper); }
.btn-quiet:hover { border-color: var(--green-light); }
.btn-big { padding: 13px 28px; font-size: 1.05rem; }

h1, h2, .brand-serif {
  font-family: 'Lora', Georgia, serif;
  letter-spacing: -0.01em;
}
.kicker {
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem;
  font-weight: 700; color: var(--green-light);
}
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.015em; margin-top: 6px; color: var(--green-dark); }
footer { padding: 32px 0; font-size: 0.85rem; color: var(--ink-soft); }
.foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot .spacer { flex: 1; }
.foot .social { display: inline-flex; align-items: center; gap: 6px; }

/* Product shots: every screenshot on the public pages sits in one of two
   frames, a browser window or a phone, so the pages read as one product. */
.browser { background: #fff; border: 1px solid #D5DDD7; border-radius: 12px; overflow: hidden;
  box-shadow: 0 22px 54px rgba(31, 74, 55, 0.18); }
.browser::before { content: ''; display: block; height: 26px; background: #EEF2EE; border-bottom: 1px solid #DCE3DD;
  background-image: radial-gradient(circle, #D2DAD4 4.5px, transparent 5px), radial-gradient(circle, #D2DAD4 4.5px, transparent 5px),
    radial-gradient(circle, #D2DAD4 4.5px, transparent 5px); background-size: 12px 12px; background-repeat: no-repeat;
  background-position: 12px 7px, 28px 7px, 44px 7px; }
.browser img { width: 100%; height: auto; display: block; }
.phone { aspect-ratio: 640 / 1390; border-radius: 34px; border: 7px solid #12241B; background: #12241B;
  box-shadow: 0 24px 50px rgba(18, 36, 27, 0.3); overflow: hidden; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

/* Narrow screens: the nav links give way to the two buttons */
@media (max-width: 860px) {
  .nav .links { display: none; }
}
@media (max-width: 480px) {
  .nav { gap: 12px; }
  .nav .logo { font-size: 1rem !important; letter-spacing: 0.10em !important; }
  .nav .btn { padding: 8px 13px; font-size: 0.86rem; }
}
