/* ─────────────────────────────────────────────────────────────
   Audit Claude Code & Agentic Dev — landing
   B2B premium · sober · technical
   ───────────────────────────────────────────────────────────── */

:root {
  --bg:        oklch(98.4% 0.004 95);   /* warm off-white */
  --bg-alt:    oklch(96.2% 0.005 95);   /* card / band */
  --bg-deep:   oklch(20% 0.012 230);    /* dark anthracite-blue for inverted bands */
  --ink:       oklch(22% 0.012 230);    /* near-black */
  --ink-2:     oklch(38% 0.012 230);
  --ink-3:     oklch(48% 0.010 230);
  --ink-4:     oklch(70% 0.008 230);
  --line:      oklch(88% 0.006 95);
  --line-2:    oklch(82% 0.008 95);
  --accent:    oklch(48% 0.09 195);     /* deep technical teal */
  --accent-2:  oklch(48% 0.09 195 / 0.10);
  --warn:      oklch(60% 0.16 35);      /* used only in before/after */
  --radius:    8px;
  --container: 1200px;
  --gutter:    clamp(20px, 4vw, 56px);

  --f-sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* on-deep tokens — text on --bg-deep background */
  --text-on-deep:        oklch(78% 0.008 95);
  --text-bright-on-deep: oklch(86% 0.005 95);
  --text-lead-on-deep:   oklch(82% 0.008 95);
  --text-dim-on-deep:    oklch(92% 0.005 95);
  --heading-on-deep:     oklch(96% 0.005 95);
  --accent-on-deep:      oklch(68% 0.05 195);
  --accent-dim-on-deep:  oklch(70% 0.04 195);
  --border-on-deep:      oklch(40% 0.012 230);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ── layout ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: clamp(72px, 9vw, 128px) 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.section--alt   { background: var(--bg-alt); }
.section--deep  { background: var(--bg-deep); color: var(--text-dim-on-deep); border-top: 0; }
.section--deep .eyebrow { color: var(--accent-dim-on-deep); }
.section--deep .h2,
.section--deep .lead { color: var(--heading-on-deep); }
.section--deep .body { color: var(--text-on-deep); }

/* ── eyebrow ── */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}

/* ── type ── */
.h1 {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.h2 {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  text-wrap: balance;
  max-width: 22ch;
}
.h3 {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 60ch;
  text-wrap: pretty;
}
.body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 64ch;
  text-wrap: pretty;
}
.body p + p { margin-top: 1em; }
.mono {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.01em;
}

/* ── nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(98.4% 0.004 95 / 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.nav__mark {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: var(--ink);
  position: relative;
  display: grid;
  place-items: center;
  color: var(--bg);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
}
.nav__links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  font-size: 14px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  transition: opacity 0.15s;
}
.nav__cta:hover { opacity: 0.85; }

/* ── hamburger ── */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 14px 12px;          /* min 44px touch target */
  cursor: pointer;
  z-index: 60;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 800px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 16px var(--gutter);
    gap: 12px;
    box-shadow: 0 12px 32px -12px oklch(20% 0.012 230 / 0.15);
  }
}

/* ── buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: opacity 0.15s, background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { opacity: 0.88; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--accent { background: var(--accent); color: white; }
.btn--accent:hover { opacity: 0.9; }
.btn .arrow {
  display: inline-block;
  transition: transform 0.2s;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ── chips / tags ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}
.tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

/* ── hero ── */
.hero {
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
  border-top: 0;
}

.hero--center .hero__center {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.hero__title {
  margin: 0 0 24px;
  max-width: 18ch;
  text-align: center;
}
.hero__lead {
  margin: 0 auto 36px;
  max-width: 60ch;
  text-align: center;
}
.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0;
}
.hero__meta {
  margin-top: 24px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-3);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero__meta span::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--ink-3);
}
.hero__diagram {
  margin-top: 64px;
  width: 100%;
  text-align: left;
}
.hero__cred {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  width: 100%;
  justify-content: center;
}

