:root {
  --accent: #338a9e;
  --accent-ink: #1f6677;
  --tint: rgba(51, 138, 158, 0.12);
  --bg: #ffffff;
  --text: #13191b;
  --muted: #5b6669;
  --card: rgba(255, 255, 255, 0.72);
  --line: rgba(19, 25, 27, 0.1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #4fb3c9;
    --accent-ink: #7fd0e1;
    --tint: rgba(79, 179, 201, 0.16);
    --bg: #0b0f10;
    --text: #eef3f4;
    --muted: #9aa7aa;
    --card: rgba(28, 34, 36, 0.72);
    --line: rgba(238, 243, 244, 0.12);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(60rem 30rem at 85% -10%, var(--tint), transparent 70%),
    radial-gradient(40rem 25rem at -10% 10%, var(--tint), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
}
a { color: var(--accent-ink); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

header.site { padding: 16px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--text); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav.site a { color: var(--muted); text-decoration: none; margin-left: 16px; font-size: 15px; white-space: nowrap; }
nav.site a:hover { color: var(--text); }

.hero { text-align: center; padding: 48px 0 32px; }
.hero img.icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 16px 40px rgba(51, 138, 158, 0.35); }
h1 { font-size: clamp(34px, 7vw, 56px); line-height: 1.08; letter-spacing: -0.02em; margin: 24px 0 12px; }
.lede { font-size: clamp(18px, 3.2vw, 21px); color: var(--muted); max-width: 36em; margin: 0 auto 28px; }
.cta {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 600; padding: 15px 28px; border-radius: 999px; min-height: 48px;
  box-shadow: 0 10px 24px rgba(51, 138, 158, 0.35);
}
.cta:hover { filter: brightness(1.05); }
.small { font-size: 14px; color: var(--muted); }

section { padding: 40px 0; }
h2 { font-size: clamp(26px, 5vw, 34px); letter-spacing: -0.01em; margin: 0 0 20px; }
h3 { font-size: 19px; margin: 0 0 6px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.card p { margin: 0; color: var(--muted); }
.card .badge { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent-ink); background: var(--tint); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; }

ol.steps { padding-inline-start: 1.2em; }
ol.steps li { margin-bottom: 10px; }

details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--accent-ink); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

.legal h1 { font-size: clamp(30px, 6vw, 42px); text-align: left; }
.legal h2 { font-size: 22px; margin-top: 32px; }
.legal p, .legal li { color: var(--text); }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: start; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }

footer.site { border-top: 1px solid var(--line); margin-top: 40px; padding: 24px 0 40px; font-size: 14px; color: var(--muted); }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer.site a { color: var(--muted); }
footer.site .langs { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px 14px; margin-top: 16px; }
footer.site .langs a { text-decoration: none; padding: 4px 0; }
footer.site .langs a[aria-current] { color: var(--text); font-weight: 600; }

@media (max-width: 520px) {
  nav.site a:not(.keep) { display: none; }
  .hero { padding-top: 28px; }
}
