@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/IBMPlexSans-Regular-Latin1.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/IBMPlexSans-SemiBold-Latin1.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/IBMPlexMono-Regular-Latin1.woff2") format("woff2");
}

:root {
  --ink: #0E1C2A;
  --paper: #F7F9FB;
  --surface: #FFFFFF;
  --accent: #0F6CBD;
  --muted: #55677A;
  --line: #D9E2EA;
  color: var(--ink);
  background: var(--paper);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 1.06rem;
  line-height: 1.65;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--paper);
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 0.12em;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
}

h1 {
  max-width: 18ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h2 {
  margin-bottom: 2rem;
  font-size: 1.5rem;
  line-height: 1.25;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.08rem;
  line-height: 1.35;
}

p {
  max-width: 68ch;
  margin-bottom: 0;
}

section { scroll-margin-top: 72px; } /* nav height + breathing room */

.container {
  width: min(100% - 48px, 1040px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.nav-layout {
  display: flex;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding-block: 0.75rem;
}

.wordmark {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--ink);
  font-size: 0.94rem;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.hero {
  padding-block: 96px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(360px, 2fr);
  gap: 48px;
  align-items: center;
}

.eyebrow,
.card-label,
.step-number,
.credibility-list,
.experience-list {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow,
.card-label {
  margin-bottom: 0.75rem;
}

.hero-summary {
  max-width: 68ch;
  margin-bottom: 2rem;
  color: var(--muted);
}

.button-link {
  display: inline-block;
  padding: 0.65rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 4px;
  color: var(--accent);
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.button-link:hover {
  background: var(--surface);
  text-decoration: underline;
}

.architecture-schematic {
  display: block;
  width: 100%;
  height: auto;
  color: var(--ink);
}

.schematic-grid path,
.schematic-connectors path,
.schematic-nodes rect,
.schematic-arrow {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.schematic-grid path {
  stroke: var(--line);
  stroke-width: 1px;
}

.schematic-connectors path,
.schematic-nodes rect,
.schematic-arrow {
  stroke: var(--accent);
  stroke-width: 1.5px;
}

.schematic-dashed {
  stroke-dasharray: 6 5;
}

.schematic-connectors circle {
  fill: var(--accent);
}

.schematic-nodes text {
  fill: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.credibility-section,
.content-section {
  border-top: 1px solid var(--line);
}

.credibility-section {
  padding-block: 2rem;
}

.credibility-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.credibility-list li {
  padding-inline: 1.25rem;
  overflow-wrap: anywhere;
}

.credibility-list li:first-child {
  padding-left: 0;
}

.credibility-list li:last-child {
  padding-right: 0;
}

.credibility-list li + li {
  border-left: 1px solid var(--line);
}

.content-section {
  padding-block: 96px;
}

.measure {
  max-width: 68ch;
}

.prose-stack {
  display: grid;
  gap: 1.25rem;
}

.credentials {
  color: var(--muted);
}

.credentials .eyebrow {
  display: block;
  margin-bottom: 0.4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
}

.service-card p:last-child {
  color: var(--muted);
}

.approach-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.approach-list::before {
  position: absolute;
  top: 0.7rem;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--line);
  content: "";
}

.approach-list li {
  position: relative;
  padding-top: 2.5rem;
}

.step-number {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  padding-right: 0.75rem;
  background: var(--paper);
  color: var(--accent);
}

.approach-list p {
  color: var(--muted);
}

.experience-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding-left: 1.4rem;
  text-transform: none;
}

.todo-marker {
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 400;
}

.contact-section h2 {
  margin-bottom: 1rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  margin-top: 2rem;
}

.site-footer {
  padding-block: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .architecture-schematic {
    max-width: 560px;
  }

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

  .credibility-list li {
    padding: 1rem;
  }

  .credibility-list li:first-child {
    padding-left: 1rem;
  }

  .credibility-list li:last-child {
    padding-right: 1rem;
  }

  .credibility-list li + li {
    border-left: 0;
  }

  .credibility-list li:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .credibility-list li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .nav-layout {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero,
  .content-section {
    padding-block: 56px;
  }

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

  .approach-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .approach-list::before {
    top: 0.7rem;
    bottom: 0.7rem;
    left: 0.35rem;
    width: 1px;
    height: auto;
  }

  .approach-list li {
    padding-top: 0;
    padding-left: 2rem;
  }

  .step-number {
    top: 0;
    left: 0;
    padding: 0 0 0.5rem;
  }
}

@media (max-width: 480px) {
  .credibility-list {
    grid-template-columns: 1fr;
  }

  .credibility-list li:nth-child(even) {
    border-left: 0;
  }

  .credibility-list li + li {
    border-top: 1px solid var(--line);
  }

  .service-card {
    padding: 1.25rem;
  }
}
