:root {
  --ink: #1c2530;
  --muted: #5b6672;
  --navy: #3a4960; /* logo colour */
  --navy-dark: #2c384b;
  --accent: #4d6a8c;
  --bg: #fbfaf7;
  --bg-alt: #f1eee7;
  --line: #e2ddd2;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

.wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0.3em 0 0.5em; }
h2 { font-size: 2rem; margin: 0 0 0.8em; }
h3 { font-size: 1.3rem; margin: 0 0 0.4em; }

a { color: var(--accent); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark { height: 32px; }
.logo-word { height: 15px; }

nav { display: flex; gap: 24px; align-items: center; }
nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
nav a:hover { color: var(--accent); }
.nav-cta {
  border: 1px solid var(--navy);
  border-radius: 999px;
  padding: 6px 16px;
}

/* Hero */
.hero { padding: 96px 0 104px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; margin: 0 0 2em; }
.lead-small { font-size: 1.1rem; max-width: 38em; }

.button {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 500;
}
.button:hover { background: var(--accent); }
.button-light { background: #fff; color: var(--navy); }
.button-light:hover { background: var(--bg-alt); }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy-dark); color: #e8edf1; }
.section-dark h2 { color: #fff; }

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

.systems { margin: 28px 0 0; color: var(--muted); }

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--serif);
  margin-bottom: 14px;
}
.steps p { margin: 0; color: var(--muted); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
}
.card p { margin: 0; color: var(--muted); }

.about p { max-width: 40em; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-inner { display: flex; justify-content: space-between; gap: 24px; }
.footer-inner div:last-child { text-align: right; }
.footer-logo { width: 120px; margin-bottom: 12px; }

/* Mobile */
@media (max-width: 720px) {
  nav a:not(.nav-cta) { display: none; }
  .hero { padding: 64px 0 72px; }
  .section { padding: 64px 0; }
  .cards, .steps { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-inner div:last-child { text-align: left; }
}
