/* ==============================================
   HARVEST — PREMIUM SAAS MARKETING SITE
   Design: Dark forest green brand, clean modern SaaS
   Fonts: Cabinet Grotesk (display) + Satoshi (body)
   ============================================== */

/* ---- DESIGN TOKENS ---- */
:root,
[data-theme='light'] {
  /* Brand Palette */
  --harvest-green: #0F4D35;
  --harvest-green-mid: #1A6647;
  --harvest-green-light: #2D8A5E;
  --harvest-green-subtle: #EBF5EF;
  --harvest-green-xsubtle: #F4FAF6;
  --harvest-gold: #D4A017;
  --harvest-gold-subtle: #FDF6E3;

  /* Surfaces */
  --color-bg: #FAFAF8;
  --color-surface: #FFFFFF;
  --color-surface-2: #F6F6F4;
  --color-surface-offset: #F0F0EE;
  --color-border: #E2E2DF;
  --color-divider: #EBEBEA;

  /* Text */
  --color-text: #1A1A18;
  --color-text-muted: #6B6B67;
  --color-text-faint: #B4B4AF;
  --color-text-inverse: #FFFFFF;

  /* Primary = brand green */
  --color-primary: #0F4D35;
  --color-primary-hover: #0A3827;
  --color-primary-highlight: #EBF5EF;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 77, 53, 0.08);
  --shadow-md: 0 4px 16px rgba(15, 77, 53, 0.1);
  --shadow-lg: 0 12px 40px rgba(15, 77, 53, 0.14);
  --shadow-xl: 0 24px 60px rgba(15, 77, 53, 0.18);
  --shadow-phone: 0 32px 80px rgba(0, 0, 0, 0.22), 0 8px 24px rgba(0, 0, 0, 0.12);

  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'Helvetica Neue', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;

  /* Content */
  --content-narrow: 680px;
  --content-default: 1000px;
  --content-wide: 1240px;

  /* Transitions */
  --t-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --t-mid: 250ms cubic-bezier(0.16, 1, 0.3, 1);
  --t-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}





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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
}

img, svg { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { text-wrap: balance; font-family: var(--font-display); line-height: 1.15; }
p, li { text-wrap: pretty; }

::selection { background: rgba(15, 77, 53, 0.2); color: var(--color-text); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }

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

/* ---- LAYOUT ---- */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (min-width: 768px) { .container { padding: 0 var(--space-8); } }
@media (min-width: 1200px) { .container { padding: 0 var(--space-12); } }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--harvest-green);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  letter-spacing: 0.01em;
}
.btn-primary:hover { background: var(--harvest-green-mid); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: transparent;
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.btn-outline:hover { border-color: var(--harvest-green); background: var(--harvest-green-xsubtle); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: color var(--t-fast), background var(--t-fast);
}
.btn-ghost:hover { color: var(--color-text); background: var(--color-surface-2); }

.btn-nav {
  display: inline-flex; align-items: center;
  background: var(--harvest-green);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius-full);
  transition: background var(--t-fast);
  letter-spacing: 0.01em;
}
.btn-nav:hover { background: var(--harvest-green-mid); }

.btn-nav-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  gap: 6px;
}
.btn-nav-ghost:hover { background: var(--surface-raised); }

.nav-mobile-appstore,
.nav-mobile-team {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--text-primary);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--border);
  margin-top: var(--space-2);
}
.nav-mobile-appstore:hover,
.nav-mobile-team:hover { color: var(--harvest-green); }
.nav-mobile-team { color: var(--harvest-green); }

.btn-lg { padding: 0.9rem 2rem; font-size: var(--text-base) !important; }
.btn-full { display: flex; justify-content: center; width: 100%; margin-top: var(--space-6); }

.btn-white {
  display: inline-flex; align-items: center;
  background: #fff;
  color: var(--harvest-green);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

.btn-white-outline {
  display: inline-flex; align-items: center;
  background: transparent;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255,255,255,0.4);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.btn-white-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ---- SECTION LABELS & TITLES ---- */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--harvest-green-light);
  margin-bottom: var(--space-4);
}



