/* Advanced Mailchimp by 7Labs — marketing site */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --bg: #f4fbf7;
  --surface: #ffffff;
  --surface-2: #f7fdf9;
  --green-dark: #064e3b;
  --green: #047857;
  --green-mid: #10b981;
  --green-light: #34d399;
  --green-pale: #d1fae5;
  --green-faint: #ecfdf5;
  --amber: #b45309;
  --amber-bg: #fffbeb;
  --amber-border: #fde68a;
  --t1: #052e16;
  --t2: #166534;
  --t3: #6b7280;
  --t4: #d1d5db;
  --border: #d1fae5;
  --border-2: #a7f3d0;
  --shadow: 0 1px 3px rgba(4, 120, 87, 0.06), 0 2px 12px rgba(4, 120, 87, 0.04);
  --shadow-xs: 0 1px 2px rgba(4, 120, 87, 0.05);
  --shadow-lg: 0 4px 24px rgba(4, 120, 87, 0.08);
  --r: 14px;
  --r-lg: 18px;
  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font);
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--t1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
}

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

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 24px); }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 24px); }

/* Header — UI chrome uses body sans (Geist); display serif only on page headings */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  font-family: var(--font);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .brand-name,
.site-header .brand-tag,
.site-header .nav-links a {
  font-family: var(--font);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
  padding: 8px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--t1);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand-text { display: flex; flex-direction: column; gap: 0; }
.brand-name { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.brand-tag { font-size: 11px; color: var(--t3); font-weight: 500; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--t3);
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
}
.nav-links a:hover { color: var(--t1); background: var(--green-faint); }
.nav-links .btn { padding: 10px 16px; }
/* Override .nav-links a so primary CTA text stays visible (nav link gray was winning on specificity) */
.nav-links a.btn-primary {
  color: #fff;
  background: var(--green);
}
.nav-links a.btn-primary:hover {
  color: #fff;
  background: var(--green-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--green-dark); }
.btn-secondary {
  background: var(--surface);
  color: var(--t2);
  border: 1px solid var(--border-2);
}
.btn-secondary:hover { background: var(--green-faint); border-color: var(--green-mid); }
.btn-lg { padding: 12px 22px; font-size: 15px; }

/* Hero */
.hero {
  padding: 48px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .hero-copy { max-width: none; }
}

.hero-copy {
  min-width: 0;
  max-width: 36rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  margin-bottom: 16px;
}
.hero-eyebrow span { opacity: 0.85; }

h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--t1);
}

.hero .hero-copy h1 {
  font-size: clamp(2.05rem, 4.2vw, 2.85rem);
  line-height: 1.12;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--t3);
  max-width: 38em;
  margin: 0 0 26px;
  line-height: 1.65;
}
@media (min-width: 700px) {
  .hero-lead { font-size: 1.2rem; }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}
.hero-note {
  font-size: 13px;
  color: var(--t3);
  max-width: 36em;
  line-height: 1.55;
  margin: 0 0 0;
  opacity: 0.95;
}
.hero-proof {
  margin: 18px 0 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--t3);
  line-height: 1.5;
  max-width: 36rem;
}

.hero-outcomes {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 36rem;
}
.hero-outcomes li {
  position: relative;
  padding-left: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--t2);
  border-left: 3px solid var(--green-mid);
  padding: 10px 14px 10px 16px;
  background: var(--surface);
  border-radius: 0 var(--r) var(--r) 0;
  box-shadow: var(--shadow-xs);
}
.hero-outcomes strong {
  font-weight: 700;
  color: var(--green-dark);
}

/* Hero product shot */
.hero-shot {
  margin: 0;
  position: relative;
  min-width: 0;
}
.hero-shot-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  line-height: 0;
  background: var(--surface);
  box-shadow:
    0 0 0 1px rgba(4, 120, 87, 0.1),
    0 2px 4px rgba(4, 120, 87, 0.04),
    0 20px 40px -16px rgba(4, 120, 87, 0.14);
}
.hero-shot img {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  vertical-align: middle;
}
.hero-shot figcaption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--t3);
  line-height: 1.45;
  max-width: 38em;
  padding-left: 2px;
}

