:root {
  color-scheme: light;
  --ink: #14201b;
  --muted: #5b6962;
  --line: #d8e2dc;
  --panel: #ffffff;
  --soft: #eef6f0;
  --mint: #c9f2d1;
  --green: #227a4e;
  --green-dark: #135336;
  --yellow: #f3c94e;
  --blue: #1f6f8f;
  --coral: #e86d57;
  --paper: #fff4a8;
  --shadow: 0 24px 70px rgba(28, 57, 44, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(243, 201, 78, 0.16), transparent 28%),
    linear-gradient(180deg, #fbfcf8 0%, #f1f7f0 58%, #fbfcf8 100%);
  color: var(--ink);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 64px);
  background: rgba(248, 251, 247, 0.86);
  border-bottom: 1px solid rgba(216, 226, 220, 0.8);
  backdrop-filter: blur(18px);
  animation: headerDrop 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 36px;
  height: 36px;
  transition: transform 280ms ease;
}

.brand:hover img {
  transform: rotate(-5deg) scale(1.04);
}

nav {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  padding: 8px 10px;
  border-radius: 7px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

nav a:hover {
  background: var(--soft);
  color: var(--green-dark);
  transform: translateY(-1px);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 70px);
  padding: clamp(44px, 7vw, 92px) clamp(20px, 4vw, 64px) 56px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.96;
  max-width: 820px;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.lede {
  margin: 24px 0 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.tagline {
  margin: 18px 0 0;
  color: var(--green-dark);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 850;
  line-height: 1.15;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button.primary {
  color: #ffffff;
  background: var(--green-dark);
  border-color: var(--green-dark);
  box-shadow: 0 12px 30px rgba(19, 83, 54, 0.22);
}

.button.primary:hover {
  background: #0d432b;
  box-shadow: 0 16px 36px rgba(19, 83, 54, 0.28);
  transform: translateY(-2px);
}

.button.secondary {
  background: #ffffff;
}

.button.secondary:hover {
  border-color: #b8c9c0;
  transform: translateY(-2px);
}

.compatibility {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.product-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
  transform-origin: center;
}

.float-card {
  animation: floatCard 8s ease-in-out infinite;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.window-bar em {
  margin-left: 8px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.window-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f1645d;
}

.window-bar span:nth-child(2) {
  background: var(--yellow);
}

.window-bar span:nth-child(3) {
  background: #64c879;
}

.app-preview {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  min-height: 520px;
}

.app-preview aside {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 16px;
  background: #f0f6f2;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.app-preview aside strong {
  margin: 8px 0 2px;
  color: var(--ink);
  font-size: 12px;
  text-transform: uppercase;
}

.app-preview aside span {
  padding: 9px 10px;
  border-radius: 7px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.app-preview aside .active {
  color: var(--green-dark);
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(28, 57, 44, 0.08);
}

.app-preview aside span:hover {
  transform: translateX(2px);
  color: var(--green-dark);
}

.app-preview section {
  padding: 26px;
}

.preview-top,
.scan-card,
.answer-row,
.metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.preview-top small,
.scan-card small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.preview-top h2 {
  margin-top: 4px;
  font-size: 30px;
}

.status {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--mint);
  font-size: 13px;
  font-weight: 800;
  animation: softPulse 2400ms ease-in-out infinite;
}

.scan-card {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f7fbf8);
}

.scan-card button {
  border: 0;
  border-radius: 7px;
  padding: 12px 14px;
  color: #ffffff;
  background: var(--blue);
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(31, 111, 143, 0.18);
}

.scanner-rail {
  position: relative;
  overflow: hidden;
  height: 150px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(20, 32, 27, 0.05) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(180deg, #f8faf8, #ecf4ef);
}

.paper-stack {
  position: absolute;
  left: 24px;
  top: 24px;
  width: 132px;
  height: 94px;
}

.paper-stack span {
  position: absolute;
  inset: 0;
  display: block;
  border: 1px solid rgba(84, 76, 27, 0.22);
  border-radius: 5px;
  background: var(--paper);
  box-shadow: 0 8px 18px rgba(36, 39, 25, 0.12);
  transform: rotate(-2deg);
}

.paper-stack span:nth-child(2) {
  transform: translate(8px, 7px) rotate(1.5deg);
  animation: paperFeed 4.8s ease-in-out infinite;
}

.paper-stack span:nth-child(3) {
  transform: translate(16px, 14px) rotate(3deg);
}

.scan-light {
  position: absolute;
  top: 18px;
  bottom: 18px;
  width: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(31, 111, 143, 0.58), transparent);
  filter: blur(1px);
  animation: scanSweep 3.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.review-crop {
  position: absolute;
  right: 24px;
  top: 30px;
  width: 170px;
  padding: 16px;
  border: 1px solid rgba(19, 83, 54, 0.18);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(28, 57, 44, 0.13);
  animation: cropLift 4.8s ease-in-out infinite;
}

.review-crop small {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
}

.review-crop strong {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--coral);
}

.metrics {
  margin: 22px 0;
}

.metrics div {
  flex: 1;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.metrics div:hover,
.feature-grid article:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(28, 57, 44, 0.1);
}

.metrics strong {
  display: block;
  font-size: 28px;
}

.metrics span {
  color: var(--muted);
  font-size: 13px;
}

.answer-row {
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  animation: answerSlide 640ms ease both;
}

.answer-row:nth-of-type(2) {
  animation-delay: 120ms;
}

.answer-row:nth-of-type(3) {
  animation-delay: 220ms;
}

.answer-row span {
  color: var(--muted);
}

.band,
.split,
.download,
.faq,
.how-to {
  margin: 0 clamp(20px, 4vw, 64px) clamp(24px, 4vw, 48px);
}

.band {
  padding: clamp(44px, 6vw, 76px) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 740px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.feature-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-grid article:hover {
  border-color: #b8c9c0;
}

.feature-grid p,
.split p,
.download p {
  color: var(--muted);
  line-height: 1.55;
}

.how-to {
  padding: clamp(44px, 6vw, 76px) 0;
  border-top: 1px solid var(--line);
}

.step-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.step-list article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.step-list article:hover {
  transform: translateY(-3px);
  border-color: #b8c9c0;
  box-shadow: 0 14px 34px rgba(28, 57, 44, 0.1);
}

.step-list span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--green-dark);
  font-size: 14px;
  font-weight: 850;
}

.step-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 32px;
  align-items: start;
  padding: clamp(38px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}

.checklist {
  display: grid;
  gap: 12px;
}

.checklist span {
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--soft);
  font-weight: 750;
  transition: transform 200ms ease, background 200ms ease;
}

.checklist span:hover {
  background: #e2f2e6;
  transform: translateX(4px);
}

.notes {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin: 0 clamp(20px, 4vw, 64px) clamp(24px, 4vw, 48px);
  padding: clamp(38px, 5vw, 64px);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(243, 201, 78, 0.22), transparent 45%),
    #ffffff;
  border: 1px solid var(--line);
}

