/* Baseline reset */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light dark; }
body { margin: 0; }
img, video { max-width: 100%; height: auto; }
[hidden] { display: none !important; }

/* Layout: left-aligned technical spec sheet. Hairline rules, mono field labels,
   one constrained measure, content stacked in labelled sections. */
:root {
  --bg:          #F3F5F7;
  --surface:     #FFFFFF;
  --surface-alt: #EAEDF1;
  --fg:          #0F141A;
  --fg-muted:    #586373;
  --line:        #D8DDE4;
  --line-strong: #B9C1CC;
  --accent:      #A8500B;
  --accent-soft: #FBEEDF;
  --ok:          #2F7A4F;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --measure: 62ch;
  --pad: clamp(20px, 5vw, 64px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:          #0A0E13;
    --surface:     #111821;
    --surface-alt: #161E29;
    --fg:          #E7ECF2;
    --fg-muted:    #8894A4;
    --line:        #1E2833;
    --line-strong: #2E3B4A;
    --accent:      #EFA255;
    --accent-soft: #1E1610;
    --ok:          #57B383;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg:          #0A0E13;
  --surface:     #111821;
  --surface-alt: #161E29;
  --fg:          #E7ECF2;
  --fg-muted:    #8894A4;
  --line:        #1E2833;
  --line-strong: #2E3B4A;
  --accent:      #EFA255;
  --accent-soft: #1E1610;
  --ok:          #57B383;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- header ---------- */
header.site {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
}
.mark {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--fg);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.mark .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  flex: none;
}
nav.site-nav { display: flex; gap: 22px; align-items: center; }
nav.site-nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--fg-muted);
  text-decoration: none;
}
nav.site-nav a:hover { color: var(--accent); }
@media (max-width: 700px) { nav.site-nav .hide-sm { display: none; } }

/* ---------- section scaffolding ---------- */
section { border-bottom: 1px solid var(--line); }
.sec { padding-block: clamp(48px, 8vw, 88px); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
h1 {
  font-size: clamp(32px, 5.6vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  font-weight: 700;
}
h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.14;
  letter-spacing: -0.015em;
  font-weight: 700;
}
h3 {
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  font-weight: 600;
}
p { margin: 0; }
.lede { font-size: clamp(17px, 2.1vw, 20px); color: var(--fg-muted); max-width: var(--measure); }
.body-copy { max-width: var(--measure); color: var(--fg-muted); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(52px, 9vw, 104px) clamp(40px, 6vw, 72px); }
.hero-grid { display: flex; flex-direction: column; gap: 28px; }
.hero h1 { max-width: 17ch; }
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero .lede { max-width: 54ch; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .02em;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 3px;
  display: inline-block;
  border: 1px solid transparent;
}
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-ghost { border-color: var(--line-strong); color: var(--fg); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- pipeline ---------- */
.pipeline {
  margin-top: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 4px;
  padding: 22px clamp(16px, 3vw, 28px) 20px;
}
.pipe-head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.pipe-head .state { color: var(--ok); }
.pipe {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 18px;
}
.node { display: flex; flex-direction: column; gap: 7px; min-width: 0; flex: none; }
.node .chip {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--fg);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 6px 10px;
  background: var(--surface-alt);
  white-space: nowrap;
}
.node .sub {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--fg-muted);
  letter-spacing: .02em;
  padding-left: 2px;
}
.link {
  flex: 1 1 26px;
  min-width: 26px;
  height: 1px;
  background: var(--line-strong);
  margin-top: 16px;
  position: relative;
  overflow: hidden;
}
.link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateX(-100%);
  animation: flow 3.4s linear infinite;
  animation-delay: var(--d, 0s);
}
@keyframes flow { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) {
  .link::after { animation: none; opacity: 0; }
}
@media (max-width: 640px) {
  .pipe { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .link { display: none; }
}

/* ---------- credentials ---------- */
.creds { padding-block: 26px; }
.creds-inner { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline; }
.creds-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.creds-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .01em;
}

/* ---------- symptom list ---------- */
.symptoms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 30px;
}
.symptom {
  background: var(--surface);
  padding: 18px 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
}
.symptom .tick {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  flex: none;
  margin-top: 3px;
}
.symptom p { font-size: 15px; line-height: 1.5; }

/* ---------- services ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 26px 34px;
  margin-top: 34px;
}
.svc { min-width: 0; padding-top: 16px; border-top: 2px solid var(--fg); }
.svc h3 { margin-bottom: 8px; }
.svc p { font-size: 15px; color: var(--fg-muted); line-height: 1.55; }
.svc .stack {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--fg-muted);
  letter-spacing: .02em;
  margin-top: 10px;
  line-height: 1.7;
}

/* ---------- engagement models ---------- */
.models {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(262px, 1fr));
  gap: 18px;
  margin-top: 34px;
}
.model {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 4px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.model.feature { border-color: var(--accent); }
.model .tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.model.feature .tag { color: var(--accent); }
.model h3 { font-size: 19px; }
.model > p { font-size: 15px; color: var(--fg-muted); line-height: 1.55; }
.model ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.model li {
  font-size: 14px;
  color: var(--fg-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.model li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 1px;
  background: var(--accent);
}
.model .fit {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--fg);
}
.note-rate {
  margin-top: 22px;
  font-size: 14.5px;
  color: var(--fg-muted);
  max-width: var(--measure);
}

/* ---------- process ---------- */
.steps { display: flex; flex-direction: column; margin-top: 30px; }
.step {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 8px 22px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .08em;
  padding-top: 3px;
}
.step .body { min-width: 0; }
.step h3 { margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--fg-muted); max-width: var(--measure); line-height: 1.55; }
@media (max-width: 560px) {
  .step { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- included ---------- */
.included {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px 30px;
  margin-top: 30px;
}
.inc { min-width: 0; }
.inc .k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 7px;
}
.inc p { font-size: 14.5px; color: var(--fg-muted); line-height: 1.55; }

/* ---------- work ---------- */
.cases { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; margin-top: 30px; }
.case { background: var(--surface); padding: 26px clamp(18px, 3vw, 30px); display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 760px) { .case { grid-template-columns: 1.35fr 1fr; gap: 34px; } }
.case .who {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 10px;
}
.case p { font-size: 15px; color: var(--fg-muted); line-height: 1.6; }
.case h3 { margin-bottom: 10px; }
.metrics { display: flex; flex-direction: column; gap: 14px; }
.metric { display: flex; flex-direction: column; gap: 2px; }
.metric .v {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.metric .l {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ---------- secondary AI band ---------- */
.aside-band { background: var(--surface-alt); }
.aside-inner { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 820px) { .aside-inner { grid-template-columns: 1fr 1fr; gap: 48px; } }
.aside-inner ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.aside-inner li {
  font-size: 15px;
  color: var(--fg-muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.aside-inner li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 1px;
  background: var(--accent);
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: 30px; }
@media (min-width: 780px) { .contact-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.field { border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 20px; }
.field .k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 7px;
}
.field .v { font-family: var(--mono); font-size: 14.5px; word-break: break-word; }
.copy-btn {
  font-family: var(--mono);
  font-size: 11px;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--fg-muted);
  border-radius: 3px;
  padding: 3px 9px;
  cursor: pointer;
  margin-left: 8px;
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }

footer.site { padding-block: 30px 40px; }
.foot-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: .03em;
}

a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

/* ---------- cost review landing page ---------- */
.cta-note { font-family: var(--mono); font-size: 12px; color: var(--fg-muted); }
.book {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}
.book .calendly-inline-widget { min-width: 300px; height: 720px; }