.section-title {
  font-size: var(--text-2xl);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 600px;
  margin-bottom: var(--space-12);
  line-height: 1.7;
}

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow var(--t-mid);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  height: 64px;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (min-width: 768px) { .nav-inner { padding: 0 var(--space-8); } }
@media (min-width: 1200px) { .nav-inner { padding: 0 var(--space-12); } }

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: block;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-8);
  margin-left: var(--space-4);
}

@media (min-width: 900px) { .nav-links { display: flex; } }

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--t-fast);
}
.nav-links a:hover { color: var(--color-text); }

.nav-actions {
  display: none;
  align-items: center;
  gap: var(--space-3);
  margin-left: auto;
}

@media (min-width: 900px) {
  .nav-actions { display: flex; }
}

.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  margin-left: auto;
}

@media (min-width: 900px) { .nav-hamburger { display: none; } }

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4) var(--space-6) var(--space-6);
  border-top: 1px solid var(--color-divider);
}

.nav-mobile.open { display: flex; }

@media (min-width: 900px) { .nav-mobile { display: none !important; } }

.nav-mobile a {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-divider);
  transition: color var(--t-fast);
}
.nav-mobile a:hover { color: var(--color-text); }

/* ---- HERO NOTE ---- */
.hero-note {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
  margin-top: var(--space-4);
  max-width: none;
}

.hero-ios-note {
  text-align: center;
  padding: var(--space-4) 0 var(--space-8);
}

.hero-ios-note p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  background: linear-gradient(165deg, #0A3828 0%, #0F4D35 40%, #1A6647 75%, #1D7050 100%);
  overflow: hidden;
  padding-bottom: 0;
}

.hero-bg-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  padding-top: clamp(var(--space-16), 8vw, var(--space-32));
  padding-bottom: clamp(var(--space-12), 6vw, var(--space-24));
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-5);
}

.dot-live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

.hero-headline {
  font-size: var(--text-3xl);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--space-5);
}

.hero-sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.hero-ctas .btn-primary {
  background: #fff;
  color: var(--harvest-green);
}
.hero-ctas .btn-primary:hover { background: #f0faf4; }

.hero-ctas .btn-outline {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.hero-ctas .btn-outline:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.1); }

/* Hero-specific named variants to avoid conflicts */
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: #fff; color: var(--harvest-green);
  font-family: var(--font-display); font-weight: 700;
  border-radius: var(--radius-full);
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  letter-spacing: 0.01em;
}
.btn-hero-primary:hover { background: #f0faf4; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-hero-outline {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: transparent; color: #fff;
  font-family: var(--font-display); font-weight: 600;
  border-radius: var(--radius-full); border: 1.5px solid rgba(255,255,255,0.3);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.btn-hero-outline:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.1); }

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.proof-avatars {
  display: flex;
}

.avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--harvest-green-mid);
  border: 2.5px solid rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff;
  margin-left: -8px;
  font-family: var(--font-display);
}
.avatar:first-child { margin-left: 0; }
.av1 { background: #1A6647; }
.av2 { background: #2D8A5E; }
.av3 { background: #22785A; }

.hero-social-proof p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.65);
  max-width: none;
}

/* Phone stack hero */
.hero-phones {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  height: clamp(400px, 50vw, 600px);
}

.phone-stack {
  position: relative;
  width: 260px;
  height: 100%;
}

.phone {
  position: absolute;
  bottom: 0;
}

.phone-back {
  left: -60px;
  bottom: -20px;
  transform: rotate(-6deg) translateY(20px);
  opacity: 0.75;
  filter: brightness(0.7);
  z-index: 1;
}

.phone-front {
  right: -60px;
  transform: rotate(3deg);
  z-index: 2;
}

.phone-frame {
  width: 240px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-phone);
  border: 8px solid #1A1A1A;
  background: #1A1A1A;
}

.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Stat bar */
.hero-stats {
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-6) 0;
  margin-top: var(--space-8);
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.stat-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.03em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
}

@media (max-width: 600px) { .stat-divider { display: none; } }

/* ---- SHOWCASE ---- */
.showcase {
  padding: clamp(var(--space-12), 6vw, var(--space-24)) 0;
}

.showcase > .container { margin-bottom: var(--space-16); }

.showcase-panels { display: flex; flex-direction: column; gap: 0; }

.showcase-panel {
  padding: clamp(var(--space-12), 6vw, var(--space-20)) 0;
  border-top: 1px solid var(--color-divider);
}

