/* ═══════════════════════════════════════════════════════════════
   PROFIT SENTRY — SALES PAGE
   Design inspiration: Linear, Stripe, Klaviyo, Vercel
   Philosophy: white backgrounds, ruthless contrast, precise type
═══════════════════════════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES ───────────────────────────────────────── */
:root {
  /* Palette */
  --white:        #ffffff;
  --gray-50:      #f8fafc;
  --gray-100:     #f1f5f9;
  --gray-200:     #e2e8f0;
  --gray-300:     #cbd5e1;
  --gray-400:     #94a3b8;
  --gray-500:     #64748b;
  --gray-600:     #475569;
  --gray-700:     #334155;
  --gray-800:     #1e293b;
  --gray-900:     #0f172a;

  --green-50:     #f0fdf4;
  --green-100:    #dcfce7;
  --green-200:    #bbf7d0;
  --green-600:    #16a34a;
  --green-700:    #15803d;
  --green-800:    #166534;

  /* Semantic */
  --color-bg:         var(--white);
  --color-bg-subtle:  var(--gray-50);
  --color-bg-muted:   var(--gray-100);
  --color-border:     var(--gray-200);
  --color-border-strong: var(--gray-300);

  --color-text:       var(--gray-900);
  --color-text-secondary: var(--gray-600);
  --color-text-muted: #5c6f84;   /* Muted Slate (meets WCAG AA 4.5:1 contrast on white) */

  --color-accent:     #047857;   /* Emerald 700 (meets WCAG AA 4.5:1 contrast on white, and with white text) */
  --color-accent-hover: #065f46; /* Emerald 800 (6.8:1 contrast) */
  --color-accent-subtle: #ecfdf5;
  --color-accent-text:   #065f46;

  --color-warning-bg:   #fffbeb;
  --color-warning-border: #fde68a;
  --color-warning-text:  #92400e;

  --color-danger:     #dc2626;
  --color-danger-bg:  #fef2f2;
  --color-danger-border: #fecaca;

  /* Header */
  --header-height: 64px;

  /* Typography */
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;

  /* Spacing */
  --section-gap: 96px;
  --container-width: 1140px;
  --container-sm: 760px;

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(15,23,42,0.05);
  --shadow-sm:  0 1px 3px rgba(15,23,42,0.08), 0 1px 2px rgba(15,23,42,0.06);
  --shadow-md:  0 4px 6px rgba(15,23,42,0.07), 0 2px 4px rgba(15,23,42,0.06);
  --shadow-lg:  0 10px 15px rgba(15,23,42,0.07), 0 4px 6px rgba(15,23,42,0.05);
  --shadow-xl:  0 20px 25px rgba(15,23,42,0.08), 0 8px 10px rgba(15,23,42,0.04);
  --shadow-2xl: 0 40px 60px rgba(15,23,42,0.1), 0 15px 20px rgba(15,23,42,0.06);
}

/* ─── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
p { margin: 0; }
strong { font-weight: 600; }
em { font-style: italic; }

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

/* ─── LAYOUT UTILITIES ────────────────────────────────────────── */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
}
.container-sm { max-width: var(--container-sm); }
.text-center { text-align: center; }

/* ─── TYPOGRAPHY SCALE ────────────────────────────────────────── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}
.section-eyebrow-green { color: var(--color-accent); }
.section-eyebrow-center { display: block; }

.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 20px;
}

.section-lead {
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin-bottom: 48px;
}

.section-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}
.section-body em { color: var(--color-text); }

/* ─── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 1px 3px rgba(5,150,105,0.25), 0 0 0 1px rgba(5,150,105,0.15);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 4px 12px rgba(5,150,105,0.25), 0 0 0 1px rgba(5,150,105,0.2);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  color: var(--color-text-secondary);
}
.btn-ghost:hover { color: var(--color-text); background: var(--gray-100); }

.btn-lg {
  padding: 13px 24px;
  font-size: 15px;
  border-radius: var(--radius-lg);
}

.btn-xl {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

.btn-block {
  display: flex;
  width: 100%;
  justify-content: center;
}

/* ─── HEADER ──────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.2s;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon { flex-shrink: 0; }
.logo-wordmark {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}
.logo-wordmark strong {
  font-weight: 800;
  color: var(--color-accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.main-nav a:hover { color: var(--color-text); background: var(--gray-100); }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* ─── HERO ────────────────────────────────────────────────────── */
