/* Peak Produce — Marketing Landing Page */
:root {
  --green-900: #1a3c2a;
  --green-800: #234d36;
  --green-700: #2d6a4f;
  --green-600: #40916c;
  --green-500: #52b788;
  --green-400: #74c69d;
  --green-100: #d8f3dc;
  --green-50: #f0faf2;
  --cream: #faf8f3;
  --cream-dark: #f0ebe3;
  --peach: #f7e6d8;
  --peach-soft: #fbf0e6;
  --warm-orange: #e07a3d;
  --past-red: #c44536;
  --early-amber: #d4a017;
  --peak-green: #2d6a4f;
  --text: #1a2e22;
  --text-muted: #4a6354;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(26, 60, 42, 0.08);
  --shadow-lg: 0 12px 48px rgba(26, 60, 42, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-display: Georgia, "Times New Roman", "Palatino Linotype", serif;
  --nav-h: 4.25rem;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 0.5rem); }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green-800);
  color: white;
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; outline: 2px solid var(--green-500); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--green-500); outline-offset: 3px; }
.btn-primary {
  background: var(--green-700);
  color: white;
}
.btn-primary:hover { background: var(--green-800); color: white; }
.btn-secondary {
  background: transparent;
  color: var(--green-800);
  border-color: rgba(45, 106, 79, 0.35);
}
.btn-secondary:hover {
  background: var(--peach-soft);
  border-color: var(--green-700);
  color: var(--green-900);
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 240, 230, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45, 106, 79, 0.1);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
  min-height: var(--nav-h);
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--green-800);
  text-decoration: none;
  flex-shrink: 0;
}
.logo:hover { text-decoration: none; }
.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  background: transparent;
}
.logo-wordmark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo-full {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green-800);
  border-left: 1px solid rgba(45, 106, 79, 0.22);
  padding-left: 0.55rem;
  line-height: 1.1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-links a:hover { color: var(--green-700); }
.nav-cta {
  background: var(--green-700) !important;
  color: white !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: 999px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--green-800) !important; text-decoration: none !important; }
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--green-700);
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  cursor: pointer;
  color: var(--green-700);
  line-height: 1;
}
.nav-toggle-bars {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}
.nav-toggle:focus-visible { outline: 2px solid var(--green-500); outline-offset: 2px; }

/* Section chrome */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  color: var(--green-900);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.section-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 38rem;
  margin-bottom: 2rem;
}

/* Hero */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(247, 230, 216, 0.9), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(216, 243, 220, 0.45), transparent 50%),
    linear-gradient(180deg, var(--peach-soft) 0%, var(--cream) 100%);
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.hero-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.hero-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: var(--white);
}
.hero-brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-800);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.1rem);
  font-weight: 700;
  color: var(--green-900);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.35rem;
}
.status-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--white);
  box-shadow: var(--shadow);
}
.pill-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
}
.pill-early .pill-dot { background: var(--early-amber); }
.pill-peak .pill-dot { background: var(--green-500); }
.pill-past .pill-dot { background: var(--past-red); }
.pill-early { color: #8a6a0a; }
.pill-peak { color: var(--green-800); }
.pill-past { color: #8a2e24; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.hero-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}
.phone-mock {
  width: min(260px, 72vw);
  background: var(--green-900);
  border-radius: 2rem;
  padding: 0.65rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(26, 60, 42, 0.2);
  position: relative;
  z-index: 2;
}
.phone-notch {
  position: absolute;
  top: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  width: 35%;
  height: 0.7rem;
  background: #0d2418;
  border-radius: 999px;
  z-index: 3;
}
.phone-screen {
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--peach-soft);
  aspect-ratio: 390 / 844;
}
.phone-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  background: var(--peach-soft);
}
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow);
  z-index: 3;
  white-space: nowrap;
}
.float-chip.early { top: 12%; left: 0; }
.float-chip.past { bottom: 18%; right: 0; }
.chip-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}
.chip-dot.early { background: var(--early-amber); }
.chip-dot.past { background: var(--past-red); }

/* How it works — phone frames (Layout A screenshots) */
.how {
  padding: 4.5rem 0;
  background: var(--cream);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(45, 106, 79, 0.08);
  position: relative;
  text-align: center;
}
.step-num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Dark green phone bezel; phone aspect on the img (avoids height:auto fight) */
.step-shot-wrap {
  background: #143528;
  border-radius: 28px;
  padding: 10px;
  margin: 0 auto 1rem;
  width: min(100%, 280px);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(26, 60, 42, 0.24);
}
.step-shot {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 9 / 19.5;
  border-radius: 18px;
  object-fit: cover;
  object-position: top center;
  background: #faf8f3;
}
/* Snap: shutter-first. Score/crate: keep header + main UI in frame */
.step:nth-child(1) .step-shot { object-position: top center; }
.step:nth-child(2) .step-shot { object-position: top center; }
.step:nth-child(3) .step-shot { object-position: top center; }
.step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--green-900);
  margin-top: 0.35rem;
  margin-bottom: 0.4rem;
  text-align: center;
}
.step p {
  color: var(--text-muted);
  font-size: 0.98rem;
  text-align: center;
  max-width: 30ch;
  margin-inline: auto;
}

