:root {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #f7f9fc;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

header {
  background: #ffffff;
  border-bottom: 1px solid #e3e8ef;
}

nav,
main,
footer {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

nav {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

nav a,
footer a {
  color: #2457a7;
  text-decoration: none;
}

.brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: #172033;
}

main {
  padding: 56px 0 72px;
}

.hero,
.card {
  background: #ffffff;
  border: 1px solid #e3e8ef;
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 22px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin-top: 0;
}

h2 {
  margin-top: 32px;
  font-size: 1.35rem;
}

h3 {
  margin-top: 24px;
}

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

.notice {
  padding: 14px 16px;
  background: #fff8df;
  border: 1px solid #ead58a;
  border-radius: 10px;
}

footer {
  border-top: 1px solid #e3e8ef;
  padding: 26px 0 40px;
  color: #5b6578;
  font-size: 0.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  display: block;
  width: 82px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 600px) {
  .brand-logo {
    width: 68px;
  }
}