/* ── hero diagram ── */
.diagram {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-alt);
  padding: 24px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.diagram__row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  padding: 14px 0;
}
.diagram__row + .diagram__row { border-top: 1px dashed var(--line-2); }
.diagram__lbl {
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  padding-top: 2px;
}
.diagram__row--after .diagram__lbl { color: var(--accent); }
.diagram__chain {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.diagram__node {
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  white-space: nowrap;
}
.diagram__row--after .diagram__node {
  border-color: oklch(48% 0.09 195 / 0.35);
  color: var(--ink);
  background: oklch(48% 0.09 195 / 0.06);
}
.diagram__arrow { color: var(--ink-4); }

@media (max-width: 560px) {
  .diagram { padding: 16px; }
  .diagram__row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 0;
  }
  .diagram__lbl { font-size: 10px; }
  .diagram__chain { gap: 4px; }
  .diagram__node {
    font-size: 11px;
    padding: 4px 8px;
  }
}

/* ── grids ── */
.grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.cell {
  background: var(--bg);
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cell__num {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.cell__title {
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.cell__body {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

/* ── section header (centered) ── */
.sec-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  margin-bottom: clamp(40px, 6vw, 72px);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.sec-head .eyebrow { justify-content: center; }
.sec-head .h2 {
  margin: 0;
  max-width: 22ch;
  text-wrap: balance;
}
.sec-head__intro {
  margin: 0 auto;
  max-width: 62ch;
}
.sec-head__intro p { margin: 0; }
.sec-head__intro p + p { margin-top: 1em; }

/* ── pain list ── */
.pain-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 32px;
}
@media (max-width: 720px) { .pain-list { grid-template-columns: 1fr; } }
.pain-list li {
  list-style: none;
  padding: 18px 0 18px 36px;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--ink-2);
  position: relative;
}
.pain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  width: 22px;
  height: 1px;
  background: var(--ink-4);
}

/* ── impact line ── */
.impact {
  margin-top: 56px;
  padding: 32px 36px;
  border-left: 2px solid var(--accent);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
  max-width: 56ch;
}

/* ── before/after table ── */
.compare {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-alt);
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.compare__head > div {
  padding: 14px 24px;
  color: var(--ink-3);
}
.compare__head > div + div {
  border-left: 1px solid var(--line);
  color: var(--accent);
}
.compare__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.compare__row > div {
  padding: 22px 24px;
  font-size: 15px;
  line-height: 1.45;
}
.compare__row > div:first-child {
  color: var(--ink-3);
  text-decoration: line-through;
  text-decoration-color: oklch(60% 0.16 35 / 0.5);
  text-decoration-thickness: 1px;
}
.compare__row > div + div {
  border-left: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
}
@media (max-width: 700px) {
  .compare__head, .compare__row { grid-template-columns: 1fr; }
  .compare__head > div + div, .compare__row > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

/* ── audit scope ── */
.scope {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .scope { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .scope { grid-template-columns: 1fr; } }
.scope__card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s, transform 0.2s;
}
.scope__card:hover {
  border-color: var(--ink-4);
}
.scope__num {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.scope__title {
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 0;
}
.scope__desc {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}
.scope__points {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.scope__points li {
  font-family: var(--f-mono);
  font-size: 11px;
  padding: 3px 8px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  color: var(--ink-3);
  background: var(--bg-alt);
}

/* ── deliverables ── */
.deliv {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.deliv__row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1.4fr) minmax(0, 2fr);
  gap: clamp(20px, 4vw, 60px);
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
@media (max-width: 720px) {
  .deliv__row { grid-template-columns: 1fr; gap: 8px; }
}
.deliv__num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.deliv__title {
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 0;
}
.deliv__body {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}

/* ── method timeline ── */
.method {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 1000px) { .method { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .method { grid-template-columns: 1fr; } }
.method__step {
  padding: 28px 24px 32px;
  background: var(--bg);
  border-right: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
}
.method__step:last-child { border-right: 0; }
@media (max-width: 1000px) {
  .method__step:nth-child(2n) { border-right: 0; }
  .method__step:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.method__num {
  font-family: var(--f-mono);
  font-size: 28px;
  color: var(--ink-4);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.method__title {
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin: 0;
}
.method__body {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0;
}

/* ── for whom split ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 720px) { .split { grid-template-columns: 1fr; } }
.split__col { background: var(--bg); padding: 32px; }
.split__col h3 {
  margin: 0 0 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.split__col h3.is-yes { color: var(--accent); }
.split__col h3.is-no  { color: var(--warn); }
.split__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.split__col li {
  font-size: 15px;
  color: var(--ink-2);
  padding-left: 22px;
  position: relative;
  line-height: 1.45;
}
.split__col li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 12px; height: 1px;
  background: currentColor;
  opacity: 0.4;
}

/* ── pricing card ── */
.pricing {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 880px) { .pricing { grid-template-columns: 1fr; } }
.pricing__main { padding: 40px; background: var(--bg); }
.pricing__side {
  padding: 40px;
  background: var(--bg-alt);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 880px) {
  .pricing__side { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .pricing__main { padding: 24px; }
  .pricing__side  { padding: 24px; }
  .pricing__price { font-size: 28px; }
}
.pricing__price {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 36px;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.pricing__price small {
  font-size: 14px;
  color: var(--ink-3);
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 6px;
}
.pricing__list {
  list-style: none;
  margin: 24px 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing__list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
  align-items: start;
  line-height: 1.5;
}
.pricing__list li::before {
  content: "✓";
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--accent);
  margin-top: 3px;
}
.pricing__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  font-family: var(--f-mono);
  font-size: 12px;
}
.pricing__meta dt { color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.pricing__meta dd { margin: 0; color: var(--ink); }

/* ── cases ── */
.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 720px) { .cases { grid-template-columns: 1fr; } }
.case {
  background: var(--bg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.case__num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.case__title {
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin: 0;
}
.case__body {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}

/* ── implementation block (deep) ── */
.impl-card {
  border: 1px solid oklch(35% 0.012 230);
  background: oklch(24% 0.012 230);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 880px) { .impl-card { grid-template-columns: 1fr; } }
.impl-card h3 { color: var(--heading-on-deep); margin: 0 0 12px; font-size: 24px; font-weight: 500; letter-spacing: -0.015em; }
.impl-card p { color: var(--text-on-deep); margin: 0 0 18px; font-size: 15px; line-height: 1.55; }
.impl-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.impl-list li {
  font-size: 14px;
  color: var(--text-lead-on-deep);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.impl-list li::before {
  content: "→";
  position: absolute; left: 0;
  color: var(--accent-on-deep);
  font-family: var(--f-mono);
}

/* ── FAQ ── */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 24px 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--f-sans);
}
.faq__q .plus {
  width: 18px; height: 18px;
  position: relative;
  flex-shrink: 0;
  color: var(--ink-3);
  transition: transform 0.25s;
}
.faq__q .plus::before, .faq__q .plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  left: 50%; top: 50%;
}
.faq__q .plus::before { width: 12px; height: 1px; transform: translate(-50%, -50%); }
.faq__q .plus::after  { width: 1px; height: 12px; transform: translate(-50%, -50%); transition: transform 0.25s; }
.faq__item[data-open="true"] .plus::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.6;
}
.faq__item[data-open="true"] .faq__a { max-height: 600px; }
.faq__a > div { padding: 0 0 28px; max-width: 70ch; }

/* ── final CTA ── */
.final-cta {
  text-align: center;
  padding: clamp(80px, 10vw, 140px) 0;
}
.final-cta .eyebrow { justify-content: center; }
.final-cta .h2 { margin-left: auto; margin-right: auto; max-width: 26ch; }
.final-cta .lead { margin-left: auto; margin-right: auto; }
.final-cta .hero__ctas { justify-content: center; }

/* ── form ── */
.form-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
}
@media (max-width: 880px) { .form-block { grid-template-columns: 1fr; } }
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.field input, .field select, .field textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
  font-family: var(--f-sans);
  font-size: 14.5px;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--ink);
}
/* ── form success banner (centered) ── */
.form-success {
  padding: 40px 32px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--bg);
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  animation: success-enter .5s ease both;
}

@keyframes success-enter {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.form-success__badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-2);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin: 0 auto 20px;
}
.form-success__content {
  max-width: 520px;
  margin: 0 auto;
}
.form-success__heading {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 12px;
}
.form-success__body {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 24px;
  text-wrap: pretty;
}
.form-success__body strong {
  font-weight: 500;
  color: var(--ink);
}
.form-success__next {
  padding: 18px 20px;
  border-radius: 6px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  text-align: left;
}
.form-success__next-label {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin: 0 0 12px;
  text-align: center;
}
.form-success__next-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-success__next-list li {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  padding-left: 20px;
  position: relative;
}
.form-success__next-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--f-mono);
}
.form-success__next-list li::before {
  content: "→";
  position: absolute;
  left: 0; top: 1px;
  color: var(--accent);
  font-family: var(--f-mono);
  font-size: 13px;
}

