:root {
  --bg: #060a08;
  --bg-2: #0a100d;
  --paper: #f8f1e4;
  --paper-2: #e8f0e6;
  --paper-3: #fffaf0;
  --ink: #07130f;
  --ink-2: #25362f;
  --muted-dark: #64746a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --text: #e8ede9;
  --text-2: rgba(232, 237, 233, 0.65);
  --text-3: rgba(232, 237, 233, 0.4);
  --green: #34d399;
  --leaf: #2d7d4f;
  --green-dim: #1a6b4a;
  --green-glow: rgba(52, 211, 153, 0.15);
  --gold: #f0b94d;
  --sun: #f4a941;
  --clay: #c76438;
  --sky: #78c9d8;
  --gold-glow: rgba(240, 185, 77, 0.12);
  --scan: #6ee8c0;
  --scan-glow: rgba(110, 232, 192, 0.3);
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 80px rgba(52, 211, 153, 0.06);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html { scroll-padding-top: 64px; scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 54%, var(--paper-3) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(244, 169, 65, 0.32); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
img, video { max-width: 100%; }

/* ---- Grain overlay ---- */
.grain {
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 180px;
}

/* ---- Scroll reveal (motion.js controlled) ---- */
.motion-ready [data-reveal],
.motion-ready [data-stagger-grid] > *,
.motion-ready .workflow-list > div {
  opacity: 0; transform: translateY(36px);
}
.motion-ready [data-reveal].revealed,
.motion-ready [data-stagger-grid] > .revealed,
.motion-ready .workflow-list > div.revealed {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.motion-ready [data-reveal-scale] { opacity: 0; transform: scale(0.92); }
.motion-ready [data-reveal-scale].revealed {
  opacity: 1; transform: scale(1);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.motion-fallback [data-reveal],
.motion-fallback [data-reveal-scale],
.motion-fallback [data-stagger-grid] > *,
.motion-fallback .workflow-list > div {
  opacity: 1 !important; transform: none !important;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; right: 0; left: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; min-height: 64px;
  padding: 0 clamp(20px, 5vw, 72px);
  color: var(--ink);
  background: rgba(255, 250, 238, 0.72);
  border-bottom: 1px solid rgba(8, 19, 15, 0.1);
  backdrop-filter: blur(24px) saturate(1.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
  transition: background 0.4s, box-shadow 0.4s;
}
.site-header.scrolled {
  background: rgba(255, 250, 238, 0.94);
  box-shadow: 0 12px 44px rgba(35, 54, 44, 0.12);
}

.brand, .site-nav, .nav-cta { display: inline-flex; align-items: center; }
.brand { gap: 10px; font-size: 0.94rem; font-weight: 800; letter-spacing: 0; transition: opacity 0.3s; width: fit-content; }
.brand:hover { opacity: 0.8; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; }
.brand-mark img { width: 32px; height: auto; object-fit: contain; }

.site-nav { justify-self: center; gap: 4px; color: rgba(7, 19, 15, 0.58); font-size: 0.82rem; font-weight: 650; }
.site-nav a { padding: 8px 16px; border-radius: 999px; transition: color 0.25s, background 0.25s; }
.site-nav a:hover { color: var(--ink); background: rgba(45,125,79,0.1); }

.nav-cta {
  justify-self: end; min-height: 38px; padding: 0 20px;
  border-radius: 999px; background: var(--ink); color: var(--paper-3);
  font-size: 0.82rem; font-weight: 650;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.3s;
}
.nav-cta:hover { transform: scale(1.05); box-shadow: 0 12px 34px rgba(7,19,15,0.18); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 94svh;
  display: grid; grid-template-columns: minmax(300px,1fr) minmax(320px,0.68fr);
  align-items: center; gap: clamp(32px,6vw,100px);
  padding: 112px clamp(20px,6vw,96px) 118px;
  overflow: hidden; color: var(--text); background: var(--bg);
}

.hero-video, .hero-shade { position: absolute; inset: 0; }
.hero-video {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 58% center;
  filter: saturate(1.32) contrast(1.04) brightness(0.88);
  transform: scale(1.04);
}
.hero-shade {
  background:
    linear-gradient(90deg, rgba(6,10,8,0.82) 0%, rgba(6,10,8,0.56) 36%, rgba(244,169,65,0.1) 100%),
    linear-gradient(0deg, rgba(248,241,228,0.98) 0%, rgba(248,241,228,0) 28%, rgba(6,10,8,0.42) 100%);
}

.hero-light {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(116deg, transparent 0%, transparent 43%, rgba(255, 222, 157, 0.22) 50%, transparent 64%, transparent 100%),
    linear-gradient(180deg, rgba(120, 201, 216, 0.08), transparent 44%);
  mix-blend-mode: screen;
  opacity: 0.86;
  animation: lightSweep 9s ease-in-out infinite alternate;
}
@keyframes lightSweep {
  from { opacity: 0.62; transform: translateX(-2%); }
  to   { opacity: 0.95; transform: translateX(4%); }
}

.hero-copy, .hero-device, .hero-proof { position: relative; z-index: 2; }

.hero-copy { max-width: 680px; animation: heroFadeUp 0.9s var(--ease) 0.1s both; }
.hero-device { animation: heroFadeUp 1s var(--ease) 0.4s both; }
.hero-proof  { animation: heroFadeUp 0.8s var(--ease) 0.7s both; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Typography ---- */
.eyebrow {
  margin: 0 0 16px; color: var(--green);
  font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; display: inline-block;
  width: 24px; height: 1.5px;
  background: var(--green); border-radius: 2px;
}

h1, h2, p { margin-top: 0; }

h1 {
  max-width: 780px; margin-bottom: 28px;
  font-size: clamp(3.8rem, 8.5vw, 7.5rem);
  line-height: 0.92; font-weight: 800; letter-spacing: 0;
  text-shadow: 0 18px 44px rgba(0,0,0,0.28);
}
h1 .text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #fff8df 34%, #9fe7ef 68%, var(--sun) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 8s ease-in-out infinite alternate;
}
@keyframes gradientShift {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 4.8vw, 4.8rem);
  line-height: 0.98; font-weight: 800; letter-spacing: 0;
  color: var(--text);
}

.hero-copy p:not(.eyebrow),
.section-copy p,
.field-copy p {
  color: var(--text-2);
  font-size: clamp(1.02rem, 1.5vw, 1.28rem);
  line-height: 1.6; font-weight: 400;
}
.hero-copy p:not(.eyebrow) { max-width: 480px; margin-bottom: 40px; }
.hero-copy p:not(.eyebrow) {
  color: rgba(255, 250, 238, 0.78);
  text-shadow: 0 10px 34px rgba(0,0,0,0.24);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px; border-radius: 999px;
  font-weight: 600; font-size: 0.9rem; cursor: pointer;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.35s, background 0.3s;
}
.button.primary {
  background: var(--gold); color: var(--bg);
  box-shadow: 0 4px 30px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,0.2);
}
.button.primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 48px rgba(240,185,77,0.35);
}
.button.secondary {
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.04); color: var(--text);
  backdrop-filter: blur(12px);
}
.button.secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* ---- React Bits inspired glare, adapted for this static page ---- */
.glare-surface {
  position: relative;
  overflow: hidden;
}
.glare-surface::before {
  content: "";
  position: absolute;
  inset: -45%;
  z-index: 8;
  pointer-events: none;
  background: linear-gradient(
    118deg,
    transparent 0%,
    transparent 42%,
    rgba(255, 255, 255, 0.16) 49%,
    rgba(255, 245, 219, 0.28) 52%,
    rgba(255, 255, 255, 0.08) 56%,
    transparent 66%,
    transparent 100%
  );
  mix-blend-mode: screen;
  opacity: 0;
  transform: translate3d(-48%, -18%, 0);
  transition: transform 0.85s var(--ease), opacity 0.35s ease;
}
.glare-surface:hover::before,
.glare-surface:focus-within::before {
  opacity: 1;
  transform: translate3d(48%, 18%, 0);
}

/* ---- Phone device ---- */
.hero-device {
  justify-self: center; width: min(380px, 100%);
  filter: drop-shadow(0 30px 80px rgba(0,0,0,0.5))
          drop-shadow(0 0 60px rgba(52,211,153,0.06));
}

.phone-shell, .app-phone {
  position: relative;
  border: 2px solid rgba(255,255,255,0.16);
  border-radius: 50px; background: #050806;
  box-shadow: 0 40px 100px rgba(0,0,0,0.52), inset 0 1px 0 rgba(255,255,255,0.12);
}
.phone-shell { padding: 13px; transform: rotate(1.5deg); transition: transform 0.6s var(--ease); }
.phone-shell:hover { transform: rotate(0deg) scale(1.01); }

.phone-btn { position: absolute; background: #111; border-radius: 2px; z-index: 5; }
.phone-btn-power { right: -5px; top: 140px; width: 4px; height: 52px; border-radius: 0 3px 3px 0; }
.phone-btn-vol-up { left: -5px; top: 110px; width: 4px; height: 36px; border-radius: 3px 0 0 3px; }
.phone-btn-vol-down { left: -5px; top: 158px; width: 4px; height: 36px; border-radius: 3px 0 0 3px; }

.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 28px; background: #000; border-radius: 20px; z-index: 10;
}
.phone-notch::before {
  content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 9px; height: 9px; background: #0a0a0a; border-radius: 50%;
  box-shadow: 0 0 4px rgba(52,211,153,0.2);
}

.phone-bar, .phone-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 38px; padding: 14px 14px 0;
  color: var(--text-2); font-size: 0.74rem; font-weight: 700; text-transform: uppercase;
}

