:root {
  --bg: #0f131f;
  --panel: #ffffff;
  --ink: #10131a;
  --muted: #707887;
  --line: rgba(17, 21, 32, .10);
  --brand: #ffbf24;
  --brand-ink: #05070c;
  --soft: #f4f6fb;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 191, 36, .18), transparent 30%),
    linear-gradient(180deg, #111724 0%, #eef1f7 52%, #f7f8fb 100%);
}

a { color: inherit; text-decoration: none; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20;
  padding: 10px 12px;
  background: #fff;
  color: #111;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
}

.topbar {
  padding: 22px 0;
  color: #fff;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 950;
  font-size: 22px;
  letter-spacing: 0;
}

.mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: 0 16px 40px rgba(255, 191, 36, .22);
}

.mark svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.home-link,
.lang-button {
  height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-family: inherit;
  font-weight: 850;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}

.lang-button.active {
  background: #fff;
  color: #0d111b;
}

.hero {
  color: #fff;
  padding: 44px 0 30px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 850;
  margin: 0 0 18px;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: .95;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .74);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 650;
}

.legal-card {
  margin: 22px auto 54px;
  padding: clamp(24px, 4vw, 46px);
  border-radius: 30px;
  background: var(--panel);
  box-shadow: 0 30px 90px rgba(15, 19, 31, .16);
  border: 1px solid rgba(255, 255, 255, .58);
}

.doc-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-weight: 850;
  font-size: 13px;
  border: 1px solid var(--line);
}

.legal-panel { display: none; }
.legal-panel.active { display: block; }

.legal-panel h2 {
  margin: 34px 0 10px;
  font-size: 25px;
  letter-spacing: 0;
}

.legal-panel h2:first-of-type { margin-top: 8px; }

.legal-panel p,
.legal-panel li {
  color: #343b49;
  font-size: 16px;
  line-height: 1.78;
  font-weight: 520;
}

.legal-panel ul,
.legal-panel ol {
  padding-left: 22px;
  margin: 10px 0 18px;
}

.notice {
  margin: 24px 0;
  padding: 16px;
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  background: #fff8e4;
  color: #34301f;
  line-height: 1.7;
}

.contact {
  display: inline-flex;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #111724;
  color: #fff;
  font-weight: 900;
}

.related {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.related a {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--soft);
  color: #202631;
  font-weight: 900;
  border: 1px solid var(--line);
}

footer {
  padding: 26px 0 42px;
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

@media (max-width: 620px) {
  .topbar-inner,
  .nav-actions {
    align-items: flex-start;
  }

  .topbar-inner {
    flex-direction: column;
  }

  .hero { padding-top: 28px; }
  .legal-card { border-radius: 22px; }
}

