/* ══════════════════════════════════════════════════════════════════
   main.css — SimpleBI website
   Single stylesheet for all pages.
   Sections:
     1. Reset & custom properties
     2. Base styles
     3. Typography & layout utilities
     4. Buttons
     5. Section spacing
     6. Nav
     7. Footer
     8. Page: Home (index.html)
     9. Page: Blog index (blog.html)
    10. Page: Blog post (blog/*.html)
    11. Page: Privacy / Prose (privacy-policy.html)
    12. Responsive
   ══════════════════════════════════════════════════════════════════ */


/* ── 1. RESET & CUSTOM PROPERTIES ─────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:        #0d0f11;
  --ink-2:      #3a3f47;
  --ink-3:      #7a8290;
  --accent:     #0b5cd6;
  --accent-h:   #0848b5;
  --teal:       #00a896;
  --bg:         #ffffff;
  --bg-off:     #f5f6f8;
  --border:     #e2e5ea;
  --fs-xs:      0.75rem;
  --fs-sm:      0.875rem;
  --fs-base:    1rem;
  --fs-lg:      1.125rem;
  --fs-xl:      1.375rem;
  --fs-2xl:     1.75rem;
  --fs-3xl:     2.25rem;
  --fs-4xl:     3rem;
  --fs-5xl:     3.75rem;
  --fs-6xl:     5rem;
  --fw-light:   300;
  --fw-reg:     400;
  --fw-med:     500;
  --fw-semi:    600;
  --max:        1200px;
  --gutter:     2rem;
  --radius:     6px;
  --transition: 220ms ease;
}

html { scroll-behavior: smooth; }


/* ── 2. BASE STYLES ────────────────────────────────────────────────── */

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: var(--fw-reg);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}


/* ── 3. TYPOGRAPHY & LAYOUT UTILITIES ─────────────────────────────── */

.serif { font-family: 'DM Serif Display', serif; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

section { padding-block: 7rem; }

.section-label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}


/* ── 4. BUTTONS ────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(11,92,214,0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-ghost:hover {
  background: rgba(11,92,214,0.06);
}


/* ── 5. NAV ────────────────────────────────────────────────────────── */

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.85rem var(--gutter);
  pointer-events: none;
}
nav {
  pointer-events: auto;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226,229,234,0.8);
  border-radius: 100px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09), 0 1px 4px rgba(0,0,0,0.05);
  max-width: 960px;
  margin-inline: auto;
  transition: box-shadow 0.35s ease, background 0.35s ease;
}
nav.scrolled {
  box-shadow: 0 12px 48px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.07);
  background: rgba(255,255,255,0.97);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding-inline: 1.75rem;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo img {
  height: 75px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}
.nav-links li {
  display: flex;
  align-items: center;
}
.nav-links li + li::before {
  content: '·';
  color: var(--ink-3);
  font-size: 1.1rem;
  padding-inline: 0.85rem;
  line-height: 1;
  pointer-events: none;
}
.nav-links a {
  font-size: var(--fs-sm);
  font-weight: var(--fw-med);
  color: var(--ink-2);
  text-decoration: none;
  font-family: 'Bricolage Grotesque', sans-serif;
  letter-spacing: -0.01em;
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  border-radius: 100px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  cursor: pointer;
  text-decoration: none;
  border: none;
  background: var(--accent);
  color: #fff;
  margin-left: 0.5rem;
  letter-spacing: 0.01em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.nav-cta:hover {
  background: var(--accent-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(11,92,214,0.25);
}


/* ── 6. FOOTER ─────────────────────────────────────────────────────── */

footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: 3rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.footer-logo img {
  height: 30px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.footer-links a {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: rgba(255,255,255,0.85); }
.footer-copy {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.25);
}


/* ══════════════════════════════════════════════════════════════════ */
/* 7. PAGE: HOME (index.html)                                        */
/* ══════════════════════════════════════════════════════════════════ */

/* ── Hero ──────────────────────────────────────────────────────────── */

.hero {
  padding-block: calc(7rem - 70px) 6rem;
  position: relative;
}
@keyframes gridBreathe {
  0%, 100% { background-size: 60px 60px; }
  50%       { background-size: 78px 78px; }
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.45;
  pointer-events: none;
  animation: gridBreathe 35s ease-in-out infinite;
}
.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4rem;
}
.hero-text {
  flex: 1 1 0;
  min-width: 0;
  max-width: 540px;
}
.hero-visual {
  flex: 1 1 429px;
  max-width: 479px;
  margin-left: auto;
  position: relative;
}

/* ── Before / After transition connector ─────────────────────────── */
.ba-transition {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem auto 1rem;
  color: #c0392b;
}
.ba-transition-arrow {
  width: 18px;
  height: 28px;
  opacity: 0.65;
}
.ba-transition-label {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 10.5px;
  font-weight: var(--fw-semi);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b65541;
}

/* ── Before card (flows below dashboard, muted) ──────────────────── */
.ba-before-card {
  width: 100%;
  background: #fdf2ec;
  border: 1px solid #f5dccb;
  border-radius: 14px;
  padding: 1.15rem 1.2rem 1.3rem;
  box-shadow: 0 18px 36px -18px rgba(196,80,40,0.18);
  opacity: 0.92;
}
.ba-before-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 11px;
  font-weight: var(--fw-semi);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c0392b;
  margin-bottom: 0.75rem;
}
.ba-before-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #e07a5f;
}