.showcase-panel-alt {
  background: var(--color-surface-2);
}

.showcase-panel-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 768px) {
  .showcase-panel-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
  .showcase-panel-inner.reverse { direction: rtl; }
  .showcase-panel-inner.reverse > * { direction: ltr; }
}

.panel-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--harvest-green-light);
  background: var(--harvest-green-subtle);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}



.panel-text h3 {
  font-size: var(--text-xl);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.panel-text p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  max-width: 480px;
}

.panel-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.panel-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.panel-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--harvest-green-light);
  flex-shrink: 0;
}

.panel-phone {
  display: flex;
  justify-content: center;
}

.phone-frame-lg {
  width: clamp(200px, 35vw, 300px);
  border-radius: 36px;
  box-shadow: var(--shadow-phone);
  border: 8px solid #1A1A1A;
  background: #1A1A1A;
  overflow: hidden;
}

.phone-frame-lg img { width: 100%; height: auto; display: block; }

/* ==============================================
   PROBLEM → FIX (one section, 3 cards)
   ============================================== */




@media (min-width: 768px) {
  
}


.pf-card:hover {
  transform: translateY(-2px);
  border-color: var(--harvest-green-light);
  box-shadow: var(--shadow-sm);
}


/* ==============================================
   AI UPLOAD (friction killer, light surface)
   ============================================== */
.ai-upload {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) 0;
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-divider);
}
.ai-upload-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 768px) {
  .ai-upload-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-16);
  }
}
.ai-upload-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--harvest-gold);
  margin-bottom: var(--space-5);
}
.ai-upload-text h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--space-5);
  color: var(--color-text);
}
.ai-upload-text > p {
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  max-width: 520px;
}
.ai-upload-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.ai-upload-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
}
.ai-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--harvest-green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.ai-upload-pitch {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--harvest-green);
  font-style: italic;
  border-left: 3px solid var(--harvest-gold);
  padding-left: var(--space-4);
  max-width: 520px;
}
.ai-upload-phone { display: flex; justify-content: center; }


/* ---- ROLES ---- */
.roles {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) 0;
  background: var(--color-surface-2);
}

.roles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .roles-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}

.role-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.role-header {
  padding: var(--space-6) var(--space-8);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.role-badge {
  display: inline-flex;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  background: var(--harvest-green);
  color: #fff;
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.agent-badge {
  background: var(--color-surface-offset);
  color: var(--color-text);
}

.role-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: none;
  margin: 0;
}

.role-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--color-surface);
}

.role-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-8);
  border-bottom: 1px solid var(--color-divider);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.role-list li:last-child { border-bottom: none; }

.role-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--harvest-green-light);
  flex-shrink: 0;
}



.roles-note {
  margin-top: var(--space-8);
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  text-align: center;
  max-width: none;
}

/* ---- INTEGRATIONS ---- */
.integrations {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) 0;
  background: var(--color-bg);
}

.integrations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

@media (min-width: 600px) { .integrations-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .integrations-grid { grid-template-columns: repeat(3, 1fr); } }

.integration-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--t-mid), transform var(--t-mid);
}

.integration-item:hover { border-color: var(--harvest-green-light); transform: translateY(-2px); }

.integration-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: var(--harvest-green-subtle);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--harvest-green);
  padding: var(--space-2);
}



.integration-icon svg { width: 20px; height: 20px; }

.integration-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.integration-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.55;
}

.trust-bar {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-8);
  background: var(--harvest-green-xsubtle);
  border: 1px solid var(--harvest-green-subtle);
  border-radius: var(--radius-xl);
}

@media (min-width: 768px) {
  .trust-bar { flex-direction: row; gap: var(--space-8); }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex: 1;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.trust-item svg { flex-shrink: 0; color: var(--harvest-green-light); }


/* ---- CREDIT PACKS ---- */
.credit-packs {
  margin-top: var(--space-16);
  padding-top: var(--space-12);
  border-top: 1px solid var(--color-divider);
}

.credit-packs-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.credit-packs-header h3 {
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}

.credit-packs-header p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto;
}

.packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
  max-width: 640px;
  margin: 0 auto var(--space-6);
}

.pack-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-8);
  text-align: center;
  position: relative;
  transition: border-color var(--t-mid), box-shadow var(--t-mid);
}

