:root {
  --bg: #e8eef2;
  --surface: #f5f7f9;
  --card: #fbfcfd;
  --text: #2b3a44;
  --muted: #66747c;
  --accent: #7a8b99;
  --button: #7a8b99;
  --button-text: #fff;
  --line: #d5dde3;
  --max: 68rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a { color: var(--text); }
img { max-width: 100%; height: auto; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
nav.site {
  display: flex;
  gap: 1.1rem;
  font-size: 0.95rem;
}
nav.site a { text-decoration: none; color: var(--muted); }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--text); }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2rem 0 3.5rem;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0 0 0.8rem;
  font-weight: 650;
}
.lede { font-size: 1.15rem; color: var(--muted); margin: 0 0 1.5rem; max-width: 36rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
.btn-primary { background: var(--button); color: var(--button-text); }
.btn-ghost { background: var(--surface); color: var(--text); }
.note { margin-top: 1rem; font-size: 0.9rem; color: var(--muted); }

.phone {
  background: var(--card);
  border-radius: 28px;
  padding: 0.7rem;
  border: 1px solid var(--line);
}
.phone img { display: block; width: 100%; border-radius: 22px; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-bottom: 3rem;
}
.card {
  background: var(--card);
  border-radius: 18px;
  padding: 1.25rem 1.3rem;
  border: 1px solid var(--line);
}
.card h2 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.legal, .prose {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem 2.1rem;
  margin: 0.5rem 0 3rem;
  max-width: 46rem;
}
.prose h1 { margin-top: 0; letter-spacing: -0.03em; }
.prose h2 { margin-top: 1.8rem; font-size: 1.15rem; }
.prose p, .prose li { color: var(--muted); }
.prose a { color: var(--text); }

footer.site {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2.2rem;
  color: var(--muted);
  font-size: 0.92rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
footer.site a { color: var(--muted); }

@media (max-width: 840px) {
  .hero, .grid { grid-template-columns: 1fr; }
  .phone { max-width: 22rem; }
}