/* ── Browser frame (After dashboard) ─────────────────────────────── */
.ba-browser {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow:
    0 24px 60px -24px rgba(13,15,17,0.22),
    0 4px 14px -6px rgba(13,15,17,0.06);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.ba-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f5f6f8;
  border-bottom: 1px solid var(--border);
}
.ba-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #d4d6db;
}
.ba-dot:nth-child(1) { background: #e0e2e6; }
.ba-dot:nth-child(2) { background: #d4d6db; }
.ba-dot:nth-child(3) { background: #c8cad0; }
.ba-url {
  flex: 1;
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  color: var(--ink-2);
  font-family: 'DM Sans', sans-serif;
}
.ba-url-lock {
  width: 10px; height: 10px;
  color: var(--ink-3);
  flex-shrink: 0;
}

.ba-browser-body {
  position: relative;
  padding: 1.75rem 1.85rem 1.5rem;
}

.ba-dash-header h4 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.85rem;
  color: var(--ink);
  line-height: 1.1;
  margin: 0;
}
.ba-dash-header .ba-sep { color: var(--ink-3); margin: 0 4px; }
.ba-dash-date {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin: 7px 0 1.4rem;
}

.ba-after-wrap { position: relative; }
.ba-success-badge {
  position: absolute;
  top: 72px; /* sit just below the browser chrome bar */
  right: -21px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 0.64rem 0.79rem;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  box-shadow: 0 14px 32px -10px rgba(13,15,17,0.22);
  width: 202px;
  z-index: 5;
  animation: badgeFloat 6s ease-in-out infinite;
  will-change: transform;
}
@keyframes badgeFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%      { transform: translate3d(0, -5px, 0) rotate(-0.25deg); }
}
.ba-success-icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #d8f4ef;
  color: #00a896;
  display: grid;
  place-items: center;
}
.ba-success-icon svg { width: 11px; height: 11px; }
.ba-success-badge strong {
  display: block;
  font-size: 11px;
  color: var(--ink);
  font-weight: var(--fw-semi);
  margin-bottom: 2px;
}
.ba-success-badge p {
  font-size: 9.5px;
  color: var(--ink-3);
  line-height: 1.4;
  margin: 0;
  font-family: 'DM Sans', sans-serif;
}

.ba-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 1.1rem;
}
.ba-kpi {
  background: #f5f6f8;
  border-radius: 10px;
  padding: 0.85rem 0.95rem;
}
.ba-kpi-label {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: var(--fw-semi);
  margin-bottom: 6px;
}
.ba-kpi-value {
  font-family: 'DM Serif Display', serif;
  font-size: 1.7rem;
  color: var(--ink);
  line-height: 1;
}
.ba-kpi-delta {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: var(--fw-semi);
  color: #00a896;
  margin-left: 5px;
}

.ba-line-chart {
  background: #f5f6f8;
  border-radius: 10px;
  padding: 0.85rem 0.7rem 0.55rem;
  height: 160px;
  margin-bottom: 0.9rem;
}
.ba-line-chart svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.ba-dash-footer {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ── Mini ugly spreadsheet ──────────────────────────────────────── */
.ba-spreadsheet {
  background: #fff;
  border: 1px solid #e3d6cb;
  border-radius: 6px;
  overflow: hidden;
  font-family: 'DM Sans', sans-serif;
  box-shadow: 0 4px 10px -4px rgba(196,80,40,0.12);
}
.ba-ss-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  background: #107c41;
  color: #fff;
  font-size: 12px;
}
.ba-ss-icon {
  width: 15px;
  height: 15px;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}
