/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@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;
  }
  .fade-up { opacity: 1; transform: none; }
  .step { opacity: 1; transform: none; }
  .viol-row { opacity: 1; transform: none; }
  .eyebrow-dot { animation: none; }
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* Accessibility: focus ring */
:focus-visible {
  outline: 2px solid var(--brown-2);
  outline-offset: 3px;
  border-radius: 3px;
}

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

/* Skip to main */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--brown);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

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

/* ── TYPOGRAPHY UTILITIES ── */
.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--brown-2);
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
}

/* ═══════════════════════════════════════
   NAV — Linear-style: dense, minimal, sticky
═══════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

/* Inner wrapper — matches footer max-width and padding exactly */
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;  /* 20px top/bottom — matches page content padding */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-sm {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 5px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
  min-width: 0;           /* allow shrink */
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-icon {
  height: 28px;
  width: auto;
  flex-shrink: 0;
}

.nav-wordmark {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--text);
  letter-spacing: -0.2px;
  line-height: 1;
  white-space: nowrap;
}
.nav-wordmark b { color: var(--brown-2); font-weight: 400; }

.nav-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--brown);
  border: 1px solid var(--brown-border);
  padding: 2px 5px;
  border-radius: 3px;
  margin-left: 4px;
  vertical-align: middle;
  line-height: 1.4;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-2);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  display: block;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: var(--bg-3); }

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

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
  line-height: 1.4;
  /* NO border here — let variants declare their own */
  outline: none;          /* we use focus-visible instead */
  -webkit-appearance: none;
  appearance: none;
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border-2);
  box-shadow: none;
}
.btn-ghost:hover {
  color: var(--text);
  background: var(--bg-3);
  border-color: rgba(240,236,228,0.22);
}

.btn-primary {
  background: var(--brown);
  color: #fff;
  font-weight: 600;
  border: 1px solid transparent;
}
.btn-primary:hover { background: var(--brown-2); }

/* Size modifiers — only override what changes */
.btn-lg {
  font-size: 14px;
  padding: 9px 20px;
  border-radius: 7px;
}

.btn-xl {
  font-size: 15px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 8px;
}

/* ═══════════════════════════════════════
   HERO — JustFix editorial scale
═══════════════════════════════════════ */
.hero {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  align-items: center;
  /* grid columns don't overflow */
  overflow: hidden;
}

.hero-left {
  padding: 4rem 3rem 4rem 0;
  border-right: 1px solid var(--border);
  min-width: 0;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brown);
  animation: breathe 2.5s ease-in-out infinite;
}
@keyframes breathe { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.7)} }

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.0;
  letter-spacing: -2px;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--brown-2);
}

.hero-desc {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 2.5rem;
}

/* Wrapper provides the relative anchor for the autocomplete dropdown */
.hero-search-wrap {
  position: relative;
  max-width: 480px;
  margin-bottom: 1rem;
}

.hero-search {
  display: flex;
  align-items: stretch;   /* stretch — so button fills height */
  gap: 0;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0;
  transition: border-color 0.2s;
  height: 48px;           /* explicit height for consistent cross-browser rendering */
}

/* Autocomplete dropdown */
.ac-dropdown {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  background: var(--bg-2);
  border: 1px solid var(--brown-border);
  border-top: none;
  border-radius: 0 0 8px 8px;
  z-index: 200;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.ac-item {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.1s;
}
.ac-item:hover, .ac-item.ac-active {
  background: var(--bg-3);
  color: var(--text);
}
.ac-item-icon {
  flex-shrink: 0;
  color: var(--text-3);
}
.hero-search:focus-within { border-color: var(--brown-border); }

.hero-search-icon {
  padding: 0 12px;
  color: var(--text-3);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.hero-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text);
  padding: 0;             /* height is controlled by the container */
  height: 100%;
  min-width: 0;           /* allow shrink in flex context */
}
.hero-search input::placeholder { color: var(--text-3); }

.hero-search-btn {
  background: var(--brown);
  color: #fff;
  border: none;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 0 18px;
  align-self: stretch;    /* fill full height of the flex container */
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  -webkit-appearance: none;
  appearance: none;
}
.hero-search-btn:hover { background: var(--brown-2); }

.hero-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.hero-pill-label { font-size: 11px; color: var(--text-3); }
.hero-pill {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-2);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}
.hero-pill:hover { color: var(--text); border-color: var(--border-2); background: var(--bg-3); }

/* ── HERO RIGHT — LIVE APP MOCKUP ── */
.hero-right {
  padding: 3rem 0 3rem 3rem;
  min-width: 0;
}

