/* FARMED — getfarmed.app
   Tokens come straight from app/src/theme.ts: this page is the app, not a brochure.
   aura green = evidence (scores, scan). pink = action (CTA). nothing else gets loud. */

@font-face {
  font-family: 'Bebas Neue';
  src: url('/assets/bebas.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #09080D;
  --bg-elevated: #0F0C14;
  --surface: #16121B;
  --surface-raised: #211925;
  --line: #2C2432;
  --line-strong: #48394F;
  --text: #F4F4F0;
  --dim: #96909B;
  --faint: #70707B;
  --aura: #B6F09C;
  --aura-dim: #3A4A32;
  --action: #FF4FCB;
  --violet: #9B6CFF;
  --display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --r-card: 18px;
  --r-btn: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

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

a { color: var(--aura); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--aura);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */

nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.wordmark {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 26px; letter-spacing: 2.5px;
  color: var(--text); text-decoration: none;
}
.wordmark img { width: 30px; height: 30px; }
.nav-cta {
  font-size: 14px; font-weight: 600; color: var(--dim); text-decoration: none;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px;
  transition: color .15s, border-color .15s;
}
.nav-cta:hover { color: var(--text); border-color: var(--faint); }

/* ---------- hero ---------- */

.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px;
  align-items: center; padding: 56px 0 88px;
}
h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(58px, 8.5vw, 104px);
  line-height: .92; letter-spacing: 1px;
}
h1 .move { color: var(--aura); }
.hero-sub { margin: 22px 0 30px; color: var(--dim); max-width: 46ch; }
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta {
  display: inline-block; background: var(--action); color: #14040f;
  font-weight: 700; font-size: 17px; text-decoration: none;
  padding: 15px 34px; border-radius: var(--r-btn);
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 0 0 rgba(255, 79, 203, 0);
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(255, 79, 203, .35); }
.trust { color: var(--faint); font-size: 14px; }

/* the room-read card: the product's output, above the fold */

.read-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 120px rgba(182, 240, 156, .07);
}
.viewfinder { position: relative; }
.viewfinder img { height: 300px; object-fit: cover; width: 100%; }
.corner {
  position: absolute; width: 22px; height: 22px; border: 2.5px solid var(--aura);
  border-radius: 3px;
}
.corner.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.corner.tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.corner.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.scanline {
  position: absolute; left: 0; right: 0; top: 0; height: 34%;
  background: linear-gradient(to bottom, transparent, rgba(182, 240, 156, .16) 82%, rgba(182, 240, 156, .55));
  animation: sweep 4.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sweep {
  0% { transform: translateY(-40%); opacity: 0; }
  12% { opacity: 1; }
  55% { transform: translateY(220%); opacity: 1; }
  68%, 100% { transform: translateY(220%); opacity: 0; }
}
.read-body { padding: 20px 22px 22px; }
.read-context {
  color: var(--faint); font-size: 13px; font-weight: 600;
  text-transform: lowercase; letter-spacing: .4px;
}
.score-row { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 4px; }
.score {
  font-family: var(--display); font-size: 84px; line-height: 1;
  color: var(--aura); font-variant-numeric: tabular-nums; letter-spacing: 2px;
}
.score-label { font-family: var(--display); font-size: 24px; letter-spacing: 3px; color: var(--dim); }
.read-line { color: var(--dim); font-size: 15.5px; }
.move-block {
  margin-top: 16px; padding: 14px 16px;
  background: var(--bg-elevated); border: 1px solid var(--line); border-radius: 12px;
}
.move-block .k {
  font-size: 12px; font-weight: 700; letter-spacing: 1.2px; color: var(--aura);
  text-transform: uppercase;
}
.move-block p { margin-top: 4px; font-size: 15.5px; }
.show-me {
  margin-top: 14px; display: inline-block;
  font-size: 14px; font-weight: 600; color: var(--action);
  border: 1px solid var(--action); border-radius: 999px; padding: 7px 18px;
  opacity: .85;
}

/* ---------- sections ---------- */

section { padding: 72px 0; border-top: 1px solid var(--line); }
h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(36px, 4.6vw, 54px); letter-spacing: 1px; line-height: 1;
  margin-bottom: 14px;
}
.section-sub { color: var(--dim); max-width: 62ch; }

