/* ============================================================
   Agro BigGrow - Investor-ready showcase
   Design system: warm cream base, deep pine ink, brand green,
   amber + terracotta accents. Fraunces display / Inter UI /
   JetBrains Mono data.
   ============================================================ */

:root {
  /* palette */
  --cream: #faf7ef;
  --cream-2: #f3eee1;
  --paper: #fffdf6;
  --ink: #14261a;
  --ink-2: #3d4f43;
  --ink-3: #6b7c70;
  --pine: #0e2417;
  --pine-2: #153320;
  --green: #4bad3b;
  --green-2: #6ed45a;
  --green-deep: #2e6a24;
  --green-pastel: #e9f5e4;
  --amber: #f59e0b;
  --amber-pastel: #fdf0d7;
  --terra: #a75f4a;
  --terra-pastel: #f5eae6;
  --line: rgba(20, 38, 26, 0.1);
  --line-strong: rgba(20, 38, 26, 0.16);

  /* type */
  --font-display: "Fraunces", Georgia, serif;
  --font-ui: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* rhythm */
  --radius: 20px;
  --radius-lg: 28px;
  --section-pad: clamp(5rem, 10vw, 8.5rem);
  --nav-h: 76px;

  /* shadows */
  --shadow-sm: 0 1px 2px rgba(14, 36, 23, 0.05), 0 4px 14px rgba(14, 36, 23, 0.06);
  --shadow-md: 0 2px 6px rgba(14, 36, 23, 0.06), 0 18px 44px -12px rgba(14, 36, 23, 0.16);
  --shadow-lg: 0 6px 16px rgba(14, 36, 23, 0.08), 0 40px 90px -20px rgba(14, 36, 23, 0.28);
  --shadow-green: 0 8px 24px -6px rgba(75, 173, 59, 0.45);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 2000;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
  animation: grain 9s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 2%); }
  40% { transform: translate(2%, -1%); }
  60% { transform: translate(-1%, -2%); }
  80% { transform: translate(1%, 2%); }
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: italic; }

::selection { background: var(--green); color: #fff; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(1180px, 100% - 3rem);
  margin-inline: auto;
}
.container--narrow { width: min(820px, 100% - 3rem); }

section { scroll-margin-top: calc(var(--nav-h) + 12px); }

