:root {
  --ink: #17252a;
  --muted: #5d6d70;
  --line: #d7e1df;
  --paper: #f5f8f6;
  --accent: #176b61;
  --accent-soft: #dceee9;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); }
body { margin: 0; min-width: 320px; }
a { color: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(245, 248, 246, .94); }
.nav-wrap, .footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .02em; text-decoration: none; }
.brand img { border-radius: 8px; }
nav { display: flex; gap: 22px; color: var(--muted); font-size: .95rem; }
nav a, .text-link, .site-footer a { text-decoration: none; }
nav a:hover, .text-link:hover, .site-footer a:hover { color: var(--accent); }
.hero { padding: 112px 0 96px; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 760px; margin: 0; font-size: clamp(2.6rem, 7vw, 5.8rem); line-height: .98; letter-spacing: -.055em; }
.lead { max-width: 620px; margin: 30px 0 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.button { display: inline-block; padding: 14px 19px; border-radius: 8px; color: white; background: var(--accent); font-weight: 700; text-decoration: none; }
.button:hover { background: #10564e; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 110px; }
.card { min-height: 220px; padding: 25px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.card-number { color: var(--accent); font-size: .78rem; font-weight: 700; }
h2 { margin: 42px 0 12px; font-size: 1.25rem; letter-spacing: -.02em; }
.card p, .prose p { color: var(--muted); line-height: 1.7; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.page { min-height: calc(100vh - 153px); padding: 100px 0 120px; }
.page h1 { max-width: 780px; font-size: clamp(2.5rem, 6vw, 5rem); }
.prose { max-width: 650px; margin-top: 42px; font-size: 1.08rem; }
.error-page { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.error-page .button { margin-top: 32px; }

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav-wrap { min-height: 66px; }
  .hero { padding: 76px 0 70px; }
  .feature-grid { grid-template-columns: 1fr; padding-bottom: 76px; }
  .card { min-height: auto; }
  .card h2 { margin-top: 28px; }
  .footer-wrap { align-items: flex-start; flex-direction: column; justify-content: center; padding: 22px 0; }
}