.ba-ss-filename {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ba-ss-grid {
  display: grid;
  grid-template-rows: repeat(6, auto);
  font-size: 12px;
  color: #2c2a28;
  background: #fff;
}
.ba-ss-row {
  display: grid;
  grid-template-columns: 28px repeat(4, 1fr);
}
.ba-ss-cell {
  padding: 5px 8px;
  border-right: 1px solid #e7e2dc;
  border-bottom: 1px solid #e7e2dc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  min-height: 22px;
}
.ba-ss-cell:last-child { border-right: none; }
.ba-ss-row:last-child .ba-ss-cell { border-bottom: none; }

.ba-ss-colhead .ba-ss-cell,
.ba-ss-rownum {
  background: #f3f2f0;
  color: #888279;
  font-weight: 600;
  text-align: center;
  font-size: 10.5px;
  padding: 3px 5px;
}
.ba-ss-corner { background: #ebe9e6 !important; }
.ba-ss-bold { font-weight: 600; color: #1a1a1a; }
.ba-ss-err {
  color: #c0392b;
  font-weight: 600;
  background: #fdecea;
  font-family: 'Courier New', monospace;
  font-size: 11px;
}
.ba-ss-hilite {
  background: #fff3a8;
  color: #7a5c00;
  font-weight: 600;
  text-align: center;
}
.ba-ss-typo {
  color: #c0392b;
  text-decoration: underline wavy #c0392b;
  text-decoration-thickness: 1px;
}
.ba-ss-tabs {
  display: flex;
  gap: 2px;
  background: #f3f2f0;
  padding: 4px 6px 0;
  border-top: 1px solid #d8d3cc;
  font-size: 11px;
}
.ba-ss-tab {
  padding: 4px 9px 5px;
  background: #e6e2dc;
  color: #7a7268;
  border-radius: 4px 4px 0 0;
  white-space: nowrap;
}
.ba-ss-tab.is-active {
  background: #fff;
  color: #107c41;
  font-weight: 600;
  box-shadow: 0 -1px 0 #107c41 inset;
}


.hero-rating {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem;
  margin-bottom: 2rem;
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.hero-rating-stars {
  color: #f5a623;
  letter-spacing: 1px;
  font-size: 0.95rem;
}
.hero-rating-quote {
  color: var(--ink-2);
  font-style: italic;
}
.hero-rating-attr {
  color: var(--ink-3);
  font-size: var(--fs-xs);
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.6rem, 5.5vw, var(--fs-6xl));
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.75rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub em {
  font-style: normal;
  font-weight: var(--fw-semi);
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, var(--fs-xl));
  color: var(--ink-2);
  max-width: 660px;
  line-height: 1.65;
  margin-bottom: 2.5rem;
  font-weight: var(--fw-light);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.hero-link {
  font-size: var(--fs-sm);
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: color var(--transition), border-color var(--transition);
}
.hero-link:hover { color: var(--accent); border-color: var(--accent); }

.hero-proof {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.75rem;
  padding-top: 0;
}
.proof-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--fs-sm);
  color: var(--ink-2);
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}
.proof-item:nth-child(1) { animation-delay: 0.1s; }
.proof-item:nth-child(2) { animation-delay: 0.25s; }
.proof-item:nth-child(3) { animation-delay: 0.4s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.proof-check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  background: var(--teal);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.proof-check svg { width: 10px; height: 10px; }
.hero-location {
  margin-top: 2rem;
  font-size: var(--fs-xs);
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

/* ── Logo strip ────────────────────────────────────────────────────── */

.logo-strip {
  padding-block: 2.5rem;
  border-block: 1px solid var(--border);
  background: var(--bg-off);
}
.logo-strip-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.logo-strip-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-right: 1rem;
}
.logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: inherit;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  color: var(--ink-2);
  background: var(--bg);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.logo-pill:hover {
  border-color: var(--ink-3);
  color: var(--ink);
  transform: translateY(-1px);
}
.logo-pill[aria-expanded="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -6px rgba(13,15,17,0.35);
}
.logo-pill[aria-expanded="true"] .logo-pill-icon,
.logo-pill[aria-expanded="true"] .logo-pill-chevron { color: #fff; }
.logo-pill:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.logo-pill-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--ink-3);
}
.logo-pill-chevron {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  color: var(--ink-3);
  margin-left: 2px;
  transition: transform 0.25s ease;
}
.logo-pill[aria-expanded="true"] .logo-pill-chevron {
  transform: rotate(180deg);
}

/* Expandable detail panels */
.logo-strip-panels {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease, margin-top 0.4s ease;
  margin-top: 0;
}
.logo-strip-panels[data-open="true"] {
  grid-template-rows: 1fr;
  margin-top: 1.5rem;
}
.logo-strip-panels > .wrap {
  overflow: hidden;
  min-height: 0;
}
.logo-strip-panel {
  display: none;
  padding: 1.6rem 1.8rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 24px -16px rgba(13,15,17,0.18);
  animation: lspFade 0.32s ease both;
}
.logo-strip-panel.is-active { display: grid; grid-template-columns: minmax(240px, 1fr) 1.4fr; gap: 2rem; }
@keyframes lspFade {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lsp-head h4 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.6rem;
  letter-spacing: -0.01em;
}
.lsp-head p {
  font-size: var(--fs-sm);
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}
.lsp-work-label {
  display: inline-block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 10.5px;
  font-weight: var(--fw-semi);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.75rem;
}
.lsp-work ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.lsp-work li {
  position: relative;
  padding-left: 1.4rem;
  font-size: var(--fs-sm);
  color: var(--ink-2);
  line-height: 1.55;
}
.lsp-work li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── Who this is for ───────────────────────────────────────────────── */

.who { background: var(--bg); }
.who-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 4rem;
}
.who-header-row .who-header {
  margin-bottom: 0;
  max-width: 600px;
}
.founder-block {
  flex-shrink: 0;
  margin-right: 2rem;
  transform: translateX(-70px);
  text-align: center;
}
.founder-photo {
  margin-top: 45px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10);
  border: 4px solid var(--bg);
  outline: 2px solid var(--border);
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.founder-caption {
  margin-top: 0.75rem;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.founder-caption span {
  display: block;
  font-weight: var(--fw-light);
  color: var(--ink-3);
  font-size: var(--fs-xs);
  margin-top: 0.15rem;
}
.who h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, var(--fs-4xl));
}
.who-desc {
  margin-top: 1.25rem;
  color: var(--ink-2);
  font-size: var(--fs-lg);
  font-weight: var(--fw-light);
}

