/* ==============================================
   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 22px 54px rgba(0, 0, 0, 0.18), 0 6px 18px rgba(0, 0, 0, 0.1);

  /* 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 {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scroll-behavior: auto;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: auto;
  scrollbar-gutter: stable;
}

body {
  height: auto !important;
  min-height: 100% !important;
  overflow: visible !important;
  position: static !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: auto;
  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: 3px solid var(--harvest-gold);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.skip-link {
  position: fixed;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 9999;
  transform: translateY(-160%);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-5);
  border-radius: var(--radius-full);
  background: var(--color-text);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-fast);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid var(--harvest-gold);
  outline-offset: 3px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@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);
  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-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: var(--space-5);
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.86);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.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-4);
}

.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);
}

/* ---- EARLY ACCESS ---- */
.early-access {
  padding: clamp(var(--space-16), 8vw, var(--space-24)) 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
}

.early-access-inner {
  display: grid;
  gap: var(--space-10);
  align-items: start;
}

@media (min-width: 900px) {
  .early-access-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
    gap: var(--space-16);
  }
}

.early-access-copy .section-title,
.early-access-copy .section-sub {
  text-align: left;
  margin-left: 0;
}

.launch-list {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-8) 0;
}

.launch-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.launch-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--harvest-green);
  flex: 0 0 auto;
}

.launch-note {
  display: inline-flex;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--harvest-gold);
  border-radius: var(--radius-lg);
  background: var(--harvest-gold-subtle);
  color: #7a5a09;
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1.45;
}

.launch-form {
  display: grid;
  gap: var(--space-5);
  padding: clamp(var(--space-6), 4vw, var(--space-8));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  background: var(--color-bg);
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}

.form-row {
  display: grid;
  gap: var(--space-2);
}

.form-row label {
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-row label span {
  color: var(--color-text-muted);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.form-row input,
.form-row textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--color-text);
  font: inherit;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--harvest-green);
  box-shadow: 0 0 0 4px rgba(15, 77, 53, 0.1);
}

.form-row input[aria-invalid='true'],
.form-row textarea[aria-invalid='true'] {
  border-color: #B91C1C;
  box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.1);
}

.form-error,
.form-status {
  font-size: var(--text-xs);
  font-weight: 800;
  line-height: 1.45;
}