/* ---------- shared type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 2.2rem;
  height: 2px;
  background: var(--green);
  vertical-align: middle;
}
.eyebrow--light { color: var(--green-2); }
.eyebrow--light::before { background: var(--green-2); }

.section { padding-block: var(--section-pad); position: relative; }
.section--tinted { background: var(--cream-2); }

.section-head {
  position: relative;
  max-width: 720px;
  margin-bottom: clamp(2.75rem, 6vw, 4.5rem);
}
.section-head .eyebrow { margin-bottom: 1.4rem; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.section-title em { color: var(--green); font-weight: 500; }
.section--dark .section-title em { color: var(--green-2); }

.section-sub {
  margin-top: 1.15rem;
  font-size: 1.13rem;
  color: var(--ink-2);
  max-width: 60ch;
}
.section--dark .section-sub { color: rgba(250, 247, 239, 0.72); }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out),
    background 0.25s, color 0.25s, border-color 0.25s;
  will-change: transform;
  overflow: hidden;
  white-space: nowrap;
}
.btn .i { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.btn:hover .i { transform: translateX(3px); }

.btn--primary {
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow-green);
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
}
.btn--primary:hover { background: var(--green-deep); transform: translateY(-2px); }
.btn--primary:hover::before { transform: translateX(120%); }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { background: var(--paper); border-color: var(--ink); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }

.btn--light { background: var(--cream); color: var(--pine); }
.btn--light:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.35); }

.btn--outline-light { border-color: rgba(250, 247, 239, 0.4); color: var(--cream); }
.btn--outline-light:hover { border-color: var(--cream); background: rgba(250, 247, 239, 0.08); transform: translateY(-2px); }

.btn--lg { padding: 1.1rem 2rem; font-size: 1.02rem; }
.btn--sm { padding: 0.68rem 1.25rem; font-size: 0.9rem; }

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 1200;
  background: transparent;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--green), var(--green-2), var(--amber));
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  transition: background 0.35s, box-shadow 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  height: var(--nav-h);
  transition: height 0.35s var(--ease-out);
}
.nav__brand { grid-column: 1; justify-self: start; }
.nav__links { grid-column: 2; justify-self: center; }
.nav__actions { grid-column: 3; justify-self: end; }
.nav.is-scrolled {
  background: rgba(250, 247, 239, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 30px -12px rgba(14, 36, 23, 0.12);
}
.nav.is-scrolled .nav__inner { height: 64px; }

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
}
.brand-logo {
  display: block;
  height: 30px;
  width: auto;
  transition: transform 0.5s var(--ease-spring);
}
.brand-logo--footer { height: 32px; }
.nav__brand:hover .brand-logo { transform: rotate(-1.5deg) scale(1.04); }
@media (max-width: 560px) {
  .brand-logo { height: 26px; }
}

.nav__links { display: flex; gap: 0.35rem; }
.nav__link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}
.nav__link:hover { color: var(--ink); background: rgba(20, 38, 26, 0.05); }
.nav__link.is-active { color: var(--green-deep); background: var(--green-pastel); }

.nav__actions { display: flex; align-items: center; gap: 0.9rem; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px; height: 42px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
}
.nav__burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  background: var(--pine);
  color: var(--cream);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0s 0.4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease-out); }
.mobile-menu__links { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.mobile-menu__links a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 2.8rem);
  padding: 0.3rem 1rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.25s;
}
.mobile-menu.is-open .mobile-menu__links a { opacity: 1; transform: none; }
.mobile-menu__links a:hover { color: var(--green-2); }
.mobile-menu__links a:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu__links a:nth-child(2) { transition-delay: 0.12s; }
.mobile-menu__links a:nth-child(3) { transition-delay: 0.18s; }
.mobile-menu__links a:nth-child(4) { transition-delay: 0.24s; }
.mobile-menu__links a:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu__links a:nth-child(6) { transition-delay: 0.36s; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 5rem));
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}
.blob--1 {
  width: 560px; height: 560px;
  top: -180px; right: -120px;
  background: radial-gradient(circle at 30% 30%, rgba(110, 212, 90, 0.5), rgba(75, 173, 59, 0.12) 65%);
  animation: drift 16s ease-in-out infinite alternate;
}
.blob--2 {
  width: 420px; height: 420px;
  bottom: -80px; left: -140px;
  background: radial-gradient(circle at 60% 40%, rgba(245, 158, 11, 0.32), rgba(245, 158, 11, 0.05) 70%);
  animation: drift 20s ease-in-out infinite alternate-reverse;
}
.blob--3 {
  width: 300px; height: 300px;
  top: 34%; left: 38%;
  background: radial-gradient(circle, rgba(167, 95, 74, 0.2), transparent 70%);
  animation: drift 24s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, -34px) scale(1.12); }
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.h-line { display: block; overflow: hidden; }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 6.4vw, 4.9rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-top: 1.5rem;
}
.hero__title em { color: var(--green); }

.hero__lead {
  margin-top: 1.5rem;
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  color: var(--ink-2);
  max-width: 34rem;
}
.hero__lead strong { color: var(--ink); font-weight: 600; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin-top: 2.4rem;
}
.hero__proof li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-2);
}
.hero__proof .i { width: 17px; height: 17px; color: var(--green); flex: none; }

/* hero entrance */
.h-anim {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: rise 0.9s var(--ease-out) forwards;
  animation-delay: var(--d, 0s);
}
.hero__visual.h-anim { display: block; }
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* hero device */
.hero__visual { perspective: 1200px; }
.hero__device {
  position: relative;
  width: fit-content;
  margin-inline: auto;
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
}