.persona-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.persona-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.persona-card:hover { border-color: rgba(11,92,214,0.3); box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.persona-card:hover::before { transform: scaleX(1); }

.persona-icon {
  width: 44px; height: 44px;
  background: rgba(11,92,214,0.08);
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}
.persona-icon svg { width: 22px; height: 22px; color: var(--accent); }
.persona-card h3 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semi);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.persona-card p {
  font-size: var(--fs-sm);
  color: var(--ink-2);
  line-height: 1.7;
}

/* ── Problems ──────────────────────────────────────────────────────── */

.problems { background: var(--ink); color: #fff; }
.problems .section-label { color: var(--teal); }
.problems h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, var(--fs-4xl));
  color: #fff;
  margin-bottom: 0.75rem;
}
.problems-intro {
  color: rgba(255,255,255,0.55);
  font-size: var(--fs-lg);
  font-weight: var(--fw-light);
  margin-bottom: 3.5rem;
}
.problem-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
}
.problem-item {
  padding: 1.75rem 2rem;
  background: rgba(255,255,255,0.04);
  display: flex;
  gap: 1rem;
  transition: background var(--transition);
}
.problem-item:hover { background: rgba(255,255,255,0.07); }
.problem-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.1);
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
}
.problem-text {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  padding-top: 0.2rem;
}

/* ── How it works ──────────────────────────────────────────────────── */

.how { background: var(--bg-off); }
.how h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, var(--fs-4xl));
  margin-bottom: 0.75rem;
}
.how-intro {
  color: var(--ink-2);
  font-size: var(--fs-lg);
  font-weight: var(--fw-light);
  margin-bottom: 4rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(33.33% / 2);
  right: calc(33.33% / 2);
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.step {
  padding: 0 2rem 0 0;
  position: relative;
  z-index: 1;
}
.step:last-child { padding-right: 0; }
.step-num {
  width: 56px; height: 56px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.step h3 {
  font-size: var(--fs-base);
  font-weight: var(--fw-semi);
  margin-bottom: 0.6rem;
}
.step p {
  font-size: var(--fs-sm);
  color: var(--ink-2);
  line-height: 1.7;
}
.how-duration {
  margin-top: 3rem;
  padding: 1rem 1.5rem;
  background: rgba(11,92,214,0.06);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  font-size: var(--fs-sm);
  color: var(--ink-2);
  max-width: 480px;
}

/* ── Services ──────────────────────────────────────────────────────── */

.services { background: var(--bg); }
.services h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, var(--fs-4xl));
  margin-bottom: 0.75rem;
}
.services-intro {
  color: var(--ink-2);
  font-size: var(--fs-lg);
  font-weight: var(--fw-light);
  margin-bottom: 4rem;
}
.service-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.service-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  border-color: rgba(11,92,214,0.25);
}
.service-card.featured {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.service-card.featured p { color: rgba(255,255,255,0.8); }
.service-tag {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.service-card.featured .service-tag { color: rgba(255,255,255,0.7); }
.service-card h3 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-semi);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.service-card p {
  font-size: var(--fs-sm);
  color: var(--ink-2);
  line-height: 1.7;
  flex: 1;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--accent);
  text-decoration: none;
  transition: gap var(--transition);
}
.service-card.featured .service-link { color: #fff; }
.service-link:hover { gap: 0.7rem; }
.services-footer { margin-top: 3rem; }

/* ── Work ──────────────────────────────────────────────────────────── */
.work { background: var(--bg-off); }
.work h2 {
  font-family: 'DM Serif Display', serif;
  font-size: var(--fs-3xl);
  color: var(--ink);
  margin-top: 0.75rem;
}
.work-intro {
  color: var(--ink-2);
  font-size: var(--fs-lg);
  margin-top: 0.75rem;
  margin-bottom: 2.5rem;
}

.demo-hero {
  position: relative;
  width: 100%;
  padding-bottom: 56.1603%;
  height: 0;
  overflow: hidden;
  border-radius: 14px;
  box-shadow:
    0 24px 60px -24px rgba(13, 15, 17, 0.22),
    0 4px 14px -6px rgba(13, 15, 17, 0.06);
}
.demo-hero iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  color-scheme: light;
  display: block;
}