.form-error { color: #B91C1C; }

.form-status { color: var(--color-text-muted); }

.form-success {
  border: 1px solid rgba(15, 77, 53, 0.16);
  border-radius: var(--radius-lg);
  background: var(--harvest-green-subtle);
  color: var(--harvest-green);
  font-weight: 700;
  padding: var(--space-4);
  line-height: 1.5;
}

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

/* ---- 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, minmax(0, 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.68);
  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.7);
  margin-bottom: var(--space-2);
}

.footer-col a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.74);
  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.62);
  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.68);
  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 {
  max-height: 180px;
  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: #8A6508;
  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.78);
  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;
}

/* ---- Local render guardrails ----
   Keep app screenshots inside their phone mockups. Some older overlapping
   rules in this file can otherwise let the native 1080px screenshots define
   layout height when the site is opened locally. */
.hero .phone-frame,
.feature-panel .phone-frame,
.showcase .phone-frame,
.phone-frame-lg {
  width: min(300px, 78vw) !important;
  max-width: 300px !important;
  overflow: hidden !important;
  border: 8px solid #1A1A1A;
  border-radius: 36px;
  background: #1A1A1A;
}

.hero .phone-frame img,
.feature-panel .phone-frame img,
.showcase .phone-frame img,
.phone-frame-lg img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

.hero-phones {
  height: clamp(420px, 50vw, 620px) !important;
}

.phone-stack {
  width: min(430px, 88vw) !important;
  max-width: 430px !important;
}

.phone-back,
.phone-front {
  width: min(250px, 56vw) !important;
}

.wt-phone-wrap {
  width: min(100%, 340px) !important;
  margin-inline: auto !important;
  touch-action: auto !important;
}

.hero-phones,
.phone-stack,
.phone,
.phone-frame,
.feature-panel-phone,
.wt-phone,
.wt-phone-frame,
.wt-screen-wrap,
.wt-screen {
  touch-action: auto !important;
}

.phone-frame,
.phone-frame-lg,
.wt-phone-frame {
  transform: translateZ(0);
  backface-visibility: hidden;
}

.wt-phone,
.wt-phone-frame {
  width: 260px !important;
  max-width: 72vw !important;
}

.wt-phone-frame {
  height: 520px !important;
  max-height: calc(72vw * 2) !important;
  overflow: hidden !important;
}

.wt-screen-wrap {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

.wt-screen {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: top center !important;
}

.feature-panel-phone {
  min-width: 0 !important;
}

/* ── 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;
  }
}

/* ---- Final native-scroll guardrails ---- */
html,
body {
  height: auto !important;
  min-height: 100% !important;
}

html {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: auto !important;
  scroll-behavior: auto !important;
}

body {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  position: static !important;
  touch-action: auto !important;
  overscroll-behavior: auto !important;
}

main,
.hero,
.problem,
.walkthrough,
.wt-stage,
.feature-panel,
.pricing,
.demo-cta,
.faq,
.footer {
  overflow: visible !important;
}

.hero .phone-frame,
.feature-panel .phone-frame,
.showcase .phone-frame,
.phone-frame.phone-frame-lg,
.wt-phone-frame {
  overflow: visible !important;
}

.phone-frame,
.phone-frame-lg,
.wt-phone-frame,
.wt-screen-wrap {
  overflow: hidden !important;
}

.phone,
.phone-frame,
.phone-frame-lg,
.feature-panel-phone,
.wt-phone,
.wt-phone-frame,
.wt-screen-wrap {
  pointer-events: none !important;
}

.wt-arrow {
  pointer-events: auto !important;
}

.hero-phones,
.phone-stack,
.phone,
.phone-frame,
.feature-panel-phone,
.wt-phone-wrap,
.wt-phone,
.wt-phone-frame,
.wt-screen-wrap,
.wt-screen {
  touch-action: auto !important;
}

.phone-frame img,
.phone-frame-lg img,
.wt-screen,
.wt-screen-wrap img,
.hero-phones img,
.feature-panel-phone img {
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
}

@media (max-width: 600px) {
  .hero-phones {
    width: 100% !important;
    max-width: 100% !important;
    height: 430px !important;
    overflow: visible !important;
  }

  .phone-stack {
    width: min(100%, 330px) !important;
    max-width: 330px !important;
    height: 430px !important;
    margin-inline: auto !important;
  }

  .phone-back {
    left: 0 !important;
    right: auto !important;
    bottom: 0 !important;
  }

  .phone-front {
    right: 0 !important;
    left: auto !important;
    bottom: 0 !important;
  }

  .hero .phone-frame {
    width: min(228px, 58vw) !important;
    max-width: 228px !important;
  }
}

/* ---- Realistic iPhone shell rebuild ----
   Screenshots already include the Dynamic Island/status bar, so the site
   shell only supplies the outer device body and glass edge. */
.phone-frame,
.phone-frame-lg,
.wt-phone-frame {
  --device-shell: #070809;
  --device-edge: #24272b;
  --device-highlight: rgba(255, 255, 255, 0.34);
  --device-shadow: rgba(4, 8, 12, 0.34);
  box-sizing: border-box !important;
  position: relative !important;
  isolation: isolate !important;
  aspect-ratio: 1206 / 2622 !important;
  height: auto !important;
  padding: 7px !important;
  border: 0 !important;
  border-radius: 46px !important;
  overflow: visible !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.24), rgba(255,255,255,0) 18%, rgba(255,255,255,0.08) 82%, rgba(255,255,255,0.22)),
    linear-gradient(145deg, #111317 0%, var(--device-shell) 48%, #1c2025 100%) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.12),
    inset 0 0 0 2px rgba(0,0,0,0.64),
    0 1px 1px rgba(255,255,255,0.2),
    0 18px 48px rgba(3, 10, 18, 0.28),
    0 46px 90px var(--device-shadow) !important;
}

.phone-frame::before,
.phone-frame-lg::before,
.wt-phone-frame::before {
  content: '' !important;
  position: absolute !important;
  inset: 4px !important;
  z-index: -1 !important;
  border-radius: 42px !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.02) 22%, rgba(0,0,0,0.22) 100%) !important;
  pointer-events: none !important;
  transform: none !important;
  width: auto !important;
  height: auto !important;
  left: 4px !important;
  top: 4px !important;
}

