/* ─── Harvst marketing site — shared styles ───────────────────────────────── */

:root {
  --canvas: #FAF9F6;
  --linen: #F3F1EC;
  --card: #FFFFFF;
  --navy: #1B2A4A;
  --navy-8: rgba(27,42,74,0.08);
  --navy-14: rgba(27,42,74,0.14);
  --sand: #C8B89A;
  --sand-dim: rgba(200,184,154,0.20);
  --sage: #5C7A62;
  --sage-dim: rgba(92,122,98,0.12);
  --amber: #C97B2F;
  --amber-dim: rgba(201,123,47,0.10);
  --terra: #C85A45;
  --terra-dim: rgba(200,90,69,0.10);
  --ink: #1B1C1E;
  --t2: #6B6860;
  --t3: #A8A49C;
  --border: rgba(30,28,20,0.09);
  --border-md: rgba(30,28,20,0.15);
  --f-d: 'Lora', Georgia, serif;
  --f-b: 'Plus Jakarta Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { background: var(--canvas); color: var(--ink); font-family: var(--f-b); font-weight: 400; line-height: 1.55; min-height: 100vh; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── Layout ─────────────────────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
@media (max-width: 700px) {
  .section { padding: 56px 0; }
  .section-sm { padding: 36px 0; }
}

/* ─── Navigation ─────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,249,246,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand svg { width: 28px; height: 28px; }
.nav-brand-word { font-family: var(--f-d); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; color: var(--navy); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { font-size: 14px; color: var(--t2); font-weight: 500; transition: color .15s; }
.nav-link:hover { color: var(--navy); }
.nav-link.current { color: var(--navy); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-burger { display: none; width: 38px; height: 38px; align-items: center; justify-content: center; background: var(--linen); border: 0.5px solid var(--border-md); border-radius: 8px; cursor: pointer; color: var(--navy); font-size: 18px; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-cta .btn-ghost { display: none; }
}

.mobile-menu { display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; background: var(--canvas); z-index: 49; padding: 24px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 16px 0; font-size: 18px; font-weight: 500; color: var(--navy); border-bottom: 0.5px solid var(--border); }
.mobile-menu .mm-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }

/* ─── Buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-b); font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  padding: 10px 18px;
  border-radius: 10px;
  border: 0.5px solid transparent;
  cursor: pointer;
  transition: opacity .15s, transform .05s, background .15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--navy); color: var(--canvas); }
.btn-primary:hover { opacity: 0.88; }
.btn-ghost { background: transparent; color: var(--t2); border-color: var(--border-md); }
.btn-ghost:hover { background: var(--linen); color: var(--navy); }
.btn-sand { background: var(--sand); color: var(--navy); }
.btn-sand:hover { opacity: 0.88; }
.btn-lg { font-size: 15px; padding: 13px 24px; border-radius: 12px; }
.btn-xl { font-size: 16px; padding: 16px 32px; border-radius: 12px; }
.btn-block { width: 100%; justify-content: center; }

/* ─── Type ────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 { font-family: var(--f-d); font-weight: 600; color: var(--navy); letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(38px, 5.4vw, 60px); }
h2 { font-size: clamp(30px, 3.6vw, 40px); }
h3 { font-size: 22px; letter-spacing: -0.01em; }
h4 { font-size: 17px; }
p { color: var(--t2); }
.lead { font-size: clamp(16px, 1.8vw, 19px); line-height: 1.6; color: var(--t2); }

.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand); margin-bottom: 14px; }
.muted { color: var(--t3); }
.body-text { color: var(--t2); font-size: 15px; line-height: 1.7; }
.body-text p { margin-bottom: 14px; }

/* ─── Hero ───────────────────────────────────────────────────────────── */
.hero { padding: 80px 0 64px; position: relative; overflow: hidden; }
.hero-grain {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 20%, var(--sand-dim) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 880px; margin: 0 auto; text-align: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--sand); }
.hero p.lead { margin-bottom: 32px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-meta { margin-top: 24px; font-size: 12px; color: var(--t3); }
.hero-meta strong { color: var(--t2); font-weight: 600; }

/* ─── App preview / screenshot frame ─────────────────────────────────── */
.preview-frame {
  margin: 56px auto 0; max-width: 1040px;
  background: var(--card); border: 0.5px solid var(--border);
  border-radius: 18px; padding: 6px; overflow: hidden;
}
.preview-chrome { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 0.5px solid var(--border); }
.chrome-dot { width: 10px; height: 10px; border-radius: 50%; }
.chrome-dot.r { background: var(--terra); opacity: .7; }
.chrome-dot.a { background: var(--amber); opacity: .7; }
.chrome-dot.g { background: var(--sage); opacity: .7; }
.preview-body { padding: 18px; background: var(--canvas); border-radius: 0 0 12px 12px; min-height: 320px; }

/* ─── Feature grid ───────────────────────────────────────────────────── */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { margin-bottom: 14px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 18px;
}
.feature-icon.navy { background: var(--navy-8); color: var(--navy); }
.feature-icon.sage { background: var(--sage-dim); color: var(--sage); }
.feature-icon.amber { background: var(--amber-dim); color: var(--amber); }
.feature-icon.sand { background: var(--sand-dim); color: #8a7455; }
.feature-icon.terra { background: var(--terra-dim); color: var(--terra); }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: 14px; line-height: 1.6; }

/* ─── Split / alternating sections ───────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse > div:first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.reverse > div:first-child { order: 0; } }
.split-text h2 { margin-bottom: 16px; }
.split-text p { margin-bottom: 20px; max-width: 480px; }
.split-visual {
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  min-height: 280px;
  display: flex; align-items: center; justify-content: center;
}

/* ─── Stat strip ─────────────────────────────────────────────────────── */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 28px 24px;
  text-align: center;
  border-right: 0.5px solid var(--border);
}
.stat:last-child { border-right: none; }
@media (max-width: 700px) {
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 0.5px solid var(--border); }
}
.stat-val { font-family: var(--f-d); font-size: 36px; font-weight: 600; color: var(--navy); letter-spacing: -0.02em; line-height: 1; margin-bottom: 6px; }
.stat-lbl { font-size: 11px; color: var(--t3); text-transform: uppercase; letter-spacing: 0.07em; font-weight: 500; }