.pack-card:hover { border-color: var(--harvest-green-light); box-shadow: var(--shadow-md); }

.pack-card-featured {
  border-color: var(--harvest-green);
  box-shadow: var(--shadow-md);
}

.pack-best {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--harvest-gold);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pack-credits {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
}

.pack-price {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--color-text);
}

/* ---- HOW IT WORKS ---- */
.how-it-works {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) 0;
  background: var(--harvest-green);
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.how-it-works .section-label { color: rgba(255,255,255,0.55); }
.how-it-works .section-title { color: #fff; }
.how-it-works .section-sub { color: rgba(255,255,255,0.65); }

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

@media (min-width: 768px) {
  .steps {
    flex-direction: row;
    align-items: flex-start;
  }
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  transition: background var(--t-mid);
}

.step:hover { background: rgba(255,255,255,0.1); }

.step-num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 900;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
}

.step-content h3 {
  font-size: var(--text-base);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-2);
}

.step-content p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: none;
}

.step-connector {
  display: none;
}

@media (min-width: 768px) {
  .step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: var(--space-6);
    margin-top: var(--space-8);
    color: rgba(255,255,255,0.25);
    font-size: 1.2rem;
  }
  .step-connector::after { content: '→'; }

  .steps { gap: var(--space-3); }
}

/* ---- WHY HARVEST ---- */
.why-harvest {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) 0;
  background: var(--color-bg);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .compare-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}

.compare-col {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.compare-header {
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface-2);
}

.compare-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  letter-spacing: -0.01em;
}

.compare-badge.bad { background: #FEE2E2; color: #B91C1C; }
.compare-badge.good { background: var(--harvest-green-subtle); color: var(--harvest-green); }




.compare-list {
  display: flex;
  flex-direction: column;
  padding: var(--space-4) var(--space-6) var(--space-6);
  background: var(--color-surface);
  gap: 0;
}

.compare-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-divider);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.4;
}

.compare-item:last-child { border-bottom: none; }

.compare-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
}

.compare-item.bad .compare-icon { color: #EF4444; }
.compare-item.good .compare-icon { color: var(--harvest-green-light); }
.compare-item.good { color: var(--color-text); font-weight: 500; }




/* ---- FEATURES ---- */
.features {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) 0;
  background: var(--color-surface-2);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-5);
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: border-color var(--t-mid), box-shadow var(--t-mid), transform var(--t-mid);
}

.feature-card:hover {
  border-color: var(--harvest-green-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-lg);
  background: var(--harvest-green-subtle);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-5);
  padding: var(--space-2);
  color: var(--harvest-green);
}



.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 {
  font-size: var(--text-base);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-3);
}

.feature-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ---- SOCIAL PROOF ---- */
.social-proof {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) 0;
  background: var(--color-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-16);
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.testimonial-card-featured {
  background: var(--harvest-green);
  border-color: var(--harvest-green);
}

.testimonial-stars {
  color: var(--harvest-gold);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
  letter-spacing: 0.05em;
}

.testimonial-card-featured .testimonial-stars { color: #FBBF24; }

.testimonial-card blockquote {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  font-style: italic;
  max-width: none;
}

.testimonial-card-featured blockquote { color: rgba(255,255,255,0.8); }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--harvest-green-subtle);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--harvest-green);
  flex-shrink: 0;
}

.testimonial-card-featured .testimonial-avatar {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.testimonial-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
}

.testimonial-card-featured .testimonial-name { color: #fff; }

.testimonial-title {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.testimonial-card-featured .testimonial-title { color: rgba(255,255,255,0.55); }

.usage-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-12);
}

.usage-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.usage-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--harvest-green);
  letter-spacing: -0.03em;
  line-height: 1;
}



.usage-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==============================================
   PRICING — clean unified 4-card layout
   ============================================== */

.pricing {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) 0;
  background: var(--color-bg);  /* lighter section bg = cards stand out without heavy shadows */
}

.pricing .section-title { margin-bottom: var(--space-3); }
.pricing .section-sub { margin-bottom: var(--space-12); }

/* Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 700px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
}
@media (min-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
}

/* Card — every card gets the same treatment so the row reads as a unit. */
.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 28px 24px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* keeps the featured-card top stripe inside the rounded corner */
  transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
}