.mockup {
  background: var(--bg-1);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  overflow: hidden;
  font-size: 13px;
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.titlebar-dot { width: 10px; height: 10px; border-radius: 50%; }
.td-red { background: #ff5f57; }
.td-yellow { background: #febc2e; }
.td-green { background: #28c840; }
.titlebar-url {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  background: var(--bg-3);
  padding: 3px 10px;
  border-radius: 4px;
  flex: 1;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mockup-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.mock-address {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--text);
  margin-bottom: 2px;
}
.mock-sub {
  font-size: 11px;
  color: var(--text-3);
}
.mock-chips {
  display: flex;
  gap: 5px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.mock-chip {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--bg-3);
  color: var(--text-2);
  border: 1px solid var(--border);
}
.mock-chip.warn { background: rgba(212,140,42,0.1); color: var(--amber); border-color: rgba(212,140,42,0.25); }
.mock-chip.ok { background: rgba(74,158,104,0.1); color: var(--green); border-color: rgba(74,158,104,0.25); }
.mock-chip.bad { background: rgba(224,82,82,0.1); color: var(--red); border-color: rgba(224,82,82,0.25); }

.mock-score-wrap { text-align: right; flex-shrink: 0; }
.mock-score-num {
  font-family: var(--font-serif);
  font-size: 42px;
  color: var(--brown-2);
  line-height: 1;
  letter-spacing: -1px;
}
.mock-score-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-3);
}
.mock-score-verdict {
  font-size: 10px;
  font-weight: 600;
  color: var(--green);
  margin-top: 3px;
}

.mockup-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
}
.mock-tab {
  font-size: 12px;
  padding: 8px 12px;
  color: var(--text-3);
  border-bottom: 2px solid transparent;
  cursor: default;
  white-space: nowrap;
}
.mock-tab.active { color: var(--brown-2); border-bottom-color: var(--brown); }

.mockup-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
}
.mock-metric {
  background: var(--bg-1);
  padding: 10px 12px;
}
.mock-metric-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 3px;
}
.mock-metric-val { font-size: 17px; font-weight: 500; color: var(--text); }
.mock-metric-sub { font-size: 10px; color: var(--text-3); margin-top: 1px; }

.mockup-flags {
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mock-flag {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 5px;
  border: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-2);
  line-height: 1.4;
}
.mock-flag-bar {
  width: 3px;
  align-self: stretch;
  border-radius: 2px;
  flex-shrink: 0;
  min-height: 16px;
}
.mock-flag.red .mock-flag-bar { background: var(--red); }
.mock-flag.amber .mock-flag-bar { background: var(--amber); }
.mock-flag.ok .mock-flag-bar { background: var(--green); }
.mock-flag.red { background: rgba(224,82,82,0.05); border-color: rgba(224,82,82,0.15); }
.mock-flag.amber { background: rgba(212,140,42,0.05); border-color: rgba(212,140,42,0.15); }
.mock-flag.ok { background: rgba(74,158,104,0.05); border-color: rgba(74,158,104,0.15); }
.mock-flag-title { font-weight: 600; color: var(--text); display: block; margin-bottom: 1px; }

/* ── HERO BELOW ── */
.hero-below {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  border-top: 1px solid var(--border);
}

.proof-strip {
  background: var(--bg);

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.proof-item {
  padding: 1.75rem 0;
  text-align: center;
  border-right: 1px solid var(--border);
}
.proof-item:last-child { border-right: none; }
.proof-num {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--text);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 4px;
}
.proof-num span { color: var(--brown-2); }
.proof-label { font-size: 12px; color: var(--text-2); }

/* ═══════════════════════════════════════
   SECTION SHARED
═══════════════════════════════════════ */
section { position: relative; }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--text);
  margin: 0.5rem 0 0.75rem;
  max-width: 600px;
}
.section-title em { font-style: italic; color: var(--brown-2); }

.section-desc {
  font-size: 15px;
  color: var(--text-2);
  max-width: 520px;
  line-height: 1.75;
}

/* ═══════════════════════════════════════
   FEATURES — Linear-style dense grid
═══════════════════════════════════════ */
.features-section {
  background: var(--bg);
 border-top: 1px solid var(--border); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;       /* intentional — clips hover bg to rounded corners */
}

.feat {
  padding: 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.feat:hover { background: var(--bg-2); }
.feat:nth-child(3n) { border-right: none; }
.feat:nth-last-child(-n+3) { border-bottom: none; }

.feat-icon-wrap {
  width: 36px; height: 36px;
  border: 1px solid var(--border-2);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  background: var(--bg-2);
}

.feat-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.feat-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
}

.feat-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--brown-2);
  background: var(--brown-dim);
  padding: 2px 7px;
  border-radius: 3px;
}

/* ═══════════════════════════════════════
   HOW IT WORKS — numbered steps
═══════════════════════════════════════ */
.how-section {
  border-top: 1px solid var(--border);
  background: var(--bg-1);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 3rem;
}

