:root {
  --ink: #0e1110;
  --muted: #5b6360;
  --line: #e4e7e5;
  --bg: #fbfbf9;
  --card: #ffffff;
  --accent: #0f6b4f;
  --accent-soft: #e9f3ef;
  --max: 1080px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 ui-sans-serif, -apple-system, "Segoe UI", Inter, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 251, 249, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand svg { display: block; }

.site-nav { display: flex; align-items: center; gap: 26px; }

.site-nav a {
  font-size: 14.5px;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}

.site-nav a:hover { color: var(--ink); }

.site-nav a.cta-link {
  color: var(--accent);
  font-weight: 600;
}

/* ---------- typography ---------- */

h1, h2, h3 { letter-spacing: -.03em; margin: 0; }

h1 {
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.05;
  font-weight: 700;
  max-width: 17ch;
}

h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.12;
  font-weight: 700;
}

h3 {
  font-size: 17.5px;
  font-weight: 650;
  letter-spacing: -.015em;
}

p { margin: 0; }

.lead {
  font-size: clamp(17px, 1.9vw, 19.5px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
}

.eyebrow {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}

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

/* ---------- layout blocks ---------- */

section { padding: 88px 0; }
section.tight { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }

.hero { padding: 96px 0 84px; }
.hero h1 + nav { margin-top: 32px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: .16s ease;
}

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #262b29; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: #c9cecc; background: #fff; }

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 44px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 24px;
}

.card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.section-head { max-width: 62ch; }
.section-head p { margin-top: 14px; }

/* ---------- steps ---------- */

.steps {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
}

.step {
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}
.step:last-child { border-right: 0; }

.step .num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent);
}

.step h3 { margin: 12px 0 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- product band ---------- */

.band {
  background: var(--accent-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 68px 0;
}

.band .inner {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
}

.band h2 { margin-bottom: 14px; }
.band p { color: #33463f; }

.tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li {
  font-size: 13px;
  font-weight: 550;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #cfe2da;
  color: #2b4a3f;
}

/* ---------- cta ---------- */

.cta-band { text-align: center; padding: 84px 0; }
.cta-band h2 { max-width: 20ch; margin: 0 auto 16px; }
.cta-band p { max-width: 54ch; margin: 0 auto; color: var(--muted); }
.cta-band .hero-actions { justify-content: center; }

/* ---------- prose (about / contact) ---------- */

.prose { max-width: 68ch; }
.prose p + p { margin-top: 18px; }
.prose h2 { margin-top: 52px; margin-bottom: 16px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 20px; color: var(--muted); }
.prose li + li { margin-top: 8px; }

.meta-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 40px;
}

.meta {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  background: var(--card);
}

.meta dt {
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.meta dd {
  margin: 8px 0 0;
  font-size: 15.5px;
  font-weight: 550;
}

.meta dd a { text-decoration: none; border-bottom: 1px solid #cfe2da; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 56px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand { font-weight: 650; color: var(--ink); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

/* ---------- responsive ---------- */

@media (max-width: 820px) {
  section { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
  .band .inner { grid-template-columns: 1fr; }
  .site-nav { gap: 18px; }
  .site-nav a:not(.cta-link):nth-child(n+3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