.device {
  position: relative;
  width: min(320px, 72vw);
  padding: 11px;
  border-radius: 48px;
  background: linear-gradient(150deg, #36463c 0%, var(--pine) 38%, #060f0a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.25),
    inset 0 -2px 8px rgba(0, 0, 0, 0.5),
    var(--shadow-lg);
}
/* side buttons (power + volume) */
.device::before,
.device::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 3px;
  background: #0a1710;
}
.device::before { right: -4px; top: 118px; height: 58px; }
.device::after { left: -4px; top: 92px; height: 32px; box-shadow: 0 52px 0 #0a1710; }
.device--sm { width: min(288px, 68vw); }
.device__notch {
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 34%; height: 24px;
  background: #060f0a;
  border-radius: 999px;
  z-index: 3;
}
.device__screen {
  position: relative;
  aspect-ratio: 9 / 19.3;
  border-radius: 38px;
  overflow: hidden;
  background: var(--paper);
}
/* glass glare */
.device__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 26%, transparent 42%);
  pointer-events: none;
}

/* screenshot slot */
.shot { position: absolute; inset: 0; }
.shot__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  animation: shotIn 0.6s var(--ease-out);
}
@keyframes shotIn { from { opacity: 0; } to { opacity: 1; } }
.shot__empty {
  position: absolute;
  inset: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  text-align: center;
  padding: 1.4rem;
  border: 1.5px dashed rgba(75, 173, 59, 0.45);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 0%, rgba(110, 212, 90, 0.1), transparent 60%),
    var(--green-pastel);
  color: var(--green-deep);
}
.shot--loaded .shot__empty { display: none; }
.shot__empty svg { width: 40px; height: 40px; opacity: 0.75; }
.shot__label { font-weight: 600; font-size: 0.95rem; }
.shot__file {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  background: rgba(14, 36, 23, 0.07);
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  word-break: break-all;
}
.shot__hint { font-size: 0.72rem; color: var(--ink-3); }

/* floating chips */
.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1rem;
  background: rgba(255, 253, 246, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transform: translateZ(60px);
  animation: floaty 6s ease-in-out infinite;
}
.chip--1 { top: 12%; left: -92px; animation-delay: 0.8s; }
.chip--2 { bottom: 22%; right: -104px; animation-duration: 7s; }
.chip--3 { bottom: -22px; left: -32px; animation-duration: 5.4s; animation-delay: 0.3s; }
@keyframes floaty {
  0%, 100% { transform: translateZ(60px) translateY(0); }
  50% { transform: translateZ(60px) translateY(-12px); }
}
.chip__icon {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  flex: none;
}
.chip__icon svg { width: 18px; height: 18px; }
.chip__icon--green { background: var(--green-pastel); color: var(--green-deep); }
.chip__icon--amber { background: var(--amber-pastel); color: #b45309; }
.chip__icon--terra { background: var(--terra-pastel); color: var(--terra); }
.chip__text { display: flex; flex-direction: column; line-height: 1.25; }
.chip__text strong { font-size: 0.88rem; }
.chip__text small { font-size: 0.72rem; color: var(--ink-3); }

/* falling leaves */
.leaves {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.leaf {
  position: absolute;
  top: -8%;
  left: var(--x, 50%);
  color: var(--c, var(--green));
  opacity: 0;
  animation: leaf-fall var(--t, 12s) linear var(--dl, 0s) infinite;
  will-change: transform;
}
.leaf svg {
  display: block;
  width: var(--s, 16px);
  height: auto;
  animation: leaf-sway var(--st, 3s) ease-in-out var(--dl, 0s) infinite alternate;
}
@keyframes leaf-fall {
  0% { transform: translate3d(0, -12vh, 0); opacity: 0; }
  8% { opacity: var(--o, 0.5); }
  90% { opacity: var(--o, 0.5); }
  100% { transform: translate3d(0, 112vh, 0); opacity: 0; }
}
@keyframes leaf-sway {
  from { transform: translateX(calc(var(--sw, 20px) * -1)) rotate(-28deg); }
  to { transform: translateX(var(--sw, 20px)) rotate(28deg); }
}

/* ---------- ticker ---------- */
.ticker {
  position: relative;
  background: var(--pine);
  padding-block: 1.15rem;
  overflow: hidden;
  transform: rotate(-1.2deg);
  width: 104%;
  margin-left: -2%;
  margin-bottom: 1.6rem;
  box-shadow: 0 18px 40px -18px rgba(14, 36, 23, 0.35);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; flex: none; }
.ticker__item {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(250, 247, 239, 0.88);
  padding-inline: 1.4rem;
  white-space: nowrap;
}
.ticker__sep { color: var(--green-2); font-size: 0.8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- problem ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.pain-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2rem 2.2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.3s;
  overflow: hidden;
}
.pain-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--amber));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.5s var(--ease-out);
}
.pain-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.pain-card:hover::after { transform: scaleX(1); }
.pain-card__num {
  position: absolute;
  right: 0.6rem;
  bottom: -1.7rem;
  top: auto;
  font-family: var(--font-display);
  font-size: 6.5rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(20, 38, 26, 0.055);
  pointer-events: none;
  user-select: none;
}
.pain-card__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  margin-bottom: 1.4rem;
}
.pain-card__icon svg { width: 26px; height: 26px; }
.pain-card__icon--terra { background: var(--terra-pastel); color: var(--terra); }
.pain-card__icon--amber { background: var(--amber-pastel); color: #b45309; }
.pain-card__icon--green { background: var(--green-pastel); color: var(--green-deep); }
.pain-card h3 {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}
.pain-card p { font-size: 0.99rem; color: var(--ink-2); }

/* easter-egg burst leaves */
.burst-leaf {
  position: fixed;
  z-index: 3000;
  pointer-events: none;
}
.egg-toast {
  position: fixed;
  top: 92px;
  left: 50%;
  z-index: 3100;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  font-family: "Caveat", "Segoe Script", cursive;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--green-deep);
  white-space: nowrap;
  transform: translate(-50%, -16px) rotate(-2deg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out), transform 0.45s var(--ease-spring);
}
.egg-toast.is-showing { opacity: 1; transform: translate(-50%, 0) rotate(-2deg); }
.egg-toast svg { width: 20px; height: 20px; color: var(--green); }

