:root {
  color-scheme: dark;
  --bg: #091215;
  --panel: #111f23;
  --panel-2: #182b30;
  --text: #f7f5ed;
  --muted: #aab8bb;
  --line: #294148;
  --brand: #63c6cf;
  --brand-strong: #94e7ee;
  --yellow: #ffd21c;
  --danger: #ffb4ab;
  --max: 980px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: var(--brand-strong); }
a:hover { color: #fff; }

.wrap { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(99, 198, 207, .15);
  background: rgba(9, 18, 21, .88);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: .75rem; color: var(--text); text-decoration: none; font-weight: 800; }
.brand img {
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 9px;
  object-fit: cover;
}
.nav-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .94rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.language-links { display: flex; align-items: center; gap: .2rem; }
.language-links a { padding: .18rem .34rem; border-radius: .35rem; color: var(--muted); text-decoration: none; font-size: .74rem; font-weight: 800; }
.language-links a:hover, .language-links a[aria-current="page"] { background: var(--panel-2); color: var(--text); }

main { min-height: 70vh; }

.hero { padding: 4.5rem 0; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 3rem; align-items: center; }
.hero-simple { display: grid; grid-template-columns: 96px 1fr; gap: 1.5rem; align-items: start; }
.hero-mark { display: block; width: 96px; height: 96px; border-radius: 22px; object-fit: cover; }
.eyebrow { margin: 0 0 .75rem; color: var(--brand-strong); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; }
h1 { margin: 0; max-width: 22ch; font-size: clamp(2.35rem, 6vw, 4rem); }
h2 { margin: 0 0 1rem; font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { margin: 0 0 .6rem; font-size: 1.2rem; }
.lede { max-width: 64ch; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.32rem); }
.hero-logo { width: min(100%, 330px); justify-self: end; filter: drop-shadow(0 28px 64px rgba(0,0,0,.35)); }

.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.1rem;
  border: 1px solid var(--brand);
  border-radius: .75rem;
  background: var(--brand);
  color: #071113;
  font-weight: 800;
  text-decoration: none;
}
.button:hover { background: var(--brand-strong); color: #071113; }
.button.secondary { background: transparent; color: var(--text); border-color: var(--line); }
.button.secondary:hover { border-color: var(--brand); }

.section { padding: 3.5rem 0; border-top: 1px solid var(--line); }
.narrow { max-width: 800px; }
.section-intro { max-width: 70ch; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { padding: 1.4rem; border: 1px solid var(--line); border-radius: 1rem; background: linear-gradient(145deg, var(--panel), var(--panel-2)); }
.card p:last-child { margin-bottom: 0; }
.card .meta, .muted { color: var(--muted); }
.status { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: .25rem .65rem; color: var(--brand-strong); font-size: .82rem; font-weight: 800; }
.warning { border-left: 4px solid var(--yellow); padding: 1rem 1.2rem; background: rgba(255, 210, 28, .08); border-radius: 0 .75rem .75rem 0; }
.danger { border-left-color: var(--danger); background: rgba(255, 180, 171, .08); }

.steps { counter-reset: steps; list-style: none; padding: 0; max-width: 780px; }
.steps > li { counter-increment: steps; position: relative; padding: 0 0 2rem 4rem; }
.steps > li::before { content: counter(steps); position: absolute; left: 0; top: -.2rem; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--panel-2); border: 1px solid var(--brand); color: var(--brand-strong); font-weight: 900; }
.steps > li:not(:last-child)::after { content: ""; position: absolute; left: 1.3rem; top: 2.6rem; bottom: .15rem; border-left: 1px solid var(--line); }
.steps.compact > li { padding-bottom: 1.25rem; }
.check-list { padding-left: 1.25rem; }
.check-list li { margin: .65rem 0; }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
table { width: 100%; border-collapse: collapse; background: var(--panel); }
th, td { padding: 1rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--brand-strong); background: var(--panel-2); }
.steps h2, .steps h3 { margin-top: 0; }
code { padding: .1rem .35rem; border: 1px solid var(--line); border-radius: .35rem; background: var(--panel); color: var(--text); overflow-wrap: anywhere; word-break: break-word; }

.faq details { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font-weight: 800; }
.faq details p { color: var(--muted); max-width: 75ch; }

footer { border-top: 1px solid var(--line); padding: 2.5rem 0; color: var(--muted); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }

@media (max-width: 760px) {
  .nav { align-items: flex-start; flex-wrap: wrap; padding: .8rem 0; }
  .brand span { display: none; }
  .nav-links { justify-content: flex-end; gap: .7rem; }
  .language-links { width: 100%; justify-content: flex-end; }
  .hero { padding-top: 4rem; }
  .hero-simple { grid-template-columns: 1fr; }
  .hero-mark { width: 76px; height: 76px; border-radius: 18px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-logo { width: 190px; justify-self: start; order: -1; }
  .grid, .grid.two { grid-template-columns: 1fr; }
}