.camera-feed, .app-camera-card, .scan-card, .masonry-card { position: relative; overflow: hidden; }
.camera-feed { height: 410px; border-radius: var(--radius-xl); background: #050d09; }

.camera-feed video, .scan-card video, .masonry-card video, .reel-scene > video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ---- Scan UI ---- */
.focus-corners { position: absolute; inset: 14%; border: 0; }
.focus-corners::before, .focus-corners::after {
  content: ""; position: absolute; width: 30px; height: 30px;
  border: 2px solid var(--scan);
  filter: drop-shadow(0 0 10px var(--scan-glow));
}
.focus-corners::before { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.focus-corners::after  { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }

.scan-line {
  position: absolute; right: 15%; left: 15%; top: 20%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--scan), transparent);
  box-shadow: 0 0 24px var(--scan-glow), 0 0 80px var(--scan-glow);
  animation: scanMove 3.4s ease-in-out infinite; border-radius: 2px;
}

.camera-hud {
  position: absolute; right: 18px; bottom: 18px; left: 18px;
  display: grid; gap: 4px; padding: 14px 16px;
  border: 1px solid var(--glass-border); border-radius: var(--radius);
  background: rgba(6,10,8,0.65);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.camera-hud strong { font-size: 1rem; }
.camera-hud span { color: var(--text-3); font-size: 0.78rem; font-weight: 600; }

/* ---- Result sheet ---- */
.result-sheet {
  display: grid; gap: 12px; margin-top: 10px; padding: 18px;
  border-radius: var(--radius-xl);
  background: rgba(255,250,240,0.92);
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--text);
}
.result-sheet > strong { color: var(--ink); }
.result-kicker { color: var(--green); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0; }
.result-sheet > strong { font-size: 1.2rem; }

