:root {
  color-scheme: light;
  --ink: #13231c;
  --muted: #5a6f66;
  --leaf: #24a768;
  --leaf-deep: #0b6d4a;
  --lime: #b7ef5f;
  --mint: #e9fff3;
  --sky: #dff5ff;
  --amber: #ffbe55;
  --paper: #fffdf4;
  --line: rgba(19, 35, 28, 0.14);
  --shadow: 0 24px 70px rgba(12, 60, 43, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 6%, rgba(183, 239, 95, 0.35), transparent 28rem),
    radial-gradient(circle at 90% 0%, rgba(92, 190, 255, 0.24), transparent 30rem),
    linear-gradient(180deg, #f8fff6 0%, #fffdf4 42%, #eefaf4 100%);
  overflow-x: hidden;
}

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

.sprout-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 48px rgba(20, 66, 47, 0.12);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
}

.brand,
.nav,
.hero-actions,
.score-bars,
.mini-metrics {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: 38px;
  height: 38px;
  display: block;
  object-fit: contain;
  transition: transform 220ms ease;
}

.brand:hover .brand-logo {
  transform: rotate(-7deg) scale(1.06);
}

.nav {
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(19, 35, 28, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
}

.nav a,
.header-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  padding: 0 16px;
  color: var(--muted);
}

.nav a:hover {
  color: var(--ink);
  background: rgba(36, 167, 104, 0.1);
}

.header-action {
  padding: 0 18px;
  color: white;
  background: var(--ink);
  transition: transform 180ms ease, background 180ms ease;
}

.header-action:hover {
  background: var(--leaf-deep);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  align-items: center;
  gap: 34px;
  padding: 132px max(24px, calc((100vw - 1120px) / 2)) 74px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248, 255, 246, 0.98) 0%, rgba(248, 255, 246, 0.82) 37%, rgba(248, 255, 246, 0.24) 68%),
    linear-gradient(180deg, rgba(248, 255, 246, 0.82) 0%, transparent 34%, rgba(248, 255, 246, 0.92) 100%);
}

.hero-media img {
  position: absolute;
  top: 0;
  right: 0;
  width: min(74vw, 1120px);
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  filter: saturate(1.08) contrast(1.02);
}

.scan-line {
  position: absolute;
  top: 18%;
  right: 20%;
  z-index: 1;
  width: min(34vw, 420px);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(36, 167, 104, 0.92), transparent);
  box-shadow: 0 0 18px rgba(36, 167, 104, 0.8), 0 0 54px rgba(183, 239, 95, 0.55);
  animation: scan 4.2s ease-in-out infinite;
}