.phone-frame::after,
.phone-frame-lg::after,
.wt-phone-frame::after {
  content: '' !important;
  position: absolute !important;
  left: -3px !important;
  top: 23% !important;
  width: 3px !important;
  height: 22% !important;
  border-radius: 999px 0 0 999px !important;
  background: linear-gradient(180deg, #30343a, #070809 52%, #2a2f35) !important;
  box-shadow:
    calc(var(--device-button-width, 100%) + 6px) 34px 0 -1px #11151a,
    calc(var(--device-button-width, 100%) + 6px) 104px 0 -1px #11151a !important;
  opacity: 0.95 !important;
  pointer-events: none !important;
}

.hero .phone-frame,
.feature-panel .phone-frame,
.showcase .phone-frame,
.phone-frame-lg {
  width: min(304px, 78vw) !important;
  max-width: 304px !important;
}

.hero .phone-frame {
  width: min(252px, 58vw) !important;
  max-width: 252px !important;
}

.phone-frame img,
.phone-frame-lg img,
.wt-screen-wrap {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 39px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.18),
    inset 0 0 0 2px rgba(0,0,0,0.08) !important;
}

.phone-frame img,
.phone-frame-lg img {
  object-fit: cover !important;
  object-position: top center !important;
}

.wt-phone-wrap {
  width: min(100%, 344px) !important;
}

.wt-phone {
  width: min(292px, 76vw) !important;
  max-width: 292px !important;
}

.wt-phone-frame {
  width: min(292px, 76vw) !important;
  max-width: 292px !important;
  max-height: none !important;
}

.wt-screen {
  border-radius: 39px !important;
}

.phone-back .phone-frame {
  --device-shadow: rgba(2, 8, 12, 0.2);
}

.phone-front .phone-frame {
  --device-shadow: rgba(2, 8, 12, 0.38);
}

.hero-phones {
  width: 100% !important;
  max-width: 520px !important;
  margin-inline: auto !important;
  overflow: visible !important;
}

.phone-stack {
  width: min(430px, 100%) !important;
  max-width: 430px !important;
}

.phone-back {
  left: 0 !important;
  bottom: -18px !important;
  transform: rotate(-7deg) translate(-8px, 20px) !important;
}

.phone-front {
  right: 0 !important;
  bottom: 0 !important;
  transform: rotate(4deg) translate(0, 0) !important;
}

@media (max-width: 600px) {
  .hero-phones {
    height: 460px !important;
  }

  .phone-stack {
    width: min(100%, 346px) !important;
    max-width: 346px !important;
    height: 460px !important;
  }

  .phone-back {
    left: 0 !important;
    transform: rotate(-3deg) translate(-4px, 18px) !important;
  }

  .phone-front {
    right: 0 !important;
    transform: rotate(2.5deg) !important;
  }

  .hero .phone-frame {
    width: min(236px, 58vw) !important;
    max-width: 236px !important;
    border-radius: 42px !important;
    padding: 6px !important;
  }

  .hero .phone-frame img,
  .wt-screen-wrap,
  .wt-screen {
    border-radius: 35px !important;
  }

  .wt-phone,
  .wt-phone-frame {
    width: min(286px, 76vw) !important;
    max-width: 286px !important;
  }
}

/* ---- Copy/layout tightening pass ---- */
.section-hidden {
  display: none !important;
}

/* ---- Phone crop normalization v2 ----
   All current app screenshots are full-height iPhone 17 Pro captures
   (1206x2622 or equivalent). Keep every mockup on that exact ratio, clip the
   glass layer, and keep the outer shell from growing too tall in content rows. */