.animal-row {
  display: grid; grid-template-columns: 54px 1fr auto;
  align-items: center; gap: 10px; padding: 10px;
  border: 1px solid rgba(7,19,15,0.1); border-radius: var(--radius);
  background: rgba(7,19,15,0.04);
}
.animal-row img { width: 54px; height: 54px; border-radius: var(--radius); object-fit: cover; }
.animal-row span { display: block; color: var(--muted-dark); font-size: 0.72rem; font-weight: 600; }
.animal-row strong { color: var(--ink); font-size: 1rem; }
.animal-row em {
  font-style: normal; font-weight: 800; font-size: 1.1rem;
  background: linear-gradient(135deg, var(--green), var(--scan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ---- Hero proof bar ---- */
.hero-proof {
  position: absolute; right: clamp(20px,6vw,96px); bottom: 36px; left: clamp(20px,6vw,96px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  border: 1px solid rgba(255, 250, 238, 0.34); border-radius: var(--radius);
  background: rgba(255, 250, 238, 0.18); overflow: hidden;
  box-shadow: 0 24px 80px rgba(5, 14, 10, 0.2);
}
.hero-proof span {
  min-height: 60px; display: flex; align-items: center; justify-content: center;
  padding: 0 18px;
  background: rgba(255, 250, 238, 0.18); backdrop-filter: blur(16px);
  color: rgba(255, 250, 238, 0.82); font-size: 0.84rem; font-weight: 650; text-align: center;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.model-section, .pitch-section, .app-section, .field-section, .waitlist-section {
  padding: 140px clamp(20px,6vw,96px);
  position: relative;
}

/* ---- Animated section dividers ---- */
.model-section::before, .app-section::before, .field-section::before, .waitlist-section::before {
  content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45,125,79,0.18), transparent);
}

/* ---- Model / Como funciona ---- */
.model-section {
  display: grid; grid-template-columns: minmax(300px,0.72fr) minmax(360px,1fr);
  align-items: center; gap: clamp(38px,7vw,96px);
  background:
    linear-gradient(180deg, var(--paper) 0%, #edf4e7 100%);
  color: var(--ink);
}

.model-section .section-copy p,
.app-section .section-copy p,
.waitlist-section .section-copy p,
.field-copy p,
.pitch-section .section-copy p {
  color: var(--muted-dark);
}

.section-copy h2, .field-copy h2 { max-width: 830px; overflow-wrap: break-word; }
.model-section .section-copy h2,
.app-section .section-copy h2,
.field-copy h2,
.waitlist-section .section-copy h2 {
  color: var(--ink);
}
.model-section .eyebrow,
.app-section .eyebrow,
.field-section .eyebrow,
.waitlist-section .eyebrow {
  color: var(--leaf);
}
.model-section .eyebrow::before,
.app-section .eyebrow::before,
.field-section .eyebrow::before,
.waitlist-section .eyebrow::before {
  background: var(--leaf);
}
.section-copy p, .field-copy p { max-width: 520px; margin-bottom: 0; line-height: 1.65; }
.model-section .section-copy h2 { font-size: clamp(2.2rem,3.8vw,4rem); }

.model-grid { display: grid; grid-template-columns: 1fr 0.8fr; gap: 16px; }

.scan-card {
  grid-row: span 2; min-height: 620px;
  border-radius: var(--radius-lg); background: #050d09;
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease);
}
.scan-card:hover { transform: scale(1.01); }
.scan-card video { filter: saturate(1.1) contrast(1.06); }

.scan-overlay {
  position: absolute; inset: 0; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(6,10,8,0.1), transparent 42%, rgba(6,10,8,0.8)),
              linear-gradient(90deg, rgba(6,10,8,0.4), transparent 45%);
}

.scan-caption {
  position: absolute; right: 20px; bottom: 20px; left: 20px;
  display: grid; gap: 6px; padding: 18px;
  border: 1px solid var(--glass-border); border-radius: var(--radius);
  background: rgba(6,10,8,0.6); color: var(--text);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
}
.scan-caption span, .strip-card span, .panel-header span,
.timeline-card > span, .report-card span, .masonry-card figcaption span {
  color: var(--gold); font-size: 0.68rem; font-weight: 650;
  text-transform: uppercase; letter-spacing: 0;
}
.scan-caption strong { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }

/* ---- Glass cards ---- */
.model-card {
  color: var(--ink);
  border: 1px solid rgba(45,125,79,0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 240, 0.72);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 70px rgba(33, 55, 42, 0.08);
  transition: transform 0.4s var(--ease), background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.model-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(45,125,79,0.24);
  box-shadow: 0 32px 80px rgba(33, 55, 42, 0.14);
}

.metrics-card, .workflow-card { padding: 24px; }

.workflow-list { display: grid; gap: 10px; }
.workflow-list div {
  display: grid; grid-template-columns: 44px 1fr;
  align-items: center; gap: 14px; min-height: 78px; padding: 14px;
  border: 1px solid rgba(45,125,79,0.12); border-radius: var(--radius);
  background: rgba(255,255,255,0.54);
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
.workflow-list div:hover {
  transform: translateX(6px);
  background: rgba(255,255,255,0.86);
  border-color: rgba(45,125,79,0.26);
}
.workflow-list strong {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--leaf), var(--sky));
  color: #fffaf0; font-size: 1.1rem; line-height: 1;
  box-shadow: 0 16px 30px rgba(45,125,79,0.18);
}
.workflow-list span { color: var(--ink-2); font-size: 0.92rem; font-weight: 550; line-height: 1.35; }

.strip-card { overflow: hidden; border-radius: var(--radius-lg); }
.strip-card img {
  display: block; width: 100%; height: 260px; object-fit: cover;
  filter: saturate(1.1) brightness(0.94); transition: transform 0.5s var(--ease), filter 0.5s;
}
.strip-card:hover img { transform: scale(1.04); filter: saturate(1.18) brightness(1.03); }
.strip-card div { display: grid; gap: 6px; padding: 20px; }
.strip-card strong { font-size: 1.06rem; line-height: 1.3; }

/* ---- Pitch / Video section ---- */
.pitch-section {
  background:
    linear-gradient(135deg, rgba(7,19,15,0.96) 0%, rgba(18,48,35,0.94) 54%, rgba(199,100,56,0.72) 135%),
    url("assets/field-herd.jpg") center/cover;
  color: var(--text); overflow: hidden;
}
.pitch-section::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%),
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent 32%, rgba(0,0,0,0.18));
  pointer-events: none;
}
.pitch-section .section-copy h2 { color: var(--text); }
.pitch-section .section-copy p { color: rgba(232,237,233,0.72); }

