/* SeedTrackr site — the app's Vault palette, from the brand kit
   (Catalog Tag direction): navy #0A0E1A, lime #8CC63F, purple #7C2CF3. */

:root {
  --ground: #0A0E1A;
  --surface: #131929;
  --raised: #1C2338;
  --edge: rgba(255, 255, 255, 0.08);
  --edge-strong: rgba(255, 255, 255, 0.14);
  --accent: #A97DFF;
  --accent-fill: #7C2CF3;
  --accent-soft: rgba(124, 44, 243, 0.18);
  --leaf: #8CC63F;
  --leaf-bright: #A8E63F;
  --leaf-soft: rgba(140, 198, 63, 0.14);
  --indica: #6FA8F5;
  --sativa: #F2A14A;
  --hybrid: #3FC7A1;
  --ink: #F2F3F7;
  --ink-2: #A8AEBE;
  --ink-3: #6C7386;
  --serif: "Source Serif 4", "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: 20px;
  --max: 1120px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
}

* { box-sizing: border-box; }

html { color-scheme: dark; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: #C8B0FF; text-decoration: underline; }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.4rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--leaf);
  border-radius: 2px;
}

.lede { color: var(--ink-2); font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 44ch; }

section { position: relative; }
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { color: var(--ink-2); font-size: 1.15rem; }

/* Header */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 14, 26, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.top.scrolled { border-bottom-color: var(--edge); }
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.top img { height: 52px; width: auto; display: block; }
.top nav { display: flex; align-items: center; gap: 26px; }
.top nav a { color: var(--ink-2); font-size: 15px; font-weight: 500; }
.top nav a:hover { color: var(--ink); text-decoration: none; }
.top nav .btn { padding: 10px 18px; font-size: 14px; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--accent-fill);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: #8d47ff; color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn.secondary {
  background: var(--raised);
  color: var(--ink);
  border: 1px solid var(--edge-strong);
}
.btn.secondary:hover { background: #242c45; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* App Store badge: black pill, Apple glyph, two-line label */
.btn.store {
  background: #fff;
  color: #0A0E1A;
  padding: 10px 24px 10px 18px;
  gap: 12px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(124, 44, 243, 0.25);
}
.btn.store:hover { background: #fff; color: #0A0E1A; box-shadow: 0 14px 36px rgba(124, 44, 243, 0.4); }
.btn.store svg { width: 26px; height: 26px; }
.btn.store small { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.02em; opacity: .7; }
.btn.store strong { display: block; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }

/* Hero */

.hero {
  position: relative;
  padding: 56px 0 40px;
  overflow: hidden;
}
.hero .glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 45%, rgba(124, 44, 243, 0.42), transparent 70%),
    radial-gradient(35% 35% at 62% 85%, rgba(140, 198, 63, 0.16), transparent 70%);
}
.hero .grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--edge) 1px, transparent 1px),
    linear-gradient(90deg, var(--edge) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 100%);
  opacity: .5;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero .copy { padding: 40px 0 60px; }
.hero h1 { margin-bottom: 0.45em; }
.hero h1 em { font-style: normal; color: var(--leaf-bright); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero .fine { color: var(--ink-3); font-size: 14px; margin: 16px 0 0; }

/* Phones */

.phones {
  position: relative;
  height: 640px;
  justify-self: center;
  width: 100%;
  max-width: 520px;
}
.device {
  position: absolute;
  width: 280px;
  padding: 10px;
  background: #06080f;
  border-radius: 46px;
  border: 1px solid var(--edge-strong);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 36px;
}
.device::after {
  content: "";
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 26px;
  background: #06080f;
  border-radius: 999px;
}
.device.front { right: 8%; top: 20px; z-index: 2; }
.device.back {
  left: 0; top: 90px;
  width: 240px;
  transform: rotate(-6deg);
  opacity: .9;
  filter: brightness(.85);
}
.device.back img { border-radius: 30px; }
.device.back::after { width: 80px; height: 22px; top: 16px; }

/* Floating fact chips around the phones */
.chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(19, 25, 41, 0.9);
  border: 1px solid var(--edge-strong);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px var(--leaf-soft); }
.chip strong { font-weight: 600; }
.chip span { color: var(--ink-2); }
.chip.one { left: 2%; bottom: 44px; }
.chip.two { right: 0; top: 150px; }

/* Proof bar */

.proof {
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
  background: rgba(19, 25, 41, 0.5);
}
.proof .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.proof .wrap > div {
  padding: 26px 20px;
  border-left: 1px solid var(--edge);
}
.proof .wrap > div:first-child { border-left: 0; padding-left: 0; }
.proof b {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
}
.proof b.leaf { color: var(--leaf-bright); }
.proof b.violet { color: var(--accent); }
.proof span { color: var(--ink-2); font-size: 14.5px; }

/* How it works: three steps, each with a live-looking card */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform .2s ease, border-color .2s ease;
}
.step:hover { transform: translateY(-4px); border-color: var(--edge-strong); }
.step .num {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent);
}
.step .num.leaf { background: var(--leaf-soft); color: var(--leaf-bright); }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 15.5px; margin: 0; }