/* ---------- field note ---------- */
.fieldnote { padding-block: clamp(2rem, 5vw, 3.5rem); }
.fieldnote__card {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  padding: 2.6rem 2.8rem 2.1rem 4.4rem;
  background:
    linear-gradient(90deg, transparent 3.2rem, rgba(167, 95, 74, 0.35) 3.2rem, rgba(167, 95, 74, 0.35) calc(3.2rem + 1.5px), transparent calc(3.2rem + 1.5px)),
    repeating-linear-gradient(to bottom, transparent 0 31px, rgba(20, 38, 26, 0.08) 31px 32px),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  transform: rotate(-1.2deg);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.fieldnote__card:hover { transform: rotate(0deg) translateY(-4px); box-shadow: var(--shadow-lg); }
.fieldnote__tape {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 120px;
  height: 26px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(245, 158, 11, 0.32);
  border-inline: 1px dashed rgba(245, 158, 11, 0.5);
  border-radius: 2px;
}
.fieldnote__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 0.9rem;
}
.fieldnote__card blockquote {
  font-family: "Caveat", "Segoe Script", cursive;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}
.fieldnote__card figcaption {
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-3);
}

/* ---------- product tour ---------- */
.tour__steps { min-width: 0; }
.tour__stage { display: none; }
.tour__device-wrap { position: relative; width: fit-content; margin-inline: auto; }
.tour__sticker {
  position: absolute;
  top: -16px;
  right: -30px;
  z-index: 6;
  padding: 0.3rem 0.8rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  font-size: 1.35rem;
  color: var(--terra);
  transform: rotate(6deg);
  white-space: nowrap;
}
.tour__sticker::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 44px;
  height: 14px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(245, 158, 11, 0.32);
  border-inline: 1px dashed rgba(245, 158, 11, 0.5);
  border-radius: 2px;
}
.tour__shots { position: absolute; inset: 0; }
.tour__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.5s var(--ease-out), transform 0.7s var(--ease-out);
}
.tour__shot.is-active { opacity: 1; transform: scale(1); }
.tour__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
}
.tour__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  background: var(--line-strong);
  transition: width 0.35s var(--ease-out), background 0.3s;
}
.tour__dot:hover { background: var(--green); }
.tour__dot.is-active { width: 26px; background: var(--green); }

