:root {
  --bg: #000;
  --surface: #0b0f0d;
  --surface-2: #101713;
  --border: #1c2a22;
  --text: #f4f7f5;
  --muted: #9aa8a0;
  --accent: #1ee37f;
  --accent-dim: #0a2a1a;
  --radius: 20px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; height: auto; display: block; }

.wrap {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.brand-mark { width: 30px; height: 30px; border-radius: 7px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn:focus-visible,
.footer a:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-small {
  background: var(--accent);
  color: #02140a;
  padding: 8px 18px;
  font-size: 15px;
}

.btn-store {
  background: #fff;
  color: #000;
  padding: 12px 26px 12px 20px;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 12px 40px rgba(30, 227, 127, 0.18);
}

.btn-store svg { width: 28px; height: 28px; flex: none; }

.btn-store span {
  display: flex;
  flex-direction: column;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.btn-store small {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 0;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 720px;
  background: radial-gradient(ellipse at 50% 0%, rgba(30, 227, 127, 0.22), transparent 62%);
  pointer-events: none;
}

.hero > .wrap { position: relative; }

.eyebrow {
  display: inline-block;
  margin: 0 0 20px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

h1 {
  margin: 0 auto;
  max-width: 14ch;
  font-size: clamp(42px, 8vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 750;
  background: linear-gradient(180deg, #fff 30%, #a7f3cd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 24px auto 0;
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(17px, 2.4vw, 20px);
}

.cta { margin-top: 32px; display: flex; justify-content: center; }

.device {
  position: relative;
  margin: 56px auto 0;
  max-width: 940px;
  padding: 10px;
  border-radius: 34px 34px 0 0;
  background: #14181a;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 -10px 80px rgba(30, 227, 127, 0.18),
    0 40px 120px rgba(0, 0, 0, 0.8);
}

.device img {
  border-radius: 26px 26px 0 0;
  background: #000;
}

/* Sections */
.section { padding: 112px 0; }

.section h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-align: center;
}

.section-lede {
  margin: 16px auto 0;
  max-width: 520px;
  text-align: center;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 16px;
  margin-top: 56px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 820px; margin-inline: auto; }

.card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}

.card h3 {
  margin: 20px 0 8px;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.card p { margin: 0; color: var(--muted); }

.icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--accent-dim);
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Showcase */
.showcase { background: linear-gradient(180deg, #000, #040a07 50%, #000); }

.showcase-grid {
  display: grid;
  gap: 56px;
  align-items: center;
  grid-template-columns: 1fr;
}

.showcase-copy h2 { text-align: left; }

.showcase-copy p { margin: 20px 0 0; color: var(--muted); font-size: 19px; max-width: 460px; }

.crops {
  display: grid;
  gap: 16px;
  grid-template-columns: 0.665fr 0.756fr;
  align-items: start;
}

.crop {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: #000;
  background-repeat: no-repeat;
  background-size: auto 100%;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.crop-list { aspect-ratio: 0.665; background-position: left top; }
.crop-detail { aspect-ratio: 0.756; background-position: right top; margin-top: 40px; }

/* Pro */
.pro { text-align: center; }

.pro .eyebrow { margin-bottom: 16px; }

.card-pro { text-align: left; border-color: #1f3a2b; }

/* Final CTA */
.final {
  text-align: center;
  background: radial-gradient(ellipse at 50% 100%, rgba(30, 227, 127, 0.16), transparent 60%);
}

/* Legal pages */
.legal {
  position: relative;
  padding: 64px 0 96px;
}

.legal::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 420px;
  background: radial-gradient(ellipse at 50% 0%, rgba(30, 227, 127, 0.12), transparent 65%);
  pointer-events: none;
}

.prose {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
}

.prose h1 {
  max-width: none;
  margin: 0 0 32px;
  font-size: clamp(34px, 6vw, 52px);
  text-align: left;
}

.prose h2 {
  margin: 48px 0 12px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin: 28px 0 8px;
  font-size: 18px;
  color: var(--text);
}

.prose p,
.prose li {
  color: #c4d0c9;
}

.prose p { margin: 0 0 16px; }

.prose ul { margin: 0 0 20px; padding-left: 22px; }

.prose li { margin-bottom: 8px; }

.prose li::marker { color: var(--accent); }

.prose strong { color: var(--text); font-weight: 600; }

.prose a {
  color: var(--accent);
  text-underline-offset: 3px;
  text-decoration: underline;
  text-decoration-color: rgba(30, 227, 127, 0.4);
  overflow-wrap: anywhere;
}

.prose a:hover { text-decoration-color: var(--accent); }

.prose .updated {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.prose .updated strong { color: var(--muted); font-weight: 500; }

/* Footer */
.footer {
  padding: 32px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}

.footer p { margin: 0; max-width: 620px; }

.footer nav { display: flex; gap: 24px; }

.footer a:hover { color: var(--text); }

@media (min-width: 860px) {
  .showcase-grid { grid-template-columns: 1fr 1.2fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding-top: 48px; }
  .device { margin-top: 40px; padding: 6px; border-radius: 22px 22px 0 0; }
  .device img { border-radius: 16px 16px 0 0; }
  .section { padding: 72px 0; }
  .legal { padding: 40px 0 72px; }
  .crop-detail { margin-top: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

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