:root {
  color-scheme: light;
  --paper: #f4f1ea;
  --paper-2: #ebe7de;
  --white: #fffefa;
  --ink: #111719;
  --muted: #596166;
  --line: #d6d1c7;
  --blue: #0788de;
  --blue-dark: #045f9d;
  --lime: #b9f531;
  --green: #0d8a58;
  --red: #b83c36;
  --amber: #bd7500;
  --night: #0d1113;
  --night-2: #151a1d;
  --night-3: #1b2226;
  --code: #0b0f11;
  --shell: 1180px;
  --radius: 18px;
  --shadow: 0 22px 70px rgba(18, 25, 27, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #c8edff;
  color: #061a24;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

code {
  font-size: 0.88em;
}

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--lime);
  color: var(--night);
  font-weight: 800;
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  width: 100%;
  height: 74px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - var(--shell)) / 2));
  border-bottom: 1px solid rgba(17, 23, 25, 0.12);
  background: rgba(244, 241, 234, 0.93);
  backdrop-filter: blur(18px);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.wordmark > span:last-child span {
  color: var(--blue);
}

.wordmark-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 8px 8px 8px 2px;
  background: var(--ink);
  color: var(--lime);
  font: 900 15px/1 ui-monospace, monospace;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-header nav a {
  color: #41484b;
  font-size: 13px;
  font-weight: 700;
}

.site-header nav a:hover {
  color: var(--blue-dark);
}

.site-header .header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 22px rgba(7, 136, 222, 0.2);
  line-height: 1;
  white-space: nowrap;
}

.site-header .header-cta:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  color: #fff;
}

.hero {
  overflow: hidden;
  padding: 104px 0 52px;
  background:
    radial-gradient(circle at 78% 9%, rgba(7, 136, 222, 0.14), transparent 24%),
    linear-gradient(180deg, var(--white), var(--paper));
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 80px;
  align-items: end;
}