/* App Store banner strip (legacy full-width; prefer .store-banner-compact) */
.store-banner {
  padding: 48px 0 56px;
  background:
    linear-gradient(165deg, #022c1f 0%, #064e3b 45%, #052e16 100%);
  color: #ecfdf5;
  position: relative;
  overflow: hidden;
}
.store-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(52, 211, 153, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 211, 153, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: 0.9;
}
.store-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.store-banner-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-light);
  margin: 0 0 12px;
}
.store-banner-lead {
  margin: 0 0 28px;
  font-size: 1.05rem;
  line-height: 1.55;
  opacity: 0.92;
}
.store-banner-frame {
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(167, 243, 208, 0.2),
    0 24px 48px rgba(0, 0, 0, 0.35);
  max-width: 800px;
  margin: 0 auto;
}
.store-banner-frame img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Screenshot & creative grids */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 24px;
}
.screenshot-grid--tight {
  gap: 20px 18px;
}
@media (max-width: 800px) {
  .screenshot-grid { grid-template-columns: 1fr; }
}
.shot {
  margin: 0;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
}
.shot figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--t3);
  line-height: 1.45;
}
.shot figcaption strong { color: var(--t1); }
.shot-wide {
  grid-column: 1 / -1;
}
.shot-wide img {
  max-width: 1000px;
  margin: 0 auto;
}

.product-more {
  margin: -8px 0 28px;
  font-size: 14px;
  color: var(--t3);
  line-height: 1.55;
  max-width: 65ch;
}
.product-more a {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.product-more a:hover { color: var(--green); }

/* Preview cards */
.preview-stack { display: flex; flex-direction: column; gap: 14px; }
.preview-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 20px 20px 16px;
}
.preview-card--dim { opacity: 0.96; }
.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.preview-title { font-size: 13px; font-weight: 600; color: var(--t2); }
.preview-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-faint);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--green-pale);
}
.preview-rows { display: flex; flex-direction: column; gap: 8px; }
.preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  padding: 9px 11px;
  background: var(--surface-2);
  border-radius: 10px;
  border: 1px solid var(--border);
}
.preview-row span:first-child { color: var(--t3); }
.preview-row strong { color: var(--t1); font-weight: 600; }
.preview-row .ok { color: var(--green); font-weight: 600; }
.preview-row .warn { color: var(--amber); font-weight: 600; }

/* Section chrome */
section { padding: 72px 0; }
section.alt {
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
section.dark {
  background: linear-gradient(165deg, #064e3b 0%, #052e16 100%);
  color: #ecfdf5;
  border: none;
}
section.dark h2, section.dark .section-lead { color: inherit; }
section.dark .section-lead { opacity: 0.88; }

.section-kicker {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin: 0 0 10px;
}
section.dark .section-kicker { color: var(--green-light); }

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  line-height: 1.22;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--t3);
  max-width: 58ch;
  margin: 0 0 36px;
  line-height: 1.65;
}
.section-head { margin-bottom: 12px; }
.section-head--center {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
.section-lead--center {
  margin-left: auto;
  margin-right: auto;
}

.section-tint {
  padding: 72px 0;
  background: linear-gradient(180deg, #fff 0%, var(--green-faint) 55%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.helps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
@media (max-width: 900px) {
  .helps-grid { grid-template-columns: 1fr; gap: 16px; }
}

.helps-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px 26px;
  box-shadow: var(--shadow);
  position: relative;
}
.helps-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--green-pale);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}
.helps-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.3;
  color: var(--t1);
}
.helps-card p {
  margin: 0;
  font-size: 15px;
  color: var(--t3);
  line-height: 1.6;
}

.flip-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}
.flip-row {
  display: grid;
  grid-template-columns: minmax(120px, 160px) 1fr 1fr;
  gap: 16px 20px;
  padding: 18px 22px;
  align-items: start;
  border-bottom: 1px solid var(--border);
}
.flip-row:last-child { border-bottom: none; }
.flip-row--head {
  background: var(--green-faint) !important;
  font-weight: 600;
  padding: 12px 22px;
}
.flip-row--head .flip-label {
  color: var(--green-dark);
}
.flip-col-title {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--t2);
}
@media (max-width: 800px) {
  .flip-row--head { display: none; }
  .flip-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 18px;
  }
}
.flip-label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
}
.flip-before {
  margin: 0;
  font-size: 14px;
  color: #991b1b;
  line-height: 1.5;
}
.flip-after {
  margin: 0;
  font-size: 14px;
  color: var(--t2);
  line-height: 1.5;
  font-weight: 500;
}
.flip-row:nth-child(even) {
  background: var(--surface-2);
}

