:root {
  --brand-focus: #386bd0;
  --ink: #111e2d;
  --navy: #0d233b;
  --paper: #f1f4f8;
  --line: #c6d3e0;
  --blue: #224e7d;
  --signal: #f5d84e;
  --orbit: #081423;
  --pale: #dbe7f6;
  --muted: #bed2ee;
  --correct: #144337;
  --correct-bg: #dcf1e7;
  --wrong: #6e2534;
  --wrong-bg: #fce6e8;
  font: 16px/1.6 Barlow, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--blue); text-underline-offset: .19em; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--brand-focus); outline-offset: 4px;
}
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, .brand { font-family: "Barlow Condensed", "Arial Narrow", Barlow, sans-serif; line-height: 1.05; }
h1 { font-size: clamp(2.85rem, 6vw, 5.3rem); font-weight: 800; letter-spacing: -.017em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.65rem); font-weight: 700; }
h3 { font-size: 1.5rem; }
.wrap { width: min(1200px, 100% - 64px); margin-inline: auto; }
.skip { position: absolute; z-index: 2; background: white; padding: 12px; transform: translateY(-125%); }
.skip:focus { transform: none; }
.mast { background: white; border-bottom: 1px solid var(--line); }
.mast-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.55rem; font-weight: 800; text-decoration: none; color: inherit; }
.brand-mark { width: 19px; height: 19px; flex: 0 0 19px; border: 2px solid currentColor; border-radius: 50%; position: relative; }
.brand-mark::after { content: ""; position: absolute; inset: 5px; background: currentColor; transform: rotate(45deg); }
.mast-nav { display: flex; gap: clamp(16px, 3vw, 36px); }
.mast-nav a, .official { font-weight: 700; text-decoration: none; color: var(--ink); }
.mast-nav a:hover, .official:hover { text-decoration: underline; }
.official { padding: 7px 13px; border: 1px solid var(--line); border-radius: 6px; white-space: nowrap; }
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0,1.17fr) minmax(0,.83fr); gap: 32px;
  padding: clamp(28px,5vw,68px); margin-top: 28px; min-height: 478px;
  align-items: center; border-radius: 14px; color: white; background: var(--orbit);
}
.hero-copy, .hero-quiz { z-index: 1; position: relative; }
.hero-copy { max-width: 560px; }
.context { color: var(--muted); font-size: .94rem; font-weight: 600; margin-bottom: 16px; }
.hero h1 + p { max-width: 35ch; color: var(--pale); font-size: 1.19rem; line-height: 1.45; margin-top: 20px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 29px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; padding: 8px 17px; border: 1px solid transparent; border-radius: 6px; font-weight: 700; text-decoration: none; }
.primary { color: var(--ink); background: var(--signal); }
.primary:hover { background: color-mix(in srgb, var(--signal), white 26%); }
.secondary { color: inherit; border-color: currentColor; }
.secondary:hover { text-decoration: underline; }
.earth { position: absolute; z-index: 0; inset: 0; pointer-events: none; }
.earth img { position: absolute; width: min(68%, 780px); height: auto; left: 20%; top: 50%; transform: translateY(-44%); opacity: .66; mask-image: linear-gradient(90deg, transparent, black 10% 88%, transparent); }
.earth::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,var(--orbit) 0%,color-mix(in srgb, var(--orbit) 73%, transparent) 27%,transparent 68%,color-mix(in srgb, var(--orbit) 62%, transparent) 100%); }
.earth figcaption { position: absolute; bottom: 14px; right: 19px; z-index: 1; pointer-events: auto; }
.earth a { color: var(--pale); font-size: .82rem; }
.hero-quiz, .practice-panel, .embed {
  color: var(--ink); background: white; border-radius: 10px; padding: clamp(20px,3vw,32px);
}
.hero-quiz h2, .practice-panel h2 { font-size: 2rem; }
.quiz-more { display: inline-block; margin-top: 12px; font-size: .9rem; font-weight: 600; }
.quiz-count { color: var(--blue); font-size: .88rem; font-weight: 700; margin-top: 13px; }
.quiz-question { margin: 4px 0 14px; line-height: 1.35; font-size: 1.17rem; font-weight: 700; }
.choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.choices button { min-height: 45px; padding: 8px 10px; line-height: 1.2; text-align: left; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 5px; cursor: pointer; font-weight: 600; }
.choices button:hover:not(:disabled) { background: var(--pale); border-color: var(--blue); }
.choices button[data-answer="correct"] { color: var(--correct); background: var(--correct-bg); border-color: var(--correct); }
.choices button[data-answer="incorrect"] { color: var(--wrong); background: var(--wrong-bg); border-color: var(--wrong); }
.result { margin-top: 10px; min-height: 3em; font-size: .94rem; line-height: 1.45; }
.result:empty { display: none; }
.next { background: var(--navy); color: white; min-height: 44px; margin-top: 8px; padding: 6px 14px; border: 0; border-radius: 5px; font-weight: 700; cursor: pointer; }
.guide-index { padding: 43px 0 35px; }
.guide-links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-block: 1px solid var(--line); margin-top: 18px; }
.guide-links a { display: grid; align-content: start; gap: 4px; padding: 17px 15px; text-decoration: none; line-height: 1.3; }
.guide-links a + a { border-left: 1px solid var(--line); }