@media (min-width: 1100px) {
  .pricing-card { padding: 32px 24px 24px; }
}

.pricing-card:hover {
  border-color: var(--harvest-green-light);
  box-shadow: 0 8px 24px rgba(15, 77, 53, 0.08);
}

/* Featured card — distinguished by a colored top stripe + accent typography
   + filled green CTA. NOT a different background color, so it visually
   belongs with the rest of the row. */
.pricing-card-featured {
  border-color: var(--harvest-green);
  box-shadow: 0 16px 40px rgba(15, 77, 53, 0.14), 0 4px 8px rgba(15, 77, 53, 0.04);
}

.pricing-card-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--harvest-green) 0%, var(--harvest-green-light) 100%);
}

/* Most Popular badge — sits in-card, not floating above. Gold, compact. */
.pricing-popular {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--harvest-gold);
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
  line-height: 1.2;
}

/* Tier name */
.pricing-tier {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}
.pricing-card-featured .pricing-tier { color: var(--harvest-green); }

/* Price */
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 10px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--color-text);
  line-height: 1;
}
@media (min-width: 1100px) {
  .price-amount { font-size: 38px; }
}
.price-period {
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Tagline */
.pricing-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-divider);
  max-width: none;
  min-height: 38px;  /* keeps tagline rows aligned across cards */
}

/* Feature list */
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--color-text);
}
.check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--harvest-green-subtle);
  color: var(--harvest-green);
  font-size: 10px;
  font-weight: 800;
  margin-top: 1px;
}

/* CTA — button locked to the bottom of every card, same width */
.pricing-card .btn-outline,
.pricing-card .btn-primary {
  margin-top: auto;
  border-radius: 10px;
  font-size: 14px;
  padding: 12px 16px;
}

/* Featured card uses filled green CTA for visual hierarchy */
.pricing-card-featured .btn-primary {
  background: var(--harvest-green);
  color: #fff;
  border: 1px solid var(--harvest-green);
}
.pricing-card-featured .btn-primary:hover {
  background: var(--harvest-green-mid);
  border-color: var(--harvest-green-mid);
}

.pricing-note {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-faint);
  margin-top: var(--space-10);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* ---- DEMO CTA ---- */
.demo-cta {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) 0;
  background: linear-gradient(135deg, #0A3828 0%, #0F4D35 50%, #1A6647 100%);
}

.cta-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.cta-logo-mark {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-6);
}

.cta-inner h2 {
  font-size: var(--text-2xl);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-5);
}

.cta-inner p {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.cta-fine {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  margin-bottom: 0;
}

/* ---- FAQ ---- */
.faq {
  padding: clamp(var(--space-16), 8vw, var(--space-32)) 0;
  background: var(--color-bg);
}

.faq-list {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child { border-bottom: none; }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-6) var(--space-8);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  text-align: left;
  background: var(--color-surface);
  gap: var(--space-4);
  transition: background var(--t-fast);
}

.faq-q:hover { background: var(--color-surface-2); }
.faq-q[aria-expanded='true'] { background: var(--harvest-green-xsubtle); }


.faq-arrow {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform var(--t-mid);
}

.faq-q[aria-expanded='true'] .faq-arrow { transform: rotate(180deg); }

.faq-a {
  display: none;
  padding: 0 var(--space-8) var(--space-6);
  background: var(--color-surface);
}

.faq-q[aria-expanded='true'] + .faq-a {
  display: block;
  background: var(--harvest-green-xsubtle);
}



.faq-a p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: none;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--color-text);
  padding: clamp(var(--space-12), 6vw, var(--space-20)) 0 var(--space-8);
}



.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-10);
  justify-content: space-between;
  margin-bottom: var(--space-12);
}

.footer .nav-logo-text { color: #fff; }

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
  margin-top: var(--space-3);
  max-width: none;
}

.footer-links {
  display: flex;
  gap: var(--space-12);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-2);
}

.footer-col a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  transition: color var(--t-fast);
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
  max-width: none;
}

.footer-legal {
  display: flex;
  gap: var(--space-5);
}

.footer-legal a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
  transition: color var(--t-fast);
}

