:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1c2330;
  --muted: #5b6573;
  --brand: #0f766e;
  --brand-soft: #e6f4f2;
  --accent: #f59e0b;
  --border: #e6e2da;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
  font-size: 17px;
}

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

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 22px; color: var(--text); text-decoration: none;
}
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 18px;
}
nav a {
  color: var(--muted); text-decoration: none; margin-inline-start: 20px; font-size: 15px;
}
nav a:hover { color: var(--text); }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero h1 {
  font-size: clamp(32px, 5vw, 52px); line-height: 1.2; margin: 0 0 18px; font-weight: 800;
}
.hero h1 span { color: var(--brand); }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 640px; margin: 0 0 30px; }
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  background: var(--brand); color: #fff; text-decoration: none; font-weight: 700;
}
.btn.ghost { background: transparent; color: var(--brand); border: 2px solid var(--brand); margin-inline-start: 10px; }

/* Sections */
section { padding: 56px 0; }
section h2 { font-size: 32px; margin: 0 0 8px; }
section .sub { color: var(--muted); margin: 0 0 32px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft);
  display: grid; place-items: center; font-size: 22px; margin-bottom: 12px;
}
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

ol.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 14px; }
ol.steps li {
  counter-increment: s; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 22px 18px 22px; display: flex; gap: 16px; align-items: flex-start;
}
ol.steps li::before {
  content: counter(s); flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; display: grid; place-items: center;
}

.contact {
  background: var(--brand); color: #fff; border-radius: 24px; padding: 40px;
}
.contact h2 { color: #fff; }
.contact .sub { color: #d5efeb; }
.contact dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; }
.contact dt { font-weight: 700; }
.contact dd { margin: 0; }
.contact a { color: #fff; }

/* Legal pages */
.legal { padding: 48px 0 64px; max-width: 780px; }
.legal h1 { font-size: 36px; margin: 0 0 6px; }
.legal .updated { color: var(--muted); margin: 0 0 32px; }
.legal h2 { font-size: 22px; margin: 32px 0 8px; }

/* Footer */
footer.site { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer.site a { color: var(--muted); margin-inline-start: 16px; }

@media (max-width: 640px) {
  nav a:not(.keep) { display: none; }
  .hero { padding: 48px 0 36px; }
  .btn.ghost { margin: 12px 0 0; }
  .contact { padding: 28px 20px; }
  .contact dl { grid-template-columns: 1fr; gap: 2px; }
  .contact dd { margin-bottom: 10px; }
}