.hero {
  padding-top: calc(var(--header-height) + 72px);
  padding-bottom: 0;
  background: var(--color-bg);
  overflow: hidden;
}

.hero-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-accent-subtle);
  border: 1px solid var(--green-200);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  animation: blink 2.5s ease infinite;
}

@keyframes blink {
  0%, 80%, 100% { opacity: 1; }
  40% { opacity: 0.3; }
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--color-text);
  margin-bottom: 28px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.h1-emphasis {
  color: var(--color-accent);
}

.hero-lead {
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-cta-note {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Trust pills */
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: var(--gray-50);
  border: 1px solid var(--color-border);
  padding: 5px 12px;
  border-radius: 50px;
}

/* Product image */
.hero-product {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}

.product-shadow-wrap {
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--color-border),
    0 -4px 0 4px var(--gray-100),
    var(--shadow-2xl);
}

.hero-product-img {
  width: 100%;
  display: block;
}

/* ─── PROOF BAR ───────────────────────────────────────────────── */
.proof-bar {
  background: var(--gray-50);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 32px 0;
}

.proof-bar-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

.proof-bar-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.proof-bar-quotes {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.proof-quote {
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 320px;
}

.proof-quote p {
  font-size: 14px;
  color: var(--color-text-secondary);
  font-style: italic;
  line-height: 1.5;
}

.proof-quote cite {
  font-size: 12px;
  color: var(--color-text-muted);
  font-style: normal;
}

.proof-stars {
  color: #f59e0b;
  font-size: 13px;
  letter-spacing: 2px;
}

.proof-divider {
  width: 1px;
  background: var(--color-border);
  align-self: stretch;
  flex-shrink: 0;
}

/* ─── STORY SECTION ───────────────────────────────────────────── */
.story-section {
  padding: var(--section-gap) 0 40px;
}

.story-section .container {
  text-align: center;
}

.story-body {
  text-align: left;
  max-width: 600px;
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-secondary);
}
.story-body strong { color: var(--color-text); }

/* Callout */
.callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

.callout-warning {
  background: var(--color-warning-bg);
  border: 1px solid var(--color-warning-border);
}

.callout-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.callout p {
  font-size: 15px;
  color: var(--color-warning-text);
  line-height: 1.65;
}
.callout strong { color: var(--color-warning-text); font-weight: 700; }

/* ─── PROBLEM SECTION ─────────────────────────────────────────── */
.problem-section {
  padding: var(--section-gap) 0;
  background: var(--gray-50);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.problem-content .section-h2 { margin-top: 8px; }

.section-lead { /* reused */ }

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}
.check-icon { flex-shrink: 0; margin-top: 1px; }

/* Scenario card */
.scenario-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.scenario-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.scenario-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
}

.scenario-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--gray-50);
}

.scenario-step-danger {
  background: var(--color-danger-bg);
  border-color: var(--color-danger-border);
}

.step-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.step-neutral {
  background: var(--gray-200);
  color: var(--gray-700);
}

.step-danger-badge {
  background: var(--color-danger-bg);
  color: var(--color-danger);
  border: 1px solid var(--color-danger-border);
}

.step-text {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}
.step-text strong { color: var(--color-text); }
.scenario-step-danger .step-text { color: #b91c1c; }
.scenario-step-danger strong { color: #991b1b; }

.scenario-connector {
  width: 1px;
  height: 12px;
  background: var(--color-border);
  margin-left: 28px;
}

.scenario-conclusion {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
  padding: 14px 16px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gray-300);
  line-height: 1.55;
}

/* ─── SOLUTION SECTION ────────────────────────────────────────── */
.solution-section {
  padding: var(--section-gap) 0;
}

.solution-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.solution-header .section-lead { margin-bottom: 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--green-200);
  transform: translateY(-2px);
}

.feature-card-featured {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent), var(--shadow-md);
}
.feature-card-featured:hover { box-shadow: 0 0 0 1px var(--color-accent), var(--shadow-xl); }