/* ── Evidence / Work ───────────────────────────────────────────────── */

.evidence { background: var(--bg); }
.evidence h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, var(--fs-4xl));
  margin-bottom: 4rem;
}
.evidence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.evidence-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  position: relative;
}
.evidence-card::before {
  content: '\201C';
  font-family: 'DM Serif Display', serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.25;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}
.evidence-card p {
  font-size: var(--fs-base);
  color: var(--ink-2);
  line-height: 1.7;
}
.testimonial-block {
  grid-column: 1 / -1;
  padding: 2.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.testimonial-bar {
  width: 3px;
  flex-shrink: 0;
  background: var(--accent);
  border-radius: 3px;
  align-self: stretch;
}
.testimonial-text {
  font-family: 'DM Serif Display', serif;
  font-size: var(--fs-2xl);
  font-style: italic;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.testimonial-attr {
  margin-top: 1rem;
  font-size: var(--fs-sm);
  color: var(--ink-3);
}

/* ── CTA band ──────────────────────────────────────────────────────── */

.cta-band {
  padding-block: 7rem;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 60% 50%, rgba(11,92,214,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band-inner {
  position: relative;
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}
.cta-band h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, var(--fs-4xl));
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.cta-band p {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.6);
  font-weight: var(--fw-light);
  margin-bottom: 2.5rem;
}
.cta-band .btn-primary {
  font-size: var(--fs-base);
  padding: 1rem 2rem;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-band .btn-ghost {
  font-size: var(--fs-base);
  padding: 1rem 2rem;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.cta-band .btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}
.cta-note {
  margin-top: 1.25rem;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.35);
}

/* ── Scroll animation ──────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}


/* ══════════════════════════════════════════════════════════════════ */
/* 8. PAGE: BLOG INDEX (blog.html)                                   */
/* ══════════════════════════════════════════════════════════════════ */

.blog-header {
  padding-block: 5rem 3.5rem;
  position: relative;
}
.blog-header::before {
  content: '';
  position: absolute;
  top: -100px; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.35;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
}
.blog-header .wrap { position: relative; }
.blog-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1rem;
}
.blog-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.5rem, 5vw, var(--fs-4xl));
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1rem;
}
.blog-header p {
  font-size: var(--fs-lg);
  color: var(--ink-3);
  max-width: 520px;
}

.blog-grid-section { padding-block: 0 6rem; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.post-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
  transform: translateY(-3px);
  border-color: rgba(11,92,214,0.2);
}
.post-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.post-card-cat {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  font-family: 'Bricolage Grotesque', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}
.post-card-cat.blue {
  color: var(--accent);
  background: rgba(11,92,214,0.08);
}
.post-card-cat.teal {
  color: var(--teal);
  background: rgba(0,168,150,0.08);
}
.post-card-date {
  font-size: var(--fs-xs);
  color: var(--ink-3);
}
.post-card h2 {
  font-family: 'DM Serif Display', serif;
  font-size: var(--fs-xl);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.post-card p {
  font-size: var(--fs-sm);
  color: var(--ink-3);
  line-height: 1.6;
  flex: 1;
}
.post-card-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.post-card-author {
  font-size: var(--fs-xs);
  color: var(--ink-3);
  font-family: 'Bricolage Grotesque', sans-serif;
}
.post-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  font-family: 'Bricolage Grotesque', sans-serif;
  color: var(--accent);
  transition: gap var(--transition);
}
.post-card:hover .post-card-arrow { gap: 0.6rem; }
.post-card-arrow svg { width: 12px; height: 12px; }


/* ══════════════════════════════════════════════════════════════════ */
/* 9. PAGE: BLOG POST (blog/*.html)                                  */
/* ══════════════════════════════════════════════════════════════════ */

