/* AiFFEX — styles
   All design tokens live in :root below. Change colors, fonts,
   spacing, and radii here; the rest of the file uses them. */

:root {
  --ink:        #23252B;
  --ink-2:      #2C2E36;
  --ink-3:      #383B45;
  --paper:      #F5F4F0;
  --paper-2:    #FFFFFF;
  --paper-3:    #EBEAE4;
  --line:       #DDDBD2;
  --body:       #45474F;
  --body-dark:  #B9BAC2;
  --muted:      #82848D;
  --accent:     #8B7EC8;
  --accent-deep:#6C5FB0;
  --accent-soft:#EEECF7;
  --good:       #7BA886;
  --bad:        #C08578;

  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --r: 14px;
  --r-lg: 20px;
  --shadow: 0 2px 6px rgba(35,37,43,0.05), 0 18px 40px -18px rgba(35,37,43,0.18);
  --pad-section: clamp(72px, 10vw, 128px);
}

/* --- Reset & base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h1 { font-size: clamp(34px, 4.5vw, 56px); text-wrap: balance; }
h2 { font-size: clamp(27px, 3.6vw, 42px); }
h3 { font-size: 21px; }
a { color: var(--accent-deep); text-decoration: none; }
img { max-width: 100%; display: block; }
em { font-style: normal; color: var(--accent-deep); }
.section-dark em { color: var(--accent); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }
.section { padding: var(--pad-section) 0; }
.section-alt { background: var(--paper-3); }
.section-dark { background: var(--ink); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--paper); }
.section-dark p, .section-dark li { color: var(--body-dark); }

.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 14px;
}
.section-dark .eyebrow { color: var(--accent); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { margin-bottom: 16px; }
.section-sub { font-size: 18px; color: var(--muted); }
.section-dark .section-sub { color: var(--body-dark); }

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1;
  padding: 15px 28px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent-deep); color: #fff; }
.btn-primary:hover { background: #5D50A0; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink-3); }
.btn-ghost:hover { border-color: var(--ink); }
.hero .btn-ghost { color: var(--paper); border-color: rgba(245,244,240,0.35); }
.hero .btn-ghost:hover { border-color: rgba(245,244,240,0.8); }
.btn-lg { padding: 17px 34px; font-size: 16.5px; }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* --- Nav --- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,244,240,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  height: 68px;
  display: flex; align-items: center; gap: 28px;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 23px; font-weight: 700; letter-spacing: -0.03em;
  color: var(--ink);
}
.nav-brand span { color: var(--accent-deep); }
.footer .nav-brand, .footer .nav-brand span { color: var(--paper); }
.footer .nav-brand span { color: var(--accent); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--body);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; margin-left: auto;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: none;
  flex-direction: column; gap: 4px;
  padding: 12px 24px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.nav-mobile a { padding: 12px 0; font-size: 16px; font-weight: 500; color: var(--ink); }
.nav-mobile .btn { margin-top: 12px; color: #fff; }
.nav-mobile:not([hidden]) { display: flex; }

/* --- Hero --- */
.hero {
  position: relative;
  background: var(--ink);
  padding: clamp(84px, 12vw, 150px) 0 0;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245,244,240,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,244,240,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; text-align: center; max-width: 1040px; }

/* Hero logo — mark + wordmark lockup, no baked-in tagline */
.hero-logo {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; margin-bottom: 32px;
}
.hero-logo img {
  width: min(380px, 78vw);
  height: auto;
  filter: brightness(1.12) saturate(1.06);
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.6vw, 15px);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.hero .eyebrow { color: var(--accent); }
.hero h1 { color: var(--paper); margin-bottom: 22px; }
/* Each sentence gets its own line group, so the colour change always starts a
   line instead of stranding a white word mid-wrap on narrow screens. */