.feature-featured-label {
  position: absolute;
  top: -11px;
  left: 24px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  background: var(--color-accent);
  padding: 3px 12px;
  border-radius: 50px;
}

.feature-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon-green {
  background: var(--green-100);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}
.feature-card p:last-child { margin-bottom: 0; }

.feature-detail {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--color-accent) !important;
}

/* ─── MODES SECTION ───────────────────────────────────────────── */
.modes-section {
  padding: var(--section-gap) 0;
  background: var(--gray-50);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.modes-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.modes-header .section-lead { margin-bottom: 0; }

.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mode-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
  overflow: hidden;
}

.mode-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}

.mode-card-featured {
  border-color: var(--gray-800);
  box-shadow: 0 0 0 1px var(--gray-800), var(--shadow-md);
}
.mode-card-featured:hover {
  box-shadow: 0 0 0 1px var(--gray-800), var(--shadow-xl);
}

.mode-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  color: var(--gray-100);
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}

.mode-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.mode-gold { background: #fffbeb; border: 1px solid #fde68a; }
.mode-navy { background: var(--gray-100); border: 1px solid var(--gray-200); }
.mode-slate { background: var(--gray-50); border: 1px solid var(--gray-200); }

.mode-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.mode-subtitle {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.mode-card > p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.mode-example {
  background: var(--gray-50);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 20px;
}

.mode-example-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.mode-example-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.example-from {
  font-size: 12px;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.example-to {
  font-size: 12px;
  color: var(--color-accent-text);
  font-weight: 600;
}

.mode-benefits {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mode-benefits li {
  font-size: 13px;
  color: var(--color-text-secondary);
  padding-left: 16px;
  position: relative;
}

.mode-benefits li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gray-400);
}

/* ─── DETAIL / PROOF SECTION ──────────────────────────────────── */
.detail-section {
  padding: var(--section-gap) 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.detail-image {
  position: relative;
}

.detail-img {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xl);
}

.detail-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent-text);
  box-shadow: var(--shadow-sm);
}

.live-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: blink 2s ease infinite;
  flex-shrink: 0;
}

.detail-content .section-h2 { margin-top: 8px; }

.detail-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.df-icon-wrap {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: var(--green-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.detail-feature strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}

.detail-feature p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ─── SETUP STEPS ─────────────────────────────────────────────── */
.setup-section {
  padding: var(--section-gap) 0;
  background: var(--gray-50);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.setup-section .section-h2 { margin-bottom: 48px; }

.setup-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
  counter-reset: none;
}

.setup-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}
.setup-step:last-child { border-bottom: none; }

.setup-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-text);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-family: var(--font-display);
}

.setup-step-content h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}

.setup-step-content p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* ─── TESTIMONIALS ────────────────────────────────────────────── */
.testimonials-section {
  padding: var(--section-gap) 0;
}

.testimonials-section .section-h2 { margin-bottom: 48px; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--green-200);
}

.testimonial-card-lg {
  grid-column: span 2;
  background: var(--color-accent-subtle);
  border-color: var(--green-200);
}

.testimonial-stars { color: #f59e0b; font-size: 14px; letter-spacing: 2px; }

.testimonial-card blockquote p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

.testimonial-card-lg blockquote p {
  font-size: 17px;
  color: var(--color-accent-text);
}

.testimonial-card em { font-style: italic; font-weight: 600; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-text);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
}

.testimonial-card-lg .author-avatar { background: var(--color-accent); }

.testimonial-author strong {
  display: block;
  font-size: 14px;
  color: var(--color-text);
}
.testimonial-author span {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ─── OBJECTIONS ──────────────────────────────────────────────── */
.objections-section {
  padding: var(--section-gap) 0;
  background: var(--gray-50);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.objections-section .section-h2 { margin-bottom: 48px; }

.objections-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-align: left;
}

.objection {
  background: var(--white);
  padding: 28px;
}

.objection h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
  line-height: 1.4;
}

.objection p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}
.objection strong { color: var(--color-text); }

/* ─── PRICING ─────────────────────────────────────────────────── */
.pricing-section {
  padding: var(--section-gap) 0;
}

.pricing-section .section-h2 { margin-bottom: 8px; }
.pricing-section .section-lead { margin-bottom: 56px; }

