:root {
  color-scheme: light;
  --ink: #281d40;
  --muted: #554f61;
  --line: #dedce6;
  --paper: #fbfafc;
  --accent: #5a3793;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, figure, h1, h2, h3, p { margin: 0; }
body { line-height: 1.6; }
a { color: var(--accent); text-underline-offset: .19em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid #cd7900; outline-offset: 4px; }
.skip { position: absolute; left: .5rem; top: -6rem; padding: .7rem; background: white; z-index: 2; }
.skip:focus { top: .5rem; }
.wrap { width: min(70rem, calc(100% - 3rem)); margin-inline: auto; }
.bar, nav, .brand { display: flex; align-items: center; }
.bar { min-height: 4.6rem; justify-content: space-between; gap: 1rem; }
header { border-bottom: 1px solid var(--line); }
nav { gap: clamp(.75rem, 3.4vw, 2.15rem); }
nav a { color: var(--ink); }
header nav a { text-decoration: none; padding-block: .4rem; }
header nav a:hover, header nav [aria-current] { text-decoration: underline; text-underline-offset: .45rem; }
.brand { gap: .6rem; font-size: 1.25rem; font-weight: 750; letter-spacing: -.035em; color: var(--ink); text-decoration: none; }
.brand img { border-radius: .55rem; }
.hero { background-color: #281c43; color: #fff9e9; }
.hero-inner { display: grid; grid-template-columns: 1.13fr .87fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-block: clamp(2.8rem, 6vw, 5.1rem); }
.platform { font-size: .93rem; color: var(--accent); font-weight: 700; }
.hero .platform { color: #ffdc6a; }
h1,h2,h3,dt { line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.hero h1 { font-size: clamp(3.7rem, 7.65vw, 6.8rem); margin: 1.1rem 0 1.35rem; line-height: .99; }
.lede { font-size: clamp(1.06rem, 1.7vw, 1.28rem); max-width: 34rem; color: #eae4f4; }
.button { display: inline-block; text-decoration: none; font-weight: 700; color: #302042; background: #ffda72; padding: .75rem 1.3rem; margin-top: 1.65rem; border-radius: .55rem; }
.button:hover { background: #ffea9b; }
.hero figure { justify-self: center; width: min(100%, 24rem); }
.board { display: block; width: 100%; height: auto; border-radius: 1.5rem; box-shadow: .6rem .6rem 0 #584274; }
.moves { padding-block: clamp(2.8rem, 5.5vw, 5rem); }
.moves h2 { font-size: clamp(2rem, 3.7vw, 3rem); margin-bottom: 2rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2.5rem); }
.cards img { display: block; width: 100%; height: auto; border-radius: .8rem; }
.cards h3 { font-size: 1.55rem; margin: 1.15rem 0 .5rem; }
.cards p,.document dd,.document section p,.contact p { color: var(--muted); }
footer { border-top: 1px solid var(--line); }
footer .bar { font-size: .94rem; color: var(--muted); padding-block: 1rem; }
.document { width: min(46rem, calc(100% - 3rem)); margin: auto; padding-block: clamp(2.5rem, 6vw, 5rem); }
.document h1 { font-size: clamp(2.8rem, 6.2vw, 4.9rem); margin: .65rem 0 1.1rem; }
.document .intro { font-size: 1.2rem; line-height: 1.55; }
.date { margin-bottom: 1.2rem; color: var(--muted); }
.contents { flex-wrap: wrap; gap: .3rem 1.4rem; background: #efeaf6; padding: 1rem 1.3rem; border-radius: .65rem; margin-top: 1.7rem; }
.document section { border-top: 1px solid var(--line); padding-top: 1.8rem; margin-top: 2.1rem; scroll-margin-top: 1.5rem; }
.document section h2 { font-size: clamp(1.6rem, 3.6vw, 2.1rem); }
.document section h3 { font-size: 1.4rem; margin-top: 1.6rem; }
.document section p { margin-top: .9rem; }
.document section > a { display: inline-block; margin-top: .8rem; }
dt { font-weight: 750; font-size: 1.07rem; margin-top: 1.1rem; letter-spacing: -.01em; }
dd { margin: .35rem 0 0; }
.contact { margin-top: 1.5rem; padding: 1.4rem; border-radius: .75rem; background: #eee9f6; }
.contact p { margin: .6rem 0 0; }
.email { font-weight: 700; overflow-wrap: anywhere; }
@media (max-width: 43rem) {
  .hero-inner, .cards { grid-template-columns: 1fr; }
  .hero-inner { gap: 2.2rem; }
  .hero figure { width: min(84%, 20rem); }
  .cards { gap: 2rem; }
  .cards img { max-width: 29rem; }
  .wrap, .document { width: calc(100% - 2.3rem); }
  .bar { flex-wrap: wrap; }
}
@media (max-width: 23rem) {
  .brand img { width: 27px; height: 27px; }
  header .bar { gap: .4rem; padding-block: .55rem; }
}
