:root {
  --bg: #f7faf9;
  --surface: #ffffff;
  --text: #11211f;
  --muted: #55706c;
  --line: #dbe7e4;
  --brand: #0e7a71;
  --brand-strong: #0a5f58;
  --brand-soft: #e3f3f0;
  --shadow: 0 1px 2px rgb(16 40 37 / 6%), 0 8px 24px rgb(16 40 37 / 6%);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1615;
    --surface: #152120;
    --text: #e8f1ef;
    --muted: #9db5b1;
    --line: #253634;
    --brand: #4cc3b4;
    --brand-strong: #7dd8cc;
    --brand-soft: #16302d;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 25%);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header and footer */
.site-header { border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 650; letter-spacing: -0.01em; }
.brand-mark { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, var(--brand), var(--brand-strong)); display: grid; place-items: center; color: #fff; font-size: 14px; font-weight: 700; }
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.site-footer { border-top: 1px solid var(--line); margin-top: 80px; padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer a { color: var(--muted); }

/* Hero */
.hero { padding: 72px 0 56px; text-align: center; }
.hero-icon { width: 148px; height: 148px; filter: drop-shadow(0 12px 24px rgb(14 122 113 / 25%)); }
.eyebrow { display: inline-block; margin: 18px 0 10px; padding: 4px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 14px; font-weight: 600; }
h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.08; letter-spacing: -0.03em; margin: 6px auto 16px; max-width: 760px; }
.lead { font-size: clamp(18px, 2.3vw, 21px); color: var(--muted); max-width: 660px; margin: 0 auto 28px; }
.cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.button { display: inline-block; padding: 12px 22px; border-radius: 12px; font-weight: 600; text-decoration: none; border: 1px solid transparent; }
.button.primary { background: var(--brand); color: #fff; }
.button.primary:hover { background: var(--brand-strong); color: #fff; }
.button.secondary { border-color: var(--line); color: var(--text); background: var(--surface); }
.note { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Sections */
section { padding: 40px 0; }
h2 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 10px; }
.section-intro { color: var(--muted); max-width: 640px; margin: 0 0 28px; }
.section-intro.flush { margin: 0; }
.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: 16px; padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin: 10px 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.icon svg { width: 20px; height: 20px; }

.steps { counter-reset: step; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }
.step { position: relative; padding: 20px 20px 20px 64px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.step strong { display: block; margin-bottom: 2px; }
.step span { color: var(--muted); font-size: 15px; }

.band { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: grid; gap: 24px; grid-template-columns: 1fr 1fr; align-items: center; }
.band ul { margin: 0; padding-left: 20px; color: var(--muted); }
.band li { margin: 6px 0; }
@media (max-width: 720px) { .band { grid-template-columns: 1fr; padding: 24px; } .nav { gap: 14px; } }
@media (max-width: 480px) { .nav a:first-child { display: none; } }

/* Text pages */
.page { max-width: 760px; padding-top: 48px; }
.page h1 { font-size: clamp(32px, 5vw, 44px); margin: 0 0 8px; text-align: left; }
.page .updated { color: var(--muted); margin: 0 0 28px; }
.page h2 { font-size: 22px; margin: 36px 0 8px; }
.page h3 { font-size: 18px; margin: 24px 0 6px; }
.page p, .page li { color: var(--text); }
.page ul { padding-left: 22px; }
.contact-card { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin: 20px 0 8px; box-shadow: var(--shadow); }
.contact-card img { width: 56px; height: 56px; }
.contact-card p { margin: 0; }
.contact-card .muted { color: var(--muted); font-size: 15px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 2px; color: var(--muted); }
code { font: 0.92em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--brand-soft); padding: 1px 5px; border-radius: 5px; }
