:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  line-height: 1.65;
  color: #17243c;
  background: #f6f8fc;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: #1648a5; text-underline-offset: 0.2em; }
a:hover { color: #0c2a68; }
a:focus-visible { outline: 3px solid #4679e8; outline-offset: 4px; }
p { margin: 0 0 1em; }
h1, h2, h3 { line-height: 1.16; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.3rem); margin: 0 0 0.35em; }
h2 { font-size: clamp(1.4rem, 4vw, 2rem); margin: 0 0 0.6em; }
h3 { font-size: 1.45rem; margin: 0 0 0.6em; }

.shell { width: min(70rem, 100% - 2rem); margin-inline: auto; }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1rem; }
.site-header { background: #fff; border-bottom: 1px solid #dbe3ef; }
.brand { font-size: 1.25rem; font-weight: 850; text-decoration: none; }
.hero {
  margin-top: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(1.5rem, 6vw, 4.5rem);
  border-radius: 1.25rem;
  background: linear-gradient(130deg, #0f203c, #163f82);
  color: #fff;
}
.hero p:last-child { max-width: 42rem; margin-bottom: 0; font-size: 1.15rem; color: #e1eafd; }
.eyebrow { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.13em; }
.hero .eyebrow { color: #a9cbff; }
.topic-nav { display: flex; flex-wrap: wrap; gap: 0.6rem 1.25rem; margin-top: 1.5rem; font-weight: 650; }
.guides { padding-block: 2.5rem 1rem; }
.guides:last-child { padding-bottom: 4rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; }
.card, .takeaway {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 1rem;
}
.card .eyebrow { color: #1648a5; }
.card p:last-child, .takeaway p { margin-bottom: 0; }

.reading { max-width: 46rem; margin-inline: auto; padding-block: clamp(2rem, 6vw, 4rem); }
.breadcrumb, .byline { color: #4a586d; font-size: 0.95rem; }
.breadcrumb { margin-bottom: 1.5rem; }
.intro { font-size: 1.2rem; }
.reading section, .reading aside { margin-top: 2rem; }
.related { border-top: 1px solid #dbe3ef; padding-top: 1.5rem; }
.related ul { padding-left: 1.25rem; }
.related li + li { margin-top: 0.4rem; }
.worksheet {
  overflow-x: auto;
  margin-block: 2rem;
  border: 1px solid #dbe3ef;
  border-radius: 0.75rem;
  background: #fff;
}
.worksheet:focus-visible { outline: 3px solid #4679e8; outline-offset: 4px; }
.worksheet table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.worksheet caption { padding: 0.75rem; font-weight: 800; text-align: left; }
.worksheet th, .worksheet td { padding: 0.65rem 0.75rem; border-top: 1px solid #dbe3ef; text-align: left; vertical-align: top; }
.worksheet thead { background: #eaf0fa; }
.site-footer { background: #101c30; }
.site-footer a { color: #fff; }
.skip { position: absolute; top: 0.5rem; left: 0.5rem; padding: 0.5rem 1rem; background: #fff; transform: translateY(-200%); }
.skip:focus { transform: none; }
