:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --text: #1d2230;
  --muted: #5a6072;
  --line: #e3e0d8;
  --accent: #2f6fe4;
  --accent-text: #ffffff;
  --accent-soft: #e6eefc;
  --radius: 18px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #13151b;
    --surface: #1c1f27;
    --text: #eceef3;
    --muted: #a3a9b8;
    --line: #2c303b;
    --accent: #6c9bff;
    --accent-text: #0d1220;
    --accent-soft: #1f2a42;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

header.top { padding: 18px 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 19px; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.brand svg { flex: none; }
nav.links { display: flex; align-items: center; gap: 20px; font-size: 15px; }
nav.links a { color: var(--muted); text-decoration: none; }
nav.links a:hover { color: var(--text); }
@media (max-width: 640px) { nav.links a:not(.btn) { display: none; } }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--accent); color: var(--accent-text) !important;
  font-weight: 650; text-decoration: none; border: 0;
}
.btn:hover { filter: brightness(1.08); }
.btn.small { padding: 8px 16px; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--text) !important; box-shadow: inset 0 0 0 1.5px var(--line); }

.hero { padding: 48px 0 32px; text-align: center; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 auto 18px; max-width: 14ch; }
.hero p.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 40em; margin: 0 auto 28px; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .note { font-size: 14px; color: var(--muted); margin-top: 14px; }

.faces { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 40px auto 0; max-width: 820px; }
.faces img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--surface); box-shadow: 0 0 0 3px var(--bg), 0 2px 10px rgb(0 0 0 / 0.12); }
@media (max-width: 640px) { .faces img { width: 48px; height: 48px; } }

section { padding: 48px 0; }
section h2 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -0.02em; margin: 0 0 8px; }
section .sub { color: var(--muted); margin: 0 0 28px; }

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

.scenes { display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .scenes { grid-template-columns: repeat(2, 1fr); } }
.scenes figure { margin: 0; }
.scenes img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--surface); }
.scenes figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }

ol.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
ol.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
ol.steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-text); font-weight: 700; margin-bottom: 12px; }
ol.steps h3 { margin: 0 0 6px; font-size: 18px; }
ol.steps p { margin: 0; color: var(--muted); font-size: 16px; }

.cta-band { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 40px 20px; }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--muted); margin: 0 0 22px; }

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

/* Legal pages */
.doc { padding: 24px 0 40px; }
.doc h1 { font-size: clamp(30px, 4.5vw, 42px); letter-spacing: -0.02em; margin: 8px 0 4px; }
.doc .updated { color: var(--muted); margin: 0 0 28px; font-size: 15px; }
.doc h2 { font-size: 21px; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 4px 0; }
.doc .summary { background: var(--accent-soft); border-radius: 14px; padding: 16px 20px; margin-bottom: 8px; }
.doc .summary p { margin: 0; }
