:root {
  --bg: #f7fbf8;
  --surface: #ffffff;
  --ink: #0f1d17;
  --muted: #4a5a52;
  --brand: #0b6e4f;
  --brand-ink: #ffffff;
  --tint: #e3f4ec;
  --line: #d8e4dd;
  --radius: 20px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1512;
    --surface: #18201c;
    --ink: #e4ece7;
    --muted: #a7b6ae;
    --brand: #8ad6b3;
    --brand-ink: #003825;
    --tint: #1d2b24;
    --line: #2a3630;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--brand); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
nav a { margin-left: 20px; color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--ink); }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 48px 0 72px; }
.hero h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 18px; }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; max-width: 520px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: 16px; }
.btn.primary { background: var(--brand); color: var(--brand-ink); }
.btn.ghost { border: 1.5px solid var(--line); color: var(--ink); }
.phone { justify-self: center; width: min(320px, 80vw); border-radius: 40px; border: 10px solid #111; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.18); background: #111; }
.phone img { display: block; width: 100%; }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }

section { padding: 56px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 32px; letter-spacing: -0.01em; margin: 0 0 28px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.shots figure { margin: 0; }
.shots img { width: 100%; border-radius: 22px; border: 1px solid var(--line); display: block; }
.shots figcaption { text-align: center; color: var(--muted); font-size: 15px; margin-top: 10px; }
ol.steps { padding-left: 22px; }
ol.steps li { margin-bottom: 10px; }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer a { color: var(--muted); }

/* Legal pages */
.doc { max-width: 760px; padding: 24px 20px 64px; margin: 0 auto; }
.doc h1 { font-size: 40px; letter-spacing: -0.015em; margin: 16px 0 4px; }
.doc .meta { color: var(--muted); margin-bottom: 32px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.doc .callout { background: var(--tint); border-radius: 14px; padding: 16px 18px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .grid, .shots { grid-template-columns: 1fr; }
  nav a { margin-left: 14px; }
  .doc table { display: block; overflow-x: auto; }
}