.post-wrap {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-block: 4rem 6rem;
}
.post-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-med);
  color: var(--ink-3);
  text-decoration: none;
  font-family: 'Bricolage Grotesque', sans-serif;
  margin-bottom: 2.5rem;
  transition: color var(--transition);
}
.post-back:hover { color: var(--accent); }
.post-back svg { width: 14px; height: 14px; }

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.post-category {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  font-family: 'Bricolage Grotesque', sans-serif;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(11,92,214,0.08);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}
.post-category.teal {
  color: var(--teal);
  background: rgba(0,168,150,0.08);
}
.post-date {
  font-size: var(--fs-sm);
  color: var(--ink-3);
}
.post-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1rem;
}
.post-author {
  font-size: var(--fs-sm);
  color: var(--ink-3);
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.post-body {
  font-size: var(--fs-lg);
  line-height: 1.75;
  color: var(--ink-2);
}
.post-body h2 {
  font-family: 'DM Serif Display', serif;
  font-size: var(--fs-2xl);
  color: var(--ink);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.post-body h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: var(--fs-xl);
  font-weight: var(--fw-semi);
  color: var(--ink);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.post-body p { margin-bottom: 1.25rem; }
.post-body ul, .post-body ol { margin: 0.75rem 0 1.25rem 1.5rem; }
.post-body li { margin-bottom: 0.4rem; }
.post-body strong { color: var(--ink); font-weight: var(--fw-semi); }
.post-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-body a:hover { color: var(--accent-h); }
.post-body code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9em;
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.15em 0.4em;
  color: var(--ink);
}
.post-body pre {
  background: var(--ink);
  color: #e2e5ea;
  border-radius: var(--radius);
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.post-body pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  color: inherit;
}
.post-body .callout {
  background: var(--bg-off);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: var(--fs-base);
}
.post-body .callout.teal {
  border-left-color: var(--teal);
}

/* Tip cards (tips-powerbi-reports.html) */
.tip-card {
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  margin: 2rem 0;
}
.tip-number {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.tip-card h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: var(--fs-xl);
  font-weight: var(--fw-semi);
  color: var(--ink);
  margin-top: 0;
  margin-bottom: 0.75rem;
}

/* Stat highlight & step grid (data-driven-strategy.html) */
.stat-highlight {
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  padding: 2rem 2.25rem;
  margin: 2rem 0;
  text-align: center;
}
.stat-highlight .stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 3.5rem;
  color: var(--teal);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}
.stat-highlight .stat-label {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.6);
}
.step-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}
.step-item {
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
}
.step-item .step-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  /* reset the circular style from the home page .step-num */
  width: auto; height: auto;
  background: none;
  border: none;
  border-radius: 0;
  display: block;
  place-items: unset;
  box-shadow: none;
}
.step-item h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: var(--fs-base);
  font-weight: var(--fw-semi);
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.step-item p {
  font-size: var(--fs-sm);
  margin-bottom: 0;
}


/* ══════════════════════════════════════════════════════════════════ */
/* 10. PAGE: PRIVACY POLICY (privacy-policy.html)                    */
/* ══════════════════════════════════════════════════════════════════ */

.page-header {
  padding-block: 5rem 3.5rem;
  position: relative;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -100px; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.35;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
}
.page-header .wrap { position: relative; }
.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1rem;
}
.page-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.5rem, 5vw, var(--fs-4xl));
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1rem;
}
.page-header p {
  font-size: var(--fs-lg);
  color: var(--ink-3);
  max-width: 520px;
}

.prose-section { padding-block: 0 6rem; }
.prose { max-width: 760px; }
.prose h2 {
  font-family: 'DM Serif Display', serif;
  font-size: var(--fs-2xl);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 3rem;
  margin-bottom: 1rem;
}
.prose h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: var(--fs-lg);
  font-weight: var(--fw-semi);
  color: var(--ink);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.prose p {
  color: var(--ink-2);
  margin-bottom: 1.25rem;
}
.prose ul, .prose ol {
  color: var(--ink-2);
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.prose li { margin-bottom: 0.5rem; }
.prose strong { color: var(--ink); font-weight: var(--fw-semi); }
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}
.prose a:hover { color: var(--accent-h); }
.prose .btn { text-decoration: none; }
.prose .btn-primary { color: #fff; }
.prose .btn-primary:hover { color: #fff; }
.prose .btn-ghost { color: var(--accent); }
.prose .btn-ghost:hover { color: var(--accent); }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: var(--fs-sm);
}
.prose th {
  background: var(--bg-off);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: var(--fw-semi);
  text-align: left;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  color: var(--ink);
}
.prose td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  color: var(--ink-2);
  vertical-align: top;
}
.prose tr:nth-child(even) td { background: var(--bg-off); }

.contact-card {
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}
.contact-card p { margin-bottom: 0.35rem; }
.contact-card p:last-child { margin-bottom: 0; }


/* ══════════════════════════════════════════════════════════════════ */
/* 11. COOKIE CONSENT BANNER                                          */
/* ══════════════════════════════════════════════════════════════════ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--ink);
  color: #fff;
  padding: 1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: var(--fs-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-banner[hidden] { display: none; }

.cookie-banner p {
  flex: 1;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.cookie-banner a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}

.cookie-banner a:hover { color: #fff; }

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: var(--fs-sm);
  font-weight: var(--fw-med);
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.cookie-btn--primary {
  background: var(--accent);
  color: #fff;
}

.cookie-btn--primary:hover { background: var(--accent-h); }

.cookie-btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn--ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-actions { width: 100%; }

  .cookie-btn { flex: 1; text-align: center; }
}

/* ══════════════════════════════════════════════════════════════════ */
/* 12. PAGE: SCORECARD (scorecard.php)                                */
/* ══════════════════════════════════════════════════════════════════ */

.scorecard-section { padding-block: 0 6rem; }

.scorecard-card {
  max-width: 760px;
  margin-inline: auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2.5rem 2rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.04);
}

