:root {
  color-scheme: dark;
  --ink: #eef2f4;
  --muted: #b1bec8;
  --line: #303d47;
  --surface: #141e26;
  --accent: #ace6f5;
  --background: #0c131a;
  font-family: system-ui, -apple-system, "PingFang SC", "Noto Sans CJK SC", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--background); line-height: 1.65; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { color: #fff; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: .2rem; }
.shell { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.masthead { border-bottom: 1px solid var(--line); }
.masthead .shell, .site-footer .shell {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem 1.5rem;
  padding-block: .85rem;
}
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); text-decoration: none; font-weight: 750; }
.brand img { border-radius: .55rem; }
.site-nav, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.site-nav a { padding-block: .4rem; font-size: .94rem; color: var(--muted); text-decoration: none; }
.site-nav a[aria-current="page"], .site-nav a:hover { color: var(--ink); text-decoration: underline; }
.hero {
  display: grid;
  align-items: end;
  min-height: clamp(32rem, 63vw, 41rem);
  margin-top: 1.25rem;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  background: #1a2832;
  border: 1px solid var(--line);
}
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 46%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #0b121afc 0%, #0b121aeb 24%, transparent 76%), linear-gradient(90deg, #0b121aa0, transparent 75%); }
.hero-copy { padding: clamp(1.5rem, 5vw, 4.25rem); }
.eyebrow { color: var(--accent); font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
h1, h2, p { margin-block: 0 1rem; }
h1 { font-size: clamp(2.8rem, 8vw, 6.3rem); letter-spacing: -.065em; line-height: .99; max-width: 13ch; text-wrap: balance; }
h2 { font-size: clamp(1.23rem, 3vw, 1.75rem); line-height: 1.25; letter-spacing: -.02em; }
.hero-copy p:not(.eyebrow) { max-width: 37rem; color: #dce5e9; font-size: 1.0625rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.8rem; padding: .5rem .95rem; background: var(--accent); color: #10212a; text-decoration: none; font-weight: 750; }
.button:hover { background: #d4f4fd; color: #10212a; }
.details { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); margin: 2rem auto 4rem; border-top: 1px solid var(--line); gap: 1rem 2rem; }
.details section { padding-top: 1.2rem; }
.details p, .document p, .document li { color: var(--muted); }
.document { width: min(100% - 2.5rem, 50rem); margin-inline: auto; padding-block: clamp(2.5rem, 9vw, 6rem); }
.document h1 { font-size: clamp(2.6rem, 7vw, 4.9rem); max-width: 18ch; }
.document section { border-top: 1px solid var(--line); margin-top: 1.9rem; padding-top: 1.25rem; }
.document .language-version { margin-top: 3.5rem; padding-top: 1.9rem; }
.document .language-version h2 { font-size: 2rem; }
.document .language-version h3 { margin-bottom: .35rem; }
.document .date { font-size: .9rem; }
.document ol { padding-inline-start: 1.4rem; }
.document li + li { margin-top: .35rem; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
@media (max-width: 39rem) {
  .hero > img { object-position: 48% center; }
  .hero::before { background: linear-gradient(0deg, #0b121afc 0%, #0b121ae5 28%, transparent 80%); }
  .site-nav { gap: .25rem .85rem; }
  .document h1 { letter-spacing: -.035em; }
}