.tour-step {
  min-height: 100vh;
  min-height: 100svh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1rem;
}
.device--xs { width: min(215px, 56vw); }
.tour-step__device {
  margin-bottom: 1.6rem;
  transform: perspective(900px) rotateY(-7deg);
  transition: transform 0.6s var(--ease-out);
}
.tour-step:nth-child(even) .tour-step__device { transform: perspective(900px) rotateY(7deg); }
.tour-step__device:hover { transform: perspective(900px) rotateY(0deg); }
.tour-step__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.tour-step__tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 0.9rem;
}
.tour-step h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}
.tour-step h3 em { color: var(--green); }
.tour-step > p { color: var(--ink-2); max-width: 46ch; margin-bottom: 1.4rem; }
.tour-step .points { text-align: left; }

@media (max-width: 1023px) {
  html { scroll-snap-type: y proximity; }
}

@media (min-width: 1024px) {
  .tour {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
  }
  .tour__stage {
    display: block;
    position: sticky;
    /* stage is ~670px tall: keep it vertically centered on the viewport,
       matching the centered step content */
    top: calc(50vh - 335px);
    /* natural (unstuck) position aligns with step 1's center (41vh) */
    margin-top: max(0px, calc(41vh - 335px));
  }
  .tour-step {
    min-height: 82vh;
    align-items: flex-start;
    text-align: left;
    opacity: 0.35;
    transition: opacity 0.5s;
  }
  .tour-step.is-current { opacity: 1; }
  .tour-step__device { display: none; }
}

.points li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding-block: 0.45rem;
  font-size: 0.99rem;
  font-weight: 500;
}
.points .i {
  width: 19px; height: 19px;
  flex: none;
  margin-top: 0.2rem;
  color: var(--green);
}

/* ---------- bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.bento__card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.1rem 2rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.3s;
}
.bento__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.bento__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(75, 173, 59, 0.13), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.bento__card:hover::before { opacity: 1; }
.bento__card--lg { grid-column: span 2; grid-row: span 1; }
.bento__icon {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 15px;
  margin-bottom: 1.3rem;
}
.bento__icon svg { width: 25px; height: 25px; }
.bento__icon--green { background: var(--green-pastel); color: var(--green-deep); }
.bento__icon--amber { background: var(--amber-pastel); color: #b45309; }
.bento__icon--terra { background: var(--terra-pastel); color: var(--terra); }
.bento__icon--pine { background: var(--pine); color: var(--green-2); }
.bento__card h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}
.bento__card p { font-size: 0.96rem; color: var(--ink-2); }

/* sync visual */
.syncviz {
  margin-top: 1.8rem;
  background: var(--pine);
  border-radius: 18px;
  padding: 1.2rem 1.3rem;
  color: var(--cream);
}
.syncviz__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.syncviz__pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
.syncviz__pill--local { background: rgba(110, 212, 90, 0.16); color: var(--green-2); }
.syncviz__pill--cloud { background: rgba(250, 247, 239, 0.12); color: var(--cream); }
.syncviz__bars { display: flex; flex-direction: column; gap: 5px; flex: 1; max-width: 180px; }
.syncviz__bars i {
  display: block;
  height: 5px;
  width: var(--w, 60%);
  border-radius: 4px;
  background: linear-gradient(90deg, var(--green), var(--green-2));
  animation: barGrow 1.4s var(--ease-out) both;
}
.syncviz__bars i:nth-child(2) { animation-delay: 0.15s; opacity: 0.75; }
.syncviz__bars i:nth-child(3) { animation-delay: 0.3s; opacity: 0.5; }
@keyframes barGrow { from { transform: scaleX(0); transform-origin: 0 50%; } to { transform: scaleX(1); } }
.syncviz__beam {
  position: relative;
  height: 2px;
  margin-block: 0.9rem;
  background: rgba(250, 247, 239, 0.14);
  border-radius: 2px;
  overflow: hidden;
}
.syncviz__beam span {
  position: absolute;
  top: 0; left: 0;
  height: 100%; width: 34%;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--green-2), transparent);
  animation: beam 2.2s linear infinite;
}
@keyframes beam { from { transform: translateX(-100%); } to { transform: translateX(320%); } }
.syncviz__ok {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-2);
}
.syncviz__ok svg { width: 16px; height: 16px; }