/* progress */
.sc-progress {
  height: 6px;
  background: var(--bg-off);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.sc-progress-bar {
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 320ms ease;
}
.sc-progress-label {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 2rem;
}

/* honeypot — visually hidden, accessible to bots */
.sc-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* steps */
.sc-step { display: none; }
.sc-step-active { display: block; animation: sc-fade 220ms ease; }
@keyframes sc-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sc-eyebrow {
  display: inline-block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.sc-step-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.5rem, 3vw, var(--fs-2xl));
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.sc-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.sc-bullets li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--ink-2);
}
.sc-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.sc-bullets em {
  font-style: italic;
  color: var(--ink);
}

.sc-fineprint {
  font-size: var(--fs-sm);
  color: var(--ink-3);
  margin-bottom: 1.5rem;
}
.sc-fineprint a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* contact step fields */
.sc-field {
  margin-bottom: 1.25rem;
}
.sc-field label {
  display: block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.sc-field input,
.sc-field select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-base);
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.sc-field input:focus,
.sc-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(11, 92, 214, 0.15);
}
.sc-field.sc-invalid input,
.sc-field.sc-invalid select {
  border-color: #c0392b;
}

/* questions */
.sc-question {
  border: none;
  padding: 0;
  margin: 0 0 2rem;
}
.sc-question legend {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: var(--fs-base);
  font-weight: var(--fw-semi);
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.sc-qid {
  color: var(--accent);
  font-weight: var(--fw-semi);
  margin-right: 0.25rem;
}
.sc-helper {
  font-size: var(--fs-sm);
  color: var(--ink-3);
  margin-bottom: 0.75rem;
}

.sc-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sc-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.sc-option:hover {
  border-color: var(--accent);
  background: rgba(11, 92, 214, 0.02);
}
.sc-option input { margin-top: 0.25rem; flex-shrink: 0; accent-color: var(--accent); }
.sc-option-label {
  font-size: var(--fs-base);
  color: var(--ink-2);
  line-height: 1.5;
}
.sc-option:has(input:checked) {
  border-color: var(--accent);
  background: rgba(11, 92, 214, 0.05);
}
.sc-option:has(input:checked) .sc-option-label {
  color: var(--ink);
  font-weight: var(--fw-med);
}
.sc-question.sc-invalid legend { color: #c0392b; }
.sc-question.sc-invalid {
  border-left: 3px solid #c0392b;
  padding-left: 0.75rem;
  margin-left: -0.75rem;
}

/* Per-step summary banner: shown when validation fails. */
.sc-step-summary {
  background: #fdecea;
  color: #8e2a1f;
  border: 1px solid #f5c2bc;
  border-left: 4px solid #c0392b;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-med);
  margin-bottom: 1.25rem;
}
.sc-step-summary[hidden] { display: none; }

.sc-error {
  display: block;
  font-size: var(--fs-sm);
  color: #c0392b;
  margin-top: 0.4rem;
  min-height: 1.25rem;
}
.sc-error:empty { min-height: 0; margin-top: 0; }

/* actions row */
.sc-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.sc-actions .sc-back { margin-right: auto; }
.sc-actions:has(.sc-next):not(:has(.sc-back)) { justify-content: flex-end; }

/* spinner */
.sc-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--bg-off);
  border-top-color: var(--accent);
  border-radius: 50%;
  margin: 1.5rem 0;
  animation: sc-spin 720ms linear infinite;
}
@keyframes sc-spin { to { transform: rotate(360deg); } }

/* results */
.sc-subscore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}
.sc-subscore {
  background: var(--bg-off);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
}
.sc-subscore-label {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.sc-subscore-bar {
  height: 8px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}
.sc-subscore-bar span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
}
.sc-subscore-score {
  font-size: var(--fs-sm);
  color: var(--ink-3);
}

.sc-result-cta {
  background: var(--bg-off);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin-top: 1rem;
}
.sc-result-cta p {
  color: var(--ink-2);
  margin-bottom: 0.75rem;
}
.sc-result-cta p:last-of-type { margin-bottom: 1rem; }


/* ══════════════════════════════════════════════════════════════════ */
/* 12b. HERO TRUST STATS (outcomes row inside the hero)               */
/* ══════════════════════════════════════════════════════════════════ */

.hero-actions .btn-ghost {
  color: #fff;
  background: #0F2545;
  border-color: transparent;
}
.hero-actions .btn-ghost:hover {
  background: #081830;
}