/* Features */
.features {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, var(--peach-soft) 0%, var(--cream) 100%);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(45, 106, 79, 0.06);
}
.feature-span { grid-column: span 2; }
.feature-icon { margin-bottom: 0.85rem; }
.feature h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--green-900);
  margin-bottom: 0.4rem;
}
.feature p { color: var(--text-muted); font-size: 0.95rem; }

/* Use cases */
.usecases {
  padding: 4.5rem 0;
  background: var(--cream);
}
.usecase-tabs {
  display: inline-flex;
  background: var(--peach);
  padding: 0.3rem;
  border-radius: 999px;
  gap: 0.25rem;
  margin-bottom: 1.75rem;
}
.tab-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.tab-btn[aria-selected="true"] {
  background: var(--white);
  color: var(--green-800);
  box-shadow: var(--shadow);
}
.tab-btn:focus-visible { outline: 2px solid var(--green-500); outline-offset: 2px; }
.usecase-panel[hidden] { display: none; }
.usecase-grid {
  display: grid;
  grid-template-columns: minmax(0, 280px) 1fr;
  gap: 2.5rem;
  align-items: start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(45, 106, 79, 0.08);
}
.usecase-img {
  width: 100%;
  max-width: 260px;
  margin-inline: auto;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  background: var(--peach-soft);
  object-fit: contain;
}
.usecase-img-wide {
  max-width: 100%;
  border-radius: var(--radius-sm);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.usecase-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--green-900);
  margin-bottom: 1rem;
}
.usecase-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.usecase-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text);
  font-size: 1rem;
}
.check {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Trust */
.trust {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--peach-soft) 100%);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}
.trust-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 1.25rem 0;
}
.trust-list li {
  padding-left: 1.35rem;
  position: relative;
  color: var(--text);
}
.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green-500);
}
.trust-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}
.trust-shot {
  justify-self: center;
  max-width: 240px;
}
.trust-shot img {
  border-radius: 1.25rem;
  box-shadow: var(--shadow-lg);
  background: var(--peach-soft);
  border: 1px solid rgba(45, 106, 79, 0.1);
}
.trust-shot figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* Footer CTA */
.footer-cta {
  padding: 4.5rem 0;
  background: var(--green-900);
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
}
.footer-cta .cta-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.footer-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: white;
  margin-bottom: 0.75rem;
}
.footer-cta p {
  max-width: 32rem;
  margin: 0 auto 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.footer-cta .btn-primary {
  background: var(--green-500);
  color: var(--green-900);
}
.footer-cta .btn-primary:hover {
  background: var(--green-400);
  color: var(--green-900);
}
.footer-cta .btn-secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.35);
}
.footer-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
}
.cta-note {
  font-size: 0.875rem !important;
  color: rgba(255, 255, 255, 0.55) !important;
  margin-bottom: 0 !important;
}

/* Site footer */
.site-footer {
  background: #12281c;
  color: rgba(255, 255, 255, 0.7);
  padding: 2rem 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
}
.logo-footer .logo-wordmark { color: white; }
.logo-footer .logo-full {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
}
.logo-footer .logo-img {
  width: 32px;
  height: 32px;
  background: var(--white);
  border-radius: 8px;
}
.footer-meta { font-size: 0.85rem; opacity: 0.7; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-visual { order: -1; min-height: 360px; }
  .steps { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-span { grid-column: span 2; }
  .usecase-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .float-chip.early { left: 5%; }
  .float-chip.past { right: 5%; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--peach-soft);
    border-bottom: 1px solid rgba(45, 106, 79, 0.12);
    padding: 0.75rem 4%;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid rgba(45, 106, 79, 0.08);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
  }
  .features-grid { grid-template-columns: 1fr; }
  .feature-span { grid-column: span 1; }
  .logo-full { display: none; }
  .float-chip { font-size: 0.72rem; padding: 0.4rem 0.65rem; }
}

@media (max-width: 480px) {
  .hero { padding: 2.5rem 0 3rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .phone-mock { width: min(220px, 68vw); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}


/* Floor assistant showcase */
.floor-assistant {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, #f7e6d8 0%, #faf8f3 55%);
}
.floor-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}
.floor-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: grid;
  gap: 0.75rem;
}
.floor-list li {
  padding-left: 1.35rem;
  position: relative;
  color: var(--text, #1a2e22);
  line-height: 1.45;
}
.floor-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green-500, #52b788);
}
.floor-note {
  font-size: 0.95rem;
  color: var(--muted, #4a6354);
  margin-top: 1rem;
}
.floor-shot {
  margin: 0;
  text-align: center;
}
.floor-shot img {
  width: min(100%, 420px);
  height: auto;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(26, 60, 42, 0.18);
  border: 3px solid rgba(45, 106, 79, 0.12);
}
.floor-shot figcaption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted, #4a6354);
  font-weight: 600;
}
.usecase-img-assistant {
  width: min(100%, 320px);
  height: auto;
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(26, 60, 42, 0.16);
  justify-self: center;
}
@media (max-width: 900px) {
  .floor-grid { grid-template-columns: 1fr; }
  .floor-shot img { width: min(100%, 360px); }
}


.usecase-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  align-self: start;
}
.usecase-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 16rem;
  line-height: 1.35;
}
.usecase-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-600, #40916c);
  margin: 0 0 0.35rem;
}
.usecase-lead {
  color: var(--text-muted);
  margin: 0 0 1.15rem;
  font-size: 1.02rem;
  line-height: 1.5;
}
.usecase-content h3 {
  margin-bottom: 0.5rem;
}
