:root { color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: #090f1b; color: #eaf1ff; font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: #8bcaff; }
header { border-bottom: 1px solid #253653; background: #0d1525; position: sticky; top: 0; z-index: 2; }
header nav { max-width: 1120px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 24px; }
header nav img { height: 54px; width: auto; }
header nav .links { display: flex; gap: 24px; flex-wrap: wrap; }
header nav .links a { color: #eaf1ff; text-decoration: none; }
[hidden] { display: none !important; }
.guide { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 300px 1fr; min-height: calc(100vh - 180px); }
aside { border-right: 1px solid #253653; padding: 28px 18px 40px; position: sticky; top: 90px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; }
article { padding: 36px 40px 72px; min-width: 0; }
.eyebrow { margin: 0; color: #68baff; font-size: 13px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
h1 { font-size: 32px; line-height: 1.15; letter-spacing: -.03em; margin: 8px 0; }
#guide-intro { color: #bac8dc; margin: 0 0 16px; }
.language { display: grid; gap: 6px; margin-bottom: 14px; color: #9fb4cc; font-size: 13px; font-weight: 700; }
select, input { width: 100%; border: 1px solid #345273; background: #101b2d; color: #eaf1ff; border-radius: 10px; padding: 10px 12px; font: inherit; }
#contents { margin-top: 18px; }
#contents summary { display: none; }
.group { margin: 0 0 6px; }
.group .section { display: block; width: 100%; text-align: left; border: 0; background: transparent; color: #8ea3bb; border-radius: 8px; padding: 8px 10px; font: inherit; font-size: 12px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.group .section[aria-expanded="true"] { color: #eaf1ff; }
.topics button { display: block; width: 100%; text-align: left; border: 0; background: transparent; color: #d5e4f5; border-radius: 8px; padding: 6px 10px 6px 18px; font: inherit; font-size: 15px; cursor: pointer; }
.topics button[aria-pressed="true"] { background: #1d4ed8; color: white; }
.kicker { margin: 0; color: #7f93ab; font-size: 12px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
article h2 { margin: 6px 0 12px; font-size: 30px; letter-spacing: -.03em; }
.lead { color: #d5e2f0; }
figure { margin: 18px 0; }
article img { display: block; max-width: 100%; height: auto; border: 1px solid #314968; border-radius: 12px; background: #101b2d; }
figure.close img { max-width: 420px; }
ol { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
li { display: flex; gap: 12px; color: #d5e2f0; }
li p { margin: 0; }
li span { flex: 0 0 28px; height: 28px; border-radius: 999px; background: #1d4ed8; color: white; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 750; }
.status, .empty { color: #9fb4cc; }
footer { border-top: 1px solid #243550; padding: 28px 24px 36px; text-align: center; background: #080d17; }
footer a { margin: 0 12px; }
@media (max-width: 800px) {
  header nav { flex-wrap: wrap; padding: 14px 18px; }
  header nav img { height: 42px; }
  header nav .links { gap: 16px; }
  .guide { grid-template-columns: 1fr; }
  aside { position: static; max-height: none; border-right: 0; border-bottom: 1px solid #253653; overflow: visible; }
  #contents summary { display: flex; align-items: center; justify-content: space-between; padding: 12px; border: 1px solid #345273; border-radius: 10px; background: #101b2d; color: #eaf1ff; font-weight: 750; cursor: pointer; }
  #contents summary::after { content: "Show"; color: #8bcaff; font-size: 13px; font-weight: 650; }
  #contents[open] summary::after { content: "Hide"; }
  #contents[open] summary { margin-bottom: 8px; }
  article { padding: 28px 22px 56px; }
}
