:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #0f172a;
  background: #eff6ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

header,
main,
footer {
  width: min(900px, calc(100% - 40px));
  margin-inline: auto;
}

header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 48px 0 28px;
}

.logo {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: #1e40af;
  font-weight: 800;
  letter-spacing: 0.04em;
}

h1,
h2 {
  line-height: 1.2;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.5rem);
}

h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

p,
li {
  max-width: 72ch;
}

main {
  padding: 36px;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 48px rgb(30 64 175 / 10%);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

a {
  color: #1d4ed8;
}

.button {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 9px;
  color: #fff;
  background: #1e40af;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  color: #1e3a8a;
  background: #dbeafe;
}

.notice {
  padding: 16px 18px;
  border-left: 4px solid #1e40af;
  border-radius: 6px;
  background: #eff6ff;
}

footer {
  padding: 26px 0 48px;
  color: #475569;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  header {
    align-items: flex-start;
  }

  main {
    padding: 24px;
  }
}
