:root {
  --ink: #1c2228;
  --ink-soft: #5b6670;
  --paper: #eef0ea;
  --paper-deep: #dfe2da;
  --rule: #b9beb3;
  --pine: #2a5a47;
  --pine-deep: #1e4434;
  --measure: 60ch;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "tnum" 1;
}

a {
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
a:hover { color: var(--pine-deep); }
a:focus-visible {
  outline: 2px solid var(--pine);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--rule);
  gap: 1rem;
  flex-wrap: wrap;
}
.site-head .brand {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.site-head nav { display: flex; gap: 1.5rem; font-size: 0.95rem; }

/* Hero */
.hero {
  background: var(--paper-deep);
  border-top: 4px solid var(--pine);
  padding: 4.5rem 0 3.5rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 7.5vw, 5.25rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 1.25rem;
  max-width: 14ch;
}
.hero p.lede {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.4;
  max-width: 34ch;
  margin: 0 0 2.5rem;
  color: var(--ink);
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.5rem;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--rule);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.facts div { display: flex; gap: 0.5rem; }
.facts dt { margin: 0; }
.facts dd { margin: 0; color: var(--ink); font-weight: 500; }

/* Sections */
section { padding: 3.5rem 0; }
section + section { border-top: 1px solid var(--rule); }
h2 {
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 1.75rem;
}
p { max-width: var(--measure); }

/* Services: ruled list, not cards */
.services {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}
.services li {
  display: grid;
  grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  gap: 1rem 3rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--rule);
}
.services li:last-child { border-bottom: 0; padding-bottom: 0.5rem; }
.services h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
}
.services p { margin: 0; color: var(--ink); }

/* Software */
.software {
  display: grid;
  grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  gap: 1rem 3rem;
  padding: 1.6rem 0 0.5rem;
  border-top: 1px solid var(--rule);
}
.software h3 { margin: 0 0 0.35rem; font-size: 1.1rem; font-weight: 600; }
.software .meta { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
.software p { margin: 0 0 0.8rem; }
.software p:last-child { margin: 0; }

/* Company + contact */
.details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 2.5rem 4rem;
}
.details dl { margin: 0; }
.details div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.5rem 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--rule);
}
.details dt { margin: 0; color: var(--ink-soft); }
.details dd { margin: 0; }

/* Footer */
.site-foot {
  border-top: 1px solid var(--rule);
  padding: 1.75rem 0 2.5rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
}
.site-foot nav { display: flex; gap: 1.25rem; }

/* Inner pages */
.page { padding: 3.5rem 0 4rem; }
.page h1 {
  font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.6rem;
}
.page .updated { color: var(--ink-soft); margin: 0 0 2.5rem; font-size: 0.95rem; }
.page h2 { font-size: 1.3rem; margin: 2.25rem 0 0.75rem; }
.page ul { max-width: var(--measure); padding-left: 1.2rem; }
.page li { margin-bottom: 0.4rem; }

@media (max-width: 640px) {
  .hero { padding: 3rem 0 2.5rem; }
  .services li, .software { grid-template-columns: 1fr; gap: 0.5rem; }
  .details div { grid-template-columns: 1fr; gap: 0.15rem; }
  .facts { gap: 0.5rem 1.5rem; }
}

@media (prefers-reduced-motion: no-preference) {
  a { transition: color 120ms ease; }
}
