:root {
  --header-offset: 92px;
  --bg: #eef1f6;
  --surface: #ffffff;
  --surface-alt: #f5f7fb;
  --ink: #18253d;
  --muted: #5b6a84;
  --line: #d7dfeb;
  --accent: #0f3673;
  --accent-2: #0a2757;
  --shadow: 0 14px 32px rgba(20, 36, 74, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}

body {
  line-height: 1.45;
  padding-top: var(--header-offset);
  background-image: linear-gradient(180deg, #f6f8fc 0%, #edf1f8 100%);
}

.grain-bg {
  display: none;
}

.site-header,
main,
.site-footer {
  width: min(1180px, 94vw);
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  margin-top: 0;
  padding: 0.85rem 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 248, 252, 0.96);
  backdrop-filter: blur(6px);
}

.logo {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

nav {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
}

nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

section {
  margin: 2.4rem 0 4rem;
  scroll-margin-top: calc(var(--header-offset) + 14px);
}

.capabilities {
  margin-top: 3rem;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.trust-band article {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: 0.95rem;
}

.trust-band strong {
  display: block;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1rem;
}

.trust-band p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.kicker {
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #254f92;
  font-weight: 800;
}

h1,
h2,
h3 {
  font-family: "Sora", "Segoe UI", sans-serif;
  margin: 0.5rem 0;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2.35rem);
  max-width: 20ch;
}

h3 {
  font-size: 1.02rem;
}

.hero {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-media {
  position: relative;
}

.hero-image {
  width: 100%;
  height: clamp(240px, 36vw, 470px);
  object-fit: cover;
  display: block;
  filter: contrast(1.04) saturate(0.98);
}

.hero-overlay {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, rgba(11, 34, 72, 0.9), rgba(15, 54, 115, 0.64));
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  max-width: 340px;
}

.hero-overlay p {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-overlay strong {
  font-size: 1.08rem;
}

.hero-content {
  padding: clamp(1rem, 2vw, 1.8rem);
}

.lead {
  margin-top: 0.8rem;
  max-width: 64ch;
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  color: var(--muted);
}

.hero-cta {
  margin: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

button {
  font: inherit;
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 0.62rem 1rem;
  cursor: pointer;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-1px);
}

.primary-btn {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.secondary-btn {
  background: var(--surface-alt);
  color: var(--ink);
  border-color: var(--line);
}

.ghost-btn {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.hero-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hero-tags span {
  padding: 0.24rem 0.55rem;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.image-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.image-band figure {
  margin: 0;
}

.image-band img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: transform 320ms ease;
}

.product-demo {
  margin-top: 3rem;
}

.demo-shell {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.demo-topbar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.8rem;
  border-bottom: 1px solid var(--line);
  background: #f7f9fd;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c2ccdd;
}

.demo-topbar p {
  margin: 0 0 0 0.4rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.demo-image {
  width: 100%;
  display: block;
  border-top: 0;
}

.image-band figure:nth-child(2) img {
  height: 290px;
}

.image-band figure:hover img {
  transform: scale(1.02);
}

.image-band figcaption {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.section-title-wrap {
  margin-bottom: 1rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.6rem;
}

.timeline article {
  padding: 0.85rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  font-weight: 700;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.timeline article:hover {
  background: #f6f8f3;
  border-color: #b9c7b7;
}

.timeline .highlight {
  background: #e9efe5;
  border-color: #b9c8b5;
}

.validation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.6rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1rem;
  border-radius: 10px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 26, 16, 0.07);
}

.card p {
  color: var(--muted);
  margin: 0;
}

.preview-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.mock-panel,
.farmer-shot {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1rem;
  border-radius: 10px;
}

.mock-panel ul {
  margin: 0.7rem 0;
  padding-left: 1rem;
}

.mock-panel li {
  margin: 0.45rem 0;
}

.mock-note {
  margin: 0.8rem 0 0;
  padding: 0.7rem;
  border-left: 4px solid var(--accent);
  background: #edf3fb;
  color: #27406a;
  font-weight: 600;
}

.quote {
  margin: 0.7rem 0;
  font-size: 1rem;
  color: var(--ink);
}

.quote-author {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.farmer-shot {
  margin: 0;
}

.farmer-shot img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.farmer-shot figcaption {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 1rem;
  padding: 1rem 0 1.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: var(--muted);
}

.final-cta {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #ffffff, #f5f8fd);
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

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

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

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .image-band,
  .preview-layout,
  .trust-band {
    grid-template-columns: 1fr;
  }

  .image-band img,
  .farmer-shot img {
    height: 230px;
  }

  .image-band figure:nth-child(2) img {
    height: 230px;
  }

  .hero-overlay {
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .timeline {
    grid-template-columns: 1fr;
  }
}
