/* ============================================================
   SmartRecon landing — co.snirgreen.com
   Plain CSS, Hebrew RTL, mobile-first.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* ink */
  --ink:        #0f172a;
  --ink-soft:   #475569;
  --muted:      #64748b;

  /* brand */
  --blue-deep:  #1e3a8a;
  --blue:       #2563eb;
  --blue-hi:    #3b82f6;
  --blue-tint:  #eff6ff;

  /* surface */
  --surface:    #ffffff;
  --surface-alt:#f8fafc;
  --border:     #e2e8f0;
  --border-soft:#eef2f7;

  /* status */
  --success:    #0e9f6e;
  --warn:       #d97706;

  /* radii */
  --r-sm:  10px;
  --r-md:  14px;
  --r-lg:  16px;
  --r-pill:999px;

  /* shadows */
  --sh-1: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.06);
  --sh-2: 0 2px 4px rgba(15,23,42,.06), 0 16px 40px rgba(15,23,42,.10);
  --sh-strong: 0 4px 8px rgba(15,23,42,.08), 0 24px 56px rgba(15,23,42,.14);

  /* layout */
  --max:        1100px;
  --max-narrow: 760px;
  --gap:        clamp(20px, 4vw, 40px);
  --section-y:  clamp(64px, 8vw, 120px);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; padding: 0; margin: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gap);
}
.container-narrow { max-width: var(--max-narrow); }

.section { padding-block: var(--section-y); }
.section-alt { background: var(--surface-alt); }

.section-head {
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head .eyebrow { margin: 0 0 10px; }
.section-head .h2     { margin: 0; }
.section-lead {
  margin: 14px auto 0;
  color: var(--ink-soft);
  max-width: 640px;
  font-size: 17px;
}

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0;
}
.h1 {
  font-size: clamp(32px, 5.5vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 14px 0 18px;
  color: var(--ink);
}
.h2 {
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 6px;
}
.sub {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 56ch;
}
.muted { color: var(--muted); }

/* ---------- Brand stripe ---------- */
.brand-stripe {
  height: 4px;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue), var(--blue-hi));
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(37,99,235,.25);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-byline {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links > a:not(.btn) {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 8px;
}
.nav-links > a:not(.btn):hover {
  color: var(--ink);
  background: var(--surface-alt);
}

@media (max-width: 640px) {
  .nav-links > a:not(.btn) { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, color 120ms ease, border-color 120ms ease;
  white-space: nowrap;
}
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 14px 26px; font-size: 17px; border-radius: 14px; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: #fff;
  box-shadow: 0 6px 16px rgba(37,99,235,.30);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(37,99,235,.36);
}

.btn-secondary {
  background: #fff;
  color: var(--blue-deep);
  border-color: var(--blue);
  box-shadow: var(--sh-1);
}
.btn-secondary:hover {
  background: var(--blue-tint);
  color: var(--blue-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--surface-alt);
  color: var(--ink);
  border-color: var(--border);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px circle at 85% 0%,  rgba(37,99,235,0.08), transparent 60%),
    radial-gradient(500px circle at 10% 30%, rgba(30,58,138,0.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-copy { animation: fadeUp 480ms ease both; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.cta-row-center { justify-content: center; }

.reassurance {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 14px;
}
.reassurance .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(14,159,110,.15);
}

/* ---------- Hero mockup ---------- */
.hero-mockup {
  animation: fadeUp 600ms 120ms ease both;
}
.mock-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--sh-strong);
  overflow: hidden;
  transform: rotate(-1.5deg);
  transition: transform 240ms ease;
}
.mock-card:hover { transform: rotate(0); }

.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: #fff;
}
.mock-eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: .95;
}
.mock-period {
  margin: 2px 0 0;
  font-size: 12px;
  opacity: .75;
}
.mock-pill {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-pill);
}

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px;
}
.mock-kpi {
  background: var(--surface-alt);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
}
.mock-kpi-num {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--blue-deep);
  line-height: 1.1;
}
.mock-kpi-label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}
.mock-kpi-wide {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--blue-tint), #ffffff);
  border-color: rgba(37,99,235,.20);
}
.mock-kpi-wide .mock-kpi-num { font-size: 26px; }

.mock-section-title {
  margin: 4px 20px 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.mock-findings {
  margin: 0 8px;
  padding: 0 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mock-findings li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border-soft);
  font-size: 14px;
  color: var(--ink);
}
.mock-findings .tick {
  width: 20px; height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(14,159,110,.12);
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
  flex: 0 0 auto;
}

