:root {
  color-scheme: dark;
  --ink: #10151a;
  --panel: #191f26;
  --paper: #f7f7ed;
  --muted: #c0c7c7;
  --accent: #d4fa59;
  --line: #3c454b;
  color: var(--paper);
  background: var(--ink);
  font: 100% system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body, figure, h1, h2, h3, p, dd { margin: 0; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.shell { width: min(1296px, calc(100% - 5rem)); margin-inline: auto; }

.site-header, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding-block: 1.25rem;
}
.site-header { border-bottom: 1px solid var(--line); padding-block: clamp(1.8rem, 4vw, 3.5rem); }
.wordmark { font-size: clamp(1.2rem, 2.5vw, 1.65rem); font-weight: 850; letter-spacing: -.055em; }
.site-header .wordmark { font-size: clamp(1.55rem, 5vw, 3.4rem); line-height: 1.05; }
.wordmark span { color: var(--accent); }
.wordmark small { color: var(--muted); font-size: .75em; }
nav { display: flex; flex-wrap: wrap; gap: .4rem 1.45rem; }
nav a, .header-link { padding-block: .35rem; font-size: .9rem; }
nav a:hover, .header-link { color: var(--accent); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 3.5vw, 3.5rem) clamp(2rem, 4.5vw, 5rem);
  align-items: center;
  padding-block: clamp(2.75rem, 7vw, 6rem);
}
h1, h2, h3 { line-height: 1.06; text-wrap: balance; }
h1, h2 { letter-spacing: -.06em; font-weight: 830; }
h1 { font-size: clamp(2.55rem, 5.8vw, 5.4rem); }
.hero-heading { grid-column: 1 / -1; text-align: center; }
.hero-heading p { max-width: 65ch; margin: 1.15rem auto 0; color: var(--muted); font-size: clamp(1.05rem, 2.25vw, 1.35rem); text-wrap: pretty; }
h2 { font-size: clamp(2.1rem, 4.35vw, 4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); letter-spacing: -.035em; }
em { font-style: normal; }
.hero h1 em { display: block; color: var(--accent); }
p, dd { line-height: 1.65; }
.eyebrow {
  margin-bottom: .9rem;
  color: var(--accent);
  font-size: .875rem;
  font-weight: 720;
  letter-spacing: .065em;
  text-transform: uppercase;
}
.hero-copy > p, .section-lead > p:not(.eyebrow) {
  max-width: 54ch;
  margin-top: 1.25rem;
  color: var(--muted);
}
.hero-copy > .hero-pain { margin-top: 0; color: var(--paper); font-size: 1.125rem; font-weight: 750; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.4rem; margin-top: 1.8rem; }
.button {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  padding: .95rem 1.15rem;
  font-weight: 780;
}
.button:hover { background: var(--paper); }
.button:focus-visible { outline-color: var(--paper); }
.text-link { font-size: .95rem; text-decoration: underline; text-underline-offset: .25em; }
.text-link:hover { color: var(--accent); }
.hero-visual img { aspect-ratio: 5 / 4; object-fit: cover; background: #142451; }
.hero-promise { padding-block-start: clamp(2.75rem, 7vw, 6rem); text-align: center; font-size: clamp(2.55rem, 5.4vw, 5.3rem); }
.hero-promise em { display: block; color: var(--accent); }

.question { background: var(--accent); color: var(--ink); }
.question-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, min(38%, 25rem));
  gap: clamp(1rem, 4vw, 3.25rem);
  padding-block: clamp(.6rem, 1.2vw, 1rem);
}
.question h2 {
  align-self: center;
  max-inline-size: 22ch;
  font-size: clamp(1.4rem, 3.65vw, 2.75rem);
  line-height: clamp(2rem, 5.7vw, 4.2rem);
}
.question em { text-decoration: underline; text-decoration-thickness: .075em; text-underline-offset: .13em; }
.question-visual { align-self: center; aspect-ratio: 4 / 3; height: auto; }

.section, .call-grid { padding-block: clamp(3rem, 7vw, 6rem); }
.section-lead { max-width: 42rem; }
.levers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: 2.5rem;
}
.levers article, .sprint li { border-top: 1px solid var(--line); padding-block: 1.25rem; }
.levers h3, .sprint li h3 { margin-bottom: .65rem; }
.levers p, .sprint li p { color: var(--muted); }

