:root {
  --green: #01aa85;
  --green-deep: #00876a;
  --ink: #0b1021;
  --ink-2: #3c4660;
  --muted: #5a6987;
  --line: #e2e6ef;
  --bg: #ffffff;
  --bg-soft: #f4f7f6;
  --note-bg: #fff7e0;
  --note-line: #f0c75e;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f3f5fa;
    --ink-2: #c6cde0;
    --muted: #8ea2c6;
    --line: #1f2847;
    --bg: #0b1021;
    --bg-soft: #121830;
    --green: #20c79f;
    --green-deep: #20c79f;
    --note-bg: #2a2410;
    --note-line: #8a6d1d;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}
a { color: var(--green-deep); }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 18px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav.top { display: flex; gap: 18px; flex-wrap: wrap; }
nav.top a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
nav.top a:hover { color: var(--green-deep); }
@media (max-width: 560px) { nav.top .hide-sm { display: none; } }

.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(34px, 6vw, 52px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 19px; color: var(--ink-2); margin: 0 0 28px; }
.hero .mark { display: flex; justify-content: center; }
.hero .mark img { width: min(260px, 70%); border-radius: 22%; box-shadow: 0 24px 60px rgba(1, 170, 133, 0.25); }
@media (max-width: 720px) { .hero .wrap { grid-template-columns: 1fr; } .hero .mark { order: -1; } .hero .mark img { width: 120px; } }
.badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge { display: inline-block; padding: 12px 18px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; background: var(--bg-soft); }
.badge small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }

section.features { background: var(--bg-soft); padding: 56px 0; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }
h2.section { font-size: 28px; margin: 0 0 24px; letter-spacing: -0.01em; }
section.trust { padding: 56px 0; }
section.trust ul { padding-left: 20px; color: var(--ink-2); }

.doc { padding: 48px 0 72px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: 36px; line-height: 1.15; margin: 0 0 6px; letter-spacing: -0.02em; }
.doc .updated { color: var(--muted); margin: 0 0 28px; font-size: 14px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.doc h3 { font-size: 17px; margin: 22px 0 6px; }
.doc p, .doc li { color: var(--ink-2); }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; color: var(--ink-2); }
.doc th { color: var(--ink); font-weight: 600; }
.note { background: var(--note-bg); border: 1px solid var(--note-line); border-radius: 12px; padding: 14px 16px; margin: 0 0 24px; font-size: 15px; color: var(--ink); }
.fill { background: var(--note-bg); border-bottom: 1px dashed var(--note-line); padding: 0 3px; border-radius: 3px; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin: 0 0 14px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.button { display: inline-block; background: var(--green); color: #fff; padding: 12px 20px; border-radius: 12px; font-weight: 600; text-decoration: none; }
.button:hover { background: var(--green-deep); }

footer.site { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.site nav { display: flex; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--green-deep); }