.hero-content {
  max-width: 720px;
  animation: riseIn 760ms ease both;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

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

.button {
  min-height: 54px;
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 28%, rgba(255, 255, 255, 0.32), transparent 72%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.primary:hover::after {
  transform: translateX(120%);
}

.button span,
.button svg {
  position: relative;
  z-index: 1;
}

.button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.primary {
  color: white;
  background: linear-gradient(135deg, var(--leaf), var(--leaf-deep));
  box-shadow: 0 16px 34px rgba(36, 167, 104, 0.28);
}

.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.score-card {
  justify-self: end;
  width: min(100%, 360px);
  margin-top: 120px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 28px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  animation: floatCard 5.8s ease-in-out infinite;
}

.score-top {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.score-top strong {
  color: var(--leaf-deep);
}

.score-ring {
  width: 210px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  margin: 22px auto;
  border-radius: 50%;
  background:
    radial-gradient(circle, white 0 54%, transparent 55%),
    conic-gradient(var(--leaf) calc(var(--score) * 1%), rgba(19, 35, 28, 0.1) 0);
  box-shadow: inset 0 0 0 1px rgba(19, 35, 28, 0.06);
  animation: softPulse 3.4s ease-in-out infinite;
}

.score-ring span {
  font-size: 64px;
  font-weight: 800;
  line-height: 0.9;
}

.score-ring small {
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.score-bars {
  gap: 12px;
}

.score-bars div {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(248, 255, 246, 0.72);
}

.score-bars span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.grade {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  border-radius: 14px;
  color: white;
  font-size: 24px;
}

.grade-a {
  background: var(--leaf);
}

.grade-2 {
  background: #2f91d0;
}

.truth-band,
.features,
.growth,
.cta {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.truth-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: end;
  padding: 78px 0 62px;
  border-top: 1px solid var(--line);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.02;
  letter-spacing: 0;
}

.truth-band p:last-child,
.feature-card p,
.growth-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 14px 0 84px;
}

.feature-card {
  min-height: 280px;
  border: 1px solid rgba(19, 35, 28, 0.1);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.5)),
    radial-gradient(circle at top right, rgba(183, 239, 95, 0.28), transparent 15rem);
  box-shadow: 0 18px 42px rgba(12, 60, 43, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-card:hover {
  border-color: rgba(36, 167, 104, 0.24);
  box-shadow: 0 22px 50px rgba(12, 60, 43, 0.12);
  transform: translateY(-4px);
}

.feature-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 22px;
  color: white;
  background: var(--ink);
  font-weight: 800;
  transition: transform 220ms ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.04) rotate(-2deg);
}

.feature-icon.nutri {
  background: linear-gradient(135deg, var(--leaf), var(--amber));
}

.feature-icon.nova {
  background: linear-gradient(135deg, #2f91d0, #7b5cf0);
}

h3 {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.18;
}

.growth {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 74px;
  align-items: center;
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.phone-demo {
  position: relative;
  min-height: 560px;
  padding: 34px 28px;
  border: 12px solid #101c17;
  border-radius: 44px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 250, 244, 0.96)),
    radial-gradient(circle at 50% 22%, rgba(183, 239, 95, 0.24), transparent 12rem);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-demo::before {
  content: "";
  position: absolute;
  inset: 94px 26px auto;
  height: 2px;
  background: var(--leaf);
  box-shadow: 0 0 24px rgba(36, 167, 104, 0.8);
  animation: phoneScan 3s ease-in-out infinite;
}

.phone-top {
  width: 92px;
  height: 8px;
  margin: 0 auto 86px;
  border-radius: 999px;
  background: #101c17;
}

.barcode {
  height: 180px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  border: 1px dashed rgba(19, 35, 28, 0.2);
  border-radius: 24px;
  background: white;
}

.barcode span {
  width: 8px;
  border-radius: 999px;
  background: var(--ink);
}

.barcode span:nth-child(2n) {
  width: 14px;
}

.barcode span:nth-child(3n) {
  opacity: 0.56;
}

.result-line {
  margin: 24px 0;
  padding: 18px;
  border-radius: 22px;
  background: var(--mint);
}

.result-line strong,
.result-line span {
  display: block;
}

.result-line span {
  margin-top: 4px;
  color: var(--muted);
}

.mini-metrics {
  gap: 10px;
}

.mini-metrics span {
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 70px;
  border-radius: 20px;
  color: white;
  background: var(--leaf-deep);
  font-size: 28px;
  font-weight: 800;
  animation: metricLift 4s ease-in-out infinite;
}

.mini-metrics span:nth-child(2) {
  background: var(--leaf);
  animation-delay: 180ms;
}

.mini-metrics span:nth-child(3) {
  background: #2f91d0;
  animation-delay: 360ms;
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.steps p {
  margin: 0;
  border-left: 4px solid var(--leaf);
  padding: 14px 0 14px 18px;
  background: linear-gradient(90deg, rgba(233, 255, 243, 0.9), transparent);
  transition: border-color 180ms ease, transform 180ms ease;
}

.steps p:hover {
  border-color: var(--lime);
  transform: translateX(4px);
}

.steps strong {
  color: var(--leaf-deep);
}

.cta {
  display: grid;
  place-items: center;
  min-height: 430px;
  padding: 72px 24px;
  margin-bottom: 28px;
  border-radius: 8px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(19, 35, 28, 0.9), rgba(11, 109, 74, 0.86)),
    url("assets/sprout-hero.png") center / cover;
  color: white;
  overflow: hidden;
}

.cta h2 {
  max-width: 760px;
  margin-bottom: 26px;
}

@keyframes scan {
  0%,
  100% {
    transform: translateY(0) rotate(-6deg);
    opacity: 0.12;
  }
  45% {
    transform: translateY(330px) rotate(-6deg);
    opacity: 0.9;
  }
}

@keyframes phoneScan {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.2;
  }
  48% {
    transform: translateY(168px);
    opacity: 1;
  }
}

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

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes softPulse {
  0%,
  100% {
    box-shadow: inset 0 0 0 1px rgba(19, 35, 28, 0.06), 0 0 0 rgba(36, 167, 104, 0);
  }
  50% {
    box-shadow: inset 0 0 0 1px rgba(19, 35, 28, 0.06), 0 0 34px rgba(36, 167, 104, 0.2);
  }
}

@keyframes metricLift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 112px;
  }

  .hero-media img {
    width: 100%;
    opacity: 0.7;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(248, 255, 246, 0.95), rgba(248, 255, 246, 0.7) 48%, rgba(248, 255, 246, 0.97)),
      linear-gradient(90deg, rgba(248, 255, 246, 0.96), rgba(248, 255, 246, 0.58));
  }

  .score-card {
    justify-self: start;
    margin-top: 0;
  }

  .truth-band,
  .features,
  .growth {
    grid-template-columns: 1fr;
  }

  .features {
    padding-bottom: 58px;
  }

  .growth {
    gap: 42px;
  }

  .phone-demo {
    width: min(100%, 380px);
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 58px;
    padding-left: 12px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-action {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero {
    padding-inline: 16px;
    padding-bottom: 48px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 58px);
  }

  .hero-copy,
  .truth-band p:last-child,
  .feature-card p,
  .growth-copy p {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .score-card {
    width: 100%;
  }

  .score-ring {
    width: 184px;
  }

  .truth-band,
  .features,
  .growth,
  .cta {
    width: calc(100% - 32px);
  }

  .truth-band {
    padding-top: 54px;
  }

  .feature-card {
    min-height: 230px;
  }

  .growth {
    padding: 58px 0;
  }

  .phone-demo {
    min-height: 510px;
    padding: 28px 20px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