.store-banner-compact {
  padding: 56px 0;
}
.store-banner-compact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) {
  .store-banner-compact-inner { grid-template-columns: 1fr; }
}
.store-banner-compact-copy .section-kicker { margin-bottom: 8px; }
.store-banner-compact-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.25;
}
.store-banner-compact-lead {
  margin: 0;
  font-size: 1rem;
  color: var(--t3);
  line-height: 1.6;
  max-width: 36ch;
}
.store-banner-compact-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  line-height: 0;
  background: #fff;
}
.store-banner-compact-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 14px;
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}
.proof-strip-item {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: var(--t2);
  background: var(--green-faint);
  border: 1px solid var(--border-2);
  padding: 8px 14px;
  border-radius: 999px;
  line-height: 1.3;
}

.testimonial-section {
  padding: 72px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.testimonial-section .testimonial {
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.testimonial-section .testimonial blockquote {
  color: var(--t1);
  font-style: normal;
  font-size: 15px;
  font-family: var(--font);
}
.testimonial-section .testimonial-name {
  color: var(--t1);
}
.testimonial-section .testimonial .role {
  color: var(--t3);
}
.testimonial-section .testimonial figcaption {
  color: var(--t3);
}

.cta-section {
  padding: 56px 0 72px;
}
.cta-band .fine a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cta-band .fine a:hover { color: #fff; }

/* Stat strip (hero + anywhere reused) */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stat-strip { grid-template-columns: 1fr; } }

.stat-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px 18px 20px;
  text-align: left;
  border-top: 3px solid var(--green-mid);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.stat-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.stat-item span {
  font-size: 13px;
  color: var(--t3);
  line-height: 1.5;
  flex: 1;
}

/* Problems / solutions */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 8px;
}
@media (max-width: 800px) { .split-grid { grid-template-columns: 1fr; } }

.pain-card {
  background: #fff;
  border: 1px solid #fecaca;
  border-radius: var(--r);
  padding: 22px;
  box-shadow: 0 1px 2px rgba(220, 38, 38, 0.06);
}
.pain-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #991b1b;
  margin: 0 0 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.pain-card p { margin: 0; font-size: 14px; color: #7f1d1d; line-height: 1.55; }
.pain-card p + p { margin-top: 12px; }

.gain-card {
  background: var(--green-faint);
  border: 1px solid var(--border-2);
  border-radius: var(--r);
  padding: 22px;
}
.gain-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--green-dark);
  margin: 0 0 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.gain-card p { margin: 0; font-size: 14px; color: var(--t2); line-height: 1.55; }
.gain-card p + p { margin-top: 12px; }

/* Comparison table */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare th,
.compare td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.compare th { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--t3); background: var(--surface-2); }
.compare tr:last-child td { border-bottom: none; }
.compare td:first-child { font-weight: 600; color: var(--t1); max-width: 220px; }
.compare .bad { color: #b91c1c; }
.compare .good { color: var(--green); font-weight: 600; }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
  box-shadow: 0 1px 2px rgba(4, 120, 87, 0.04);
}
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--green-faint);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  margin-bottom: 14px;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--t1);
}
.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--t3);
  line-height: 1.55;
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 800px) { .bento { grid-template-columns: 1fr; } }

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.bento-card.wide { grid-column: 1 / -1; }
.bento-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.02em; }
.bento-card .sub { font-size: 14px; color: var(--t3); margin: 0 0 18px; line-height: 1.55; }
.bento-list { margin: 0; padding-left: 20px; color: var(--t3); font-size: 14px; line-height: 1.65; }
.bento-list li { margin-bottom: 6px; }

/* Use cases */
.use-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 700px) { .use-grid { grid-template-columns: 1fr; } }

.use-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px 24px;
  border-left: 4px solid var(--green-mid);
}
.use-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 8px;
}
.use-card p { margin: 0; font-size: 14px; color: var(--t3); line-height: 1.55; }

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-grid--wide {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1000px) {
  .testimonial-grid--wide { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }

.testimonial {
  border-radius: var(--r);
  padding: 24px;
  font-family: var(--font);
}
.testimonial blockquote {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
  font-family: var(--font);
}
.testimonial figcaption {
  font-size: 13px;
}
.testimonial-name {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}
.testimonial .role {
  font-weight: 500;
  font-size: 12px;
  line-height: 1.45;
}

/* Trust row */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  margin-top: 36px;
}
.trust-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--t2);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  padding: 20px 20px 20px 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 8px;
}
.step p { margin: 0; font-size: 14px; color: var(--t3); line-height: 1.5; }

