:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #05070a;
  color: #f5f7fa;
}

* {
  box-sizing: border-box;
}

html {
  background: #05070a;
}

body {
  min-width: 320px;
  margin: 0;
  background: #05070a;
  color: #f5f7fa;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: #8bd5ff;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #d8f1ff;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: -64px;
  left: 16px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #ffffff;
  color: #000000;
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  border-bottom: 1px solid #27313a;
  background: #05070a;
}

.header-inner,
.hero-inner,
.page-layout,
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.app-identity {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
}

.app-icon {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 0 0 3px #0d2636;
}

.identity-copy {
  display: grid;
  gap: 1px;
  line-height: 1.2;
}

.identity-copy strong {
  font-size: 1rem;
}

.identity-copy small {
  color: #aebbc7;
  font-size: 0.78rem;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #aebbc7;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.language-switcher a,
.language-current {
  display: inline-flex;
  min-width: 35px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 9px;
  text-decoration: none;
}

.language-switcher a {
  color: #b6dff4;
}

.language-current {
  border-color: #4c6576;
  background: #132733;
  color: #ffffff;
}

.hero {
  padding: 74px 0 58px;
  border-bottom: 1px solid #27313a;
  background:
    radial-gradient(circle at 80% 0%, #0d4260 0%, rgba(13, 66, 96, 0) 39%),
    #05070a;
}

.eyebrow {
  margin: 0 0 12px;
  color: #8bd5ff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: clamp(2.35rem, 7vw, 4.6rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-lead {
  max-width: 790px;
  margin-bottom: 24px;
  color: #d8e2e9;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.policy-meta span {
  padding: 7px 10px;
  border: 1px solid #3c4b56;
  border-radius: 999px;
  background: rgba(5, 7, 10, 0.58);
  color: #cbd7df;
  font-size: 0.8rem;
  font-weight: 700;
}

.page-layout {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  gap: 54px;
  padding: 52px 0 72px;
}

.toc {
  position: sticky;
  top: 22px;
  align-self: start;
  padding: 15px;
  border: 1px solid #27313a;
  border-radius: 14px;
  background: #090d12;
}

.toc-title {
  margin-bottom: 9px;
  color: #8bd5ff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.toc nav {
  display: grid;
  gap: 4px;
}

.toc a {
  padding: 6px 7px;
  border-radius: 7px;
  color: #cbd7df;
  font-size: 0.88rem;
  text-decoration: none;
}

.toc a:hover {
  background: #132733;
  color: #ffffff;
}

.content {
  min-width: 0;
}

.policy-section {
  padding: 0 0 44px;
  border-bottom: 1px solid #27313a;
  scroll-margin-top: 22px;
}

.policy-section + .policy-section {
  padding-top: 44px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 16px;
}

.section-number {
  color: #8bd5ff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

h2 {
  margin-bottom: 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

h3 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 1.05rem;
}

p,
li,
dd {
  color: #d5dee6;
}

ul {
  padding-left: 22px;
}

li + li {
  margin-top: 8px;
}

.notice {
  margin-bottom: 30px;
  padding: 20px 22px;
  border: 1px solid #467b98;
  border-radius: 14px;
  background: #0a1b25;
}

.notice h2 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.notice p {
  margin-bottom: 0;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.quick-fact {
  padding: 17px;
  border: 1px solid #27313a;
  border-radius: 13px;
  background: #090d12;
}

.quick-fact strong,
.quick-fact span {
  display: block;
}

.quick-fact strong {
  margin-bottom: 7px;
  color: #ffffff;
  font-size: 0.93rem;
}

.quick-fact span {
  color: #bcc9d2;
  font-size: 0.9rem;
  line-height: 1.45;
}

.facts {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr);
  margin: 20px 0 0;
  border-top: 1px solid #27313a;
}

.facts dt,
.facts dd {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid #27313a;
}

.facts dt {
  padding-right: 20px;
  color: #aebbc7;
  font-weight: 800;
}

.data-table {
  margin: 20px 0;
  overflow-x: auto;
  border: 1px solid #27313a;
  border-radius: 13px;
}

table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid #27313a;
  text-align: left;
  vertical-align: top;
}

th {
  background: #0d151c;
  color: #ffffff;
  font-size: 0.84rem;
}

td {
  color: #d5dee6;
  font-size: 0.93rem;
}

tr:last-child td {
  border-bottom: 0;
}

code {
  padding: 1px 4px;
  border-radius: 4px;
  background: #15212a;
  color: #d6efff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
}

.qr-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #27313a;
  border-radius: 14px;
  background: #090d12;
}

.qr-card img {
  display: block;
  width: 132px;
  height: 132px;
  padding: 8px;
  border-radius: 10px;
  background: #ffffff;
}

.qr-card p:last-child {
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid #27313a;
  background: #090d12;
}

.footer-inner {
  padding: 28px 0 40px;
  color: #aebbc7;
  font-size: 0.88rem;
}

.footer-inner p:last-child {
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .page-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .toc {
    position: static;
  }

  .toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .header-inner,
  .hero-inner,
  .page-layout,
  .footer-inner {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 68px;
    gap: 10px;
  }

  .identity-copy small {
    display: none;
  }

  .hero {
    padding: 50px 0 42px;
  }

  .page-layout {
    padding: 32px 0 52px;
  }

  .quick-facts,
  .toc nav {
    grid-template-columns: 1fr;
  }

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

  .facts dt {
    padding-bottom: 2px;
    border-bottom: 0;
  }

  .facts dd {
    padding-top: 2px;
  }

  .qr-card {
    grid-template-columns: 1fr;
  }
}