.step {
  padding: 2rem;
  border-right: 1px solid var(--border);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s, transform 0.5s;
}
.step:last-child { border-right: none; }
.step.visible { opacity: 1; transform: translateY(0); }

.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--brown);
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ═══════════════════════════════════════
   DATA SOURCES — JustFix-style transparency
═══════════════════════════════════════ */
.data-section {
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 3rem;
}

.data-source {
  background: var(--bg);
  padding: 1.5rem;
}

.data-source-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--brown-2);
  margin-bottom: 6px;
}

.data-source-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.data-source-desc {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
}

.data-source-badge {
  display: inline-block;
  margin-top: 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
}
.badge-live { background: rgba(74,158,104,0.12); color: var(--green); border: 1px solid rgba(74,158,104,0.25); }
.badge-daily { background: rgba(212,140,42,0.1); color: var(--amber); border: 1px solid rgba(212,140,42,0.25); }

/* ═══════════════════════════════════════
   PERSONAS — Three buyer types
═══════════════════════════════════════ */
.personas-section {
  border-top: 1px solid var(--border);
  background: var(--bg-1);
}

.personas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 3rem;
}

.persona {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  position: relative;
}
.persona:last-child { border-right: none; }
.persona.featured { background: var(--bg-2); }

.persona-num {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.persona-title {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.persona-subtitle {
  font-size: 12px;
  color: var(--brown-2);
  font-weight: 500;
  margin-bottom: 1rem;
}

.persona-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.persona-needs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.persona-needs li {
  font-size: 12px;
  color: var(--text-2);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.persona-needs li::before {
  content: '→';
  color: var(--brown);
  font-size: 11px;
  margin-top: 1px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   VIOLATIONS — sample data visual
═══════════════════════════════════════ */
.violations-section {
  background: var(--bg);

  border-top: 1px solid var(--border);
}

.violations-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.violations-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 1rem;
}

.viol-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-1);
  font-size: 12px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s, transform 0.4s;
}
.viol-row.visible { opacity: 1; transform: translateX(0); }

.viol-class-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 1px;
}
.class-c { background: rgba(224,82,82,0.15); color: var(--red); border: 1px solid rgba(224,82,82,0.3); }
.class-b { background: rgba(212,140,42,0.15); color: var(--amber); border: 1px solid rgba(212,140,42,0.3); }
.class-a { background: rgba(74,158,104,0.1); color: var(--green); border: 1px solid rgba(74,158,104,0.25); }

.viol-body { flex: 1; }
.viol-desc { color: var(--text-2); line-height: 1.5; }
.viol-meta { font-size: 10px; color: var(--text-3); margin-top: 3px; font-family: var(--font-mono); }

.viol-status {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 3px;
  flex-shrink: 0;
  align-self: flex-start;
}
.status-open { background: rgba(224,82,82,0.1); color: var(--red); }
.status-closed { background: rgba(74,158,104,0.1); color: var(--green); }

/* ═══════════════════════════════════════
   PRICING
═══════════════════════════════════════ */
.pricing-section {
  border-top: 1px solid var(--border);
  background: var(--bg-1);
}

/* Hero free note */
.hero-free-note {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 0.75rem;
  line-height: 1.5;
}
.hero-free-note strong {
  color: var(--text-2);
  font-weight: 600;
}

/* Pricing funnel */
.pricing-funnel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.funnel-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-2);
}
.funnel-num {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--brown);
  line-height: 1;
}
.funnel-text {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.4;
}
.funnel-text strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
}
.funnel-arrow {
  font-size: 16px;
  color: var(--text-3);
  padding: 0 6px;
}

/* $29 callout block */
.price-callout {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--brown);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  background: var(--bg-2);
}
.price-callout-left {
  background: var(--brown);
  color: #fff;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 180px;
}
.price-callout-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}
.price-callout-title {
  font-family: var(--font-serif);
  font-size: 52px;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 12px;
}
.price-callout-title sup {
  font-size: 22px;
  vertical-align: top;
  margin-top: 10px;
  display: inline-block;
}
.price-callout-note {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.4;
}
.price-callout-right {
  padding: 2rem 2.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.25rem;
}
.price-callout-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.87);
  line-height: 1.7;
  max-width: 480px;
}
.price-callout-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.price-callout-features li {
  font-size: 13px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.price-callout-features .price-check {
  color: var(--brown-2);
}
.price-callout-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Coming-soon price cards */
.price-coming {
  opacity: 0.6;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: visible;      /* allow absolute badge to show above */
  margin-top: 3rem;
}

.price-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  /* ensure button at bottom fills width correctly */
  box-sizing: border-box;
}
.price-card .btn {
  width: 100%;
  box-sizing: border-box;
  display: flex;
}
.price-card:last-child { border-right: none; }
.price-card.featured {
  background: var(--bg-2);
  border-top: 2px solid var(--brown);
  margin-top: 0;
  padding-top: 2.75rem;   /* extra space so badge doesn't overlap price-tier */
}