/* Mock UI inside the step cards */
.mock {
  background: var(--ground);
  border: 1px solid var(--edge);
  border-radius: var(--r-md);
  padding: 16px;
  font-size: 14px;
  min-height: 214px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.mock .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mock .row.stack { flex-direction: column; align-items: flex-start; gap: 2px; }
.mock .muted { color: var(--ink-3); font-size: 12.5px; }
.mock .tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: 999px;
  background: var(--raised); font-size: 12px; color: var(--ink-2);
}
.mock .tag i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.mock .title { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }

/* scan: viewfinder corners + recognised result */
.mock.scan { position: relative; }
.mock.scan .finder {
  position: relative;
  height: 54px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(124,44,243,.25), rgba(140,198,63,.18));
  overflow: hidden;
}
.mock.scan .finder::before, .mock.scan .finder::after {
  content: ""; position: absolute; width: 16px; height: 16px;
  border: 2px solid var(--leaf-bright);
}
.mock.scan .finder::before { top: 6px; left: 6px; border-right: 0; border-bottom: 0; border-top-left-radius: 4px; }
.mock.scan .finder::after { bottom: 6px; right: 6px; border-left: 0; border-top: 0; border-bottom-right-radius: 4px; }
.mock.scan .beam {
  position: absolute; left: 0; right: 0; height: 2px; top: 0;
  background: var(--leaf-bright);
  box-shadow: 0 0 12px var(--leaf-bright);
  animation: beam 2.4s ease-in-out infinite;
}
@keyframes beam { 0%, 100% { top: 6px; } 50% { top: 46px; } }
.mock .check { color: var(--leaf-bright); font-weight: 600; font-size: 12.5px; }

/* pop: a reminder notification */
.mock.pop .notice {
  background: var(--raised);
  border-radius: 12px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
}
.mock.pop .notice img { width: 34px; height: 34px; border-radius: 9px; }
.mock.pop .notice b { display: block; font-size: 13.5px; }
.mock.pop .notice span { color: var(--ink-2); font-size: 12.5px; }
.mock.pop .answers { display: flex; gap: 8px; }
.mock.pop .answers span {
  flex: 1; text-align: center;
  padding: 8px 0; border-radius: 10px;
  background: var(--raised); font-size: 13px; color: var(--ink-2);
}
.mock.pop .answers span.on { background: var(--accent-fill); color: #fff; font-weight: 600; }

/* learn: breeder bars */
.bars { display: flex; flex-direction: column; gap: 10px; }
.bar { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.bar span { font-size: 13.5px; }
.bar b { font-family: var(--serif); font-weight: 600; font-size: 14px; }
.bar i {
  grid-column: 1 / -1;
  display: block; height: 7px; border-radius: 999px;
  background: var(--raised);
  overflow: hidden;
}
.bar i::after {
  content: ""; display: block; height: 100%; width: var(--w, 50%);
  background: var(--leaf);
  border-radius: 999px;
  transform-origin: left;
  animation: grow 1.2s cubic-bezier(.2,.8,.2,1) both;
}
.bar.type i::after { background: var(--c, var(--leaf)); }
@keyframes grow { from { transform: scaleX(0); } }

/* Feature rows: screenshot beside copy, alternating */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 48px 0;
}
.feature-row:not(:last-child) { border-bottom: 1px solid var(--edge); }
.feature-row.flip .shot { order: 2; }
.feature-row .shot { display: flex; justify-content: center; position: relative; }
.feature-row .shot::before {
  content: "";
  position: absolute;
  inset: 10% 15%;
  background: radial-gradient(50% 50% at 50% 50%, var(--tint, rgba(124,44,243,.35)), transparent 70%);
  filter: blur(20px);
}
.feature-row .device { position: relative; width: 250px; }
.feature-row h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.5em; }
.feature-row p { color: var(--ink-2); font-size: 1.05rem; }
.feature-row ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature-row li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: 15.5px; }
.feature-row li::before {
  content: "";
  flex: none;
  width: 18px; height: 18px; margin-top: 3px;
  border-radius: 50%;
  background: var(--leaf-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A8E63F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Small feature cards (widgets, export) */

.extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.extra {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
}
.extra .mark {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}
.extra .mark.leaf { background: var(--leaf-soft); color: var(--leaf-bright); }
.extra .mark svg { width: 24px; height: 24px; }
.extra h3 { font-size: 1.25rem; margin-bottom: 6px; }
.extra p { color: var(--ink-2); font-size: 15.5px; margin: 0; }

/* Privacy */

.privacy .panel {
  background: linear-gradient(135deg, #10172b, #0d1322 60%, #0f1a14);
  border: 1px solid var(--edge-strong);
  border-radius: 28px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.privacy .panel::before {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--leaf-soft), transparent 70%);
}
.privacy h2 { color: var(--leaf-bright); }
.privacy p { color: var(--ink-2); font-size: 1.1rem; }
.privacy ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; position: relative; }
.privacy li {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(10, 14, 26, 0.55);
  border: 1px solid var(--edge);
  border-radius: var(--r-md);
  padding: 16px 18px;
  color: var(--ink-2);
  font-size: 15.5px;
}
.privacy li svg { flex: none; width: 22px; height: 22px; color: var(--leaf-bright); margin-top: 1px; }
.privacy li b { color: var(--ink); font-weight: 600; }

/* Price / final CTA */

.buy { text-align: center; padding-bottom: 120px; }
.buy .mark-lg { display: block; width: 150px; height: 150px; margin: 0 auto 12px; filter: drop-shadow(0 20px 40px rgba(124, 44, 243, 0.45)); }
.buy .price {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 9vw, 6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 8px 0 6px;
}
.buy .price sup { font-size: .4em; vertical-align: top; top: .35em; position: relative; color: var(--ink-2); }
.buy .once { color: var(--leaf-bright); font-size: 1.25rem; font-weight: 600; margin-bottom: 28px; }
.buy .actions { display: flex; justify-content: center; }
.buy .fine { color: var(--ink-3); font-size: 14px; max-width: 48ch; margin: 22px auto 0; }

/* Documents (privacy, support) */

.doc { max-width: 720px; padding: 48px 0 96px; }
.doc h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); margin-bottom: 0.15em; }
.doc .meta { color: var(--ink-3); font-size: 15px; margin-bottom: 36px; }
.doc h2 { font-size: 1.35rem; margin-top: 2em; }
.doc p, .doc li { color: var(--ink-2); }
.doc strong { color: var(--ink); font-weight: 600; }
.doc .callout {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-left: 3px solid var(--leaf);
  border-radius: 12px;
  padding: 18px 20px;
  color: var(--ink);
}
.doc .faq dt { font-weight: 600; color: var(--ink); margin-top: 1.4em; }
.doc .faq dd { margin: 0.3em 0 0; color: var(--ink-2); }