.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ---- ANIMATIONS ---- */
/* Animations — desktop only. Mobile gets no transform so nothing pops awkwardly. */
@media (min-width: 768px) {
  .fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .fade-up-delay {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s 0.1s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s 0.1s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .fade-left {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .fade-right {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .in-view {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===== VALUE STRIP ===== */
.value-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-10) 0;
}



.value-strip-line {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto var(--space-8);
  text-align: center;
  line-height: 1.65;
}

.value-pillars {
  display: flex;
  align-items: flex-start;
  gap: var(--space-6);
  flex-wrap: wrap;
  justify-content: center;
}

.value-pillar {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  flex: 1;
  min-width: 200px;
  max-width: 260px;
}

.value-pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(15, 77, 53, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand);
}



.value-pillar > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.value-pillar strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.value-pillar span {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.value-pillar-sep {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
  align-self: center;
}

@media (max-width: 768px) {
  .value-pillars {
    flex-direction: column;
    align-items: stretch;
  }
  .value-pillar {
    max-width: 100%;
  }
  .value-pillar-sep {
    display: none;
  }
}

/* ===== COMPACT HOW IT WORKS ===== */
.how-it-works {
  background: var(--brand-dark, #0a3828);
  padding: var(--space-16) 0;
}



.how-it-works .section-label {
  color: rgba(255,255,255,0.45);
}

.how-it-works .section-title {
  color: #fff;
  margin-bottom: var(--space-10);
}

.steps-compact {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.step-compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  flex: 1;
  min-width: 140px;
  max-width: 190px;
  padding: 0 var(--space-2);
}

.step-compact-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
  margin-bottom: var(--space-1);
}

.step-compact-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-compact-body strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: #fff;
}

.step-compact-body span {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}

.step-compact-arrow {
  color: rgba(255,255,255,0.2);
  align-self: flex-start;
  margin-top: 28px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .steps-compact {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-5);
    max-width: 400px;
    margin: 0 auto;
  }
  .step-compact {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    max-width: 100%;
    min-width: 0;
    gap: var(--space-4);
    padding: 0;
  }
  .step-compact-num {
    margin-bottom: 0;
    padding-top: 2px;
    min-width: 28px;
  }
  .step-compact-arrow {
    display: none;
  }
}

/* App Store button */
.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

/* ══════════════════════════════════════════
   INTERACTIVE WALKTHROUGH
══════════════════════════════════════════ */
.walkthrough {
  padding: var(--space-20) 0 var(--space-16);
  background: #f8f7f4;
  overflow: hidden;
}

.walkthrough .section-title {
  margin-bottom: var(--space-12);
}

.wt-stage {
  display: grid;
  grid-template-columns: 1fr 420px 1fr;
  gap: 0;
  /* align-items: start so the phone doesn't re-center every time the
     active step swaps and the steps column changes height by a few px.
     That re-center is the "jolt" you feel when sitting on the section. */
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ── Steps ── */
.wt-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-right: var(--space-8);
}

.wt-step {
  display: grid;
  grid-template-columns: 4px 36px 1fr;
  gap: 0 var(--space-3);
  align-items: start;
  background: none;
  border: none;
  text-align: left;
  padding: var(--space-3) var(--space-4);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}

.wt-step:hover { background: rgba(15,77,53,0.05); }
.wt-step.active { background: rgba(15,77,53,0.07); }

.wt-step-progress {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--color-border, #e2e0da);
  border-radius: 4px 0 0 4px;
  overflow: hidden;
}
.wt-step-progress span {
  display: block;
  width: 100%;
  height: 0%;
  background: var(--color-primary, #0F4D35);
  border-radius: 4px 0 0 4px;
  transition: height 0.05s linear;
}
.wt-step.active .wt-step-progress { background: rgba(15,77,53,0.15); }

.wt-step-num {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary, #0F4D35);
  opacity: 0.5;
  padding-top: 2px;
  line-height: 1;
  grid-column: 2;
}
.wt-step.active .wt-step-num { opacity: 1; }

.wt-step-body {
  grid-column: 3;
}
.wt-step-body strong {
  display: block;
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text, #1a1a18);
  margin-bottom: 4px;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.wt-step.active .wt-step-body strong { opacity: 1; }

.wt-step-body p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-muted, #6b6b66);
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease;
}
.wt-step.active .wt-step-body p {
  /* Use a large enough max-height to never clip any step body.
     100px comfortably covers 4 lines of body copy at the steps
     column width. The smooth transition handles the expand. */
  max-height: 100px;
  opacity: 1;
}

/* ── Phone ── */
.wt-phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  /* prevent horizontal swipe gestures from scrolling the page on iOS */
  touch-action: pan-y;
}

/* Arrow buttons (visible on mobile only by default) */
.wt-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.95);
  color: var(--harvest-green);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.wt-arrow:active {
  transform: translateY(-50%) scale(0.92);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.wt-arrow svg { width: 20px; height: 20px; }
.wt-arrow-prev { left: 8px; }
.wt-arrow-next { right: 8px; }

.wt-phone {
  position: relative;
  z-index: 2;
}

.wt-phone-frame {
  width: 260px;
  height: 520px;
  background: #1a1a1a;
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 40px 80px rgba(0,0,0,0.25),
    0 10px 30px rgba(0,0,0,0.15);
  position: relative;
}

/* Notch */
.wt-phone-frame::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #1a1a1a;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

.wt-screen-wrap {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #000;
  position: relative;
}

.wt-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.wt-screen.active { opacity: 1; }

/* ── Mobile step caption (hidden on desktop) ── */
.wt-mobile-caption {
  display: none;
  text-align: center;
  max-width: 380px;
  margin: var(--space-6) auto 0;
  padding: 0 var(--space-5);
  /* Lock min-height so when the title/desc swap with shorter or longer
     copy, the page below it doesn't shift. */
  min-height: 110px;
}
.wt-mobile-step {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--harvest-gold);
  margin-bottom: var(--space-2);
}
.wt-mobile-caption h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  transition: opacity 0.18s ease;
}
.wt-mobile-caption p {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  transition: opacity 0.18s ease;
}