.guide-links a:hover { background: white; }
.guide-links strong { font-family: "Barlow Condensed",sans-serif; font-size: 1.35rem; color: var(--ink); }
.guide-links span { font-size: .93rem; }
.article-home { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); align-items: start; gap: clamp(30px,6vw,92px); padding: 19px 0 58px; }
.article { padding: 49px 0 64px; }
.article-head { background: var(--navy); color: white; padding: clamp(24px,6vw,64px); border-radius: 14px; }
.article-head h1 { max-width: 21ch; font-size: clamp(2.7rem,6vw,4.9rem); }
.article-head p { margin-top: 16px; max-width: 60ch; color: var(--pale); font-size: 1.15rem; }
.article-head .button { margin-top: 22px; }
.back { display: inline-block; margin-bottom: 17px; color: var(--pale); font-weight: 700; }
.article-body, .practice-panel { max-width: 760px; margin: 34px auto 0; }
.practice-panel { border: 1px solid var(--line); }
.embed { width: min(680px,100%); margin-inline: auto; }
.embed h1 { font-size: 2rem; }
.prose { font-size: 1.05rem; }
.prose > * + * { margin-top: 14px; }
.prose h2:not(:first-child) { margin-top: 29px; }
.prose ul, .prose ol { padding-left: 23px; }
.prose li + li { margin-top: 6px; }
.faq h2 { margin-bottom: 12px; }
.article-body .faq { margin-top: 36px; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; padding: 12px 0; font-weight: 700; }
details p { padding: 0 0 16px 17px; }
.related { display: flex; flex-wrap: wrap; gap: 12px 24px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 34px; font-weight: 700; }
.foot { background: var(--navy); color: var(--pale); }
.foot-inner { display: flex; justify-content: space-between; gap: 24px; align-items: start; padding-block: 30px; }
.foot p { margin-top: 8px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 19px; }
.foot nav a { color: white; }
@media (max-width: 890px) {
  .wrap { width: min(1200px,100% - 36px); }
  .mast-nav { gap: 15px; }
  .hero { gap: 22px; }
  .earth img { width: min(88%,700px); left: 9%; }
  .guide-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .guide-links a:nth-child(3) { border-left: 0; }
  .guide-links a:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 685px) {
  .wrap { width: calc(100% - 28px); }
  .mast-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; padding-block: 11px; gap: 8px 12px; }
  .brand { font-size: 1.3rem; gap: 7px; }
  .official { grid-column: 2; grid-row: 1; font-size: .83rem; padding: 5px 8px; }
  .mast-nav { grid-column: 1/-1; gap: 23px; font-size: .92rem; }
  .hero { grid-template-columns: minmax(0,1fr); padding: 24px 18px 45px; margin-top: 14px; gap: 23px; }
  .hero h1 + p { font-size: 1.07rem; margin-top: 14px; }
  .hero-links { margin-top: 18px; }

  .earth img { top: 0; left: 22%; transform: translateY(-6%); width: max(92%,320px); opacity: .42; }
  .article-home { grid-template-columns: minmax(0,1fr); }
  .article { padding-top: 24px; }
  .foot-inner { flex-direction: column; }
}
