:root {
  color-scheme: light dark;
  --bg: #080b14;
  --surface: #111727;
  --surface-soft: #171f33;
  --text: #f5f7ff;
  --muted: #aeb8cc;
  --border: #2a3652;
  --cyan: #42d9e8;
  --pink: #ef7bd8;
  --warning: #ffb86b;
  --max: 76rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 12% -10%, #173047 0, transparent 34rem),
              radial-gradient(circle at 88% 0%, #34204d 0, transparent 32rem),
              var(--bg);
  color: var(--text);
  font: 16px/1.7 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--cyan); text-underline-offset: .18em; }
a:hover { color: #8debf4; }
.skip-link { position: fixed; inset-block-start: .75rem; inset-inline-start: .75rem; z-index: 20; transform: translateY(-200%); background: #fff; color: #000; padding: .75rem 1rem; border-radius: .5rem; }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--border); background: rgb(8 11 20 / .86); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 10; }
.header-inner, main, .footer-inner { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.header-inner { min-height: 4.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: .01em; }
.brand-mark {
  display: inline-block;
  width: 2.25rem;
  height: 2.25rem;
  margin-inline-end: .65rem;
  border-radius: .7rem;
  background: url("app-icon.webp") center / cover no-repeat;
  box-shadow: 0 0 1rem rgb(66 217 232 / .24);
  color: transparent;
  font-size: 0;
  vertical-align: middle;
}
nav { display: flex; flex-wrap: wrap; gap: .55rem 1rem; font-size: .92rem; }
main { padding-block: clamp(2rem, 5vw, 5rem); }
.hero { max-width: 58rem; margin-bottom: 2.5rem; }
.eyebrow { color: var(--cyan); font-weight: 750; letter-spacing: .13em; text-transform: uppercase; font-size: .78rem; }
h1 { font-size: clamp(2.1rem, 6vw, 4.2rem); line-height: 1.08; letter-spacing: -.035em; margin: .35rem 0 1rem; }
h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); line-height: 1.25; margin: 2.75rem 0 .8rem; padding-top: .35rem; }
h3 { font-size: 1.08rem; margin: 1.8rem 0 .45rem; color: #d9e3f6; }
p, li { max-width: 72ch; }
.meta { color: var(--muted); border-inline-start: .2rem solid var(--pink); padding-inline-start: .9rem; }
.lede { color: #cbd5e7; font-size: clamp(1.05rem, 2vw, 1.2rem); }
.notice { padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: .9rem; background: var(--surface); }
.tone-danger { color: var(--warning); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.card { display: block; color: var(--text); text-decoration: none; padding: 1.2rem; border: 1px solid var(--border); border-radius: 1rem; background: linear-gradient(145deg, rgb(23 31 51 / .94), rgb(13 18 31 / .94)); transition: transform .18s ease, border-color .18s ease; }
.card:hover { transform: translateY(-2px); border-color: var(--cyan); color: var(--text); }
.card strong { display: block; font-size: 1.08rem; margin-bottom: .2rem; }
.card span { color: var(--muted); font-size: .92rem; }
.document { max-width: 70rem; padding: clamp(1.1rem, 4vw, 3rem); border: 1px solid var(--border); border-radius: 1.2rem; background: rgb(17 23 39 / .92); box-shadow: 0 1.5rem 5rem rgb(0 0 0 / .22); }
.document h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
ul { padding-inline-start: 1.4rem; }
li + li { margin-top: .45rem; }
.table-wrap { overflow-x: auto; margin: 1.4rem 0; border: 1px solid var(--border); border-radius: .85rem; }
table { width: 100%; border-collapse: collapse; min-width: 38rem; background: var(--surface); }
th, td { text-align: start; vertical-align: top; padding: .8rem .9rem; border-bottom: 1px solid var(--border); }
th { color: var(--cyan); background: var(--surface-soft); }
tr:last-child td { border-bottom: 0; }
.language-list { columns: 2; column-gap: 2rem; padding: 0; list-style: none; }
.language-list li { break-inside: avoid; margin: .4rem 0; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .55rem 1rem; border-radius: .75rem; background: linear-gradient(90deg, var(--cyan), #8e79ff, var(--pink)); color: #080b14; text-decoration: none; font-weight: 800; }
.button:hover { color: #080b14; filter: brightness(1.08); }
footer { border-top: 1px solid var(--border); color: var(--muted); }
.footer-inner { padding-block: 1.5rem 2.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; }
@media (max-width: 44rem) {
  .header-inner { align-items: flex-start; flex-direction: column; padding-block: .8rem; }
  .site-header { position: static; }
  nav { font-size: .86rem; }
  .language-list { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
@media print {
  :root { color-scheme: light; }
  body { background: #fff; color: #111; }
  .site-header, footer, .actions { display: none; }
  main { width: 100%; padding: 0; }
  .document { border: 0; box-shadow: none; background: #fff; max-width: none; padding: 0; }
  a { color: #111; }
  th { color: #111; background: #eee; }
}