.mock-download {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 20px 20px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--blue-tint);
  color: var(--blue-deep);
  font-weight: 600;
  font-size: 14px;
  border: 1px dashed rgba(37,99,235,.35);
}
.mock-download .mock-arrow { margin-inline-start: auto; }

/* ---------- Pain ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.pain-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px 18px;
  box-shadow: var(--sh-1);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.pain-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
}
.pain-card p { margin: 0; color: var(--ink); font-weight: 500; }
.pain-icon {
  font-size: 22px;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--blue-tint);
  flex: 0 0 auto;
}

/* ---------- Before / After ---------- */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 800px) {
  .ba-grid { grid-template-columns: 1fr 1fr; }
}
.ba-card {
  border-radius: var(--r-lg);
  padding: 26px 26px 22px;
  box-shadow: var(--sh-1);
  border: 1px solid var(--border);
  background: #fff;
}
.ba-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.ba-card-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}
.ba-tag {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
}
.ba-tag-before { background: #f1f5f9; color: var(--ink-soft); }
.ba-tag-after  { background: rgba(14,159,110,.12); color: var(--success); }

.ba-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ba-card li {
  position: relative;
  padding-inline-start: 26px;
  color: var(--ink-soft);
  font-size: 16px;
}
.ba-card li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.65em;
  width: 14px; height: 14px;
  border-radius: 50%;
}

.ba-before { background: #fafafa; }
.ba-before li::before {
  background: #fff;
  border: 2px solid #cbd5e1;
}

.ba-after {
  background: linear-gradient(135deg, #f5faff, #ffffff);
  border-color: rgba(37,99,235,.18);
}
.ba-after li { color: var(--ink); font-weight: 500; }
.ba-after li::before {
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(14,159,110,.18);
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 22px 20px;
  box-shadow: var(--sh-1);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
  border-color: rgba(37,99,235,.25);
}
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue-tint);
  font-size: 22px;
  margin-bottom: 12px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--ink);
}
.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
}
.feature-card .benefit {
  margin-top: 8px;
  color: var(--blue-deep);
  font-weight: 500;
  font-size: 14.5px;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  counter-reset: step;
}
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps-4 { grid-template-columns: repeat(4, 1fr); }
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 24px 22px;
  box-shadow: var(--sh-1);
  position: relative;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 14px;
  box-shadow: 0 6px 14px rgba(37,99,235,.28);
}
.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
}
.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15.5px;
}

/* ---------- Gallery (placeholders) ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 800px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
.shot { margin: 0; }
.shot-frame {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  display: flex;
  flex-direction: column;
}
.shot-bar {
  height: 28px;
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
  border-bottom: 1px solid var(--border-soft);
  position: relative;
}
.shot-bar::before,
.shot-bar::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}
.shot-bar::before { inset-inline-start: 12px; box-shadow: 14px 0 0 #cbd5e1, 28px 0 0 #cbd5e1; }
.shot-body {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
}
.shot-row {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #eff6ff, #e2e8f0);
  width: 65%;
}
.shot-row-wide { width: 100%; height: 16px; }
.shot-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: auto;
}
.shot-cards > div {
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-tint), #ffffff);
  border: 1px solid var(--border-soft);
}
.shot-table {
  flex: 1;
  background:
    linear-gradient(#e2e8f0, #e2e8f0) 0 25%/100% 1px no-repeat,
    linear-gradient(#e2e8f0, #e2e8f0) 0 50%/100% 1px no-repeat,
    linear-gradient(#e2e8f0, #e2e8f0) 0 75%/100% 1px no-repeat,
    var(--surface-alt);
  border-radius: 10px;
  border: 1px solid var(--border-soft);
}
.shot-chart {
  flex: 1;
  border-radius: 10px;
  background:
    linear-gradient(180deg, transparent 60%, rgba(37,99,235,.10) 60%),
    repeating-linear-gradient(90deg, transparent 0 20%, rgba(37,99,235,.18) 20% 20.5%);
  border: 1px solid var(--border-soft);
}
.shot figcaption {
  text-align: center;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 14px;
}

/* ---------- Privacy card ---------- */
.privacy-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  box-shadow: var(--sh-1);
  max-width: 820px;
  margin: 0 auto;
}
.privacy-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--blue-tint);
  font-size: 22px;
  flex: 0 0 auto;
}
.privacy-card h2 {
  font-size: 18px;
  margin: 0 0 8px;
}
.privacy-card p { margin: 0 0 6px; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 4px 18px;
  box-shadow: var(--sh-1);
  transition: box-shadow 160ms ease;
}
.faq-item[open] { box-shadow: var(--sh-2); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--blue);
  line-height: 1;
  transition: transform 160ms ease;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
}