@media (max-width: 600px) {
  .form-success {
    flex-direction: column;
    gap: 16px;
    padding: 24px 20px;
  }
  .form-success__badge {
    width: 40px;
    height: 40px;
  }
  .form-success__badge svg {
    width: 22px;
    height: 22px;
  }
  .form-success__heading {
    font-size: 17px;
  }
  .form-success__next {
    padding: 14px 16px;
  }
}

/* ── footer ── */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  font-size: 13px;
  color: var(--ink-3);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__links { display: flex; gap: 18px; font-family: var(--f-mono); font-size: 12px; }
.footer__links a { padding: 14px 4px; display: inline-block; }  /* min 44px touch target */
.footer__links a:hover { color: var(--ink); }
@media (max-width: 600px) {
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

/* ── reveal & motion ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: none; }
}
@keyframes lineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes flowPulse {
  0%   { opacity: 0.35; transform: translateX(-2px); }
  50%  { opacity: 1;    transform: translateX(2px);  }
  100% { opacity: 0.35; transform: translateX(-2px); }
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 50%, transparent); }
  70%      { box-shadow: 0 0 0 10px color-mix(in oklab, var(--accent) 0%, transparent); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes caret {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(.2,.6,.2,1), transform 0.7s cubic-bezier(.2,.6,.2,1);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* per-element stagger inside revealed section */
.reveal.is-in .sec-head     { animation: fadeUp .7s cubic-bezier(.2,.6,.2,1) both; animation-delay: .05s; }
.reveal.is-in .grid,
.reveal.is-in .scope,
.reveal.is-in .cases,
.reveal.is-in .compare,
.reveal.is-in .method,
.reveal.is-in .split,
.reveal.is-in .pricing,
.reveal.is-in .impl-card,
.reveal.is-in .deliv,
.reveal.is-in .faq,
.reveal.is-in .form,
.reveal.is-in .impact,
.reveal.is-in .pain-list { animation: fadeUp .8s cubic-bezier(.2,.6,.2,1) both; animation-delay: .18s; }

/* item-level stagger */
.reveal.is-in .cell,
.reveal.is-in .scope__card,
.reveal.is-in .case,
.reveal.is-in .method__step,
.reveal.is-in .deliv__row,
.reveal.is-in .compare__row,
.reveal.is-in .pain-list li {
  animation: fadeUp .7s cubic-bezier(.2,.6,.2,1) both;
}
.reveal.is-in .cell:nth-child(1),
.reveal.is-in .scope__card:nth-child(1),
.reveal.is-in .case:nth-child(1),
.reveal.is-in .method__step:nth-child(1),
.reveal.is-in .deliv__row:nth-child(1),
.reveal.is-in .compare__row:nth-child(1),
.reveal.is-in .pain-list li:nth-child(1)  { animation-delay: .25s; }
.reveal.is-in .cell:nth-child(2),
.reveal.is-in .scope__card:nth-child(2),
.reveal.is-in .case:nth-child(2),
.reveal.is-in .method__step:nth-child(2),
.reveal.is-in .deliv__row:nth-child(2),
.reveal.is-in .compare__row:nth-child(2),
.reveal.is-in .pain-list li:nth-child(2)  { animation-delay: .32s; }
.reveal.is-in .cell:nth-child(3),
.reveal.is-in .scope__card:nth-child(3),
.reveal.is-in .case:nth-child(3),
.reveal.is-in .method__step:nth-child(3),
.reveal.is-in .deliv__row:nth-child(3),
.reveal.is-in .compare__row:nth-child(3),
.reveal.is-in .pain-list li:nth-child(3)  { animation-delay: .39s; }
.reveal.is-in .cell:nth-child(4),
.reveal.is-in .scope__card:nth-child(4),
.reveal.is-in .case:nth-child(4),
.reveal.is-in .method__step:nth-child(4),
.reveal.is-in .deliv__row:nth-child(4),
.reveal.is-in .compare__row:nth-child(4),
.reveal.is-in .pain-list li:nth-child(4)  { animation-delay: .46s; }
.reveal.is-in .cell:nth-child(5),
.reveal.is-in .scope__card:nth-child(5),
.reveal.is-in .case:nth-child(5),
.reveal.is-in .method__step:nth-child(5),
.reveal.is-in .deliv__row:nth-child(5),
.reveal.is-in .compare__row:nth-child(5),
.reveal.is-in .pain-list li:nth-child(5)  { animation-delay: .53s; }
.reveal.is-in .cell:nth-child(n+6),
.reveal.is-in .scope__card:nth-child(n+6),
.reveal.is-in .case:nth-child(n+6),
.reveal.is-in .deliv__row:nth-child(n+6),
.reveal.is-in .compare__row:nth-child(n+6),
.reveal.is-in .pain-list li:nth-child(n+6) { animation-delay: .60s; }

/* hero entry */
.hero .hero__tags    { animation: fadeUp .7s cubic-bezier(.2,.6,.2,1) both; animation-delay: .05s; }
.hero .hero__title   { animation: fadeUp .8s cubic-bezier(.2,.6,.2,1) both; animation-delay: .15s; }
.hero .hero__lead    { animation: fadeUp .8s cubic-bezier(.2,.6,.2,1) both; animation-delay: .28s; }
.hero .hero__ctas    { animation: fadeUp .8s cubic-bezier(.2,.6,.2,1) both; animation-delay: .40s; }
.hero .hero__meta    { animation: fadeUp .8s cubic-bezier(.2,.6,.2,1) both; animation-delay: .50s; }
.hero .hero__diagram { animation: scaleIn .9s cubic-bezier(.2,.6,.2,1) both; animation-delay: .60s; transform-origin: center top; }
.hero .hero__cred    { animation: fadeIn .9s ease both; animation-delay: .85s; }

/* eyebrow line grows in */
.eyebrow::before {
  transform-origin: left center;
  animation: lineGrow .8s cubic-bezier(.2,.6,.2,1) both;
  animation-delay: .1s;
}
.sec-head .eyebrow::before { transform-origin: center; }

/* hero diagram: animated arrows + accent shimmer */
.diagram__arrow {
  display: inline-block;
  animation: flowPulse 2.4s ease-in-out infinite;
}
.diagram__row--after .diagram__arrow:nth-of-type(1) { animation-delay: 0s; }
.diagram__row--after .diagram__arrow:nth-of-type(2) { animation-delay: .3s; }
.diagram__row--after .diagram__arrow:nth-of-type(3) { animation-delay: .6s; }
.diagram__row .diagram__arrow:nth-of-type(1) { animation-delay: .15s; }
.diagram__row .diagram__arrow:nth-of-type(2) { animation-delay: .45s; }
.diagram__row .diagram__arrow:nth-of-type(3) { animation-delay: .75s; }

.diagram__row--after .diagram__node {
  position: relative;
  overflow: hidden;
}
.diagram__row--after .diagram__node::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    color-mix(in oklab, var(--accent) 18%, transparent) 50%,
    transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 4.5s linear infinite;
  pointer-events: none;
}