.pricing-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 48px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card,
.pricing-compare {
  min-width: 0;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--color-text);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: 6px 6px 0 var(--color-text);
}

.pricing-plan-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.pricing-amount-row {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  margin-bottom: 6px;
  line-height: 1;
}

.pricing-currency {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--color-text);
  padding-bottom: 6px;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 68px;
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-cents {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text-secondary);
  padding-bottom: 8px;
}

.pricing-period {
  font-size: 14px;
  color: var(--color-text-muted);
  padding-bottom: 8px;
  padding-left: 4px;
}

.pricing-trial-note {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent-text);
  background: var(--color-accent-subtle);
  border: 1px solid var(--green-200);
  border-radius: 50px;
  padding: 5px 14px;
  display: inline-block;
  margin-bottom: 24px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-border);
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-secondary);
}
.pricing-features svg { flex-shrink: 0; }

.pricing-cancel-note {
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 12px;
}

/* ─── COMPARISON LIST ────────────────────────────────────── */
.pricing-compare h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
}

.cmp-list {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}

/* Desktop header row */
.cmp-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--gray-50);
  border-bottom: 1px solid var(--color-border);
}

.cmp-header-feature,
.cmp-header-manual,
.cmp-header-ps {
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cmp-header-feature { color: var(--color-text-muted); }
.cmp-header-manual  { color: var(--color-text-muted); border-left: 1px solid var(--color-border); }
.cmp-header-ps      { color: var(--color-accent-text); border-left: 1px solid var(--color-border); }

/* Data rows — 3-column grid on desktop */
.cmp-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--color-border);
}
.cmp-row:last-child { border-bottom: none; }
.cmp-row:nth-child(even) { background: var(--gray-50); }

/* cmp-values is invisible to the grid — its children slot in as grid items */
.cmp-values {
  display: contents;
}

.cmp-feature,
.cmp-manual,
.cmp-ps {
  padding: 12px 16px;
  font-size: 14px;
  align-self: center;
}

.cmp-feature { color: var(--color-text-secondary); }
.cmp-manual  {
  color: var(--color-text-muted);
  font-size: 13px;
  border-left: 1px solid var(--color-border);
}
.cmp-manual.cmp-no { color: #dc2626; }
.cmp-ps {
  color: var(--color-accent-text);
  font-weight: 600;
  font-size: 13px;
  border-left: 1px solid var(--color-border);
}

/* ─── FAQ ─────────────────────────────────────────────────────── */
.faq-section {
  padding: var(--section-gap) 0;
  background: var(--gray-50);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.faq-section .section-h2 { margin-bottom: 40px; }

.faq-list {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  text-align: left;
  box-shadow: var(--shadow-sm);
}

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

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  font-family: var(--font-display);
  list-style: none;
  user-select: none;
  transition: background 0.15s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { background: var(--gray-50); }

.faq-q::after {
  content: '';
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

details[open] > .faq-q::after { transform: rotate(180deg); }

.faq-a {
  padding: 0 24px 20px;
  border-top: 1px solid var(--color-border);
  background: var(--gray-50);
  animation: faqOpen 0.2s ease;
}

.faq-a p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-text-secondary);
  padding-top: 16px;
}

@keyframes faqOpen {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ─── FINAL CTA ───────────────────────────────────────────────── */
.final-cta {
  padding: var(--section-gap) 0;
  background: var(--gray-900);
}

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

.final-cta-icon {
  display: inline-flex;
  margin-bottom: 24px;
}

.final-cta-h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.15;
}

.final-cta-lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-400);
  margin-bottom: 40px;
}

.final-cta .btn-primary {
  box-shadow: 0 0 0 1px rgba(5,150,105,0.4), 0 4px 20px rgba(5,150,105,0.3);
  font-size: 16px;
  padding: 16px 36px;
}

.final-cta-terms {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 16px;
  margin-bottom: 32px;
}

.final-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  color: var(--gray-500);
  flex-wrap: wrap;
}

.trust-dot {
  color: var(--gray-700);
  font-size: 10px;
}