.trust-band-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 2.5rem;
}
.trust-stat {
  --stat-tint: var(--bg-off);
  --stat-ink: var(--ink);
  background: var(--stat-tint);
  border-radius: 10px;
  padding: 1.1rem 1.15rem 1.15rem;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.trust-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--stat-ink);
  opacity: 0.85;
}
.trust-stat:nth-child(1) {
  --stat-tint: rgba(11, 92, 214, 0.17);
  --stat-ink: var(--accent);
}
.trust-stat:nth-child(2) {
  --stat-tint: rgba(0, 168, 150, 0.18);
  --stat-ink: var(--teal);
}
.trust-stat:nth-child(3) {
  --stat-tint: rgba(217, 119, 6, 0.19);
  --stat-ink: #c2660a;
}
.trust-num {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(1.65rem, 2.4vw, 2rem);
  line-height: 1;
  color: var(--stat-ink);
  letter-spacing: -0.02em;
}
.trust-num .trust-unit {
  font-size: 0.55em;
  color: var(--stat-ink);
  opacity: 0.55;
  margin-left: 0.08em;
  letter-spacing: 0;
  vertical-align: baseline;
}
.trust-label {
  margin-top: 0.55rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: var(--stat-ink);
  opacity: 0.78;
  line-height: 1.35;
}

/* ══════════════════════════════════════════════════════════════════ */
/* 13. RESPONSIVE                                                     */
/* ══════════════════════════════════════════════════════════════════ */

@media (max-width: 1180px) {
  .hero-inner { gap: 2rem; }
  .hero-visual { flex: 1 1 380px; max-width: 413px; }
  .hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
  .ba-success-badge { right: -12px; width: 172px; top: 68px; }
  .ba-kpi-value { font-size: 1.4rem; }
}

@media (max-width: 900px) {
  :root { --gutter: 1.5rem; }
  section { padding-block: 5rem; }
  .grid-3,
  .who .grid-3,
  .service-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps::before { display: none; }
  .step { padding: 0; }
  .problem-list { grid-template-columns: 1fr; }
  .evidence-grid { grid-template-columns: 1fr; }
  .demo-hero { border-radius: 10px; }
  .testimonial-block { flex-direction: column; gap: 1rem; }
  .hero-inner { flex-direction: column; gap: 2.75rem; }
  .hero-visual {
    flex: none;
    width: 100%;
    max-width: 446px;
    margin-inline: auto;
  }
  .ba-success-badge { right: -6px; top: 68px; width: 172px; }
  .logo-strip-panel.is-active { grid-template-columns: 1fr; gap: 1.25rem; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .who-header-row {
    flex-direction: column-reverse;
    text-align: center;
    gap: 2rem;
  }
  .who-header-row .who-header { max-width: 100%; }
  .founder-block { margin-right: 0; transform: none; }
  .founder-photo { width: 180px; height: 180px; margin-inline: auto; }
  .scorecard-card { padding: 2rem 1.75rem 1.5rem; }
}

@media (max-width: 600px) {
  :root { --gutter: 1rem; }
  .nav-links { display: none; }
  .trust-band-inner { grid-template-columns: 1fr; gap: 0.5rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 2rem; }
  /* Hero visual on phones */
  .ba-browser-body { padding: 1rem 0.9rem 0.85rem; }
  .ba-dash-header h4 { font-size: 1.2rem; }
  .ba-dash-date { font-size: 11px; margin-bottom: 0.9rem; }
  .ba-success-badge {
    right: 3px;
    top: 68px;
    width: auto;
    max-width: 158px;
    padding: 0.41rem 0.56rem;
    border-radius: 8px;
  }
  .ba-success-icon { width: 20px; height: 20px; }
  .ba-success-icon svg { width: 9px; height: 9px; }
  .ba-success-badge strong { font-size: 10px; }
  .ba-success-badge p { font-size: 9px; }
  .ba-kpi-row { gap: 5px; margin-bottom: 0.7rem; }
  .ba-kpi { padding: 0.5rem 0.55rem; border-radius: 7px; }
  .ba-kpi-label { font-size: 9px; }
  .ba-kpi-value { font-size: 1.05rem; }
  .ba-kpi-delta { font-size: 9.5px; }
  .ba-dash-footer { font-size: 9px; }
  /* Before card on phones */
  .ba-before-card { padding: 0.95rem 1rem 1rem; }
  .ba-ss-titlebar { font-size: 11px; padding: 6px 9px; }
  .ba-ss-icon { width: 13px; height: 13px; }
  .ba-ss-grid { font-size: 11px; }
  .ba-ss-row { grid-template-columns: 24px repeat(4, 1fr); }
  .ba-ss-cell { padding: 4px 6px; min-height: 19px; }
  .ba-ss-colhead .ba-ss-cell,
  .ba-ss-rownum { font-size: 9.5px; }
  .ba-ss-err { font-size: 10px; }
  .ba-ss-tabs { font-size: 10px; padding: 3px 5px 0; }
  .ba-ss-tab { padding: 3px 7px 4px; }
  .blog-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  .prose table { font-size: var(--fs-xs); }
  .prose th, .prose td { padding: 0.5rem 0.75rem; }
  .founder-photo { width: 150px; height: 150px; }
  .scorecard-card { padding: 1.5rem 1.25rem 1.25rem; border-radius: 12px; }
  .sc-subscore-grid { grid-template-columns: 1fr; }
  .sc-actions { flex-direction: column-reverse; }
  .sc-actions .btn { width: 100%; justify-content: center; }
}