.centered { display: grid; justify-items: center; text-align: center; margin: 0 auto 64px; }

.pitch-section .section-copy,
.demo-reel,
.app-section .section-copy,
.app-showcase,
.waitlist-section .section-copy,
.waitlist-form {
  position: relative;
  z-index: 1;
}

.demo-reel {
  width: min(1120px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-lg);
  background: rgba(3, 8, 5, 0.72);
  box-shadow: 0 54px 130px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
}

.reel-stage {
  position: relative;
  min-height: clamp(520px, 48vw, 620px);
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: #030604;
}

.reel-scene {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(34px, 5vw, 72px);
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  transition: opacity 0.75s var(--ease), transform 1.1s var(--ease);
}

.reel-scene.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.reel-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,13,9,0.88) 0%, rgba(5,13,9,0.62) 42%, rgba(5,13,9,0.2) 100%),
    linear-gradient(180deg, rgba(5,13,9,0.36), transparent 48%, rgba(5,13,9,0.72));
  pointer-events: none;
}

.reel-scene > video {
  position: absolute;
  inset: 0;
  filter: saturate(1.08) contrast(1.05) brightness(0.78);
  transform: scale(1.04);
}

.reel-copy,
.reel-signal,
.reel-phone,
.reel-trace {
  position: relative;
  z-index: 2;
}