/* sparkline */
.spark { margin-top: 1.4rem; }
.spark svg { width: 100%; height: 56px; }
.spark__line {
  fill: none;
  stroke: var(--green);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
}
.spark__area { fill: url(#sparkGrad); fill: rgba(75, 173, 59, 0.12); }
.is-inview .spark__line { animation: draw 1.8s var(--ease-out) 0.3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  counter-reset: step;
}
.step {
  position: relative;
  border-top: 2px solid var(--line-strong);
  padding-top: 1.9rem;
  transition: border-color 0.35s;
}
.step:hover { border-top-color: var(--green); }
.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--green);
  margin-bottom: 1.1rem;
  transition: transform 0.4s var(--ease-out);
}
.step:hover .step__num { transform: translateX(8px); }
.step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}
.step p { font-size: 0.97rem; color: var(--ink-2); max-width: 34ch; }
.step__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.step__meta svg { width: 15px; height: 15px; color: var(--green); }

/* ---------- dark market section ---------- */
.section--dark {
  background: var(--pine);
  color: var(--cream);
  overflow: hidden;
}
.market__bg { position: absolute; inset: 0; pointer-events: none; }
.blob--4 {
  width: 520px; height: 520px;
  top: -160px; left: -120px;
  background: radial-gradient(circle, rgba(75, 173, 59, 0.28), transparent 65%);
  animation: drift 18s ease-in-out infinite alternate;
}
.blob--5 {
  width: 460px; height: 460px;
  bottom: -180px; right: -100px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18), transparent 65%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}

.mstat-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.mstat {
  padding: 1.9rem 1.7rem;
  border: 1px solid rgba(250, 247, 239, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(250, 247, 239, 0.045);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform 0.45s var(--ease-out), border-color 0.3s, background 0.3s;
}
.mstat:hover {
  transform: translateY(-5px);
  border-color: rgba(110, 212, 90, 0.45);
  background: rgba(110, 212, 90, 0.07);
}
.mstat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.1rem);
  font-weight: 600;
  line-height: 1;
  color: var(--green-2);
  font-variant-numeric: tabular-nums;
}
.mstat__label {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.92rem;
  color: rgba(250, 247, 239, 0.68);
}
.market__note {
  margin-top: 1.4rem;
  font-size: 0.8rem;
  color: rgba(250, 247, 239, 0.45);
}

.tailwinds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2.6rem;
}
.tailwind {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 247, 239, 0.16);
  background: rgba(250, 247, 239, 0.05);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.tailwind:hover { background: rgba(110, 212, 90, 0.1); border-color: rgba(110, 212, 90, 0.4); transform: translateY(-2px); }
.tailwind .i { width: 17px; height: 17px; color: var(--green-2); }