/* status dot pulse */
.tag .dot { animation: dotPulse 2.2s ease-out infinite; }

/* hover micro-interactions */
.scope__card,
.case,
.cell,
.method__step,
.pricing,
.impl-card,
.diagram {
  transition: transform .35s cubic-bezier(.2,.6,.2,1),
              border-color .25s ease,
              box-shadow .35s ease,
              background-color .25s ease;
}
.scope__card:hover,
.case:hover {
  transform: translateY(-3px);
  border-color: var(--ink-3);
  box-shadow: 0 12px 32px -16px oklch(20% 0.012 230 / 0.18);
}
.cell { transition: background-color .3s ease, transform .3s cubic-bezier(.2,.6,.2,1); }
.cell:hover { background: var(--bg-alt); }
.method__step { transition: background-color .3s ease; }
.method__step:hover { background: var(--bg-alt); }

.compare__row { transition: background-color .25s ease; }
.compare__row:hover { background: var(--bg-alt); }

/* CTA — sliding sheen on primary */
.btn--primary, .btn--accent {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn--primary::before, .btn--accent::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
    transparent 30%,
    rgba(255,255,255,.16) 50%,
    transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s cubic-bezier(.2,.6,.2,1);
  z-index: -1;
}
.btn--primary:hover::before, .btn--accent:hover::before { transform: translateX(120%); }