.reel-copy {
  max-width: 530px;
  display: grid;
  gap: 16px;
  color: var(--text);
}

.reel-copy span,
.reel-signal span,
.reel-result span,
.reel-trace > span {
  color: var(--scan);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.reel-copy strong {
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  line-height: 0.98;
  font-weight: 850;
  text-shadow: 0 20px 50px rgba(0,0,0,0.42);
}

.reel-copy p {
  max-width: 420px;
  margin: 0;
  color: rgba(255,250,238,0.76);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.55;
  font-weight: 600;
}

.reel-signal {
  justify-self: end;
  width: min(360px, 100%);
  display: grid;
  gap: 8px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,250,240,0.92);
  color: var(--ink);
  box-shadow: 0 32px 80px rgba(0,0,0,0.34);
}

.reel-signal strong {
  font-size: 1.45rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.reel-signal em {
  font-style: normal;
  color: var(--muted-dark);
  font-weight: 700;
}

.reel-phone {
  justify-self: end;
  width: min(310px, 100%);
  padding: 12px;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,0.2);
  background: #04110c;
  box-shadow: 0 36px 90px rgba(0,0,0,0.44), inset 0 1px 0 rgba(255,255,255,0.1);
}

.reel-phone-media {
  position: relative;
  height: 250px;
  overflow: hidden;
  border-radius: 24px;
}

.reel-phone-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reel-result {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding: 16px;
  border-radius: 20px;
  background: var(--paper-3);
  color: var(--ink);
}

.reel-result strong {
  font-size: 1rem;
  line-height: 1.2;
}

.reel-result small {
  color: var(--muted-dark);
  font-weight: 700;
  line-height: 1.4;
}

.reel-trace {
  justify-self: end;
  width: min(430px, 100%);
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255,250,240,0.93);
  color: var(--ink);
  box-shadow: 0 32px 90px rgba(0,0,0,0.36);
}

.reel-trace ol {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.reel-trace li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(7,19,15,0.1);
}

.reel-trace li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.reel-trace strong,
.reel-trace em {
  font-size: 0.92rem;
  line-height: 1.35;
}

.reel-trace strong {
  color: var(--leaf);
}

.reel-trace em {
  color: var(--ink-2);
  font-style: normal;
  font-weight: 700;
  text-align: right;
}