.kicker {
  margin: 0 0 19px;
  color: #71787b;
  font: 800 11px/1.2 ui-monospace, "SFMono-Regular", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker.blue {
  color: var(--blue-dark);
}

.kicker.lime {
  color: var(--lime);
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 760;
  letter-spacing: -0.064em;
  line-height: 0.98;
}

.hero h1 em {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-lede {
  max-width: 790px;
  margin: 30px 0 0;
  color: #40484c;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  margin-top: 35px;
  align-items: center;
  gap: 25px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
}

.button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 30px rgba(7, 136, 222, 0.22);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.text-link {
  border-bottom: 1px solid #999d9a;
  font-size: 14px;
  font-weight: 750;
}

.text-link span {
  margin-left: 5px;
  color: var(--blue);
}

.scope-note {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, 0.66);
}

.scope-label {
  color: var(--blue-dark);
  font: 800 10px/1 ui-monospace, monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.scope-note dl {
  margin: 15px 0 0;
}

.scope-note dl div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.scope-note dt {
  color: var(--muted);
  font-size: 12px;
}

.scope-note dd {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.hero-screen {
  margin-top: 68px;
  overflow: hidden;
  border: 1px solid #343a3d;
  border-radius: 16px;
  background: #111516;
  box-shadow: 0 32px 90px rgba(14, 20, 22, 0.24);
}

.browser-bar {
  display: flex;
  height: 42px;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid #2b3032;
  background: #181c1e;
}

.browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #555c60;
}

.browser-bar span:first-child {
  background: #d95a50;
}

.browser-bar span:nth-child(2) {
  background: #d5a84c;
}

.browser-bar span:nth-child(3) {
  background: #56a267;
}

.browser-bar p {
  margin: 0 auto;
  padding-right: 45px;
  color: #8b9498;
  font: 500 11px/1 ui-monospace, monospace;
}

.hero-screen img {
  width: 100%;
}

.image-caption {
  margin-top: 13px;
  color: #737a7d;
  font-size: 12px;
}

.section {
  padding: 112px 0;
}

.section-head {
  margin-bottom: 50px;
}

.section-head h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(36px, 4.4vw, 58px);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.section-head > p:last-child,
.split-head > p {
  color: var(--muted);
  font-size: 17px;
}

.split-head {
  display: grid;
  grid-template-columns: 1.05fr 0.68fr;
  gap: 80px;
  align-items: end;
}

.split-head > p {
  margin: 0;
}

.product {
  background: var(--paper);
}

.journey {
  display: grid;
  margin: 0 0 70px;
  padding: 0;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  list-style: none;
}

.journey li {
  position: relative;
  min-height: 128px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.journey li:last-child {
  border-right: 0;
}

.journey li:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -10px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  content: "›";
  font-weight: 900;
  transform: translateY(-50%);
}

.journey span {
  display: block;
  color: var(--blue-dark);
  font: 800 10px/1 ui-monospace, monospace;
}

.journey strong {
  display: block;
  margin-top: 17px;
  font-size: 19px;
}

.journey small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 42px 24px;
}

.product-shot {
  margin: 0;
}

.product-shot.wide {
  grid-column: span 6;
}

.product-shot.portfolio-shot {
  grid-column: span 8;
}

.product-shot.mobile-shot {
  grid-column: span 4;
}

.product-shot > a,
.phone-frame {
  overflow: hidden;
  border: 1px solid #2f3538;
  border-radius: 14px;
  background: #0e1213;
  box-shadow: 0 18px 55px rgba(14, 21, 23, 0.16);
}

.product-shot.wide img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.product-shot.portfolio-shot img {
  width: 100%;
  aspect-ratio: 16 / 10.7;
  object-fit: cover;
  object-position: top;
}

.phone-frame {
  width: min(100%, 285px);
  margin-inline: auto;
  padding: 7px;
  border-width: 7px;
  border-color: #171b1d;
  border-radius: 30px;
}

.phone-frame img {
  width: 100%;
  border-radius: 17px;
}

.product-shot figcaption {
  margin-top: 15px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.product-shot figcaption strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
}

.system {
  overflow: hidden;
  background: var(--night);
  color: #f5f8f6;
}

.section-head.compact {
  max-width: 790px;
}

.section-head.compact > p:last-child {
  max-width: 670px;
  color: #aeb8b5;
}

.system-map {
  display: grid;
  grid-template-columns: 220px 135px 220px 1fr;
  gap: 18px;
  align-items: center;
}

.system-node {
  min-height: 130px;
  padding: 21px;
  border: 1px solid #323b3f;
  border-radius: 14px;
  background: var(--night-2);
}

.system-node.main {
  border-color: rgba(185, 245, 49, 0.32);
}

.system-node span,
.system-node small {
  display: block;
}

.system-node span {
  color: var(--lime);
  font: 800 9px/1 ui-monospace, monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.system-node strong {
  display: block;
  margin-top: 17px;
  font-size: 16px;
}

.system-node small {
  margin-top: 5px;
  color: #8f9a9e;
  font-size: 11px;
}

.connector {
  position: relative;
  height: 1px;
  background: #536065;
}

.connector::after {
  position: absolute;
  top: -4px;
  right: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid #536065;
  content: "";
}

.connector span {
  position: absolute;
  top: -22px;
  width: 100%;
  color: #778286;
  font: 700 8px/1 ui-monospace, monospace;
  text-align: center;
  text-transform: uppercase;
}

.branches {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.branches .system-node {
  min-height: 112px;
}

.map-note {
  max-width: 900px;
  margin: 30px 0 0;
  color: #7d898d;
  font-size: 12px;
}

.work {
  background: var(--white);
}

.finding {
  margin-top: 38px;
  padding: 70px 0 78px;
  border-top: 1px solid var(--line);
}

.finding:first-of-type {
  margin-top: 0;
}

.finding-copy {
  max-width: 835px;
}

.finding-number {
  margin: 0 0 15px;
  color: var(--blue-dark);
  font: 800 10px/1 ui-monospace, monospace;
  letter-spacing: 0.14em;
}

.finding h3 {
  margin: 0;
  font-size: clamp(31px, 4vw, 48px);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.finding-copy > p:not(.finding-number) {
  max-width: 760px;
  margin: 20px 0 0;
  color: #4a5357;
  font-size: 18px;
}

.finding-copy code,
.map-note code {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--paper-2);
}

.impact-list {
  display: grid;
  margin: 35px 0 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.impact-list div {
  padding: 20px 22px 22px 0;
  border-right: 1px solid var(--line);
}

.impact-list div + div {
  padding-left: 22px;
}

.impact-list div:last-child {
  border-right: 0;
}

.impact-list dt {
  margin-bottom: 7px;
  color: var(--blue-dark);
  font: 800 10px/1 ui-monospace, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.impact-list dd {
  margin: 0;
  color: #4a5255;
  font-size: 13px;
  line-height: 1.55;
}

.before-after-images {
  display: grid;
  max-width: 840px;
  margin-top: 42px;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.before-after-images figure {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.before-after-images img {
  width: 100%;
  margin-top: 10px;
  border-radius: 11px;
}

.state-label {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 6px;
  font: 800 9px/1 ui-monospace, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.state-label.bad {
  background: #f3d9d6;
  color: #8d2a25;
}

.state-label.good {
  background: #d6efe2;
  color: #096a42;
}

.logic-strip {
  display: grid;
  margin-top: 42px;
  grid-template-columns: 1fr 50px 1fr;
  gap: 12px;
  align-items: center;
}

.logic-strip > div {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.logic-strip span,
.logic-strip small,
.logic-strip strong {
  display: block;
}

.logic-strip span {
  color: var(--blue-dark);
  font: 800 9px/1 ui-monospace, monospace;
  text-transform: uppercase;
}

.logic-strip strong {
  margin-top: 10px;
  font-size: 14px;
}

.logic-strip small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.logic-strip > b {
  color: var(--blue);
  text-align: center;
}

.code-section {
  margin-top: 45px;
}

.code-intro {
  display: flex;
  margin-bottom: 15px;
  align-items: baseline;
  justify-content: space-between;
  gap: 40px;
}

.code-intro h4 {
  margin: 0;
  font-size: 16px;
}

.code-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.code-grid {
  display: grid;
  gap: 16px;
}

.code-grid + .code-grid {
  margin-top: 16px;
}

.code-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.code-grid.one {
  grid-template-columns: 1fr;
}

.code-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #293035;
  border-radius: 13px;
  background: var(--code);
  box-shadow: 0 14px 36px rgba(9, 14, 16, 0.14);
}

.code-card.before {
  border-top: 3px solid #b6524d;
}

.code-card.after,
.code-card.proof {
  border-top: 3px solid #33b578;
}

.code-head {
  display: grid;
  min-height: 58px;
  padding: 10px 12px 9px 15px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #242a2e;
  background: #111619;
}

.code-title {
  min-width: 0;
}

.code-title strong,
.code-title span {
  display: block;
}

.code-title strong {
  color: #eaf0ee;
  font-size: 11px;
}

.code-title span {
  overflow: hidden;
  margin-top: 3px;
  color: #788388;
  font: 500 9px/1.3 ui-monospace, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-code {
  padding: 7px 9px;
  border: 1px solid #384247;
  border-radius: 6px;
  background: transparent;
  color: #aeb9b5;
  cursor: pointer;
  font: 700 9px/1 ui-monospace, monospace;
}

.copy-code:hover {
  border-color: #607076;
  color: #fff;
}

.code-card pre {
  height: 270px;
  margin: 0;
  overflow: auto;
  padding: 14px 0 18px;
  color: #c9d2cf;
  font-size: 11px;
  line-height: 1.62;
  tab-size: 2;
}

.code-card.tall pre {
  height: 380px;
}

.compact-code .code-card pre {
  height: 145px;
}

.code-line {
  display: grid;
  min-width: max-content;
  grid-template-columns: 52px 1fr;
  padding-right: 20px;
}

.code-line:hover {
  background: rgba(99, 177, 209, 0.07);
}

.line-no {
  padding-right: 13px;
  color: #4c575c;
  text-align: right;
  user-select: none;
}

.line-source {
  white-space: pre;
}

.code-card.before .line-source {
  color: #d2c4c1;
}

.code-card.after .line-source,
.code-card.proof .line-source {
  color: #c5d7cf;
}

.proof {
  background: var(--night);
  color: #f3f6f5;
}

.proof .split-head > p {
  color: #aab4b1;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #31383b;
  border-left: 1px solid #31383b;
}

.metric {
  min-height: 190px;
  padding: 29px;
  border-right: 1px solid #31383b;
  border-bottom: 1px solid #31383b;
  background: #111719;
}

.metric strong,
.metric span,
.metric small {
  display: block;
}

.metric strong {
  color: var(--lime);
  font-size: 40px;
  letter-spacing: -0.05em;
}

.metric span {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 750;
}

.metric small {
  margin-top: 3px;
  color: #7e8a8e;
  font-size: 11px;
}

.metric.caution strong {
  color: #f0b354;
}

.truth-grid {
  display: grid;
  margin-top: 36px;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.truth-grid article {
  padding: 31px;
  border: 1px solid #31383b;
  border-radius: 14px;
  background: #111719;
}

.truth-grid article.caution-box {
  border-color: #5f472d;
  background: #181613;
}

.truth-grid h3 {
  margin: 0;
  font-size: 20px;
}

.truth-grid ul {
  margin: 20px 0 0;
  padding-left: 19px;
  color: #aeb8b5;
}

.truth-grid li {
  margin: 10px 0;
  padding-left: 5px;
  font-size: 13px;
}

.evidence-links {
  display: grid;
  margin-top: 24px;
  padding: 20px 24px;
  grid-template-columns: 1fr auto auto;
  gap: 22px;
  align-items: center;
  border: 1px solid #31383b;
  border-radius: 14px;
}

.evidence-links span,
.evidence-links strong {
  display: block;
}

.evidence-links div > span {
  color: #7e898d;
  font-size: 10px;
  text-transform: uppercase;
}

.evidence-links div > strong {
  margin-top: 2px;
  font-size: 13px;
}

.evidence-links > a {
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
}

.evidence-links > a span {
  display: inline;
}

.contact {
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 90px;
}

.contact h2 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(42px, 5vw, 66px);
  letter-spacing: -0.06em;
  line-height: 1.02;
}

.contact-copy > p {
  margin: 0 0 18px;
  color: #485055;
  font-size: 18px;
}

.contact-copy .offer-line {
  padding-left: 16px;
  border-left: 3px solid var(--blue);
  color: var(--ink);
  font-weight: 700;
}

.contact-copy .button {
  margin-top: 12px;
}

.contact-note {
  display: block;
  max-width: 420px;
  margin-top: 12px;
  color: #8e5b21;
  font-size: 10px;
}

footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  color: #747b7e;
  font-size: 11px;
}

.lightbox {
  width: min(94vw, 1400px);
  max-width: none;
  max-height: 94vh;
  padding: 38px 14px 14px;
  border: 0;
  border-radius: 15px;
  background: #080b0c;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.5);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(6px);
}

.lightbox img {
  max-width: 100%;
  max-height: calc(94vh - 52px);
  margin: auto;
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  top: 7px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 24px;
}

@media (max-width: 980px) {
  .hero-copy,
  .split-head,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .scope-note {
    max-width: 500px;
  }

  .journey {
    grid-template-columns: repeat(3, 1fr);
  }

  .journey li {
    border-bottom: 1px solid var(--line);
  }

  .journey li:nth-child(3) {
    border-right: 0;
  }

  .system-map {
    grid-template-columns: 1fr;
  }

  .connector {
    width: 1px;
    height: 44px;
    margin-inline: auto;
  }

  .connector::after {
    top: auto;
    right: -3px;
    bottom: 0;
    border-top: 7px solid #536065;
    border-right: 4px solid transparent;
    border-bottom: 0;
    border-left: 4px solid transparent;
  }

  .connector span {
    top: 16px;
    left: 13px;
    width: max-content;
  }

  .impact-list {
    grid-template-columns: 1fr;
  }

  .impact-list div,
  .impact-list div + div {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .impact-list div:last-child {
    border-bottom: 0;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .evidence-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 30px, var(--shell));
  }

  .site-header {
    height: 64px;
    padding-inline: 15px;
  }

  .site-header nav a:not(.header-cta) {
    display: none;
  }

  .hero {
    padding-top: 68px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-screen {
    width: calc(100% - 16px);
    margin-top: 48px;
  }

  .browser-bar p {
    display: none;
  }

  .section {
    padding: 78px 0;
  }

  .section-head h2,
  .finding h3 {
    font-size: 36px;
  }

  .journey {
    grid-template-columns: 1fr;
  }

  .journey li,
  .journey li:nth-child(3) {
    min-height: 94px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .journey li:last-child {
    border-bottom: 0;
  }

  .journey li:not(:last-child)::after {
    top: auto;
    right: 22px;
    bottom: -10px;
    transform: rotate(90deg);
  }

  .journey strong {
    margin-top: 10px;
  }

  .product-shot.wide,
  .product-shot.portfolio-shot,
  .product-shot.mobile-shot {
    grid-column: 1 / -1;
  }

  .product-shot.wide img,
  .product-shot.portfolio-shot img {
    aspect-ratio: auto;
  }

  .branches,
  .before-after-images,
  .code-grid.two,
  .truth-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .logic-strip {
    grid-template-columns: 1fr;
  }

  .logic-strip > b {
    transform: rotate(90deg);
  }

  .code-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .code-card pre,
  .code-card.tall pre {
    height: 310px;
  }

  .compact-code .code-card pre {
    height: 150px;
  }

  .metric {
    min-height: 150px;
  }

  .footer-inner {
    gap: 8px;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Buyer-first case-study direction */
.case-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.case-brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.case-brand strong {
  font-size: 13px;
  letter-spacing: -0.02em;
}

.case-brand small {
  margin-top: 4px;
  color: #72797c;
  font: 700 8px/1 ui-monospace, monospace;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.case-brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px 9px 9px 2px;
  background: var(--ink);
  color: var(--lime);
  font-weight: 900;
}

.buyer-hero {
  padding-top: 96px;
}

.buyer-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 74px;
  align-items: end;
}

.buyer-hero h1 {
  max-width: 820px;
  font-size: clamp(54px, 6.3vw, 86px);
}

.buyer-hero h1 em {
  display: block;
  margin-top: 8px;
}

.first-impression-card {
  padding: 28px;
  border: 1px solid #c7d4d9;
  border-radius: 18px;
  background: rgba(255, 254, 250, 0.8);
  box-shadow: 0 18px 60px rgba(15, 44, 58, 0.09);
}

.mini-label {
  display: block;
  color: var(--blue-dark);
  font: 800 9px/1 ui-monospace, monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.first-impression-card h2 {
  margin: 13px 0 0;
  font-size: 22px;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.first-impression-card ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.first-impression-card li {
  position: relative;
  padding: 11px 0 11px 25px;
  border-top: 1px solid var(--line);
  color: #4b5458;
  font-size: 12px;
}

.first-impression-card li::before {
  position: absolute;
  top: 13px;
  left: 0;
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border-radius: 50%;
  background: #d9f2e5;
  color: #08714a;
  content: "✓";
  font-size: 9px;
  font-weight: 900;
}

.hero-product-frame {
  position: relative;
  margin-top: 70px;
  overflow: hidden;
  border: 1px solid #31373a;
  border-radius: 18px;
  background: #111516;
  box-shadow: 0 32px 90px rgba(14, 20, 22, 0.24);
}

.hero-product-label {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 18px;
  border-bottom: 1px solid #303638;
  background: #0d1113;
  color: #f1f5f3;
}

.hero-product-label span {
  color: var(--lime);
  font: 800 9px/1 ui-monospace, monospace;
  letter-spacing: 0.11em;
}

.hero-product-label strong {
  font-size: 12px;
}

.hero-product-frame .browser-bar {
  height: 36px;
}

.hero-product-frame > a img {
  width: 100%;
}

.hero-outcome-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #303638;
  background: #111719;
}

.hero-outcome-strip span {
  padding: 15px 16px;
  border-right: 1px solid #303638;
  color: #9ca7a4;
  font-size: 11px;
  text-align: center;
}

.hero-outcome-strip span:last-child {
  border-right: 0;
}

.hero-outcome-strip b {
  color: #fff;
}

.buyer-problems {
  background: var(--white);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

.problem-grid article {
  min-height: 220px;
  padding: 30px;
  background: var(--paper);
}

.problem-grid article > span {
  color: var(--blue-dark);
  font: 800 10px/1 ui-monospace, monospace;
}

.problem-grid h3 {
  max-width: 430px;
  margin: 38px 0 0;
  font-size: 23px;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.problem-grid p {
  max-width: 480px;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.service-promise {
  display: grid;
  margin-top: 24px;
  padding: 36px;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  border-radius: 18px;
  background: var(--blue);
  color: #fff;
}

.service-promise .mini-label {
  color: #ccecff;
}

.service-promise h3 {
  margin: 15px 0 0;
  font-size: 27px;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.service-promise ol {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  list-style: none;
}

.service-promise li {
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.service-promise b,
.service-promise span {
  display: block;
}

.service-promise b {
  font-size: 13px;
}

.service-promise span {
  margin-top: 5px;
  color: #d9f2ff;
  font-size: 11px;
  line-height: 1.45;
}

.featured-case {
  background: var(--night);
  color: #f4f7f6;
}

.case-intro {
  display: grid;
  grid-template-columns: 0.95fr 0.75fr;
  gap: 90px;
  align-items: end;
}

.case-intro h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.057em;
  line-height: 1.02;
}

.case-summary p {
  margin: 0 0 15px;
  color: #aeb8b5;
  font-size: 15px;
}

.journey-line {
  display: flex;
  margin: 55px 0 28px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  border: 1px solid #30383b;
  border-radius: 12px;
  color: #d9e0de;
  font-size: 11px;
}

.journey-line b {
  color: var(--lime);
}

.case-product-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.9fr;
  gap: 20px;
}

.case-product-grid figure {
  margin: 0;
}

.case-product-grid figure > a {
  display: block;
  overflow: hidden;
  border: 1px solid #343b3e;
  border-radius: 14px;
  background: #080b0c;
}

.case-main-screen img,
.case-side-screen img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.case-side-screen img {
  object-position: left top;
}

.case-product-grid figcaption {
  margin-top: 12px;
  color: #8e999c;
  font-size: 11px;
}

.case-product-grid figcaption strong {
  color: #edf2f0;
}

.transformation-summary {
  display: grid;
  margin-top: 54px;
  grid-template-columns: 1fr 56px 1fr;
  gap: 12px;
  align-items: stretch;
}

.transformation-summary article {
  padding: 28px;
  border: 1px solid #353d40;
  border-radius: 15px;
  background: var(--night-2);
}

.transformation-summary article > span {
  color: #a5afb1;
  font: 800 9px/1 ui-monospace, monospace;
  letter-spacing: 0.12em;
}

.transformation-summary .summary-after {
  border-color: rgba(185, 245, 49, 0.34);
}

.transformation-summary .summary-after > span {
  color: var(--lime);
}

.transformation-summary ul {
  margin: 20px 0 0;
  padding-left: 18px;
  color: #c5cecb;
}

.transformation-summary li {
  margin: 11px 0;
  font-size: 13px;
}

.transformation-arrow {
  display: grid;
  place-items: center;
  color: var(--lime);
  font-size: 25px;
}

.visible-fix {
  background: var(--white);
}

.visible-fix-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 80px;
  align-items: center;
}

.visible-fix-copy h2 {
  margin: 0;
  font-size: clamp(38px, 4.6vw, 58px);
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.visible-fix-copy > p:not(.kicker) {
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.business-impact {
  margin-top: 28px;
  padding: 20px;
  border-left: 4px solid var(--blue);
  background: var(--paper);
}

.business-impact span,
.business-impact strong {
  display: block;
}

.business-impact span {
  color: var(--blue-dark);
  font: 800 9px/1 ui-monospace, monospace;
  letter-spacing: 0.1em;
}

.business-impact strong {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.before-after-images.client-facing {
  margin-top: 0;
}

.portfolio-proof {
  display: grid;
  margin-top: 60px;
  grid-template-columns: 1fr 270px;
  gap: 24px;
  align-items: end;
}

.portfolio-proof figure {
  margin: 0;
}

.portfolio-proof figure > a {
  display: block;
  overflow: hidden;
  border: 1px solid #31373a;
  border-radius: 15px;
  background: #0d1113;
  box-shadow: var(--shadow);
}

.portfolio-proof figure:first-child img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.phone-proof > a {
  padding: 7px;
  border-width: 7px !important;
  border-radius: 30px !important;
}

.phone-proof img {
  border-radius: 18px;
}

.portfolio-proof figcaption {
  margin-top: 11px;
  color: var(--muted);
  font-size: 11px;
}

.outcomes-section {
  background: var(--paper);
}

.outcome-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.outcome-cards article {
  min-height: 235px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.outcome-cards article > span {
  color: var(--blue-dark);
  font: 800 9px/1 ui-monospace, monospace;
  letter-spacing: 0.12em;
}

.outcome-cards h3 {
  max-width: 450px;
  margin: 32px 0 0;
  font-size: 23px;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.outcome-cards p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.outcome-cards small {
  display: block;
  margin-top: 18px;
  color: #7a8386;
  font-size: 10px;
}

.safety-boundary {
  display: grid;
  margin-top: 20px;
  padding: 22px 26px;
  grid-template-columns: 190px 1fr;
  gap: 30px;
  align-items: center;
  border: 1px solid #ccd7d2;
  border-radius: 14px;
  background: #eef5f1;
}

.safety-boundary span {
  color: var(--green);
  font: 800 9px/1 ui-monospace, monospace;
  letter-spacing: 0.11em;
}

.safety-boundary p {
  margin: 0;
  color: #44514b;
  font-size: 12px;
}

.technical-proof {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.technical-proof summary {
  position: relative;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
}

.technical-proof summary::-webkit-details-marker {
  display: none;
}

.technical-proof summary::after {
  color: var(--blue);
  content: "+";
  font-size: 24px;
  font-weight: 400;
}

.technical-proof[open] summary::after {
  content: "−";
}

.technical-proof summary span,
.technical-proof summary small {
  display: block;
}

.technical-proof summary b {
  color: var(--blue-dark);
}

.technical-proof summary small {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
}

.technical-proof-body {
  padding: 0 24px 28px;
  border-top: 1px solid var(--line);
}

.technical-proof-body > section {
  padding-top: 28px;
}

.technical-proof-body h3 {
  margin: 0 0 14px;
  font-size: 16px;
}

.buyer-results .section-head {
  margin-bottom: 42px;
}

.buyer-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #31383b;
  border-left: 1px solid #31383b;
}

.buyer-proof-grid article {
  min-height: 190px;
  padding: 27px;
  border-right: 1px solid #31383b;
  border-bottom: 1px solid #31383b;
  background: #111719;
}

.buyer-proof-grid strong,
.buyer-proof-grid span,
.buyer-proof-grid small {
  display: block;
}

.buyer-proof-grid strong {
  color: var(--lime);
  font-size: 37px;
  letter-spacing: -0.05em;
}

.buyer-proof-grid span {
  margin-top: 22px;
  font-size: 13px;
  font-weight: 750;
}

.buyer-proof-grid small {
  margin-top: 5px;
  color: #7f8a8d;
  font-size: 9px;
}

.deliverables {
  display: grid;
  margin-top: 28px;
  padding: 34px;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
  border: 1px solid #31383b;
  border-radius: 15px;
  background: #111719;
}

.deliverables .mini-label {
  color: var(--lime);
}

.deliverables h3 {
  margin: 15px 0 0;
  font-size: 27px;
  letter-spacing: -0.04em;
}

.deliverables ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.deliverables li {
  position: relative;
  padding: 10px 0 10px 23px;
  border-top: 1px solid #30383b;
  color: #c1cbc8;
  font-size: 12px;
}

.deliverables li::before {
  position: absolute;
  left: 0;
  color: var(--lime);
  content: "✓";
  font-weight: 900;
}

.fit-section {
  background: var(--white);
}

.fit-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  align-items: start;
}

.fit-grid h2 {
  margin: 0;
  font-size: clamp(38px, 4.8vw, 60px);
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.fit-grid ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.fit-grid li {
  position: relative;
  padding: 20px 0 20px 34px;
  border-bottom: 1px solid var(--line);
  color: #485155;
  font-size: 15px;
}

.fit-grid li::before {
  position: absolute;
  left: 0;
  color: var(--blue);
  content: "✓";
  font-weight: 900;
}

.contact-copy blockquote {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 0 10px 10px 0;
  background: var(--white);
  color: #2e383c;
  font-size: 14px;
}

.contact-copy button {
  border: 0;
  cursor: pointer;
}

.contact-note {
  color: #727b7e;
}

.footer-inner a {
  color: var(--blue-dark);
  font-weight: 750;
}

@media (max-width: 980px) {
  .buyer-hero-grid,
  .case-intro,
  .visible-fix-grid,
  .fit-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .first-impression-card {
    max-width: 600px;
  }

  .service-promise,
  .deliverables {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .buyer-proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .case-brand small {
    display: none;
  }

  .buyer-hero {
    padding-top: 62px;
  }

  .buyer-hero h1 {
    font-size: 47px;
  }

  .first-impression-card {
    display: none;
  }

  .hero-product-label {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-outcome-strip,
  .problem-grid,
  .service-promise ol,
  .case-product-grid,
  .outcome-cards,
  .buyer-proof-grid {
    grid-template-columns: 1fr;
  }

  .hero-outcome-strip span {
    border-right: 0;
    border-bottom: 1px solid #303638;
  }

  .problem-grid article {
    min-height: 190px;
  }

  .service-promise {
    padding: 27px;
  }

  .journey-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .journey-line b {
    margin-left: 7px;
    transform: rotate(90deg);
  }

  .transformation-summary {
    grid-template-columns: 1fr;
  }

  .transformation-arrow {
    transform: rotate(90deg);
  }

  .before-after-images.client-facing,
  .portfolio-proof {
    grid-template-columns: 1fr;
  }

  .phone-proof {
    width: 260px;
    margin-inline: auto !important;
  }

  .safety-boundary {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .technical-proof summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .technical-proof summary small {
    margin-left: 0;
  }

  .technical-proof summary::after {
    position: absolute;
    right: 21px;
  }

  .technical-proof-body {
    padding-inline: 12px;
  }

  .buyer-proof-grid article {
    min-height: 150px;
  }
}

/* Editorial systems — deliberately avoids repeated card-grid geometry. */
.problem-grid.diagnostic-index {
  display: block;
  overflow: visible;
  border: 0;
  border-top: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
}

.diagnostic-index article {
  display: grid;
  min-height: 142px;
  padding: 25px 0;
  grid-template-columns: 76px minmax(0, 1fr) 150px;
  gap: 26px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.diagnostic-index .diagnostic-number {
  color: var(--blue);
  font: 400 28px/1 Georgia, serif;
}

.diagnostic-index h3 {
  margin: 0;
  font-size: 24px;
}

.diagnostic-index p {
  margin: 7px 0 0;
}

.diagnostic-index article > small {
  justify-self: end;
  color: #80878a;
  font: 800 9px/1 ui-monospace, monospace;
  letter-spacing: 0.1em;
}

.change-ledger {
  margin-top: 58px;
  border-top: 1px solid #434b4e;
}

.ledger-head,
.change-ledger article {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 0.8fr;
}

.ledger-head span {
  padding: 12px 20px;
  border-right: 1px solid #30383b;
  color: #778286;
  font: 800 8px/1 ui-monospace, monospace;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ledger-head span:first-child {
  padding-left: 0;
}

.change-ledger article {
  border-top: 1px solid #30383b;
}

.change-ledger article:last-child {
  border-bottom: 1px solid #30383b;
}

.change-ledger article > div {
  min-height: 145px;
  padding: 25px 20px;
  border-right: 1px solid #30383b;
}

.change-ledger article > div:first-child {
  padding-left: 0;
}

.change-ledger article > div:last-child {
  border-right: 0;
}

.ledger-problem span {
  color: #91a0a3;
  font: 800 8px/1 ui-monospace, monospace;
  letter-spacing: 0.09em;
}

.ledger-problem p {
  max-width: 390px;
  margin: 18px 0 0;
  color: #e5ebe9;
  font-size: 15px;
  line-height: 1.45;
}

.ledger-move b,
.ledger-move small,
.ledger-result strong,
.ledger-result small {
  display: block;
}

.ledger-move b {
  color: #dce4e1;
  font-size: 13px;
}

.ledger-move small,
.ledger-result small {
  margin-top: 8px;
  color: #849093;
  font-size: 10px;
  line-height: 1.45;
}

.ledger-result strong {
  color: var(--lime);
  font-size: 14px;
}

.repair-comparison {
  min-width: 0;
}

.repair-focus {
  display: grid;
  grid-template-columns: 1fr 118px 1fr;
  gap: 13px;
  align-items: center;
}

.repair-focus figure {
  min-width: 0;
  margin: 0;
}

.asset-zoom {
  aspect-ratio: 2.35 / 1;
  border: 1px solid #bfc9c4;
  background-color: #063d35;
  background-position: 7% 7%;
  background-repeat: no-repeat;
  background-size: 210% auto;
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.04);
}

.focus-before .asset-zoom {
  background-image: url("evidence/before-broken-win-share.png");
}

.focus-after .asset-zoom {
  border-color: #58b68b;
  background-image: url("evidence/after-branded-win-share.png");
}

.repair-focus figcaption {
  padding-top: 12px;
}

.repair-focus figcaption span,
.repair-focus figcaption strong,
.repair-focus figcaption small {
  display: block;
}

.repair-focus figcaption span {
  color: var(--red);
  font: 800 8px/1 ui-monospace, monospace;
  letter-spacing: 0.12em;
}

.focus-after figcaption span {
  color: var(--green);
}

.repair-focus figcaption strong {
  margin-top: 6px;
  font-size: 13px;
}

.repair-focus figcaption small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.repair-route {
  color: #7a8386;
  font: 700 8px/1.35 ui-monospace, monospace;
  text-align: center;
  text-transform: uppercase;
}

.repair-route span,
.repair-route b {
  display: block;
}

.repair-route b {
  margin: 8px 0;
  color: var(--blue);
  font-size: 22px;
  font-weight: 400;
}

.proof-switcher {
  margin-top: 24px;
  padding: 12px;
  border: 1px solid var(--line);
  background: #ece9e1;
}

.proof-toolbar {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 4px 10px;
}

.proof-toolbar div {
  display: inline-flex;
  border: 1px solid #bfc4c1;
  border-radius: 999px;
  background: var(--white);
}

.proof-toolbar button {
  padding: 8px 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #697174;
  cursor: pointer;
  font: 750 9px/1 ui-monospace, monospace;
}

.proof-toolbar button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.proof-toolbar > span {
  color: #727a7d;
  font: 700 8px/1 ui-monospace, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-switcher > a {
  display: grid;
  min-height: 430px;
  place-items: center;
  background:
    linear-gradient(rgba(9, 16, 17, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 16, 17, 0.04) 1px, transparent 1px),
    #f6f4ee;
  background-size: 22px 22px;
}

.proof-switcher img {
  width: min(78%, 380px);
  box-shadow: 0 24px 55px rgba(12, 28, 24, 0.18);
}

.proof-switcher > p {
  margin: 9px 4px 0;
  color: #657073;
  font: 700 8px/1.4 ui-monospace, monospace;
  letter-spacing: 0.06em;
  text-align: right;
  text-transform: uppercase;
}

.outcome-cards.outcome-ledger {
  display: block;
  border-top: 1px solid var(--ink);
}

.outcome-ledger article {
  display: grid;
  min-height: 166px;
  padding: 25px 0;
  grid-template-columns: 55px minmax(240px, 0.9fr) minmax(260px, 1.1fr) 210px;
  gap: 24px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.outcome-ledger .outcome-index {
  color: var(--blue);
  font: 400 25px/1 Georgia, serif;
}

.outcome-ledger article > div > span {
  color: var(--blue-dark);
  font: 800 8px/1 ui-monospace, monospace;
  letter-spacing: 0.1em;
}

.outcome-ledger h3 {
  margin: 11px 0 0;
  font-size: 20px;
}

.outcome-ledger article > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.outcome-ledger article > strong {
  color: #4e595c;
  font-size: 10px;
  line-height: 1.4;
  text-align: right;
}

.buyer-proof-grid.verification-composition {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  border: 0;
}

.verification-composition .verification-hero {
  min-height: 430px;
  padding: 42px;
  border: 1px solid #333b3e;
  background:
    radial-gradient(circle at 82% 18%, rgba(185, 245, 49, 0.09), transparent 28%),
    #111719;
}

.verification-hero .mini-label {
  color: #91a09c;
}

.verification-hero > strong {
  display: block;
  margin-top: 66px;
  color: var(--lime);
  font-size: clamp(84px, 10vw, 132px);
  letter-spacing: -0.085em;
  line-height: 0.74;
}

.verification-hero > strong span {
  display: inline;
  color: #5f6b68;
  font-size: 0.45em;
}

.verification-hero h3 {
  max-width: 470px;
  margin: 43px 0 0;
  font-size: 23px;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.verification-hero p {
  max-width: 490px;
  margin: 11px 0 0;
  color: #8e9a96;
  font-size: 11px;
}

.verification-signals {
  border-top: 1px solid #333b3e;
}

.verification-signals article {
  display: grid;
  min-height: 143px;
  padding: 24px 28px;
  grid-template-columns: 115px 1fr;
  gap: 22px;
  align-items: center;
  border-right: 1px solid #333b3e;
  border-bottom: 1px solid #333b3e;
  background: #0d1214;
}

.verification-signals article > strong {
  margin: 0;
  color: #eef4f1;
  font-size: 29px;
}

.verification-signals span,
.verification-signals small {
  display: block;
}

.verification-signals span {
  margin: 0;
  font-size: 12px;
  font-weight: 750;
}

.verification-signals small {
  margin-top: 5px;
  color: #778286;
  font-size: 9px;
}

@media (max-width: 980px) {
  .diagnostic-index article {
    grid-template-columns: 58px 1fr;
  }

  .diagnostic-index article > small {
    grid-column: 2;
    justify-self: start;
  }

  .ledger-head,
  .change-ledger article {
    grid-template-columns: 1fr 0.9fr 0.8fr;
  }

  .repair-focus {
    grid-template-columns: 1fr 90px 1fr;
  }

  .outcome-ledger article {
    grid-template-columns: 45px 1fr 1fr;
  }

  .outcome-ledger article > strong {
    grid-column: 2 / -1;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .diagnostic-index article {
    min-height: 0;
    padding: 23px 0;
    grid-template-columns: 42px 1fr;
    gap: 15px;
  }

  .diagnostic-index .diagnostic-number {
    font-size: 21px;
  }

  .diagnostic-index h3 {
    font-size: 19px;
  }

  .diagnostic-index p {
    font-size: 12px;
  }

  .ledger-head {
    display: none;
  }

  .change-ledger article {
    grid-template-columns: 1fr;
    padding: 24px 0;
  }

  .change-ledger article > div,
  .change-ledger article > div:first-child {
    min-height: 0;
    padding: 12px 0;
    border-right: 0;
  }

  .ledger-problem p {
    margin-top: 9px;
  }

  .ledger-move {
    padding-left: 18px !important;
    border-left: 2px solid #455054;
  }

  .ledger-result {
    padding-left: 18px !important;
    border-left: 2px solid var(--lime);
  }

  .repair-focus {
    grid-template-columns: 1fr;
  }

  .repair-route {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
  }

  .repair-route b {
    margin: 0;
  }

  .proof-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .proof-switcher > a {
    min-height: 360px;
  }

  .outcome-ledger article {
    min-height: 0;
    padding: 23px 0;
    grid-template-columns: 38px 1fr;
    gap: 14px;
  }

  .outcome-ledger article > p,
  .outcome-ledger article > strong {
    grid-column: 2;
  }

  .buyer-proof-grid.verification-composition {
    grid-template-columns: 1fr;
  }

  .verification-composition .verification-hero {
    min-height: 390px;
    padding: 28px;
  }

  .verification-hero > strong {
    margin-top: 60px;
  }

  .verification-signals article {
    grid-template-columns: 90px 1fr;
  }
}

/* The method and handover read as working documents, not marketing cards. */
.service-promise {
  overflow: hidden;
  padding: 0;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 0;
  border: 1px solid var(--blue);
  border-radius: 0;
  background: #f4f7f6;
  color: var(--ink);
}

.service-promise > div {
  display: flex;
  padding: 36px;
  justify-content: center;
  flex-direction: column;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 45%),
    var(--blue);
  color: #fff;
}

.service-promise ol {
  display: block;
  counter-reset: method-step;
}

.service-promise li {
  display: grid;
  min-height: 72px;
  padding: 0 28px;
  grid-template-columns: 38px 105px 1fr;
  gap: 14px;
  align-items: center;
  border-top: 1px solid #ccd7d2;
  counter-increment: method-step;
}

.service-promise li:first-child {
  border-top: 0;
}

.service-promise li::before {
  color: var(--blue);
  content: "0" counter(method-step);
  font: 400 18px/1 Georgia, serif;
}

.service-promise b {
  color: var(--ink);
}

.service-promise span {
  margin: 0;
  color: #566164;
}

.journey-line {
  padding-inline: 0;
  border-inline: 0;
  border-radius: 0;
}

.case-product-grid figure > a {
  border-radius: 2px;
}

.safety-boundary {
  padding: 24px 0;
  border-inline: 0;
  border-radius: 0;
  background: transparent;
}

.technical-proof {
  border-radius: 2px;
}

.deliverables {
  overflow: hidden;
  padding: 0;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 0;
  border-radius: 0;
  background: transparent;
}

.deliverables > div {
  display: flex;
  padding: 34px;
  justify-content: center;
  flex-direction: column;
  background:
    linear-gradient(145deg, rgba(185, 245, 49, 0.07), transparent 48%),
    #111719;
}

.deliverables ul {
  counter-reset: handover-item;
}

.deliverables li {
  display: grid;
  min-height: 47px;
  padding: 11px 28px;
  grid-template-columns: 38px 1fr;
  align-items: center;
  border-top: 1px solid #30383b;
  counter-increment: handover-item;
}

.deliverables li:first-child {
  border-top: 0;
}

.deliverables li::before {
  position: static;
  color: var(--lime);
  content: "0" counter(handover-item);
  font: 700 10px/1 ui-monospace, monospace;
}

@media (max-width: 980px) {
  .service-promise,
  .deliverables {
    grid-template-columns: 1fr;
  }

  .service-promise li {
    min-height: 66px;
  }
}

@media (max-width: 720px) {
  .service-promise > div,
  .deliverables > div {
    padding: 28px 22px;
  }

  .service-promise li {
    padding: 17px 20px;
    grid-template-columns: 32px 1fr;
    gap: 5px 10px;
  }

  .service-promise li span {
    grid-column: 2;
  }

  .safety-boundary {
    grid-template-columns: 1fr;
  }

  .deliverables li {
    padding-inline: 20px;
  }
}

.ledger-intro {
  display: grid;
  margin-top: 58px;
  padding: 30px 0;
  grid-template-columns: 1fr 0.72fr;
  gap: 70px;
  align-items: end;
  border-top: 1px solid #434b4e;
  border-bottom: 1px solid #30383b;
}

.ledger-intro span {
  color: var(--lime);
  font: 800 8px/1 ui-monospace, monospace;
  letter-spacing: 0.12em;
}

.ledger-intro h3 {
  max-width: 650px;
  margin: 13px 0 0;
  font-size: 28px;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.ledger-intro p {
  margin: 0;
  color: #99a5a2;
  font-size: 12px;
  line-height: 1.55;
}

.ledger-intro + .change-ledger {
  margin-top: 0;
  border-top: 0;
}

.contact-actions {
  display: flex;
  margin-top: 24px;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-copy .contact-actions .button {
  margin-top: 0;
}

.button.secondary {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.button.secondary:hover {
  background: var(--ink);
  color: #fff;
}

.email-address {
  display: inline-block;
  margin-top: 21px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-inner > div {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .ledger-intro {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ledger-intro h3 {
    font-size: 23px;
  }

  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-actions .button {
    width: 100%;
  }

  .footer-inner > div {
    flex-direction: column;
    gap: 8px;
  }
}

/* One-week engagement framing inside the service promise */
.engagement-note {
  margin: 16px 0 0;
  color: #d9f2ff;
  font-size: 12px;
  line-height: 1.55;
}

.engagement-note strong {
  color: #fff;
}

.service-promise li span small {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-dark);
  font: 700 8px/1 ui-monospace, monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

/* Objection-handling FAQ */
.faq-section {
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  align-items: start;
}

.faq-intro h2 {
  margin: 0;
  font-size: clamp(38px, 4.8vw, 60px);
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.faq-intro > p:last-child {
  max-width: 460px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.qa-item {
  border-bottom: 1px solid var(--line);
}

.qa-item summary {
  position: relative;
  display: flex;
  padding: 23px 34px 23px 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.qa-item summary::-webkit-details-marker {
  display: none;
}

.qa-item summary::after {
  color: var(--blue);
  content: "+";
  font: 400 23px/1 Georgia, serif;
}

.qa-item[open] summary::after {
  content: "−";
}

.qa-item summary:hover {
  color: var(--blue-dark);
}

.qa-item[open] summary {
  color: var(--blue-dark);
}

.qa-item > p {
  max-width: 640px;
  margin: 0;
  padding: 0 0 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Risk-reversal commitments in the contact column */
.commitment-list {
  display: grid;
  margin: 24px 0 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 20px;
  list-style: none;
}

.commitment-list li {
  position: relative;
  padding: 7px 0 7px 22px;
  color: #485055;
  font-size: 12px;
}

.commitment-list li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

/* Scroll-reveal motion, gated behind a .js class so no-JS visitors
   always see fully rendered content */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Subtle image lift on the product frames */
.hero-product-frame > a img,
.case-product-grid figure > a img,
.portfolio-proof figure > a img {
  transition: transform 0.6s ease;
}

.hero-product-frame > a:hover img {
  transform: scale(1.015);
}

.case-product-grid figure > a:hover img,
.portfolio-proof figure > a:hover img {
  transform: scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal],
  html.js [data-reveal].is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-product-frame > a img,
  .case-product-grid figure > a img,
  .portfolio-proof figure > a img {
    transition: none;
  }
}

@media (max-width: 980px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 720px) {
  .faq-intro h2 {
    font-size: 36px;
  }

  .qa-item summary {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 15px;
  }

  .commitment-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
