:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #202638;
  background: #f5f7fc;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

a { color: #3d4bc0; text-underline-offset: 0.25em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid #3d4bc0; outline-offset: 5px; }

.site-header, .site-footer {
  width: min(100% - 3rem, 64rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 1.5rem;
}

.brand {
  color: #202638;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
}

nav, .site-footer { font-size: 0.875rem; }
main { flex: 1; }

.hero, .document {
  width: min(100% - 3rem, 48rem);
  margin-inline: auto;
  padding-block: clamp(3rem, 9vw, 7rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: #3d4bc0;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

h1 { margin: 0 0 1.5rem; font-size: clamp(2.25rem, 7vw, 4rem); line-height: 1.4; }
.lead { color: #505a70; margin-bottom: 2rem; }

.home .eyebrow { letter-spacing: 0.08em; }
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin: 3rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid #dce1ee;
}
.features dt { margin-bottom: 0.5rem; font-size: 1.125rem; font-weight: 700; }
.features dd { margin: 0; color: #505a70; }

@media (max-width: 40rem) {
  .features { grid-template-columns: 1fr; gap: 1.5rem; }
  .desktop-break { display: none; }
}

.button {
  display: inline-block;
  border-radius: 0.75rem;
  padding: 0.85rem 1.25rem;
  color: #fff;
  background: #3d4bc0;
  font-weight: 600;
  text-decoration: none;
}

.button:hover { background: #303c9c; }
.note { margin-top: 1.5rem; color: #505a70; font-size: 0.875rem; }
.document h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
.document h2 { margin-top: 2.5rem; font-size: 1.25rem; }
.document section p { color: #505a70; }
.notice { padding: 1.25rem; background: #e9edfc; border-radius: 0.75rem; }
.back-link { display: inline-block; margin-top: 2rem; }
.site-footer { border-top: 1px solid #dce1ee; color: #505a70; }
.site-footer small { font-size: inherit; }