.reel-controls {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-top: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.reel-controls button {
  min-height: 58px;
  border: 0;
  background: rgba(255,255,255,0.05);
  color: rgba(255,250,238,0.72);
  cursor: pointer;
  font-weight: 800;
  transition: background 0.3s, color 0.3s;
}

.reel-controls button:hover,
.reel-controls button.is-active {
  background: rgba(244,169,65,0.92);
  color: var(--ink);
}

/* ---- App section ---- */
.app-section {
  background:
    linear-gradient(180deg, #edf4e7 0%, #f8f1e4 100%);
  position: relative; overflow: hidden;
}
.app-section::after {
  content: ""; position: absolute;
  right: 0; bottom: 0; left: 0; height: 180px;
  background: linear-gradient(180deg, transparent, rgba(120,201,216,0.16));
  pointer-events: none;
}

.app-showcase {
  display: grid; grid-template-columns: minmax(290px,390px) minmax(360px,720px);
  justify-content: center; align-items: center; gap: clamp(24px,5vw,72px);
}

.app-phone { padding: 13px; overflow: hidden; }
.app-phone { color: var(--text); }
.operation-panel { color: var(--ink); }
.app-phone .phone-top { color: var(--text-3); }

.app-header, .app-camera-card, .app-result-card, .app-actions,
.operation-panel, .timeline-card, .report-card { border-radius: var(--radius); }

.app-header {
  display: grid; gap: 4px; padding: 18px 18px 14px;
  border-radius: 24px 24px var(--radius) var(--radius);
  background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border);
}
.app-header span, .app-result-card span, .app-result-card small { color: var(--text-3); font-size: 0.78rem; font-weight: 600; }
.app-header strong { font-size: 1.2rem; }

.app-camera-card { height: 330px; margin-top: 10px; background: #050d09; }
.app-camera-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

.app-result-card {
  display: grid; gap: 5px; margin-top: 10px; padding: 16px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border);
}
.app-result-card strong { font-size: 1.1rem; }
.app-result-card small { line-height: 1.4; }

.app-actions { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 10px; }
.app-actions span {
  min-height: 56px; display: grid; place-items: center; padding: 0 8px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border);
  color: var(--green); font-size: 0.76rem; font-weight: 650; text-align: center;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s var(--ease-spring), border-color 0.25s;
}
.app-actions span:hover {
  background: var(--green-dim); color: var(--text);
  border-color: var(--green); transform: scale(1.06);
}

/* ---- Operation panel (glass) ---- */
.operation-panel {
  display: grid; gap: 16px; padding: clamp(24px,3vw,36px);
  border: 1px solid rgba(45,125,79,0.14); border-radius: var(--radius-xl);
  background: rgba(255, 250, 240, 0.8);
  backdrop-filter: blur(16px);
  box-shadow: 0 34px 90px rgba(33, 55, 42, 0.14);
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.operation-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(45,125,79,0.25);
  box-shadow: 0 44px 110px rgba(33, 55, 42, 0.18);
}

.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.panel-header div { display: grid; gap: 4px; }
.panel-header strong { font-size: clamp(1.4rem,3vw,2.2rem); line-height: 1.05; }
.panel-header em {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--leaf), var(--sky));
  color: #fffaf0; font-size: 0.76rem; font-style: normal; font-weight: 700; white-space: nowrap;
  box-shadow: 0 16px 30px rgba(45,125,79,0.18);
}