/* Footer */

/* Footer: the family pattern. Brand + tagline + page links on one row,
   then "Also from us", the legal line and the copyright. */

footer {
  border-top: 1px solid var(--edge);
  background: var(--surface);
  color: var(--ink-3);
  font-size: 14px;
}
footer .frow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
  padding: 32px 0;
}
footer .fbrand img { height: 36px; width: auto; display: block; }
footer .ftag { margin: 0; color: var(--ink-2); font-size: 14px; }
footer .fnav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; }
footer .fnav span, footer .falso > span { color: var(--ink-3); }
footer a { color: var(--ink-2); }
footer a:hover { color: var(--leaf-bright); text-decoration: none; }
footer .fbase { border-top: 1px solid var(--edge); padding: 18px 0 36px; }
footer .falso { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; font-size: 13px; }
footer .flabel {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-right: 6px;
}
footer .falso a { color: var(--ink); white-space: nowrap; }
footer .falso a small { font-size: 11.5px; color: var(--ink-3); margin-left: 5px; }
footer .flegal { margin: 14px 0 6px; font-size: 13px; line-height: 1.5; max-width: 80ch; }
footer .fcopy { margin: 0; font-size: 13px; }

/* Scroll reveal */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mock.scan .beam, .bar i::after { animation: none; }
  .btn, .step { transition: none; }
}

/* Responsive */

@media (max-width: 980px) {
  .hero { padding-top: 16px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 8px; }
  .hero .copy { padding: 24px 0 24px; text-align: center; }
  .lede { margin: 0 auto; }
  .hero .actions { justify-content: center; }
  .hero .eyebrow { justify-content: center; }
  .phones { height: 560px; max-width: 460px; }
  .device.front { right: 4%; }
  .steps { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .feature-row.flip .shot { order: 0; }
  .feature-row ul { text-align: left; max-width: 420px; margin-left: auto; margin-right: auto; }
  .privacy .panel { grid-template-columns: 1fr; padding: 36px 28px; gap: 28px; }
  .proof .wrap { grid-template-columns: 1fr 1fr; }
  .proof .wrap > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .proof .wrap > div:nth-child(n+3) { border-top: 1px solid var(--edge); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .top img { height: 42px; }
  .top nav { gap: 16px; }
  .top nav a:not(.btn) { display: none; }
  .phones { height: 480px; max-width: 360px; }
  .device.front { width: 220px; right: 0; top: 10px; }
  .device.back { width: 190px; left: 0; top: 70px; }
  .device img { border-radius: 30px; }
  .device::after { width: 72px; height: 20px; top: 15px; }
  .chip.two { display: none; }
  .chip.one { left: 0; bottom: 20px; }
  .extras { grid-template-columns: 1fr; }
  .extra { padding: 22px; grid-template-columns: 40px 1fr; gap: 14px; }
  .extra .mark { width: 40px; height: 40px; }
  .feature-row .device { width: 220px; }
  .proof b { font-size: 1.5rem; }
  .buy .mark-lg { width: 120px; height: 120px; }
}