/* ---------- faq ---------- */
.faq { display: flex; flex-direction: column; gap: 0.85rem; }
.faq__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq__item.is-open { border-color: rgba(75, 173, 59, 0.4); box-shadow: var(--shadow-sm); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1.25rem 1.5rem;
  transition: color 0.25s;
}
.faq__q:hover { color: var(--green-deep); }
.faq__q .i {
  width: 20px; height: 20px;
  flex: none;
  color: var(--green);
  transition: transform 0.4s var(--ease-out);
}
.faq__item.is-open .faq__q .i { transform: rotate(135deg); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-out);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner {
  overflow: hidden;
  padding-inline: 1.5rem;
  color: var(--ink-2);
  font-size: 0.99rem;
}
.faq__item.is-open .faq__a-inner { padding-bottom: 1.4rem; }
.faq__a a { color: var(--green-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(150deg, var(--pine-2), var(--pine) 55%, #08130c);
  color: var(--cream);
  border-radius: calc(var(--radius-lg) + 8px);
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  box-shadow: var(--shadow-lg);
}
.cta__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%23faf7ef' stroke-opacity='0.07'%3E%3Cpath d='M30 130c25-70 130-70 155 0s-45 100-78 100-102-30-77-100z'/%3E%3Cpath d='M52 130c18-52 100-52 118 0s-34 76-59 76-77-24-59-76z'/%3E%3Cpath d='M74 130c12-34 66-34 78 0s-22 50-39 50-51-16-39-50z'/%3E%3C/g%3E%3C/svg%3E");
}
.cta::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1.5px dashed rgba(250, 247, 239, 0.22);
  border-radius: 26px;
  pointer-events: none;
}
.cta__mark, .cta h2, .cta p, .cta__actions { z-index: 1; }
.cta-note {
  position: absolute;
  left: calc(50% + 6.8rem);
  top: -2.7rem;
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  font-size: 1.5rem;
  color: var(--amber);
  transform: rotate(4deg);
  white-space: nowrap;
}
.cta-note__arrow { width: 40px; height: 28px; }
@media (max-width: 760px) {
  .cta-note { display: none; }
}
.blob--6 {
  width: 480px; height: 480px;
  top: -200px; left: -120px;
  background: radial-gradient(circle, rgba(75, 173, 59, 0.35), transparent 65%);
  animation: drift 15s ease-in-out infinite alternate;
}
.blob--7 {
  width: 420px; height: 420px;
  bottom: -200px; right: -100px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22), transparent 65%);
  animation: drift 19s ease-in-out infinite alternate-reverse;
}
.cta__mark { margin: 0 auto 1.6rem; position: relative; }
.cta h2 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.4vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.06;
}
.cta h2 em { color: var(--green-2); }
.cta p {
  position: relative;
  margin: 1.2rem auto 2.4rem;
  max-width: 46ch;
  color: rgba(250, 247, 239, 0.75);
  font-size: 1.1rem;
}
.cta__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

/* ---------- footer ---------- */
.footer {
  background: var(--pine);
  color: rgba(250, 247, 239, 0.75);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(250, 247, 239, 0.12);
}
.footer .nav__brand { color: var(--cream); }
.footer__brand p {
  margin-top: 1rem;
  font-size: 0.94rem;
  max-width: 30ch;
  color: rgba(250, 247, 239, 0.6);
}
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-2);
  margin-bottom: 1.1rem;
}
.footer__col a {
  display: block;
  padding-block: 0.32rem;
  font-size: 0.95rem;
  transition: color 0.25s, transform 0.3s var(--ease-out);
}
.footer__col a:hover { color: var(--cream); transform: translateX(4px); }
.footer__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  padding-top: 1.8rem;
  font-size: 0.85rem;
  color: rgba(250, 247, 239, 0.5);
}
.footer__made {
  font-family: var(--font-display);
  font-style: italic;
}

/* ---------- character layer ---------- */
.hand { font-family: "Caveat", "Segoe Script", cursive; font-weight: 600; }

/* squiggle underlines on accent words */
.section-title em,
.hero__title em,
.cta h2 em {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M3 9 Q 18 3, 33 7 T 63 7 T 93 7 T 117 6' fill='none' stroke='%234BAD3B' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 0% 0.22em;
  padding-bottom: 0.1em;
}
.is-inview .section-title em,
.is-inview .cta h2 em {
  background-size: 100% 0.22em;
  transition: background-size 0.9s var(--ease-out) 0.35s;
}
.hero__title em { animation: squig 1s var(--ease-out) 1.1s both; }
@keyframes squig { to { background-size: 100% 0.22em; } }
.section--dark .section-title em,
.cta h2 em {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M3 9 Q 18 3, 33 7 T 63 7 T 93 7 T 117 6' fill='none' stroke='%236ED45A' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* editorial section index */
.sec-index {
  position: absolute;
  top: 0.3rem;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-3);
}
.sec-index::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--line-strong);
}
.sec-index i { font-style: normal; opacity: 0.55; font-size: 0.8em; }
.section--dark .sec-index { color: rgba(250, 247, 239, 0.55); }
.section--dark .sec-index::before { background: rgba(250, 247, 239, 0.25); }