/* ─── How it works / steps ──────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-left: 0; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: var(--sand-dim); color: var(--sand);
  border-radius: 50%;
  font-family: var(--f-d); font-weight: 600; font-size: 15px;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 14px; line-height: 1.6; }

/* ─── Testimonial / quote ────────────────────────────────────────────── */
.quote {
  max-width: 760px; margin: 0 auto; text-align: center;
  padding: 40px 24px;
}
.quote blockquote {
  font-family: var(--f-d); font-size: clamp(20px, 2.4vw, 28px);
  color: var(--navy); letter-spacing: -0.01em;
  line-height: 1.4; margin-bottom: 22px;
}
.quote blockquote::before { content: '"'; color: var(--sand); }
.quote blockquote::after { content: '"'; color: var(--sand); }
.quote-author { display: inline-flex; align-items: center; gap: 12px; }
.quote-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--canvas); display: flex; align-items: center; justify-content: center; font-family: var(--f-d); font-weight: 600; font-size: 14px; }
.quote-name { font-weight: 600; color: var(--navy); font-size: 14px; }
.quote-title { font-size: 12px; color: var(--t3); }

/* ─── Pricing ────────────────────────────────────────────────────────── */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex; flex-direction: column;
}
.price-card.featured { border-color: var(--navy); position: relative; }
.price-card.featured::before {
  content: 'Most popular';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--navy); color: var(--canvas);
  padding: 5px 14px; border-radius: 20px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.price-name { font-family: var(--f-d); font-size: 20px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.price-tag { font-size: 13px; color: var(--t2); margin-bottom: 22px; line-height: 1.5; }
.price-num { font-family: var(--f-d); font-size: 48px; font-weight: 600; color: var(--navy); letter-spacing: -0.03em; line-height: 1; }
.price-num .currency { font-size: 22px; vertical-align: top; margin-right: 2px; font-weight: 500; }
.price-period { font-size: 13px; color: var(--t3); margin-bottom: 22px; }
.price-list { list-style: none; padding: 0; margin: 22px 0; flex: 1; }
.price-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--t2); padding: 7px 0; line-height: 1.5; }
.price-list li i { color: var(--sage); flex-shrink: 0; margin-top: 3px; font-size: 14px; }
.price-list li.muted { color: var(--t3); }
.price-list li.muted i { color: var(--t3); }
.price-cta { margin-top: auto; }

/* ─── FAQ ────────────────────────────────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 0.5px solid var(--border); padding: 22px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 600; color: var(--navy); font-size: 16px; }
.faq-q i { color: var(--t3); font-size: 18px; transition: transform .2s; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { display: none; padding-top: 12px; font-size: 14px; color: var(--t2); line-height: 1.7; max-width: 640px; }
.faq-item.open .faq-a { display: block; }

/* ─── CTA banner ─────────────────────────────────────────────────────── */
.cta-banner {
  background: var(--navy);
  border-radius: 24px;
  padding: 64px 40px;
  text-align: center;
  color: var(--canvas);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(200,184,154,0.18) 0%, transparent 50%);
  pointer-events: none;
}
.cta-banner h2 { color: var(--canvas); margin-bottom: 14px; position: relative; }
.cta-banner p { color: rgba(250,249,246,0.78); margin-bottom: 26px; max-width: 520px; margin-left: auto; margin-right: auto; position: relative; }
.cta-banner .btn-primary { background: var(--sand); color: var(--navy); position: relative; }
.cta-banner .btn-ghost { color: var(--canvas); border-color: rgba(250,249,246,0.3); position: relative; }
.cta-banner .btn-ghost:hover { background: rgba(250,249,246,0.08); color: var(--canvas); }