/* FAQ */
.faq {
  max-width: 720px;
  margin: 0 auto;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--t1);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 18px;
  font-weight: 400;
  color: var(--green);
  flex-shrink: 0;
}
.faq details[open] summary::after { content: '−'; }
.faq .faq-a {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--t3);
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--green-dark) 0%, #065f46 50%, var(--green) 100%);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 44px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 {
  color: #fff;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-weight: 600;
}
.cta-band .lead {
  margin: 0 auto 24px;
  max-width: 38em;
  opacity: 0.92;
  font-size: 1.05rem;
  line-height: 1.55;
  font-family: var(--font);
}
.cta-band .btn-primary {
  background: #fff;
  color: var(--green-dark);
}
.cta-band .btn-primary:hover { background: var(--green-faint); color: var(--green-dark); }
.cta-band .fine {
  margin: 16px 0 0;
  font-size: 12px;
  opacity: 0.8;
  font-family: var(--font);
}

/* Footer */
.site-footer {
  padding: 44px 0 48px;
  border-top: 1px solid var(--border);
  font-family: var(--font);
}
.site-footer strong,
.site-footer span,
.site-footer .footer-copy,
.site-footer .footer-links a {
  font-family: var(--font);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand { display: flex; align-items: flex-start; gap: 12px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 10px; }
.footer-brand strong { display: block; font-size: 14px; color: var(--t1); }
.footer-brand span { font-size: 12px; color: var(--t3); }
.footer-copy { font-size: 13px; color: var(--t3); margin: 8px 0 0; max-width: 280px; line-height: 1.5; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-links a { font-size: 13px; font-weight: 500; color: var(--t3); }
.footer-links a:hover { color: var(--green); }

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

@media (max-width: 900px) {
  .nav-links .nav-hide-sm { display: none; }
  .header-inner {
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
  }
  .nav-links {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    justify-content: flex-end;
    padding: 4px 0 8px;
    gap: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .nav-links a {
    flex-shrink: 0;
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    box-sizing: border-box;
  }
  .nav-links a.btn-primary {
    padding: 10px 16px;
  }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 24px 0 40px; }
  section { padding: 40px 0; }
  .section-tint { padding: 56px 0; }
  .cta-band { padding: 32px 20px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .store-banner-compact-inner { gap: 28px; }
  .proof-strip { justify-content: flex-start; }
  .compare th,
  .compare td { padding: 12px 14px; font-size: 13px; }
  .faq summary { min-height: 48px; padding: 14px 18px; }
}

/* Sync flow diagram */
.sync-flow-section {
  padding: 56px 0 64px;
  background: linear-gradient(180deg, var(--bg) 0%, #fff 40%, var(--surface-2) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sync-flow-section .section-kicker {
  text-align: center;
  display: block;
}
.sync-flow-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 28px;
}
.sync-flow-head h2 {
  margin-bottom: 8px;
}
.sync-flow-lead {
  margin-bottom: 0 !important;
}
.sync-flow-diagram {
  max-width: 920px;
  margin: 0 auto;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow-x: auto;
}
.sync-flow-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
}

/* Feature cards hover lift */
.feature-card--lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card--lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(4, 120, 87, 0.1);
  border-color: var(--green-mid);
}
@media (prefers-reduced-motion: reduce) {
  .feature-card--lift:hover {
    transform: none;
  }
}

/* Tech stack */
.tech-stack-section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #fff 0%, var(--green-faint) 100%);
}
.tech-stack-section h2 {
  margin-bottom: 10px;
}
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.tech-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--t1);
  box-shadow: var(--shadow-xs);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.tech-item:hover {
  transform: translateY(-2px);
  border-color: var(--green-mid);
}
.tech-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Mobile: images & wide blocks */
@media (max-width: 640px) {
  .hero .hero-copy h1 {
    font-size: clamp(1.75rem, 6.5vw, 2.35rem);
    line-height: 1.18;
  }
  h2 {
    font-size: clamp(1.35rem, 5vw, 1.85rem);
  }
  .sync-flow-diagram {
    padding: 12px;
    margin: 0 -4px;
  }
  .sync-flow-svg {
    max-height: none;
    min-height: 180px;
  }
  .flip-before,
  .flip-after {
    font-size: 13px;
  }
  .flip-label {
    margin-bottom: 4px;
  }
  .testimonial blockquote {
    font-size: 14px;
  }
  .helps-num {
    font-size: 1.75rem;
  }
}

/* Touch-friendly interactive elements */
@media (pointer: coarse) {
  .btn {
    min-height: 44px;
  }
  .btn-lg {
    min-height: 48px;
  }
  .footer-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

