html {
  height: auto;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  height: auto;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #111111;
  background: #ffffff;
}
main {
  display: flex;
  flex-direction: column;
  gap: 0.618rem;
  flex: 1;
}
section {
  flex: 1 1 auto;
}
h1 {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  hyphens: manual;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.618rem;
  hyphens: manual;
}
h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  hyphens: auto;
}
p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: 0.618rem 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #cccccc;
}
th {
  width: 38%;
  padding-right: 4%;
  font-weight: 600;
}
ul, ol {
  padding-left: 1.2rem;
}
li {
  margin-bottom: 0.618rem;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid #666666;
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 2.1rem;
    hyphens: auto;
  }
  h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    hyphens: auto;
  }
  h3 {
    font-size: 1.2rem;
  }
  th {
    width: 42%;
  }
}
