:root {
  --paper: #f7f8f3;
  --white: #ffffff;
  --ink: #101613;
  --ink-2: #344039;
  --muted: #667066;
  --line: #d9ded3;
  --line-strong: #bfc8bb;
  --green: #17613d;
  --green-dark: #0f3f2a;
  --blue: #2859a6;
  --blue-soft: #e7eefb;
  --amber: #b86f16;
  --amber-soft: #fff2dc;
  --red: #a84242;
  --red-soft: #f8e6e3;
  --shadow: 0 18px 48px rgba(26, 39, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(16, 22, 19, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 22, 19, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 3rem 3rem;
  font: 1rem/1.58 "Aptos", "Segoe UI", system-ui, sans-serif;
}

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

a {
  color: inherit;
}

.wrap {
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(54rem, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 248, 243, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-height: 2.75rem;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
}

.brand b {
  display: block;
  font-size: 1rem;
  line-height: 1.15;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.1;
}

.navlinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.navlinks a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0 0.8rem;
  border-radius: 0.5rem;
  color: var(--ink-2);
  font-size: 0.93rem;
  text-decoration: none;
}

.navlinks a:hover,
.navlinks a.active {
  background: var(--white);
  color: var(--ink);
}

.navlinks .cta {
  background: var(--green);
  color: var(--white);
}

.navlinks .cta:hover {
  background: var(--green-dark);
  color: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3.5rem 0 2.5rem;
  align-items: center;
}

.eyebrow {
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 0.8rem;
}

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

h1,
h2,
.display {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  font-size: 2.35rem;
  line-height: 1.04;
  max-width: 12ch;
  margin-bottom: 1rem;
}

.hero-copy {
  max-width: 42rem;
}

.lead {
  color: var(--ink-2);
  font-size: 1.07rem;
  line-height: 1.62;
  max-width: 43rem;
}

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

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.45rem;
}

.button {
  min-height: 2.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.5rem;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-weight: 760;
}

.button.primary {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

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

.button.secondary {
  border-color: var(--blue);
  color: var(--blue);
}

.microcopy {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 0.9rem;
}

.proof-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.proof {
  border-left: 3px solid var(--green);
  background: rgba(255, 255, 255, 0.72);
  padding: 0.85rem 0.95rem;
}

.proof b {
  display: block;
  font-size: 1.08rem;
}

.proof span {
  color: var(--muted);
  font-size: 0.9rem;
}

.product-shot {
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.shot-bar {
  min-height: 3.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: #fbfcf8;
}

.dots {
  display: flex;
  gap: 0.35rem;
}

.dots i {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: var(--line-strong);
}

.shot-title {
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}

.shot-body {
  padding: 0.9rem;
}

.score-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.signal,
.row-card,
.source-card,
.feature,
.step,
.trust-item,
.roadmap-card,
.api-endpoint,
.compare-card,
.software-card {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--white);
}

.signal {
  padding: 0.85rem;
}

.signal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.signal h3 {
  font-size: 0.96rem;
  margin: 0;
}

.pill,
.status {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 760;
  white-space: nowrap;
}

.pill.good,
.status.live {
  background: #e6f3ec;
  color: var(--green-dark);
}

.pill.warn,
.status.soon {
  background: var(--amber-soft);
  color: #7b4a0f;
}

.pill.bad {
  background: var(--red-soft);
  color: var(--red);
}

.metric-line {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  gap: 0.6rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.86rem;
}

.meter {
  height: 0.45rem;
  background: #eef1e9;
  border-radius: 999px;
  overflow: hidden;
}

.meter i {
  display: block;
  height: 100%;
  background: var(--green);
}

.todo-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.todo {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  font-size: 0.84rem;
}

.check {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--green);
}

section {
  padding: 3.25rem 0;
}

.section-head {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}

.section-head h2 {
  font-size: 2rem;
  line-height: 1.08;
  margin-bottom: 0;
}

.section-head p {
  color: var(--muted);
  max-width: 43rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-grid,
.steps-grid,
.roadmap-grid,
.compare-grid,
.source-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature,
.step,
.trust-item,
.roadmap-card,
.compare-card,
.source-card,
.software-card {
  padding: 1.05rem;
}

.feature h3,
.step h3,
.trust-item h3,
.roadmap-card h3,
.compare-card h3,
.source-card h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.feature p,
.step p,
.trust-item p,
.roadmap-card p,
.compare-card p,
.source-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.consulting-hero h1 {
  max-width: 13ch;
}

.systems-board .shot-body {
  display: grid;
  gap: 0.75rem;
}

.service-card p {
  line-height: 1.62;
}

.product-card .actions {
  margin-top: 1rem;
}

.software-hero h1 {
  max-width: 17ch;
}

.software-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.software-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.software-card h2 {
  font-size: 1.55rem;
  line-height: 1.1;
  margin: 0;
}

.software-card .lead {
  color: var(--ink-2);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.software-card .line-list {
  margin: 0.4rem 0 0;
}

.software-card .actions {
  margin-top: 1.2rem;
}

.software-card .note {
  margin-top: 1.2rem;
}

.about-hero h1 {
  max-width: 17ch;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.about-page .about-card {
  margin-bottom: 1rem;
}

.about-card h2 {
  font-size: 2rem;
  line-height: 1.08;
  margin-bottom: 0.8rem;
}

.about-card p:not(.eyebrow),
.profile-facts li {
  font-size: 1rem;
  line-height: 1.68;
}

.about-card p:not(.eyebrow) {
  color: var(--ink-2);
}

.about-page .about-card p:not(.eyebrow),
.about-page .section-head > p {
  text-indent: 2rem;
}

.profile-facts h3 {
  margin-bottom: 0.8rem;
}

.number {
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  margin-bottom: 0.8rem;
  border-radius: 0.5rem;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.mode-board {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--line-strong);
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--white);
}

.mode {
  padding: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.mode:last-child {
  border-bottom: 0;
}

.mode small {
  display: block;
  color: var(--green);
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.mode h3 {
  margin-bottom: 0.45rem;
}

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

.line-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.line-list li {
  display: flex;
  gap: 0.5rem;
  color: var(--ink-2);
}

.line-list li::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  margin-top: 0.62rem;
  border-radius: 50%;
  background: var(--green);
  flex: 0 0 auto;
}

.page-hero {
  padding: 3.25rem 0 2rem;
}

.page-hero h1 {
  max-width: 15ch;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.api-shell {
  display: grid;
  gap: 1rem;
}

.api-endpoint {
  display: grid;
  gap: 0.45rem;
  padding: 0.9rem;
}

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

code {
  color: var(--green-dark);
  font-size: 0.9em;
}

pre {
  overflow-x: auto;
  margin: 0;
  padding: 1rem;
  border-radius: 0.5rem;
  background: #111812;
  color: #eef4ec;
  font-size: 0.9rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: 0.5rem;
  background: var(--white);
}

.table-wrap.wide table {
  min-width: 76rem;
}

table {
  width: 100%;
  min-width: 58rem;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th,
td {
  padding: 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #f1f4ec;
  font-size: 0.82rem;
}

tr:last-child td {
  border-bottom: 0;
}

.ta-col {
  background: #edf6f0;
}

.note {
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--white);
  color: var(--muted);
  font-size: 0.92rem;
}

.source-list {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--white);
}

.source-list a {
  color: var(--blue);
}

.source-list p {
  margin: 0;
  color: var(--muted);
}

.compact-list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compact-list li {
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.compact-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.compact-list b {
  color: var(--ink);
}

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

.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.footer a {
  color: var(--ink-2);
}

@media (min-width: 42rem) {
  h1 {
    font-size: 3rem;
  }

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

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

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

@media (min-width: 58rem) {
  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(28rem, 1.05fr);
    padding: 5.5rem 0 3.25rem;
  }

  h1 {
    font-size: 3.75rem;
  }

  .section-head {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: end;
  }

  .section-head h2 {
    font-size: 2.45rem;
  }

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

  .software-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }


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

  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

  .mode {
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .mode:last-child {
    border-right: 0;
  }
}

@media (max-width: 38rem) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .navlinks {
    width: 100%;
    justify-content: flex-start;
  }

  .navlinks a {
    flex: 1 1 auto;
  }

  .metric-line {
    grid-template-columns: 4.2rem 1fr auto;
  }
}