/* ── Dots (mobile) ── */
.wt-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-6);
}
.wt-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0cec8;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.wt-dot.active {
  background: #0F4D35;
  transform: scale(1.3);
}

/* ══════════════════════════════════════════
   FEATURE GRID
══════════════════════════════════════════ */
.feature-grid-section {
  padding: var(--space-20) 0;
  background: white;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.fg-card {
  border-radius: 20px;
  overflow: hidden;
  background: #f8f7f4;
  border: 1px solid #ece9e3;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.fg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.09);
}

.fg-screen {
  width: 100%;
  aspect-ratio: 9/14;
  overflow: hidden;
  background: #1a1a1a;
}
.fg-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.fg-body {
  padding: var(--space-5) var(--space-5) var(--space-6);
}
.fg-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0F4D35;
  margin-bottom: var(--space-2);
}
.fg-body h3 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #1a1a18;
  margin: 0 0 var(--space-3);
  line-height: 1.25;
}
.fg-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fg-body ul li {
  font-size: 13px;
  color: #6b6b66;
  padding-left: 14px;
  position: relative;
  line-height: 1.45;
}
.fg-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0F4D35;
  opacity: 0.5;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .wt-stage {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding: 0 var(--space-5);
  }

  .wt-steps {
    display: none;
  }

  .wt-dots { display: flex; }

  .wt-phone-wrap {
    order: -1;
  }

  /* Mobile: show step caption below phone */
  .wt-mobile-caption { display: block; }

  /* Mobile: show arrows */
  .wt-arrow { display: inline-flex; }
}

@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr 1fr; gap: var(--space-4); }
  .fg-body { padding: var(--space-4); }
  .fg-body h3 { font-size: 15px; }

  .wt-phone-frame { width: 220px; height: 440px; }
}

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



/* ============================================================
   HARVEST REDESIGN — NEW SECTION STYLES
   ============================================================ */

/* ── Hero trust line ── */
.hero-trust {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  margin-top: var(--space-4);
  letter-spacing: 0.02em;
}

