:root {
  --accent: #0067c0;
  --accent-dark: #00539e;
  --accent-soft: #e5f3ff;
  --text: #1b1b1b;
  --muted: #6d6d6d;
  --border: #d5d5d5;
  --soft-border: #e9e9e9;
  --window: #f0f0f0;
  --panel: #ffffff;
  --green: #2f9e4a;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  font-family: "Segoe UI", "SF Pro Text", "Noto Sans", "DejaVu Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--window);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  background: var(--panel);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 20px;
}

.brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  flex-wrap: wrap;
  font-size: 15px;
}

.site-nav a {
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: none;
}

.lang {
  border-left: 1px solid var(--border);
  padding-left: 18px;
}

main {
  padding: 48px 0 64px;
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 44px;
}

.hero h1 {
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.15;
  margin: 0 0 16px;
}

.hero .lead {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 24px;
}

.hero-icon {
  justify-self: center;
  width: min(240px, 60vw);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.16));
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  box-shadow: var(--shadow);
}

.btn:hover {
  text-decoration: none;
  border-color: var(--accent);
  background: var(--accent-soft);
}

.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn.primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

h2 {
  font-size: 27px;
  line-height: 1.25;
  margin: 40px 0 16px;
}

h3 {
  font-size: 19px;
  margin: 26px 0 8px;
}

p {
  margin: 0 0 14px;
}

ul,
ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

li {
  margin-bottom: 7px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 18px 0 8px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 10px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  color: var(--muted);
  font-size: 15.5px;
}

.note {
  background: var(--accent-soft);
  border: 1px solid #cce8ff;
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 18px 0;
}

.note strong {
  color: var(--accent-dark);
}

.badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: #e7f6ed;
  color: #1f6b34;
  font-size: 13.5px;
  font-weight: 600;
  vertical-align: middle;
}

kbd,
code {
  font-family: Consolas, "Cascadia Mono", "DejaVu Sans Mono", monospace;
  font-size: 0.92em;
  background: #f3f3f3;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1px 5px;
}

pre {
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  overflow-x: auto;
  font-size: 14.5px;
  line-height: 1.5;
}

pre code {
  background: none;
  border: none;
  padding: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 22px;
  background: var(--panel);
  font-size: 15.5px;
}

th,
td {
  border: 1px solid var(--border);
  padding: 8px 11px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f7f7f7;
  font-weight: 600;
}

details {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin: 10px 0;
}

details[open] {
  padding-bottom: 6px;
}

summary {
  cursor: pointer;
  font-weight: 600;
}

summary::-webkit-details-marker {
  color: var(--accent);
}

.faq details p {
  margin-top: 10px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--panel);
  padding: 26px 0;
  color: var(--muted);
  font-size: 14.5px;
}

.site-footer .wrap {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.site-footer a {
  color: var(--muted);
}

.steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 46px;
  margin-bottom: 18px;
}

.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crumbs {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 10px;
}

.crumbs a {
  color: var(--muted);
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-icon {
    order: -1;
    width: 128px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  body {
    font-size: 16px;
  }
}
