:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Yu Gothic", YuGothic, Arial, Helvetica, sans-serif;
  color: #182026;
  background: #f4fafc;
  line-height: 1.8;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  padding: 28px 20px 48px;
}

a {
  color: #086fa8;
}

.site-shell {
  width: min(100%, 900px);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.site-nav,
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.site-nav {
  justify-content: flex-end;
  font-size: 0.875rem;
}

.site-nav a[aria-current="page"] {
  color: #182026;
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

main {
  padding: clamp(28px, 6vw, 58px);
  background: #ffffff;
  border: 1px solid #dcecf2;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(20, 77, 97, 0.08);
}

.eyebrow {
  margin: 0 0 8px;
  color: #0879a8;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.35;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 5vw, 3rem);
  letter-spacing: -0.04em;
}

h2 {
  margin: 38px 0 10px;
  font-size: 1.2rem;
}

p,
ul,
ol {
  margin: 0 0 14px;
}

ul,
ol {
  padding-left: 1.5em;
}

.lead {
  color: #4e5d63;
  font-size: 1rem;
}

.notice {
  margin: 24px 0;
  padding: 16px 18px;
  background: #f0f9fc;
  border-left: 4px solid #13a4c7;
  border-radius: 8px;
}

.updated {
  margin-top: 34px;
  color: #64747a;
  font-size: 0.875rem;
}

.site-footer {
  justify-content: center;
  margin-top: 24px;
  color: #586a71;
  font-size: 0.8rem;
}

@media (max-width: 640px) {
  body {
    padding: 18px 14px 32px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  main {
    padding: 24px 20px;
    border-radius: 12px;
  }
}