/* ─── Footer ─────────────────────────────────────────────────────────── */
.footer { background: var(--linen); border-top: 0.5px solid var(--border); padding: 56px 0 32px; margin-top: 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.footer-brand .nav-brand { margin-bottom: 16px; }
.footer-tagline { font-size: 13px; color: var(--t2); line-height: 1.6; max-width: 280px; }
.footer-col h5 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--t3); margin-bottom: 14px; font-family: var(--f-b); font-weight: 600; }
.footer-col a { display: block; font-size: 14px; color: var(--t2); padding: 5px 0; }
.footer-col a:hover { color: var(--navy); }
.footer-bottom { border-top: 0.5px solid var(--border); padding-top: 24px; font-size: 12px; color: var(--t3); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* ─── Page hero (for non-landing pages) ──────────────────────────────── */
.page-hero { padding: 72px 0 24px; text-align: center; }
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(36px, 4.5vw, 48px); margin-bottom: 16px; }
.page-hero p.lead { max-width: 640px; margin: 0 auto; }

/* ─── Long-form content (legal) ──────────────────────────────────────── */
.prose { max-width: 720px; margin: 40px auto 80px; color: var(--ink); font-size: 15px; line-height: 1.75; }
.prose h2 { font-size: 22px; margin: 36px 0 12px; }
.prose h3 { font-size: 17px; margin: 24px 0 10px; }
.prose p { margin-bottom: 14px; color: var(--t2); }
.prose ul, .prose ol { margin: 12px 0 18px 24px; color: var(--t2); }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--navy); text-decoration: underline; }
.prose strong { color: var(--navy); font-weight: 600; }
.prose .updated { font-size: 12px; color: var(--t3); margin-bottom: 24px; }

/* ─── Feature deep-dive cards (features page) ────────────────────────── */
.feature-deep { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: start; padding: 56px 0; border-bottom: 0.5px solid var(--border); }
.feature-deep:last-child { border-bottom: none; }
@media (max-width: 900px) { .feature-deep { grid-template-columns: 1fr; gap: 24px; } }
.feature-deep .feature-icon { width: 52px; height: 52px; font-size: 22px; margin-bottom: 18px; }
.feature-deep h2 { font-size: 30px; margin-bottom: 14px; }
.feature-deep .lead { font-size: 16px; margin-bottom: 18px; }
.feature-deep ul { list-style: none; padding: 0; }
.feature-deep ul li { display: flex; gap: 10px; padding: 7px 0; font-size: 14px; color: var(--t2); line-height: 1.6; }
.feature-deep ul li i { color: var(--sage); flex-shrink: 0; margin-top: 3px; font-size: 14px; }

/* ─── Generic helpers ────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.hidden { display: none; }

/* ─────────────────────────────────────────────────────────────────────── */
/* ─── ANIMATIONS ─────────────────────────────────────────────────────── */
/* ─────────────────────────────────────────────────────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes softPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(27,42,74,0.25); }
  50%      { box-shadow: 0 0 0 12px rgba(27,42,74,0); }
}
@keyframes blobDrift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-3%, 2%) scale(1.05); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes shimmerLine {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ─── Hero entrance (auto-runs on page load) ─────────────────────────── */
.hero .eyebrow      { animation: fadeUp .7s .05s ease-out both; }
.hero h1            { animation: fadeUp .8s .18s ease-out both; }
.hero p.lead        { animation: fadeUp .7s .32s ease-out both; }
.hero .hero-cta     { animation: fadeUp .7s .46s ease-out both; }
.hero .hero-meta    { animation: fadeUp .6s .58s ease-out both; }
.hero .preview-frame{ animation: fadeUp .9s .7s ease-out both; }

.hero-grain { animation: blobDrift 18s ease-in-out infinite; }

.hero .btn-primary { animation: fadeUp .7s .46s ease-out both, softPulse 2.6s 2s ease-in-out 2; }

/* Page-hero entrance for inner pages */
.page-hero .eyebrow { animation: fadeUp .6s .05s ease-out both; }
.page-hero h1       { animation: fadeUp .7s .15s ease-out both; }
.page-hero p.lead   { animation: fadeUp .6s .28s ease-out both; }