.note-strip {
  display: grid;
  gap: 12px;
}

.note-strip article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  transition: transform 220ms ease, background 220ms ease;
}

.note-strip article:hover {
  transform: translateX(4px);
  background: #ffffff;
}

.note-strip span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--coral);
  font-weight: 800;
  font-size: 13px;
}

.note-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.faq {
  padding: clamp(44px, 6vw, 76px) 0;
  border-top: 1px solid var(--line);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.faq-list article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.faq-list article:hover {
  transform: translateY(-3px);
  border-color: #b8c9c0;
  box-shadow: 0 14px 34px rgba(28, 57, 44, 0.1);
}

.faq-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.download {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 28px;
  border-radius: 14px;
  color: #ffffff;
  background: var(--green-dark);
  position: relative;
  overflow: hidden;
}

.download::after {
  content: "";
  position: absolute;
  inset: auto -20% -80% 45%;
  height: 190px;
  background: rgba(243, 201, 78, 0.24);
  transform: rotate(-9deg);
  pointer-events: none;
}

.download img {
  width: 76px;
  height: 76px;
  position: relative;
  z-index: 1;
}

.download div,
.download a {
  position: relative;
  z-index: 1;
}

.download .eyebrow,
.download p {
  color: #d8f6de;
}

.download .button.primary {
  color: var(--green-dark);
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: none;
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 28px clamp(20px, 4vw, 64px) 36px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer span:nth-child(2) {
  text-align: center;
}

footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@keyframes headerDrop {
  from {
    transform: translateY(-16px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.3deg);
  }
}

@keyframes softPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 122, 78, 0.18);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(34, 122, 78, 0);
  }
}

@keyframes scanSweep {
  0% {
    left: 12px;
    opacity: 0;
  }
  15%,
  82% {
    opacity: 1;
  }
  100% {
    left: calc(100% - 28px);
    opacity: 0;
  }
}

@keyframes paperFeed {
  0%,
  100% {
    transform: translate(8px, 7px) rotate(1.5deg);
  }
  50% {
    transform: translate(42px, 7px) rotate(0deg);
  }
}

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

@keyframes answerSlide {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@media (max-width: 980px) {
  .hero,
  .split,
  .notes {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .faq-list,
  .step-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
  }

  h1 {
    font-size: 44px;
  }

  .app-preview {
    grid-template-columns: 1fr;
  }

  .app-preview aside {
    display: none;
  }

  .metrics,
  .preview-top,
  .scan-card {
    align-items: stretch;
    flex-direction: column;
  }

  .download {
    grid-template-columns: 1fr;
  }

  footer {
    grid-template-columns: 1fr;
  }

  footer span:nth-child(2) {
    text-align: left;
  }

  .scanner-rail {
    height: 220px;
  }

  .review-crop {
    left: 24px;
    right: auto;
    top: 120px;
  }
}
