:root {
  color-scheme: light;
  --ink: #17244b;
  --brand: #213b7b;
  --paper: #f5f6fa;
  --line: #d7deeb;
  --yellow: #ffd645;
  font: 100%/1.6 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #a75800; outline-offset: 4px; }
.skip { position: absolute; top: 1rem; left: 1rem; padding: .75rem 1rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; z-index: 1; }
.hero { padding: clamp(2.4rem, 8vw, 5.5rem) 1rem 3.5rem; text-align: center; background: var(--brand); color: white; }
.logo { display: block; margin: 0 auto 1.25rem; }
h1 { font-size: clamp(2rem, 7vw, 4.25rem); line-height: 1.04; letter-spacing: -.045em; margin: 0 0 1.5rem; }
h2 { font-size: 1.375rem; line-height: 1.3; margin-top: 2rem; }
.follow { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; padding: .75rem 1.25rem; border-radius: .55rem; background: var(--yellow); color: var(--ink); font-weight: 750; text-decoration: none; }
.follow:hover { background: #ffe57f; }
.hero a:focus-visible { outline-color: white; }
.contact { display: table; margin: .9rem auto 0; }
.links { max-width: 54rem; margin: 0 auto; padding: 2rem 1rem; }
.links ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; padding: 0; margin: 0; list-style: none; }
.links a { height: 100%; min-height: 4.25rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; background: white; border: 1px solid var(--line); border-radius: .65rem; padding: .85rem 1.15rem; font-weight: 700; text-decoration: none; }
.links a:hover { border-color: var(--brand); text-decoration: underline; }
.top { background: var(--brand); padding: .75rem max(1rem, calc((100% - 50rem)/2)); }
.top a { display: inline-flex; }
.top a:focus-visible { outline-color: white; }
article { max-width: 50rem; padding: 3rem 1rem; margin: auto; overflow-wrap: anywhere; }
footer { padding: 1rem; border-top: 1px solid var(--line); text-align: center; }
footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem 1.5rem; }

@media (max-width: 34rem) {
  .links ul { grid-template-columns: 1fr; }
}