.price-featured-tag {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -100%);  /* sit above the card border */
  background: var(--brown);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 6px 6px 0 0;
  white-space: nowrap;
}

.price-persona-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--brown);
  letter-spacing: 0.3px;
  margin-bottom: 0.4rem;
}

.price-persona-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.price-tier {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1.25rem;
}
.price-card.featured .price-tier { color: var(--brown-2); }

.price-amount {
  font-family: var(--font-serif);
  font-size: 48px;
  letter-spacing: -2px;
  line-height: 1;
  color: var(--text);
  margin-bottom: 4px;
}
.price-amount sup { font-size: 20px; vertical-align: top; margin-top: 8px; display: inline-block; }
.price-amount .per { font-family: var(--font-sans); font-size: 13px; font-weight: 400; color: var(--text-3); letter-spacing: 0; }

.price-period {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 2rem;
}

.price-features {
  list-style: none;
  flex: 1;
  margin-bottom: 2rem;
}
.price-features li {
  font-size: 13px;
  color: var(--text-2);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}
.price-features li:first-child { border-top: 1px solid var(--border); }
.price-check { color: var(--brown-2); font-size: 13px; flex-shrink: 0; margin-top: 1px; }

/* ═══════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════ */
.testimonials-section {
  background: var(--bg);

  border-top: 1px solid var(--border);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 3rem;
}

.testi {
  padding: 2rem;
  border-right: 1px solid var(--border);
}
.testi:last-child { border-right: none; }

.testi-quote {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testi-quote::before { content: '\201C'; color: var(--brown); font-size: 20px; font-style: normal; }

.testi-author { display: flex; align-items: center; gap: 10px; }

.testi-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--brown-2);
  flex-shrink: 0;
}

.testi-name { font-size: 13px; font-weight: 600; color: var(--text); }
.testi-role { font-size: 11px; color: var(--text-3); }

/* ═══════════════════════════════════════
   CTA FOOTER BAND
═══════════════════════════════════════ */
.cta-band {
  background: var(--bg);

  border-top: 1px solid var(--border);
  padding: 5rem 1.5rem;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.05;
}
.cta-band h2 em { font-style: italic; color: var(--brown-2); }

.cta-band p {
  font-size: 16px;
  color: var(--text-2);
  max-width: 460px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.cta-actions .btn {
  width: 100%;
  max-width: 360px;
  text-align: center;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
  background: var(--bg);

  border-top: 1px solid var(--border);
  padding: 2.5rem 2.25rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-2);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 12px;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text-2); }

.footer-copy {
  font-size: 12px;
  color: var(--text-3);
}

/* ═══════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feat:nth-child(3n) { border-right: 1px solid var(--border); }
  .feat:nth-child(2n) { border-right: none; }
  .feat:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
  .feat:nth-last-child(-n+2) { border-bottom: none; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2n) { border-right: none; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .personas-grid { grid-template-columns: 1fr; }
  .persona { border-right: none; border-bottom: 1px solid var(--border); }
  .persona:last-child { border-bottom: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .testi { border-right: none; border-bottom: 1px solid var(--border); }
  .testi:last-child { border-bottom: none; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card:nth-child(2n) { border-right: none; }
  .price-card:nth-child(n+3) { border-top: 1px solid var(--border); }
}

@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { border-right: none; border-bottom: 1px solid var(--border); }
  .price-card:last-child { border-bottom: none; }
  .price-callout { flex-direction: column; }
  .price-callout-left { min-width: unset; padding: 1.5rem 1.75rem 1rem; }
  .price-callout-right { padding: 1rem 1.75rem 1.5rem; }
  .pricing-funnel { flex-direction: column; gap: 6px; }
  .funnel-arrow { transform: rotate(90deg); }
}

@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 3rem 0 2rem; border-right: none; border-bottom: 1px solid var(--border); }
  .hero-right { padding: 2rem 0 3rem; }
  .violations-layout { grid-template-columns: 1fr; gap: 2rem; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(2) { border-right: none; }
  .proof-item:nth-child(3) { border-top: 1px solid var(--border); }
  .proof-item:nth-child(4) { border-top: 1px solid var(--border); }
  .nav-links { display: none; }
  .nav-badge { display: none; }   /* saves space on mobile */
  .features-grid { grid-template-columns: 1fr; }
  .data-grid { grid-template-columns: repeat(2, 1fr); }
  .feat:nth-child(n) { border-right: none; border-bottom: 1px solid var(--border); }
  .feat:last-child { border-bottom: none; }
}