/* ---------- Final CTA ---------- */
.final-cta { padding-block: var(--section-y); }
.final-card {
  text-align: center;
  background:
    radial-gradient(800px circle at 50% 0%, rgba(37,99,235,0.10), transparent 70%),
    linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 56px);
  box-shadow: var(--sh-2);
  max-width: 920px;
  margin: 0 auto;
}
.final-card .sub { margin-inline: auto; margin-bottom: 24px; }

/* ---------- Footer ---------- */
.footer {
  background: #0b1220;
  color: #cbd5e1;
  padding-block: 36px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.footer-brand .brand-name { color: #fff; font-size: 18px; }
.footer-brand .brand-byline { color: #94a3b8; }
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links a { color: #cbd5e1; font-size: 15px; }
.footer-links a:hover { color: #fff; }
.footer-meta {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

/* ---------- Focus visibility ---------- */
:focus-visible {
  outline: 3px solid rgba(37,99,235,.45);
  outline-offset: 2px;
  border-radius: 8px;
}

/* ============================================================
   Additions for consulting-positioning layout
   ============================================================ */

/* ---------- Hero: Automation Opportunity Card ----------
   Premium, diagnostic-feeling card. Replaces the older flow-chart visual.
   Sells the *result* (an automatable monthly process) rather than explaining
   the mechanics. Keeps Heebo + navy/blue palette + soft shadow language. */
.hero-insight {
  animation: fadeUp 600ms 120ms ease both;
  min-width: 0; /* allow proper shrinking inside hero-grid */
}

.insight-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--sh-strong);
  padding: clamp(20px, 2.6vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: transform 260ms cubic-bezier(.2,.7,.2,1), box-shadow 260ms ease;
}
.insight-card::before {
  /* Subtle top accent stripe — premium consulting tone */
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue), var(--blue-hi));
  opacity: .85;
}
.insight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(15,23,42,.10), 0 26px 56px rgba(15,23,42,.16);
}

/* --- Top: title + status pill --- */
.insight-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.insight-top-text { min-width: 0; }
.insight-eyebrow {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.insight-top h3 {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.insight-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(14,159,110,.10);
  color: var(--success);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgba(14,159,110,.22);
}
.insight-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(14,159,110,.18);
}

/* --- Diagnostic table (key/value rows) --- */
.insight-table {
  margin: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface-alt);
}
.insight-row {
  display: grid;
  grid-template-columns: minmax(120px, 38%) 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-soft);
}
.insight-row:last-child { border-bottom: 0; }
.insight-row dt {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.insight-row dd {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.45;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* --- Metrics strip --- */
.insight-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 14px 8px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-tint), #ffffff);
  border: 1px solid rgba(37,99,235,.20);
  text-align: center;
}
.metric strong {
  font-size: clamp(22px, 2.6vw, 26px);
  font-weight: 700;
  color: var(--blue-deep);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.metric span {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.3;
}

/* --- Outcome checklist --- */
.insight-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.insight-checklist li {
  position: relative;
  padding: 6px 12px 6px 30px;
  border-radius: 999px;
  background: rgba(14,159,110,.08);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}
.insight-checklist li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

/* --- Footnote --- */
.insight-note {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  padding-top: 4px;
  border-top: 1px dashed var(--border-soft);
}

/* --- Responsive tightening --- */
@media (max-width: 520px) {
  .insight-top {
    flex-direction: column;
    align-items: stretch;
  }
  .insight-pill { align-self: flex-start; }
  .insight-row {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 10px 12px;
  }
  .insight-row dt { font-size: 12px; }
  .insight-row dd { font-size: 14px; }
  .insight-metrics { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .metric { padding: 10px 4px; }
  .metric strong { font-size: 20px; }
  .metric span { font-size: 11px; }
  .insight-checklist li { font-size: 12.5px; padding: 5px 10px 5px 26px; }
}



/* ---------- Demo section (SmartRecon featured) ---------- */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}
@media (min-width: 960px) {
  .demo-grid { grid-template-columns: 1.05fr 0.95fr; }
}

.demo-copy h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--ink);
}
.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 20px;
}
.check-list li {
  position: relative;
  padding-inline-start: 30px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(14,159,110,.12);
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
}

.callout {
  background: var(--blue-tint);
  border: 1px solid rgba(37,99,235,.18);
  border-inline-start: 4px solid var(--blue);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 20px;
}
.callout strong { color: var(--blue-deep); }

