@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap");

:root {
  --bg: #060a12;
  --card: rgba(14, 24, 42, 0.85);
  --text: #eef4fb;
  --muted: #8fa8c4;
  --accent: #4c9eeb;
  --accent-bright: #7ec0ff;
  --warn: #f9b572;
  --ok: #4ade9a;
  --border: rgba(76, 158, 235, 0.15);
  --radius: 14px;
  --font: "Outfit", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  padding: 0 0 48px;
}

.page {
  width: min(640px, calc(100% - 32px));
  margin-inline: auto;
  padding-top: 24px;
}

.top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.top-bar a {
  color: var(--accent-bright);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.top-bar a:hover {
  text-decoration: underline;
}

.lang-links {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
}

.lang-links a {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.lang-links a.is-active {
  background: rgba(76, 158, 235, 0.2);
  border-color: rgba(126, 192, 255, 0.4);
  color: var(--text);
  pointer-events: none;
}

h1 {
  font-size: clamp(1.5rem, 5vw, 1.85rem);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.lead {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 1.05rem;
}

h2 {
  font-size: 1.15rem;
  margin: 2rem 0 12px;
  color: var(--accent-bright);
  font-weight: 600;
}

p,
li {
  color: var(--muted);
}

strong {
  color: var(--text);
  font-weight: 600;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 16px 0;
}

.card ul {
  margin: 8px 0 0;
  padding-left: 1.25rem;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  position: relative;
  padding: 0 0 20px 44px;
  margin: 0;
}

.steps li:last-child {
  padding-bottom: 0;
}

.steps li::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #2a6eb5);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tip {
  border-left: 4px solid var(--ok);
  padding: 12px 16px;
  margin: 16px 0;
  background: rgba(74, 222, 154, 0.08);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.tip p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

.warn {
  border-left: 4px solid var(--warn);
  padding: 12px 16px;
  margin: 16px 0;
  background: rgba(249, 181, 114, 0.08);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.warn p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

.links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.btn-link {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(76, 158, 235, 0.15);
  border: 1px solid var(--border);
  color: var(--accent-bright);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-link:hover {
  background: rgba(76, 158, 235, 0.25);
}

.footer-note {
  margin-top: 40px;
  font-size: 0.85rem;
  color: #5a6b80;
  text-align: center;
}

@media print {
  body {
    background: #fff;
    color: #111;
  }
  .top-bar .lang-links {
    display: none;
  }
}