.panel-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.panel-stats div {
  min-height: 112px; display: grid; align-content: end; gap: 6px; padding: 18px;
  border: 1px solid rgba(45,125,79,0.12); border-radius: var(--radius);
  background: rgba(255,255,255,0.54);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.panel-stats div:hover { transform: translateY(-2px); border-color: rgba(45,125,79,0.28); }
.panel-stats strong { font-size: clamp(1.5rem,2.6vw,2.2rem); font-weight: 800; letter-spacing: 0; }
.panel-stats span { color: var(--muted-dark); font-size: 0.78rem; font-weight: 550; }

.timeline-card {
  padding: 22px; border: 1px solid rgba(45,125,79,0.12);
  background: rgba(255,255,255,0.54); border-radius: var(--radius);
}
.timeline-card ol { display: grid; gap: 14px; margin: 16px 0 0; padding: 0; list-style: none; }
.timeline-card li {
  display: grid; grid-template-columns: 72px 1fr; gap: 12px;
  align-items: start; padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.timeline-card li:last-child { padding-bottom: 0; border-bottom: 0; }
.timeline-card li strong { color: var(--green); }
.timeline-card li span { color: var(--muted-dark); line-height: 1.4; }

.report-card {
  display: grid; grid-template-columns: 180px 1fr; gap: 18px;
  align-items: center; padding: 16px;
  background: linear-gradient(135deg, rgba(45,125,79,0.12), rgba(120,201,216,0.12));
  border: 1px solid rgba(45,125,79,0.14);
  color: var(--ink); border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.report-card:hover { transform: scale(1.01); border-color: rgba(45,125,79,0.28); }
.report-card img { width: 100%; height: 138px; object-fit: cover; border-radius: var(--radius); }
.report-card strong { display: block; margin-top: 6px; font-size: 1.08rem; line-height: 1.3; font-weight: 650; }

/* ---- Field / Campo section ---- */
.field-section {
  display: grid; grid-template-columns: minmax(280px,0.5fr) minmax(420px,1fr);
  align-items: center; gap: clamp(34px,6vw,84px);
  background:
    linear-gradient(180deg, #f8f1e4 0%, #f5ead7 52%, #e8f0e6 100%);
  overflow: hidden;
}

.field-notes {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 26px;
}
.field-notes span {
  min-height: 34px; display: inline-flex; align-items: center;
  padding: 0 13px; border-radius: 999px;
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(45,125,79,0.16);
  color: var(--ink-2); font-size: 0.78rem; font-weight: 700;
  box-shadow: 0 12px 28px rgba(33,55,42,0.08);
}

.field-masonry {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 96px;
  gap: 14px;
  min-height: 840px;
}

.masonry-card {
  margin: 0; border-radius: var(--radius-lg);
  background: #050d09; color: var(--text);
  border: 1px solid rgba(255,255,255,0.34);
  box-shadow: 0 26px 70px rgba(33,55,42,0.18);
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.masonry-card:hover {
  transform: translateY(-5px) scale(1.015);
  border-color: rgba(255,255,255,0.68);
  box-shadow: 0 36px 90px rgba(33,55,42,0.25);
}
.masonry-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(1.08) contrast(1.02) brightness(0.92);
  transition: transform 0.6s var(--ease), filter 0.5s;
}
.masonry-card:hover img, .masonry-card:hover video {
  transform: scale(1.06);
  filter: saturate(1.16) contrast(1.02) brightness(1.02);
}

.masonry-card::after {
  content: ""; position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, transparent 36%, rgba(6,10,8,0.88)),
    linear-gradient(115deg, rgba(244,169,65,0.2), transparent 38%, rgba(120,201,216,0.1));
  pointer-events: none;
}
.masonry-card figcaption { position: absolute; right: 20px; bottom: 20px; left: 20px; z-index: 2; display: grid; gap: 5px; }
.masonry-card figcaption strong { max-width: 300px; font-size: 1.06rem; line-height: 1.2; font-weight: 650; }
.masonry-tall { grid-column: span 3; grid-row: span 4; }
.masonry-mid { grid-column: span 3; grid-row: span 3; }
.masonry-short { grid-column: span 3; grid-row: span 2; }
.masonry-wide { grid-column: span 6; grid-row: span 2; }

/* ---- Waitlist section ---- */
.waitlist-section {
  background:
    linear-gradient(90deg, rgba(248,241,228,0.95) 0%, rgba(232,240,230,0.9) 54%, rgba(248,241,228,0.76) 100%),
    url("assets/field-wide.jpg") center/cover;
  text-align: center;
  overflow: hidden;
}
.waitlist-section::after {
  content: ""; position: absolute;
  right: 0; bottom: 0; left: 0; height: 170px;
  background: linear-gradient(180deg, transparent, rgba(45,125,79,0.14));
  pointer-events: none;
}

.waitlist-form {
  display: grid; grid-template-columns: 1fr 1.08fr 1fr 0.9fr auto;
  gap: 8px; width: min(1180px,100%); margin: 0 auto; padding: 8px;
  border: 1px solid rgba(45,125,79,0.16); border-radius: 999px;
  background: rgba(255,250,240,0.76);
  backdrop-filter: blur(16px);
  box-shadow: 0 26px 80px rgba(33,55,42,0.16);
  transition: border-color 0.4s, box-shadow 0.4s;
}
.waitlist-form:focus-within {
  border-color: rgba(45,125,79,0.34);
  box-shadow: 0 26px 80px rgba(33,55,42,0.16), 0 0 0 3px rgba(45,125,79,0.12);
}

.waitlist-form input, .waitlist-form select {
  min-height: 52px; width: 100%; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink); padding: 0 20px; outline: none;
  font-size: 0.9rem;
}
.waitlist-form input:focus, .waitlist-form select:focus { background: rgba(255,255,255,0.56); }
.waitlist-form input::placeholder { color: var(--muted-dark); font-weight: 450; }
.waitlist-form select { color: var(--muted-dark); }
.waitlist-form select option { background: var(--paper-3); color: var(--ink); }

.waitlist-form button {
  min-height: 52px; border: 0; border-radius: 999px;
  background: var(--ink); color: var(--paper-3); padding: 0 28px;
  cursor: pointer; font-weight: 650; font-size: 0.9rem;
  transition: transform 0.3s var(--ease-spring), background 0.3s, box-shadow 0.3s;
}
.waitlist-form button:hover {
  background: var(--leaf); color: #fffaf0;
  transform: scale(1.04);
  box-shadow: 0 16px 32px rgba(45,125,79,0.22);
}
.waitlist-form button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-status { grid-column: 1/-1; min-height: 20px; margin: 0; color: var(--green); font-weight: 600; font-size: 0.86rem; }
.form-status.is-error { color: var(--clay); }

/* ---- Footer ---- */
.site-footer {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 40px clamp(20px,6vw,96px);
  border-top: 1px solid rgba(45,125,79,0.12);
  background: var(--paper-3); color: var(--muted-dark); font-size: 0.82rem; font-weight: 550;
}
.site-footer span:first-child { font-weight: 800; color: var(--ink); letter-spacing: 0; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes scanMove {
  0%, 100% { top: 24%; opacity: 0; }
  12%, 86% { opacity: 1; }
  52% { top: 72%; }
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1120px) {
  .hero { grid-template-columns: 1fr; align-items: start; padding-top: 120px; }
  .hero-device { justify-self: start; width: min(360px,100%); }
  .phone-shell { transform: none; }
  .hero-light { opacity: 0.5; }
  .model-section, .field-section, .app-showcase { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: 1fr 1fr; }
  .scan-card { min-height: 520px; }
  .field-masonry { min-height: 680px; }
}

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .hero { min-height: auto; padding-bottom: 200px; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof span { min-height: 46px; }
  .model-grid, .panel-stats, .waitlist-form { grid-template-columns: 1fr; }
  .field-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 150px;
    min-height: auto;
  }
  .masonry-tall, .masonry-mid, .masonry-short, .masonry-wide {
    grid-column: span 1;
    grid-row: span 2;
  }
  .masonry-wide { grid-column: span 2; }
  .scan-card { grid-row: auto; }
  .strip-card img { height: auto; }
  .report-card { grid-template-columns: 1fr; }
  .report-card img { height: 200px; }
  .reel-stage { min-height: 780px; }
  .reel-scene {
    grid-template-columns: 1fr;
    align-content: center;
    align-items: end;
    padding: 34px;
  }
  .reel-scene::after {
    background:
      linear-gradient(180deg, rgba(5,13,9,0.88) 0%, rgba(5,13,9,0.5) 42%, rgba(5,13,9,0.84) 100%);
  }
  .reel-signal, .reel-phone, .reel-trace {
    justify-self: start;
  }
  .reel-controls button {
    padding: 0 8px;
    font-size: 0.78rem;
    overflow-wrap: anywhere;
  }
  .waitlist-form { border-radius: var(--radius-xl); }
  .model-section, .pitch-section, .app-section, .field-section, .waitlist-section {
    padding: 100px clamp(18px,5vw,48px);
  }
}

@media (max-width: 560px) {
  .site-header { min-height: 56px; padding: 0 16px; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-mark img { width: 28px; }
  .nav-cta { min-height: 34px; padding: 0 14px; font-size: 0.8rem; }
  .hero { min-height: 92svh; padding: 86px 18px 128px; }
  h1 { font-size: clamp(3.2rem, 15vw, 4.4rem); }
  h2 { font-size: 2rem; }
  .hero-copy p:not(.eyebrow), .section-copy p, .field-copy p { font-size: 0.96rem; }
  .hero-actions, .app-actions { grid-template-columns: 1fr; display: grid; }
  .button { width: 100%; }
  .camera-feed, .app-camera-card { height: 300px; }
  .model-section, .pitch-section, .app-section, .field-section, .waitlist-section { padding: 80px 18px; }
  .reel-stage { min-height: 810px; }
  .reel-scene { padding: 24px; gap: 22px; }
  .reel-copy { gap: 12px; }
  .reel-copy strong { font-size: 2rem; }
  .reel-copy p { font-size: 0.94rem; }
  .reel-phone-media { height: 210px; }
  .reel-trace, .reel-signal { padding: 18px; }
  .reel-controls button { min-height: 54px; font-size: 0.7rem; }
  .field-masonry { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .masonry-tall, .masonry-mid, .masonry-short, .masonry-wide { grid-column: span 1; grid-row: span 1; }
  .masonry-tall { grid-row: span 2; }
  .site-footer { display: grid; gap: 8px; }
  .centered { margin-bottom: 42px; }
  .eyebrow::before { width: 16px; }
}
