:root {
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #5c6370;
  --accent: #0a5cff;
  --accent-soft: #e8f0ff;
  --warn-bg: #fff4d6;
  --warn-fg: #6b4b00;
  --border: #e3e6ea;
  --max: 860px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
}

a { color: var(--accent); }
a:hover { text-decoration: none; }

header.site {
  border-bottom: 1px solid var(--border);
}

header.site .inner,
main,
footer.site .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

header.site .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

.brand {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--fg);
}

.brand span { color: var(--accent); }

nav.lang a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  margin-left: 12px;
}

nav.lang a[aria-current="true"] {
  color: var(--fg);
  font-weight: 600;
}

main { padding: 32px 20px 64px; }

.badge {
  display: inline-block;
  background: var(--warn-bg);
  color: var(--warn-fg);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 14px;
  font-weight: 600;
}

h1 {
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 16px 0 12px;
}

h2 { font-size: 24px; margin: 40px 0 12px; }
h3 { font-size: 19px; margin: 24px 0 8px; }

p.lead {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 32px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.features li {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}

.features li strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.features li p { margin: 0; color: var(--muted); font-size: 16px; }

.steps { counter-reset: step; padding: 0; list-style: none; margin: 16px 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
  margin: 12px 0;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 2px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}

.notice {
  border-left: 4px solid var(--warn-fg);
  background: var(--warn-bg);
  color: var(--warn-fg);
  padding: 12px 16px;
  border-radius: 8px;
  margin: 0 0 24px;
  font-size: 15px;
}

.contact {
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 20px;
  margin-top: 32px;
}

.contact p { margin: 4px 0; }

address { font-style: normal; }

dl.company { margin: 0; }
dl.company dt { font-weight: 600; margin-top: 8px; }
dl.company dd { margin: 0; color: var(--muted); }

article.legal h2 { font-size: 21px; margin-top: 32px; }
article.legal ol, article.legal ul { padding-left: 22px; }
article.legal li { margin: 6px 0; }
article.legal .meta { color: var(--muted); font-size: 15px; }

footer.site {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

footer.site .inner {
  padding: 24px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

footer.site a { color: var(--muted); }

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --fg: #e8eaed;
    --muted: #9aa3ad;
    --accent: #6ea0ff;
    --accent-soft: #172033;
    --warn-bg: #3a2c00;
    --warn-fg: #ffd66b;
    --border: #262a31;
  }
}