.case { background: var(--paper); color: var(--ink); }
.case .eyebrow { color: #34524a; }
.call-grid, .sprint {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1.75rem, 5vw, 5rem);
}
.case-heading { max-width: 58rem; }
.case-intro { max-width: 68ch; margin-top: 1.15rem; }
.case-workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: 2rem;
}
.case-workflow img { aspect-ratio: 4 / 3; object-fit: cover; background: #b5c3c7; }
.case-workflow h3 { margin: 1.15rem 0 .6rem; text-wrap: initial; }
.kpi-visual { position: relative; }
.kpi-visual figcaption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: .2rem .45rem;
  padding: .65rem .7rem;
  background: #10151a;
  color: #fff;
  font-size: .875rem;
  line-height: 1.2;
}
.kpi-visual strong { color: var(--accent); font-size: clamp(1.45rem, 2.7vw, 2.3rem); white-space: nowrap; }
.kpi-visual small { color: var(--muted); font-size: .75rem; text-align: end; }
.kpi-acquisition { grid-column: 1 / -1; margin-top: .2rem; font-weight: 650; }
.case-report {
  margin-top: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(1.15rem, 3.5vw, 2.75rem);
  background: #fff;
  border: 1px solid #c7d2cc;
  border-top: 4px solid #34524a;
}
.report-heading h3 { font-size: clamp(1.55rem, 3vw, 2.25rem); text-wrap: initial; }
.report-heading p, .report-note { color: #46574f; font-size: .875rem; }
.report-heading p { margin-top: .4rem; }
.report-grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 1.65rem;
}
.case-report table { width: 100%; border-collapse: collapse; font-size: .925rem; }
.case-report caption { margin-bottom: .5rem; font-weight: 750; text-align: start; }
.case-report th, .case-report td { padding: .65rem .5rem; border-bottom: 1px solid #d6dfd9; }
.case-report th { text-align: start; }
.case-report td, .case-report thead th:not(:first-child) { text-align: end; font-variant-numeric: tabular-nums; }
.case-report td { white-space: nowrap; }
.case-report thead, .case-report .report-result { background: #e8f0e9; }
.case-report .report-result { font-weight: 750; }
.report-gain { color: #14633c; font-size: 1.2em; font-weight: 850; }
.report-group { color: #34524a; background: #f2f5f2; }
.report-note { margin-top: .85rem; }
.report-summary { margin-top: 1rem; font-size: 1rem; }
.report-decisions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.report-decisions > div { border-inline-start: 2px solid #34524a; padding-inline-start: 1rem; }
.report-decisions h4 { margin: 0 0 .35rem; font-size: 1rem; }

.sprint ol { margin: 0; padding-left: 1.5rem; }
.sprint h2 { font-size: clamp(2.4rem, 4.8vw, 4.5rem); }
.sprint h2 em { color: var(--accent); }
.sprint li::marker { color: var(--accent); font-weight: 780; }
.call { background: #233db8; }
.call-grid { align-items: center; }
.call-details { border-inline-start: 1px solid #b9c7ff; padding-inline-start: clamp(1.25rem, 3vw, 2.5rem); }
.booking-link { margin-top: 1.05rem; }
footer { align-items: flex-start; color: var(--muted); }
footer .wordmark {
  color: var(--paper);
  font-size: clamp(1.65rem, 4.1vw, 2.85rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.footer-brand p { margin-top: .35rem; }
.footer-check { margin-inline-end: .25em; color: var(--accent); font-weight: 850; }
.footer-contact { font-style: normal; line-height: 1.55; overflow-wrap: anywhere; }
.footer-contact strong { color: var(--paper); }
.footer-contact a { text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 1050px) {
  .shell { width: calc(100% - 3rem); }
  .header-link { display: none; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 2.5rem); }
  .hero, .call-grid, .sprint, .levers, .case-workflow, .report-decisions { grid-template-columns: 1fr; }
  .site-header { gap: .6rem 1.5rem; }
  .site-header nav { gap: .15rem 1rem; }
  .levers { margin-top: 1.5rem; gap: 0; }
}

@media (max-width: 600px) {
  .question-inner { grid-template-columns: 1fr; gap: 1rem; padding-block: .85rem; }
  .question h2 { max-inline-size: none; line-height: 1.3; }
}