.btn { transition: transform .25s cubic-bezier(.2,.6,.2,1), background-color .2s ease, opacity .2s ease, border-color .2s ease; }
.btn:active { transform: translateY(1px); }

/* nav link underline */
.nav__links a {
  position: relative;
  padding-bottom: 2px;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s cubic-bezier(.2,.6,.2,1);
}
.nav__links a:hover::after { transform: scaleX(1); }

/* section divider gradient on scroll-revealed sections */
.section { position: relative; }
.section::before {
  content: "";
  position: absolute;
  top: -1px; left: 50%;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    color-mix(in oklab, var(--accent) 40%, transparent),
    transparent);
  transition: width 1s cubic-bezier(.2,.6,.2,1) .2s, left 1s cubic-bezier(.2,.6,.2,1) .2s;
  pointer-events: none;
}
.section.is-in::before { width: 60%; left: 20%; }

/* FAQ open animation */
.faq__a {
  transition: max-height .45s cubic-bezier(.2,.6,.2,1), opacity .3s ease;
  opacity: 0;
}
.faq__item[data-open="true"] .faq__a { opacity: 1; }
.faq__q .plus { transition: color .25s ease, transform .35s cubic-bezier(.2,.6,.2,1); }
.faq__item[data-open="true"] .faq__q .plus { color: var(--accent); transform: rotate(90deg); }