/* ── Problem section ── */
.problem {
  background: var(--color-bg);
  padding: var(--space-20) 0;
  border-bottom: 1px solid var(--color-border);
}
.problem-header {
  text-align: center;
  margin-bottom: var(--space-12);
}
.problem-header .section-title {
  max-width: 640px;
  margin: 0 auto;
}
.problem-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 780px;
  margin: 0 auto;
}
.problem-item {
  display: grid;
  grid-template-columns: 1fr 28px 1fr;
  align-items: center;
  gap: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  transition: box-shadow 0.2s ease;
}
.problem-item:hover {
  box-shadow: var(--shadow-md);
}
.problem-pain {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
  position: relative;
  padding-left: var(--space-5);
}
.problem-pain::before {
  content: '×';
  position: absolute;
  left: 0;
  color: #C0392B;
  font-weight: 700;
  font-size: 1rem;
}
.problem-arrow {
  font-size: 1.1rem;
  color: var(--harvest-green);
  text-align: center;
  font-weight: 600;
}
.problem-fix {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
@media (max-width: 600px) {
  .problem-item {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
  .problem-arrow { display: none; }
  .problem-fix {
    padding-left: var(--space-5);
    position: relative;
    color: var(--harvest-green);
  }
  .problem-fix::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--harvest-green);
  }
}

/* ── Feature Panel (Contact Intel / Value Card / Team Visibility) ── */
.feature-panel {
  padding: var(--space-24) 0;
  background: var(--color-surface);
}
.feature-panel.feature-panel-alt {
  background: #F8F7F4;
}
.feature-panel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.feature-panel-inner.reverse {
  direction: rtl;
}
.feature-panel-inner.reverse > * {
  direction: ltr;
}
.feature-panel-text .section-label {
  margin-bottom: var(--space-3);
}
.feature-panel-text h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: var(--space-5);
}
.feature-panel-text p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
}
.feature-list li svg {
  flex-shrink: 0;
  color: var(--harvest-green);
  stroke-width: 2.5;
}
.feature-panel-phone {
  display: flex;
  justify-content: center;
}
@media (max-width: 860px) {
  .feature-panel-inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .feature-panel-inner.reverse {
    direction: ltr;
  }
  .feature-panel-phone {
    order: -1;
  }
}

/* ── Walkthrough subheadline ── */
.wt-subhead {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 640px;
  line-height: 1.7;
  margin-top: calc(var(--space-2) * -1);
  margin-bottom: var(--space-10);
}

/* ── Walkthrough feature pills ── */
.wt-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-top: var(--space-10);
  padding-bottom: var(--space-4);
}
.wt-pill {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--harvest-green);
  background: var(--harvest-green-subtle);
  border: 1px solid rgba(15, 77, 53, 0.15);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ── Walkthrough stage labels ── */
.wt-stage-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--harvest-green);
  opacity: 0.55;
  padding: 10px 0 4px 48px;
  pointer-events: none;
  user-select: none;
}
.wt-stage-label:first-child { padding-top: 0; }

/* ── Feature Disclaimer (value card caveat) ── */
.feature-disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-style: italic;
  line-height: 1.5;
  margin-top: calc(var(--space-3) * -1);
  margin-bottom: var(--space-6);
}

/* ── Hero phone stack — iOS Safari load fix ── */
/* The fade-up-delay animation on the hero phones causes a jarring pop-in
   on mobile Safari when the user scrolls to that area. We disable the
   animation entirely on mobile — phones are visible immediately. */
@media (max-width: 767px) {
  .hero-phones {
    opacity: 1 !important;
    transform: none !important;
  }
  .phone-back,
  .phone-front {
    opacity: 1 !important;
    transform: none !important;
  }
}
.phone-back,
.phone-front {
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* ── Mobile spacing improvements ── */
@media (max-width: 600px) {
  .feature-panel {
    padding: var(--space-16) 0;
  }
  .feature-panel-inner {
    gap: var(--space-8);
  }
  .problem {
    padding: var(--space-16) 0;
  }
  .pricing {
    padding: var(--space-16) 0;
  }
  .pricing-grid {
    gap: var(--space-4);
  }
  .pricing-card {
    padding: 24px 20px 20px;
  }
  .walkthrough {
    padding: var(--space-16) 0 var(--space-12);
  }
  .demo-cta {
    padding: var(--space-16) 0;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .cta-buttons .btn-white,
  .cta-buttons .btn-white-outline {
    width: 100%;
    justify-content: center;
  }
}

/* ── Desktop: equal-height pricing cards ── */
@media (min-width: 1100px) {
  .pricing-grid {
    align-items: stretch;
  }
  .pricing-card {
    display: flex;
    flex-direction: column;
  }
  .pricing-features {
    flex: 1;
  }
}