/* In the demo section, neutralize the mockup tilt so it reads as a feature, not a flourish */
#demo .mock-card { transform: none; }

/* ---------- About card ---------- */
.about-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--sh-1);
}
.about-mark {
  width: 64px; height: 64px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 18px rgba(37,99,235,.28);
}
.about-card .h2 { margin: 6px 0 12px; }
.about-card p {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.7;
}
.about-card p.muted { font-size: 15px; }

/* About credibility bullets */
.about-bullets {
  list-style: none;
  padding: 0;
  margin: 4px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.55;
}
.about-tick {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(14,159,110,.12);
  color: var(--success);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}

/* Microcopy under final-CTA sub */
.micro-note {
  max-width: 560px;
  margin: -4px auto 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 560px) {
  .about-card {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ============================================================
   Motion: scroll-reveal, staggered children, micro-interactions
   ============================================================ */

/* One-shot fade-up on first reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger direct children when the container is revealed */
.stagger > * {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 500ms ease, transform 500ms cubic-bezier(.2,.7,.2,1);
}
.stagger.is-visible > * { opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(1) { transition-delay: 40ms; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 110ms; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 180ms; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 250ms; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 390ms; }
.stagger.is-visible > *:nth-child(7) { transition-delay: 460ms; }

/* Brand stripe — slow gradient drift */
.brand-stripe {
  background: linear-gradient(90deg, var(--blue-deep), var(--blue), var(--blue-hi), var(--blue), var(--blue-deep));
  background-size: 300% 100%;
  animation: stripeShift 14s linear infinite;
}
@keyframes stripeShift {
  0%   { background-position:   0% 0; }
  100% { background-position: 300% 0; }
}

/* Nav link — animated underline */
.nav-links > a:not(.btn) {
  position: relative;
}
.nav-links > a:not(.btn)::after {
  content: "";
  position: absolute;
  inset-inline: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: inline-end;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1);
}
.nav-links > a:not(.btn):hover::after { transform: scaleX(1); transform-origin: inline-start; }

/* Brand mark — gentle hover lift */
.brand:hover .brand-mark {
  transform: translateY(-1px) rotate(-3deg);
  transition: transform 200ms ease;
}
.brand-mark { transition: transform 200ms ease; }

/* Buttons — arrow nudge on hover (works for any <span> inside .btn) */
.btn > span[aria-hidden] {
  display: inline-block;
  transition: transform 180ms cubic-bezier(.2,.7,.2,1);
}
.btn:hover > span[aria-hidden] { transform: translateX(-3px); }
.btn-primary:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Feature card — icon micro-pop on hover */
.feature-card .feature-icon {
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), background 220ms ease;
}
.feature-card:hover .feature-icon {
  transform: translateY(-2px) rotate(-4deg) scale(1.05);
  background: #dceaff;
}

/* Pain card — icon wiggle on hover */
.pain-card:hover .pain-icon {
  animation: wiggle 480ms ease;
}
@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  25%      { transform: rotate(-8deg); }
  50%      { transform: rotate(6deg); }
  75%      { transform: rotate(-4deg); }
}

/* Step number — pulse ring on hover */
.step { overflow: hidden; }
.step .step-num { position: relative; }
.step .step-num::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  opacity: 0;
  transform: scale(.7);
  transition: opacity 260ms ease, transform 260ms ease;
}
.step:hover .step-num::after { opacity: .35; transform: scale(1); }

/* Hero blob — slow gentle drift */
.hero-blob {
  animation: blobDrift 18s ease-in-out infinite alternate;
}
@keyframes blobDrift {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-30px, 16px, 0); }
}

/* Mock card — subtle hover lift in demo section */
#demo .mock-card {
  transition: transform 260ms cubic-bezier(.2,.7,.2,1), box-shadow 260ms ease;
}
#demo .mock-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(15,23,42,.10), 0 32px 64px rgba(15,23,42,.18);
}

/* KPI numbers — count-up needs a stable width to avoid jitter */
.mock-kpi-num {
  font-variant-numeric: tabular-nums;
}

/* FAQ summary chevron — smoother rotate */
.faq-item summary::after { transition: transform 220ms ease; }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--blue-deep); }

/* Reduced motion — disable infinite/decorative animations entirely */
@media (prefers-reduced-motion: reduce) {
  .brand-stripe,
  .hero-blob,
  .insight-card {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .stagger > *  { opacity: 1; transform: none; }
}