/* rotating sticker badge on hero device */
.orbit-badge {
  position: absolute;
  top: -38px;
  right: -22px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.orbit-badge > svg {
  position: absolute;
  inset: 6px;
  animation: spin 16s linear infinite;
}
.orbit-badge text {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  fill: var(--green-deep);
}
.orbit-badge__leaf { width: 30px; height: 30px; color: var(--green); }
.orbit-badge__leaf svg { width: 100%; height: 100%; }
@keyframes spin { to { transform: rotate(360deg); } }

/* handwritten notes */
.hero-note {
  position: absolute;
  left: -158px;
  bottom: 34%;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  font-size: 1.55rem;
  color: var(--terra);
  transform: rotate(-7deg);
  white-space: nowrap;
}
@media (max-width: 1280px) {
  .hero-note { left: -70px; }
  .hero-note--dev { right: -70px; }
}
.hero-note__arrow { width: 46px; height: 32px; margin-bottom: 6px; }
.hero-note--dev {
  left: auto;
  right: -162px;
  bottom: 46%;
  transform: rotate(4deg);
}
.hero-note--dev .hero-note__arrow { transform: scaleX(-1); margin-bottom: 10px; }
.hero-note__dev-text {
  font-family: "Kalam", cursive;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.2;
}
/* dashed stamp on the large bento card */
.stamp {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: rgba(233, 245, 228, 0.7);
  border: 2px dashed rgba(75, 173, 59, 0.55);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  transform: rotate(6deg);
}

/* ploughed-field rows in the hero */
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(105deg, transparent 0 26px, rgba(46, 106, 36, 0.05) 26px 27px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 35%, #000 82%);
  mask-image: linear-gradient(to bottom, transparent 35%, #000 82%);
}

/* contour lines on the dark section */
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%23faf7ef' stroke-opacity='0.07'%3E%3Cpath d='M30 130c25-70 130-70 155 0s-45 100-78 100-102-30-77-100z'/%3E%3Cpath d='M52 130c18-52 100-52 118 0s-34 76-59 76-77-24-59-76z'/%3E%3Cpath d='M74 130c12-34 66-34 78 0s-22 50-39 50-51-16-39-50z'/%3E%3C/g%3E%3C/svg%3E");
}
.section--dark .container { position: relative; z-index: 1; }

/* taped screenshot placeholders */
.shot__empty::before,
.shot__empty::after {
  content: "";
  position: absolute;
  top: -9px;
  width: 58px;
  height: 17px;
  background: rgba(245, 158, 11, 0.3);
  border-inline: 1px dashed rgba(245, 158, 11, 0.5);
  border-radius: 2px;
}
.shot__empty::before { left: 10px; transform: rotate(-42deg); }
.shot__empty::after { right: 10px; transform: rotate(42deg); }

/* mega wordmark footer */
.footer__word {
  margin-top: 2.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 10.5vw, 8.5rem);
  line-height: 0.95;
  text-align: center;
  letter-spacing: -0.02em;
  color: rgba(250, 247, 239, 0.07);
  user-select: none;
  white-space: nowrap;
}

/* offset middle problem card (desktop) */
@media (min-width: 1021px) {
  .pain-card:nth-child(2) { transform: translateY(1.75rem); }
  .pain-card:nth-child(2):hover { transform: translateY(calc(1.75rem - 6px)); }
}

@media (max-width: 1020px) {
  .hero-note { display: none; }
}

@media (max-width: 560px) {
  .orbit-badge { width: 92px; height: 92px; top: -26px; right: -10px; }
  .orbit-badge__leaf { width: 24px; height: 24px; }
  .sec-index { font-size: 0.75rem; }
  .sec-index::before { width: 1.4rem; }
  .stamp { top: 1rem; right: 1rem; }
}

/* ---------- reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-inview { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__content { display: flex; flex-direction: column; align-items: center; }
  .hero__visual { margin-top: 1.5rem; }
  .chip--1 { left: -30px; }
  .chip--2 { right: -34px; }
  .pain-grid, .steps { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__card--lg { grid-column: span 2; }
  .mstat-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .pain-grid, .steps, .bento, .mstat-grid { grid-template-columns: 1fr; }
  .bento__card--lg { grid-column: span 1; }
  .chip--1 { left: -12px; top: 6%; }
  .chip--2 { right: -12px; bottom: 18%; }
  .chip--3 { left: -8px; }
  .chip { padding: 0.55rem 0.8rem; }
  .chip__text small { display: none; }
  .hero__actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer__bar { justify-content: center; text-align: center; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal], .h-anim { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
  body::after { animation: none; }
}