.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px;
  counter-reset: step;
}
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 20px 18px; counter-increment: step;
}
.step::before {
  content: counter(step);
  font-family: var(--display); font-size: 30px; color: var(--aura);
  display: block; margin-bottom: 8px;
}
.step p { font-size: 15px; color: var(--dim); }
.step strong { color: var(--text); display: block; margin-bottom: 2px; font-size: 15.5px; }

.move-demo { margin-top: 36px; }
.move-demo img {
  border-radius: var(--r-card); border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
}
.move-demo figcaption { margin-top: 12px; color: var(--faint); font-size: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  border: 1px solid var(--line-strong); color: var(--dim); border-radius: 999px;
  padding: 9px 20px; font-size: 15px;
}

/* ---------- faq ---------- */

.faq details {
  border-bottom: 1px solid var(--line); padding: 4px 0;
}
.faq details:first-of-type { border-top: 1px solid var(--line); margin-top: 30px; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; padding: 18px 2px; font-weight: 600; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--aura); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--dim); padding: 0 2px 18px; max-width: 68ch; }

/* ---------- closing cta ---------- */

.closing { text-align: center; padding: 96px 0; }
.closing h2 { font-size: clamp(44px, 6vw, 76px); }
.closing .cta { margin-top: 26px; }
.closing .trust { display: block; margin-top: 16px; }

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line); padding: 34px 0 46px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--faint); font-size: 14px;
}
footer .links { display: flex; gap: 22px; }
footer a { color: var(--dim); text-decoration: none; }
footer a:hover { color: var(--text); text-decoration: underline; }

/* ---------- legal pages ---------- */

.legal { max-width: 720px; margin: 0 auto; padding: 24px 24px 80px; }
.legal h1 { font-size: clamp(44px, 6vw, 72px); margin: 40px 0 6px; }
.legal .updated { color: var(--faint); font-size: 14px; margin-bottom: 34px; }
.legal h2 { font-size: 30px; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--dim); }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal li { margin: 6px 0; }
.legal .promise {
  background: var(--surface); border: 1px solid var(--aura-dim); border-radius: var(--r-card);
  padding: 18px 22px; margin: 24px 0; color: var(--text);
}
.legal .promise strong { color: var(--aura); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding: 36px 0 64px; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .score { font-size: 68px; }
  section { padding: 56px 0; }
}

/* ---------- coming soon ---------- */

.soon-overlay[hidden] { display: none; }
.soon-overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(5, 5, 6, .72); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.soon-card {
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r-card); padding: 38px 34px; max-width: 380px; text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 120px rgba(182, 240, 156, .08);
}
.soon-card img { margin: 0 auto 14px; }
.soon-card h3 {
  font-family: var(--display); font-weight: 400; font-size: 40px; letter-spacing: 1px;
}
.soon-card p { color: var(--dim); font-size: 15.5px; margin: 8px 0 22px; }
.soon-card .cta { border: 0; cursor: pointer; font-family: var(--body); }

/* ---------- hero scan -> move transition ---------- */

.viewfinder .move-img {
  position: absolute; inset: 0; height: 300px; width: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.1s ease;
}
.aura-badge {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(9, 8, 13, .78); color: var(--aura); border: 1px solid var(--aura-dim);
  border-radius: 999px; padding: 5px 14px; font-size: 13px; font-weight: 700;
  opacity: 0; transition: opacity .6s ease .5s;
}
.viewfinder.show-move .move-img { opacity: 1; }
.viewfinder.show-move .aura-badge { opacity: 1; }
.viewfinder.show-move .scanline { display: none; }

/* ---------- before/after compare ---------- */

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare .pane { position: relative; }
.compare .pane img {
  border-radius: var(--r-card); border: 1px solid var(--line);
  height: 340px; width: 100%; object-fit: cover;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
}
.compare .tag {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(9, 8, 13, .78); color: var(--dim); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 5px 14px; font-size: 13px; font-weight: 600;
}
.compare .tag-aura { color: var(--aura); border-color: var(--aura-dim); }
.compare figcaption { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .compare { grid-template-columns: 1fr; }
  .compare .pane img { height: 240px; }
}