/* ─── Scroll-triggered reveal (JS adds .fx-in when element enters viewport) */
.fx {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.fx.fx-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Staggered children inside a revealed container */
.fx-stagger > * {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
.fx-stagger.fx-in > *:nth-child(1) { transition-delay: .05s; opacity: 1; transform: none; }
.fx-stagger.fx-in > *:nth-child(2) { transition-delay: .15s; opacity: 1; transform: none; }
.fx-stagger.fx-in > *:nth-child(3) { transition-delay: .25s; opacity: 1; transform: none; }
.fx-stagger.fx-in > *:nth-child(4) { transition-delay: .35s; opacity: 1; transform: none; }
.fx-stagger.fx-in > *:nth-child(5) { transition-delay: .45s; opacity: 1; transform: none; }
.fx-stagger.fx-in > *:nth-child(6) { transition-delay: .55s; opacity: 1; transform: none; }

/* ─── Hover micro-interactions ──────────────────────────────────────── */
.feature-card {
  transition: transform .25s cubic-bezier(.22,.61,.36,1), border-color .2s, box-shadow .25s;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-md);
}
.feature-card .feature-icon { transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(-2deg); }

.price-card {
  transition: transform .25s cubic-bezier(.22,.61,.36,1), border-color .2s;
}
.price-card:hover {
  transform: translateY(-4px);
}
.price-card.featured { transform: translateY(-6px); }
.price-card.featured:hover { transform: translateY(-10px); }

.step .step-num { transition: transform .3s cubic-bezier(.34,1.56,.64,1), background .2s; }
.step:hover .step-num { transform: scale(1.1); background: var(--navy-8); color: var(--navy); }

.btn { transition: opacity .15s, transform .15s cubic-bezier(.22,.61,.36,1), background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }

/* Nav link underline */
.nav-link { position: relative; }
.nav-link::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--navy);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease-out;
}
.nav-link:hover::after, .nav-link.current::after { transform: scaleX(1); }
.nav-link.current::after { background: var(--sand); }

/* Footer column links */
.footer-col a { transition: color .2s, transform .2s; display: inline-block; }
.footer-col a:hover { transform: translateX(2px); }

/* FAQ chevron rotation already exists; extend with hover */
.faq-q { transition: color .2s; }
.faq-item:hover .faq-q { color: var(--ink); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s cubic-bezier(.22,.61,.36,1), padding-top .25s;
  display: block;
  padding-top: 0;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding-top: 12px;
}

/* ─── Pipeline bars (the embedded mini-dashboard) ────────────────────── */
.preview-body [style*="width:"] { /* leave inline widths alone if not animated */ }
.pipe-anim {
  width: 0% !important;
  transition: width 1s cubic-bezier(.22,.61,.36,1);
}
.pipe-anim.pipe-grow {
  /* JS sets style.width back to original */
}

/* ─── Counter animation prep (stats strip) ───────────────────────────── */
.stat-val {
  transition: color .3s;
}

/* ─── Compare table row stagger on reveal ────────────────────────────── */
.compare-table.fx tbody tr {
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s ease-out, transform .4s ease-out;
}
.compare-table.fx-in tbody tr {
  opacity: 1; transform: none;
}
.compare-table.fx-in tbody tr:nth-child(1) { transition-delay: .04s; }
.compare-table.fx-in tbody tr:nth-child(2) { transition-delay: .08s; }
.compare-table.fx-in tbody tr:nth-child(3) { transition-delay: .12s; }
.compare-table.fx-in tbody tr:nth-child(4) { transition-delay: .16s; }
.compare-table.fx-in tbody tr:nth-child(5) { transition-delay: .20s; }
.compare-table.fx-in tbody tr:nth-child(6) { transition-delay: .24s; }
.compare-table.fx-in tbody tr:nth-child(n+7) { transition-delay: .28s; }

/* ─── CTA banner subtle glow ─────────────────────────────────────────── */
.cta-banner::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(200,184,154,0.10) 0%, transparent 50%);
  pointer-events: none;
  animation: blobDrift 22s ease-in-out infinite reverse;
}

/* ─── Quote shimmer underline ────────────────────────────────────────── */
.quote .quote-name {
  background: linear-gradient(90deg, var(--navy), var(--navy)) bottom left / 0 1px no-repeat;
  transition: background-size .8s ease-out;
  padding-bottom: 2px;
}
.quote.fx-in .quote-name { background-size: 100% 1px; }

/* ─── Smooth-scroll polish ──────────────────────────────────────────── */
@media (hover: hover) {
  a, button { -webkit-tap-highlight-color: transparent; }
}

/* ─── Respect prefers-reduced-motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-grain, .cta-banner::after { animation: none !important; }
  .fx { opacity: 1; transform: none; }
  .fx-stagger > * { opacity: 1; transform: none; }
}