.phone-frame,
.phone-frame-lg,
.wt-phone-frame {
  --phone-ratio: 1206 / 2622;
  box-sizing: border-box !important;
  aspect-ratio: var(--phone-ratio) !important;
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

.hero .phone-frame {
  width: clamp(196px, 24vw, 230px) !important;
  max-width: 230px !important;
  padding: 6px !important;
  border-radius: 42px !important;
}

.phone-frame-lg,
.phone-frame.phone-frame-lg,
.feature-panel .phone-frame,
.showcase .phone-frame {
  width: clamp(218px, 26vw, 270px) !important;
  max-width: 270px !important;
  padding: 7px !important;
  border-radius: 44px !important;
}

.wt-phone,
.wt-phone-frame {
  width: clamp(238px, 30vw, 276px) !important;
  max-width: 276px !important;
}

.phone-frame > img,
.phone-frame-lg > img,
.wt-screen-wrap {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  aspect-ratio: var(--phone-ratio) !important;
  border-radius: 36px !important;
  overflow: hidden !important;
  object-fit: cover !important;
  object-position: top center !important;
  background: #fff !important;
}

.phone-frame > img,
.phone-frame-lg > img {
  border-radius: 36px !important;
}

.wt-screen-wrap {
  border-radius: 36px !important;
}

.wt-screen {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  border-radius: 36px !important;
  object-fit: cover !important;
  object-position: top center !important;
  overflow: hidden !important;
}

.feature-panel-phone {
  align-self: center !important;
  display: flex !important;
  justify-content: center !important;
  min-width: 0 !important;
  overflow: visible !important;
}

.hero-phones {
  height: clamp(390px, 43vw, 540px) !important;
}

.phone-stack {
  height: 100% !important;
}

@media (max-width: 760px) {
  .hero-phones {
    height: 420px !important;
  }

  .phone-stack {
    width: min(100%, 324px) !important;
    max-width: 324px !important;
    height: 420px !important;
  }

  .hero .phone-frame {
    width: clamp(176px, 52vw, 220px) !important;
    max-width: 220px !important;
    border-radius: 40px !important;
  }

  .phone-frame-lg,
  .phone-frame.phone-frame-lg,
  .feature-panel .phone-frame,
  .showcase .phone-frame {
    width: clamp(218px, 66vw, 258px) !important;
    max-width: 258px !important;
  }

  .wt-phone,
  .wt-phone-frame {
    width: clamp(232px, 72vw, 270px) !important;
    max-width: 270px !important;
  }
}

.problem {
  padding: clamp(var(--space-12), 6vw, var(--space-20)) 0 !important;
}

.problem-header {
  max-width: 880px !important;
  margin-inline: auto !important;
  text-align: center !important;
}

.problem-header .section-title {
  max-width: 820px !important;
  margin-inline: auto !important;
}

.feature-disclaimer {
  display: block !important;
  margin: var(--space-6) 0 var(--space-5) !important;
  padding: 14px 16px !important;
  border: 1px solid rgba(15, 77, 53, 0.12) !important;
  border-radius: 12px !important;
  background: rgba(15, 77, 53, 0.045) !important;
  color: var(--color-text-muted) !important;
}

@media (max-width: 1120px) {
  .nav-links,
  .nav-actions {
    display: none !important;
  }

  .nav-hamburger {
    display: flex !important;
  }

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

@media (min-width: 1121px) {
  .nav-links,
  .nav-actions {
    display: flex !important;
  }

  .nav-hamburger {
    display: none !important;
  }

  .nav-mobile {
    display: none !important;
  }
}

@media (min-width: 901px) and (max-width: 1120px) {
  .wt-stage {
    grid-template-columns: minmax(260px, 0.9fr) minmax(290px, 0.8fr) !important;
    gap: var(--space-8) !important;
    max-width: 980px !important;
  }

  .wt-step {
    padding: var(--space-3) !important;
  }

  .wt-step-body strong {
    font-size: 14px !important;
  }

  .wt-step-body p {
    font-size: 12.5px !important;
    line-height: 1.5 !important;
  }
}

/* ---- Final phone containment override ---- */
.phone-frame,
.phone-frame.phone-frame-lg,
.wt-phone-frame {
  aspect-ratio: 1206 / 2622 !important;
  height: auto !important;
  min-height: 0 !important;
}

.phone-frame.phone-frame-lg {
  width: clamp(218px, 26vw, 270px) !important;
  max-width: 270px !important;
  padding: 7px !important;
}

.phone-frame > img,
.phone-frame.phone-frame-lg > img,
.wt-screen-wrap,
.wt-screen {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: top center !important;
  overflow: hidden !important;
}

@media (max-width: 760px) {
  .phone-frame.phone-frame-lg {
    width: clamp(218px, 66vw, 258px) !important;
    max-width: 258px !important;
  }
}

/* ---- Production phone polish override ----
   Keep screenshots and shells deterministic across Cloudflare/browser caches.
   The screenshots already include the Dynamic Island, so the website shell is
   only a slim outer body. */
.phone-frame,
.phone-frame.phone-frame-lg,
.wt-phone-frame {
  --phone-ratio: 1206 / 2622;
  aspect-ratio: var(--phone-ratio) !important;
  height: auto !important;
  min-height: 0 !important;
  border: 0 !important;
  overflow: visible !important;
}

.phone-frame::before,
.phone-frame.phone-frame-lg::before,
.wt-phone-frame::before {
  inset: 4px !important;
  top: 4px !important;
  left: 4px !important;
  width: auto !important;
  height: auto !important;
  transform: none !important;
  z-index: -1 !important;
  border-radius: inherit !important;
}

.phone-frame > img,
.phone-frame.phone-frame-lg > img,
.wt-screen-wrap {
  aspect-ratio: var(--phone-ratio) !important;
  height: 100% !important;
  width: 100% !important;
  border-radius: 34px !important;
  overflow: hidden !important;
  object-fit: cover !important;
  object-position: top center !important;
}

.wt-screen {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 34px !important;
  object-fit: cover !important;
  object-position: top center !important;
}

.hero-phones {
  height: clamp(330px, 35vw, 470px) !important;
  max-height: 470px !important;
  overflow: visible !important;
}

.phone-stack {
  width: min(400px, 100%) !important;
  height: 100% !important;
  max-width: 400px !important;
  margin-inline: auto !important;
}

.hero .phone-frame {
  padding: 6px !important;
  border-radius: 38px !important;
}

.hero .phone-frame > img {
  border-radius: 32px !important;
}

.phone-back {
  left: 20px !important;
  bottom: 22px !important;
  transform: rotate(-5deg) translate(-4px, 0) !important;
  opacity: 0.66 !important;
  filter: brightness(0.76) !important;
}

.phone-back .phone-frame {
  width: clamp(168px, 16vw, 200px) !important;
  max-width: 200px !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.1),
    inset 0 0 0 2px rgba(0,0,0,0.56),
    0 12px 28px rgba(3, 10, 18, 0.16) !important;
}

.phone-front {
  right: 8px !important;
  bottom: 0 !important;
  transform: rotate(3deg) translate(10px, 0) !important;
}

.phone-front .phone-frame {
  width: clamp(206px, 21vw, 242px) !important;
  max-width: 242px !important;
}

.wt-phone,
.wt-phone-frame {
  width: clamp(236px, 28vw, 276px) !important;
  max-width: 276px !important;
}

@media (max-width: 760px) {
  .hero-phones {
    height: 390px !important;
    max-height: 390px !important;
  }

  .phone-stack {
    width: min(318px, 100%) !important;
    max-width: 318px !important;
  }

  .phone-back {
    left: 8px !important;
    bottom: 26px !important;
    transform: rotate(-4deg) translate(-4px, 0) !important;
  }

  .phone-back .phone-frame {
    width: clamp(154px, 43vw, 184px) !important;
    max-width: 184px !important;
  }

  .phone-front {
    right: 4px !important;
    bottom: 0 !important;
    transform: rotate(2.5deg) translate(8px, 0) !important;
  }

  .phone-front .phone-frame {
    width: clamp(186px, 54vw, 224px) !important;
    max-width: 224px !important;
  }

  .wt-phone,
  .wt-phone-frame {
    width: clamp(228px, 72vw, 264px) !important;
    max-width: 264px !important;
  }
}

/* ---- Cloudflare phone shell fix ----
   The screenshot layer keeps the native simulator ratio. The outer shell grows
   around that layer, giving the phone a real bottom body and avoiding cover-crop
   differences between local and deployed browsers. */
.phone-frame,
.phone-frame.phone-frame-lg,
.wt-phone-frame {
  --phone-ratio: 1206 / 2622;
  --shell-pad-x: 7px;
  --shell-pad-top: 7px;
  --shell-pad-bottom: 13px;
  box-sizing: border-box !important;
  contain: none !important;
  aspect-ratio: auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: var(--shell-pad-top) var(--shell-pad-x) var(--shell-pad-bottom) !important;
  overflow: visible !important;
}

.phone-frame > img,
.phone-frame.phone-frame-lg > img,
.wt-screen-wrap {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: var(--phone-ratio) !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center top !important;
  overflow: hidden !important;
}

.phone-frame > img,
.phone-frame.phone-frame-lg > img {
  position: relative !important;
}

.wt-screen-wrap {
  position: relative !important;
  z-index: 1 !important;
  border-radius: 34px !important;
  background: #fff !important;
}

.wt-screen {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: 34px !important;
  object-fit: contain !important;
  object-position: center top !important;
}

.wt-phone-frame {
  --shell-pad-x: 8px;
  --shell-pad-top: 8px;
  --shell-pad-bottom: 18px;
}

.hero .phone-frame {
  --shell-pad-x: 6px;
  --shell-pad-top: 6px;
  --shell-pad-bottom: 10px;
}

.hero .phone-frame > img {
  border-radius: 32px !important;
}

.phone-frame.phone-frame-lg {
  --shell-pad-x: 7px;
  --shell-pad-top: 7px;
  --shell-pad-bottom: 14px;
}

@media (max-width: 760px) {
  .wt-phone-frame {
    --shell-pad-x: 7px;
    --shell-pad-top: 7px;
    --shell-pad-bottom: 16px;
  }

  .hero .phone-frame {
    --shell-pad-x: 6px;
    --shell-pad-top: 6px;
    --shell-pad-bottom: 10px;
  }
}

/* ---- iPhone hero spacing fix ----
   The hero phones are taller than their mobile container, so they can rise into
   the trust line on real iPhone screenshots. Give the copy and phone stack
   separate vertical space on narrow viewports. */
@media (max-width: 760px) {
  .hero-inner {
    gap: 0 !important;
    padding-top: clamp(104px, 18vh, 132px) !important;
    padding-bottom: 0 !important;
  }

  .hero-text {
    position: relative !important;
    z-index: 3 !important;
  }

  .hero-headline {
    margin-bottom: 26px !important;
  }

  .hero-sub {
    margin-bottom: 34px !important;
  }

  .hero-ctas {
    gap: 18px !important;
    margin-bottom: 38px !important;
  }

  .hero-trust {
    display: block !important;
    max-width: 330px !important;
    margin: 0 0 34px !important;
    font-size: clamp(14px, 3.7vw, 16px) !important;
    line-height: 1.55 !important;
    letter-spacing: 0 !important;
    color: rgba(255,255,255,0.62) !important;
  }

  .hero-phones {
    height: 520px !important;
    max-height: 520px !important;
    margin-top: 0 !important;
  }

  .phone-stack {
    height: 520px !important;
  }
}

@media (max-width: 390px) {
  .hero-trust {
    max-width: 300px !important;
    margin-bottom: 30px !important;
  }

  .hero-phones,
  .phone-stack {
    height: 500px !important;
    max-height: 500px !important;
  }
}

/* ---- iPhone hero gap correction ---- */
@media (max-width: 760px) {
  .hero-trust {
    margin-bottom: 22px !important;
  }

  .hero-phones {
    height: 455px !important;
    max-height: 455px !important;
  }

  .phone-stack {
    height: 455px !important;
  }

  .phone-front {
    top: 34px !important;
    bottom: auto !important;
  }

  .phone-back {
    top: 72px !important;
    bottom: auto !important;
  }
}

@media (max-width: 390px) {
  .hero-trust {
    margin-bottom: 20px !important;
  }

  .hero-phones,
  .phone-stack {
    height: 438px !important;
    max-height: 438px !important;
  }

  .phone-front {
    top: 28px !important;
  }

  .phone-back {
    top: 64px !important;
  }
}

/* ---- iPhone hero top gap correction ---- */
@media (max-width: 760px) {
  .hero-inner {
    padding-top: clamp(56px, 9vh, 76px) !important;
  }
}

@media (max-width: 390px) {
  .hero-inner {
    padding-top: clamp(48px, 8vh, 64px) !important;
  }
}

/* ---- How It Works mobile fit ----
   Keep the full screenshots visible, but shrink the mobile walkthrough as a
   complete composition so the phone and explanation can share an iPhone view. */
@media (max-width: 760px) {
  .walkthrough {
    padding-top: 40px !important;
    padding-bottom: 38px !important;
  }

  .walkthrough .container {
    padding-inline: 24px !important;
  }

  .walkthrough .section-label {
    margin-bottom: 10px !important;
  }

  .walkthrough .section-title {
    font-size: clamp(28px, 8vw, 34px) !important;
    line-height: 1.08 !important;
    margin-bottom: 20px !important;
  }

  .wt-subhead {
    max-width: 330px !important;
    margin-top: 0 !important;
    margin-bottom: 22px !important;
    font-size: 14.5px !important;
    line-height: 1.55 !important;
  }

  .wt-stage {
    gap: 10px !important;
    padding-inline: 18px !important;
  }

  .wt-phone-wrap {
    width: min(100%, 300px) !important;
  }

  .wt-phone,
  .wt-phone-frame {
    width: clamp(184px, 52vw, 206px) !important;
    max-width: 206px !important;
  }

  .wt-phone-frame {
    --shell-pad-x: 6px;
    --shell-pad-top: 6px;
    --shell-pad-bottom: 12px;
  }

  .wt-screen,
  .wt-screen-wrap {
    border-radius: 30px !important;
  }

  .wt-arrow {
    width: 40px !important;
    height: 40px !important;
  }

  .wt-arrow-prev {
    left: max(2px, calc(50% - 155px)) !important;
  }

  .wt-arrow-next {
    right: max(2px, calc(50% - 155px)) !important;
  }

  .wt-mobile-caption {
    max-width: 340px !important;
    margin-top: 8px !important;
    padding-inline: 18px !important;
    min-height: 0 !important;
  }

  .wt-mobile-step {
    font-size: 10px !important;
    margin-bottom: 6px !important;
  }

  .wt-mobile-caption h3 {
    font-size: clamp(20px, 5.4vw, 24px) !important;
    line-height: 1.12 !important;
    margin-bottom: 7px !important;
  }

  .wt-mobile-caption p {
    font-size: 13.25px !important;
    line-height: 1.38 !important;
    margin: 0 !important;
  }

  .wt-dots {
    margin-top: 12px !important;
  }
}

@media (max-width: 390px) {
  .walkthrough {
    padding-top: 34px !important;
  }

  .walkthrough .container {
    padding-inline: 22px !important;
  }

  .walkthrough .section-title {
    font-size: clamp(26px, 8vw, 31px) !important;
  }

  .wt-subhead {
    margin-bottom: 18px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .wt-stage {
    padding-inline: 14px !important;
  }

  .wt-phone,
  .wt-phone-frame {
    width: clamp(176px, 52vw, 194px) !important;
    max-width: 194px !important;
  }

  .wt-mobile-caption {
    padding-inline: 14px !important;
  }

  .wt-mobile-caption h3 {
    font-size: clamp(19px, 5.6vw, 22px) !important;
  }

  .wt-mobile-caption p {
    font-size: 13px !important;
  }
}