/* ─── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--gray-900);
  border-top: 1px solid var(--gray-800);
  padding: 32px 0 40px;
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo .logo-wordmark {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--gray-300);
}

.footer-logo .logo-wordmark strong {
  color: var(--color-accent);
}

.footer-links {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 13px;
  color: var(--gray-400); /* Slate 400 (meets WCAG AA contrast of 6.1:1 on dark background) */
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--white); }

.footer-legal {
  font-size: 12px;
  color: var(--gray-400); /* Slate 400 (meets WCAG AA contrast of 6.1:1 on dark background) */
  text-align: center;
  line-height: 1.7;
}

/* ─── SCROLL ANIMATIONS ───────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-animate-delay="1"] { transition-delay: 0.08s; }
[data-animate-delay="2"] { transition-delay: 0.16s; }
[data-animate-delay="3"] { transition-delay: 0.24s; }

/* ─── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .problem-grid   { grid-template-columns: 1fr; gap: 40px; }
  .detail-grid    { grid-template-columns: 1fr; gap: 48px; }
  .pricing-layout { grid-template-columns: 1fr; max-width: 500px; }
}

@media (max-width: 860px) {
  :root { --section-gap: 72px; }
  .features-grid  { grid-template-columns: 1fr; }
  .modes-grid     { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card-lg { grid-column: span 1; }
  .objections-list { grid-template-columns: 1fr; }
  .main-nav        { display: none; }
  .proof-divider   { display: none; }
  .proof-bar-quotes { gap: 24px; }
  .proof-quote     { padding: 0; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .header-inner { padding: 0 20px; }
  .footer-inner { padding: 0 20px; }
  .hero-inner { padding: 0 20px; }
  .pricing-card { padding: 24px 20px; }
  .mode-card { padding: 24px 20px; }
  .final-cta .btn-primary { width: 100%; justify-content: center; }

  /* Mobile Header Simplification to avoid wrapping/clutter */
  .header-sign-in { display: none !important; }
  .hide-mobile { display: none !important; }
  .header-actions { gap: 0; }

  /* FAQ summary target sizing optimizations for smaller screen space */
  .faq-q { padding: 18px 20px; }

  /* ── Mobile: comparison rows → cards ── */

  /* Each cmp-row becomes a card */
  .cmp-header { display: none; } /* hide desktop column headers */

  .cmp-list {
    border: none;
    border-radius: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .cmp-row {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-xs);
  }
  .cmp-row:nth-child(even) { background: var(--white); }
  .cmp-row:last-child { border-bottom: 1px solid var(--color-border); }

  /* Feature title bar — full width at top of card */
  .cmp-feature {
    padding: 12px 16px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    background: var(--gray-50);
    border-bottom: 1px solid var(--color-border);
    border-left: none;
    align-self: auto;
  }

  /* Two value cells: flex children of .cmp-values, equal width */
  .cmp-manual,
  .cmp-ps {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-self: stretch; /* override desktop align-self:center so headers stay level */
    border-left: none;
    padding: 0 12px 10px; /* l/r/b padding creates breathing room for the text content */
    font-size: 13px;
  }

  /* cmp-values: the row holding the two coloured blocks */
  .cmp-values {
    display: flex;
    flex-direction: row;
  }

  /* ── Manual block (left, amber) ── */
  .cmp-manual {
    border-right: 1px solid var(--color-border);
    color: #64748b;
    font-weight: 400;
  }
  .cmp-manual.cmp-no { color: #dc2626; }
  .cmp-manual::before {
    content: "Manual";
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #b45309;
    background: #fef3c7;
    border-bottom: 1px solid #fde68a;
    /* Bleed edge-to-edge despite parent padding */
    margin: 0 -12px 10px;
    padding: 5px 12px;
  }

  /* ── Profit Sentry block (right, green) ── */
  .cmp-ps {
    color: var(--color-accent-text);
    font-weight: 700;
  }
  .cmp-ps::before {
    content: "Profit Sentry";
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #065f46;
    background: #d1fae5;
    border-bottom: 1px solid #a7f3d0;
    /* Bleed edge-to-edge despite parent padding */
    margin: 0 -12px 10px;
    padding: 5px 12px;
  }

  /* Clean up multi-line badge layout in pricing card */
  .pricing-trial-note {
    display: block;
    border-radius: var(--radius-md);
    text-align: center;
    padding: 8px 12px;
  }
}