/* form field focus ring */
.field input,
.field select,
.field textarea {
  position: relative;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 14%, transparent);
}

/* primary CTA breathing accent on hero */
.hero .btn--primary {
  box-shadow: 0 1px 0 oklch(100% 0 0 / 0.2) inset,
              0 8px 24px -12px oklch(20% 0.012 230 / 0.4);
}

/* scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: var(--p, 0%);
  background: linear-gradient(90deg, var(--accent), color-mix(in oklab, var(--accent) 50%, var(--ink)));
  z-index: 100;
  transition: width .08s linear;
  pointer-events: none;
}

/* nav shrink on scroll */
.nav { transition: height .25s ease, background-color .25s ease, border-color .25s ease; }
.nav.is-scrolled { background: oklch(98.4% 0.004 95 / 0.92); border-bottom-color: var(--line-2); }
.nav.is-scrolled .nav__inner { height: 56px; transition: height .25s ease; }
.nav__inner { transition: height .25s ease; }

/* impl-card subtle gradient sheen */
.impl-card {
  position: relative;
  overflow: hidden;
}
.impl-card::after {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(closest-side,
    color-mix(in oklab, var(--accent) 14%, transparent),
    transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .8s ease;
}
.section.is-in .impl-card::after { opacity: 1; }

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ── density modifier ── */
body[data-density="compact"] .section { padding: clamp(56px, 7vw, 96px) 0; }
body[data-density="comfy"]   .section { padding: clamp(96px, 12vw, 160px) 0; }

/* ── selection ── */
::selection { background: var(--accent); color: white; }

/* ── skip link ── */
.skip-link {
  position: absolute;
  top: 0;
  left: 16px;
  transform: translateY(-100%);
  background: var(--ink);
  color: var(--bg);
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 14px;
  z-index: 200;
  transition: transform 0.2s ease;
}
.skip-link:focus { top: 12px; transform: translateY(0); }

/* ── focus-visible ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn--primary:focus-visible,
.btn--accent:focus-visible { outline-color: var(--ink); }
.section--deep :focus-visible { outline-color: var(--accent-on-deep); }
.nav__cta:focus-visible { outline-color: var(--accent); }

/* ── form mobile ── */
@media (max-width: 600px) {
  .form { grid-template-columns: 1fr; }
}
