:root {
  color-scheme: dark;
  --shell: #0d1119;
  --panel: #1b2330;
  --line: #374458;
  --silver: #e6ebf2;
  --muted: #a9b6c8;
  --yellow: #f2c344;
  --blue: #194d91;
  --cyan: #59a7b5;
  font: 16px/1.65 Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--shell);
  color: var(--silver);
}
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
.wrap { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding-block: 23px;
  border-bottom: 1px solid var(--line);
}
.brand {
  text-decoration: none;
  font: italic 900 clamp(.95rem, 2vw, 1.2rem)/1 system-ui, sans-serif;
  letter-spacing: .13em;
}
.brand b { color: var(--yellow); }
.languages { display: flex; gap: 2px; align-items: center; }
.languages a {
  padding: 6px 9px;
  color: var(--muted);
  text-decoration: none;
  font-size: .82rem;
}
.languages a[aria-current="page"], .languages a:hover { color: var(--silver); background: var(--panel); }
.hero {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: clamp(30px, 7vw, 90px);
  padding-block: clamp(42px, 7vw, 88px);
}
.platforms {
  color: var(--cyan);
  font: 700 .8rem/1.5 ui-monospace, Consolas, monospace;
  letter-spacing: .12em;
  margin: 0 0 12px;
}
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 16px; font-size: clamp(2.3rem, 5.4vw, 4.2rem); line-height: 1.12; letter-spacing: -.055em; }
.lead { color: var(--muted); font-size: clamp(1rem, 2vw, 1.13rem); max-width: 44ch; margin-bottom: 24px; }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 46px;
  padding: 9px 16px;
  background: var(--yellow);
  color: #19150d;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 730;
}
.cta:hover { background: #ffe09a; }
.art {
  position: relative;
  margin: 0;
  display: grid;
  place-items: center;
  min-width: 0;
  aspect-ratio: 1.56;
  padding: 9% 5% 7%;
  border: 1px solid var(--line);
  border-top-color: #8793a3;
  background: linear-gradient(165deg,#28374d 0%, #1b2330 63%,#121923 100%);
  isolation: isolate;
  overflow: hidden;
}
.art::before {
  content: "";
  position: absolute;
  width: 57%;
  height: 72%;
  inset: 0 0 auto auto;
  z-index: -1;
  background: repeating-linear-gradient(45deg, transparent 0 11px, #8793a329 11px 18px);
  clip-path: polygon(0 0,100% 0,100% 100%);
}
.art::after {
  content: "";
  position: absolute;
  height: 3px;
  width: 44px;
  left: 0;
  bottom: 0;
  background: var(--cyan);
  box-shadow: 44px 0 var(--blue), 88px 0 var(--yellow);
}
.art img { display: block; width: 100%; max-width: 410px; height: auto; image-rendering: pixelated; }
.help {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 64px);
  padding-top: 36px;
  border-top: 1px solid var(--line);
  padding-bottom: 56px;
}
h2 { font-size: 1.36rem; margin-bottom: 13px; letter-spacing: -.025em; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  min-height: 48px;
  padding: 11px 33px 11px 0;
  font-weight: 660;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  position: absolute;
  right: 3px;
  top: 9px;
  content: "+";
  color: var(--cyan);
  font: 500 1.35rem/1.4 ui-monospace, monospace;
}
details[open] summary::after { content: "−"; color: var(--yellow); }
details p { color: var(--muted); font-size: .96rem; margin: 0 22px 16px 0; }
.contact {
  align-self: start;
  background: var(--panel);
  padding: 23px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--cyan);
}
.contact p { margin-bottom: 12px; color: var(--muted); }
.contact a { color: var(--yellow); font-weight: 650; overflow-wrap: anywhere; }
.contact .hint { margin: 12px 0 0; color: var(--muted); font-size: .87rem; }
.footer { padding-block: 16px 27px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .site-head { padding-block: 15px; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-block: 35px 31px; }
  .art { max-width: 390px; }
  .help { grid-template-columns: 1fr; padding-top: 25px; padding-bottom: 32px; }
}
