/* Project Grow coming-soon page. Same colours and type as The Path (CarRoot-derived
   tokens, Inter self-hosted under the SIL OFL 1.1). No scripts, no other origins. */
@font-face {
  font-family: "Inter";
  src: url("/landing/fonts/inter-var-wght400-800-opsz14-latin1-v1.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #f7f8f2;
  --surface: #ffffff;
  --mint: #e9f3e9;
  --ink: #193e35;
  --muted: #566860;
  --line: #dfe5da;
  --line-strong: #78897f;
  --brand: #246c54;
  --brand-hover: #19543f;
  --brand-ink: #ffffff;
  --gold: #c9962c;
  --gold-tint: #f9efc7;
  --gold-ink: #7a4d0d;
  --focus: #0b4f9e;
  --shadow: 0 1px 2px rgba(25, 62, 53, 0.06), 0 8px 24px rgba(25, 62, 53, 0.07);
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1040px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e2420;
    --surface: #15312b;
    --mint: #1a3a33;
    --ink: #e7f1ec;
    --muted: #a9bdb4;
    --line: #28483f;
    --line-strong: #5c847b;
    --brand: #7fd1ae;
    --brand-hover: #a3e0c5;
    --brand-ink: #0e2420;
    --gold-tint: #3a3216;
    --gold-ink: #f0d58a;
    --focus: #8cc2ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.018em; }
h1 { font-size: clamp(2.25rem, 1.7rem + 2.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 1.3rem + 0.9vw, 1.9rem); font-weight: 750; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* header */
.top { border-bottom: 1px solid var(--line); background: var(--surface); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--ink); font-weight: 750; font-size: 1.15rem; text-decoration: none; min-height: 44px; }
.brand:hover { text-decoration: none; color: var(--brand); }
.badge { display: inline-block; font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.02em; padding: 0.3rem 0.8rem; border-radius: 999px; background: var(--gold-tint); color: var(--gold-ink); border: 1px solid var(--gold); }

/* hero */
.hero { background: linear-gradient(180deg, var(--mint) 0%, var(--bg) 100%); padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2rem, 5vw, 3.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.eyebrow { margin: 0 0 0.75rem; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.85rem; color: var(--brand); }
.lead { font-size: clamp(1.1rem, 1.02rem + 0.4vw, 1.3rem); color: var(--ink); max-width: 36rem; margin-bottom: 1.5rem; }
.hero-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.6rem 1.35rem; border-radius: 999px; border: 2px solid var(--brand); background: var(--brand); color: var(--brand-ink); font: 650 1rem var(--font); text-decoration: none; cursor: pointer; }
.button:hover { background: var(--brand-hover); border-color: var(--brand-hover); text-decoration: none; }
.button.ghost { background: transparent; color: var(--brand); }
.button.ghost:hover { background: var(--mint); color: var(--brand-hover); }

.hero-art { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 280px; }
.glow { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(36, 108, 84, 0.22), rgba(36, 108, 84, 0) 68%); bottom: 14%; }
.ground { position: absolute; bottom: 4%; width: 62%; height: 18px; border-radius: 50%; background: rgba(25, 62, 53, 0.14); filter: blur(5px); }
.dew { position: relative; z-index: 1; width: clamp(130px, 22vw, 188px); height: auto; margin-bottom: 8%; image-rendering: pixelated; animation: bob 5s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .dew { animation: none; } }

/* places */
.places { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 1.25rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem 1.5rem 1.2rem; box-shadow: var(--shadow); }
.card-kicker { margin: 0 0 0.35rem; font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.card-link { margin: 0.25rem 0 0; font-weight: 650; }
.card-link a { display: inline-flex; align-items: center; min-height: 44px; }

/* signup */
.updates { padding: 0 0 clamp(2.5rem, 6vw, 4.5rem); }
.signup { background: var(--mint); border: 1px solid var(--line-strong); border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.5rem); max-width: 44rem; margin: 0 auto; }
.signup h2 { margin-top: 0; }
.signup-form label { display: block; font-weight: 650; margin-bottom: 0.35rem; }
.signup-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.signup-row input { flex: 1 1 15rem; min-height: 48px; padding: 0.55rem 1rem; border-radius: 12px; border: 2px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 400 1rem var(--font); }
.signup-row input::placeholder { color: var(--muted); }
.signup-row input:focus-visible { outline-offset: 1px; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fine { font-size: 0.9rem; color: var(--muted); margin: 1rem 0 0; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 1.5rem 0 2.5rem; font-size: 0.95rem; }
.foot p { margin: 0 0 0.4rem; }
.muted { color: var(--muted); }

/* thanks / error pages */
.message { max-width: 40rem; margin: 0 auto; padding: clamp(3rem, 8vw, 6rem) 1.25rem; text-align: center; }
.message img { margin-bottom: 1rem; }

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; min-height: 190px; }
  .dew { width: 112px; }
  .cards { grid-template-columns: 1fr; }
  .badge { font-size: 0.75rem; }
}
.centered { margin-inline: auto; }
.card-link a span { margin-left: 0.35em; }