.hero h1 em { display: block; color: var(--accent); }
.hero-sub {
  font-size: clamp(17px, 2.1vw, 20px);
  color: var(--body-dark);
  max-width: 620px; margin: 0 auto 36px;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.hero-trust { font-size: 14px; color: var(--muted); }
.hero-trust strong { color: var(--body-dark); }

/* Pain ticker */
.pain-strip {
  margin-top: clamp(56px, 8vw, 88px);
  border-top: 1px solid var(--ink-3);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}
.pain-track {
  display: flex; gap: 48px; width: max-content;
  animation: ticker 42s linear infinite;
}
.pain-track span {
  font-family: var(--font-display);
  font-size: 14.5px; color: var(--muted); white-space: nowrap;
}
.pain-track span::before { content: '\2715'; color: var(--accent); margin-right: 10px; font-size: 11px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .pain-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  html { scroll-behavior: auto; }
}

/* --- Service cards --- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 30px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.svc-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.svc-num {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
  color: var(--accent-deep);
  margin-bottom: 18px;
}
.svc-card h3 { margin-bottom: 10px; }
.svc-hook {
  font-family: var(--font-display);
  font-size: 15.5px; font-weight: 500; color: var(--ink);
  margin-bottom: 14px;
}
.svc-card > p:not(.svc-hook) { font-size: 15px; margin-bottom: 18px; }
.svc-list { list-style: none; margin-bottom: 26px; }
.svc-list li {
  font-size: 14.5px; padding: 7px 0 7px 24px; position: relative;
  border-bottom: 1px dashed var(--line);
}
.svc-list li:last-child { border-bottom: 0; }
.svc-list li::before {
  content: '\2713'; position: absolute; left: 2px;
  color: var(--accent-deep); font-weight: 700; font-size: 13px;
}
.svc-price {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 30px; font-weight: 700; color: var(--ink);
  letter-spacing: -0.02em;
}
.svc-price span {
  display: block;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 2px;
}

/* --- Quick Fix entry offer --- */
.quickfix {
  margin-top: 24px;
  background: var(--accent-soft);
  border: 1px solid rgba(108,95,176,0.22);
  border-radius: calc(var(--r-lg) + 4px);
  padding: clamp(28px, 4vw, 44px);
  display: grid; grid-template-columns: 1.9fr 1fr; gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.quickfix h3 { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 12px; }
.quickfix > .quickfix-body > p { font-size: 15.5px; margin-bottom: 18px; }
.quickfix-list {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px;
}
.quickfix-list li {
  font-size: 14.5px; padding-left: 22px; position: relative; color: var(--body);
}
.quickfix-list li::before {
  content: '\2192'; position: absolute; left: 0;
  color: var(--accent-deep); font-family: var(--font-display);
}
.quickfix-cta { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }

/* --- Sample project (demonstration data) --- */
.demo-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  align-items: start;
}
.demo-panel {
  margin: 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow);
}
.demo-panel figcaption { margin-bottom: 18px; }
.demo-panel figcaption h3 { font-size: 17.5px; margin-top: 10px; line-height: 1.25; }
.demo-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
}
.demo-tag-before { background: rgba(192,133,120,0.18); color: #9C5847; }
.demo-tag-after  { background: rgba(123,168,134,0.20); color: #3F7A51; }

.sheet-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Deliberately ugly demo spreadsheet */
.sheet {
  min-width: 520px;
  border: 1px solid #C9C9C9;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
}
.sheet-table { border-collapse: collapse; width: 100%; font-size: 12px; color: #222; }
.sheet-table td { border: 1px solid #D8D8D8; padding: 5px 7px; white-space: nowrap; }
.sheet-table .b { font-weight: 700; }
.sheet-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.sheet-cols td, .sheet-table .rn {
  background: #EFEFEF; color: #777; text-align: center;
  font-size: 10.5px; font-weight: 600; width: 26px;
}
.sheet-table .fill-yellow { background: #FFF2A8; }
.sheet-table .fill-green  { background: #CDEBC5; }
.sheet-table .fill-pink   { background: #FFCFC9; }
.sheet-table .dupe td { background: #FDECEA; }
.sheet-table .err { color: #C0392B; font-weight: 700; text-align: right; }
.sheet-table .hand { color: #C0392B; font-style: italic; font-size: 11px; }
.sheet-tabs {
  display: flex; gap: 2px; padding: 6px 6px 0;
  background: #E4E4E4; border-top: 1px solid #C9C9C9;
  overflow-x: auto;
}
.sheet-tabs .tab {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10.5px; color: #555;
  padding: 5px 10px; white-space: nowrap;
  background: #D5D5D5; border-radius: 3px 3px 0 0;
}
.sheet-tabs .tab-active { background: #fff; color: #222; font-weight: 700; }
.sheet-tabs .tab-warn { background: #FFCFC9; color: #8A2A1E; font-weight: 700; }

/* Clean "after" dashboard */
.dash {
  min-width: 520px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  padding: 16px;
}
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.kpi {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
.kpi-label {
  display: block;
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px;
}
.kpi-val {
  display: block;
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.kpi-val i { font-style: normal; font-size: 13px; color: var(--muted); }
.kpi-flag { border-color: rgba(192,133,120,0.5); background: rgba(192,133,120,0.08); }
.kpi-flag .kpi-val { color: #9C5847; }

.dash-alert {
  background: rgba(192,133,120,0.12);
  border-left: 3px solid var(--bad);
  border-radius: 6px;
  padding: 9px 12px; margin-bottom: 12px;
  font-size: 12.5px; color: var(--body);
}
.dash-alert strong {
  display: block;
  font-family: var(--font-display); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: #9C5847;
  margin-bottom: 2px;
}

.clean-table {
  width: 100%; border-collapse: collapse;
  font-size: 12.5px; color: var(--body);
  background: var(--paper-2);
  border: 1px solid var(--line); border-radius: 8px;
}
.clean-table th {
  text-align: left; font-family: var(--font-display);
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line);
}
.clean-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); }
.clean-table tbody tr:last-child td { border-bottom: 0; }
.clean-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.clean-table tfoot td {
  border-top: 1px solid var(--line); border-bottom: 0;
  font-weight: 600; color: var(--ink);
}
.calc {
  font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-deep); background: var(--accent-soft);
  padding: 2px 7px; border-radius: 100px; margin-left: 6px; font-weight: 600;
}
.pill {
  display: inline-block;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.03em;
  padding: 3px 10px; border-radius: 100px; white-space: nowrap;
}
.pill-done   { background: rgba(123,168,134,0.18); color: #3F7A51; }
.pill-active { background: rgba(108,95,176,0.14);  color: var(--accent-deep); }
.pill-risk   { background: rgba(192,133,120,0.20); color: #9C5847; }
.dash-foot {
  margin-top: 10px; font-size: 11px; color: var(--muted); text-align: center;
}

.demo-notes { list-style: none; margin-top: 20px; }
.demo-notes li {
  font-size: 14px; padding: 6px 0 6px 24px; position: relative; color: var(--body);
}
.demo-notes li em { font-style: italic; color: inherit; }
.demo-notes-before li::before {
  content: '\2715'; position: absolute; left: 2px; color: var(--bad); font-size: 12px;
}
.demo-notes-after li::before {
  content: '\2713'; position: absolute; left: 2px; color: var(--good); font-size: 13px; font-weight: 700;
}

.demo-punchline {
  margin: 28px auto 0; max-width: 74ch; text-align: center;
  font-size: 15.5px; color: var(--body);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px 24px;
}
.demo-punchline strong { color: var(--ink); font-variant-numeric: tabular-nums; }

/* Heavy-tier spreadsheet work — charcoal band inside the light section */
.forensics {
  margin-top: 22px;
  background: var(--ink);
  border-radius: calc(var(--r-lg) + 4px);
  padding: clamp(28px, 4vw, 48px);
  display: grid; grid-template-columns: 1.9fr 1fr; gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.forensics .eyebrow { color: var(--accent); }
.forensics h3 { color: var(--paper); font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 14px; }
.forensics p { color: var(--body-dark); font-size: 15.5px; }
.forensics p + p { margin-top: 14px; }
.forensics-cta { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.forensics-price {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700; color: var(--paper);
  letter-spacing: -0.02em;
}
.forensics-price span {
  display: block;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 2px;
}

/* --- Before / After --- */
.ba-stack { display: flex; flex-direction: column; gap: 22px; }
.ba-row {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  align-items: stretch;
  gap: 0;
}
.ba-panel {
  border-radius: var(--r-lg);
  padding: 30px 30px 26px;
  border: 1px solid var(--ink-3);
  background: var(--ink-2);
}
.ba-panel h4 { font-size: 18px; margin-bottom: 14px; color: var(--paper); }
.ba-panel ul { list-style: none; }
.ba-panel li { font-size: 14.5px; padding: 6px 0 6px 24px; position: relative; }
.ba-before { border-left: 3px solid var(--bad); }
.ba-after { border-left: 3px solid var(--good); }
.ba-before li::before { content: '\2715'; position: absolute; left: 2px; color: var(--bad); font-size: 12px; }
.ba-after li::before { content: '\2713'; position: absolute; left: 2px; color: var(--good); font-size: 13px; font-weight: 700; }
.ba-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
  margin-bottom: 16px;
}
.ba-before .ba-tag { background: rgba(192,133,120,0.16); color: var(--bad); }
.ba-after .ba-tag { background: rgba(123,168,134,0.16); color: var(--good); }
.ba-arrow {
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--accent);
  font-family: var(--font-display);
}

/* --- Process steps --- */
.steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.step {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  position: relative;
}
.step-num {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  border-radius: 12px;
  margin-bottom: 18px;
}
.step h3 { font-size: 17.5px; margin-bottom: 10px; }
.step p { font-size: 14.5px; }

/* --- Custom tools banner --- */
.section-tools { padding-top: 0; }
.tools-banner {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: calc(var(--r-lg) + 6px);
  box-shadow: var(--shadow);
  padding: clamp(32px, 5vw, 56px);
  display: grid; grid-template-columns: 1.9fr 1fr; gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.tools-text h2 { margin-bottom: 16px; font-size: clamp(24px, 2.8vw, 34px); }
.tools-text p { font-size: 15.5px; }
.tools-price { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }

/* --- Partner section --- */
.partner-grid {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.partner-copy p { margin-bottom: 18px; font-size: 16.5px; }
.partner-copy strong { color: var(--paper); }
.partner-list { list-style: none; margin: 26px 0 34px; }
.partner-list li {
  padding: 12px 0 12px 30px; position: relative;
  border-bottom: 1px solid var(--ink-3);
  font-size: 15.5px;
}
.partner-list li:last-child { border-bottom: 0; }
.partner-list li::before {
  content: '\2192'; position: absolute; left: 0; color: var(--accent);
  font-family: var(--font-display);
}
.partner-roles {
  display: flex; flex-wrap: wrap; gap: 10px;
  align-content: flex-start;
  position: sticky; top: 96px;
}
.role-chip {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 500;
  color: var(--body-dark);
  border: 1px solid var(--ink-3);
  background: var(--ink-2);
  padding: 10px 18px; border-radius: 100px;
  transition: border-color 0.2s, color 0.2s;
}
.role-chip:hover { border-color: var(--accent); color: var(--paper); }

/* --- Pricing --- */
.price-table {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper-2);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.price-row {
  display: grid; grid-template-columns: 1.1fr 1.6fr auto;
  gap: 20px; align-items: baseline;
  padding: 24px 32px;
  border-bottom: 1px solid var(--line);
}
.price-row:last-child { border-bottom: 0; }
.price-name { font-family: var(--font-display); font-weight: 600; font-size: 17.5px; color: var(--ink); }
.price-row-entry { background: var(--accent-soft); }
.price-badge {
  display: inline-block;
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-deep); border: 1px solid rgba(108,95,176,0.35);
  padding: 2px 8px; border-radius: 100px; margin-left: 8px; vertical-align: middle;
}
.price-desc { font-size: 15px; color: var(--muted); }
.price-note { font-size: 13.5px; }
.price-amt {
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  color: var(--accent-deep); white-space: nowrap;
}
.price-fine { margin-top: 20px; font-size: 14px; color: var(--muted); max-width: 640px; }

/* --- FAQ --- */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 52px 19px 24px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 16.5px; color: var(--ink);
  position: relative;
  transition: color 0.15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--accent-deep);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 20px; font-size: 15.5px; max-width: 68ch; }
.faq summary:hover { color: var(--accent-deep); }

/* --- Contact --- */
.section-contact { padding-bottom: clamp(72px, 9vw, 110px); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.contact-intro h2 { margin-bottom: 18px; }
.contact-intro > p { margin-bottom: 16px; }
.contact-alt { font-size: 15px; color: var(--muted) !important; }
.contact-details {
  margin-top: 34px; padding-top: 26px;
  border-top: 1px solid var(--ink-3);
  display: flex; gap: 40px; flex-wrap: wrap;
}
.contact-details p { font-size: 15px; line-height: 1.8; }
.contact-details a { color: var(--accent); }
.contact-details a:hover { text-decoration: underline; }

.contact-form {
  background: var(--paper);
  border-radius: calc(var(--r-lg) + 4px);
  padding: clamp(26px, 4vw, 40px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-family: var(--font-display);
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  margin-bottom: 7px;
}
.form-field input, .form-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--font-body); font-size: 15px;
  transition: border-color 0.15s;
  resize: vertical;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent-deep);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-fine a { color: var(--accent-deep); }
.form-status { margin-top: 14px; font-size: 14.5px; font-weight: 500; color: var(--accent-deep) !important; min-height: 1em; }
.form-fine { margin-top: 12px; font-size: 13px; color: var(--muted) !important; text-align: center; }

/* --- Footer --- */
.footer { background: var(--ink); border-top: 1px solid var(--ink-3); padding: 48px 0 40px; }
.footer-inner { display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }
.footer-motto { font-size: 14px; color: var(--muted); margin-top: 6px; font-style: italic; }
.footer-meta p { font-size: 14px; color: var(--body-dark); line-height: 1.8; }
.footer-meta a { color: var(--body-dark); }
.footer-meta a:hover { color: var(--paper); }
.footer-legal { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

/* --- Scroll reveal --- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- Responsive --- */
@media (max-width: 980px) {
  .cards-3 { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .quickfix { grid-template-columns: 1fr; }
  .forensics { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-roles { position: static; }
  .tools-banner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .ba-row { grid-template-columns: 1fr; gap: 10px; }
  .ba-arrow { transform: rotate(90deg); padding: 2px 0; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .quickfix-list { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .demo-panel { padding: 22px 16px 20px; }
  .price-row { grid-template-columns: 1fr; gap: 4px; padding: 20px 22px; }
  .price-amt { margin-top: 4px; }
  body { font-size: 16px; }
}
