*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: #111111;
  background: #ffffff;
}

a {
  color: #111111;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: #333333;
}

.site-header {
  border-bottom: 1px solid #e8e8e8;
  background: #ffffff;
}

.site-header__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #111111;
}

.lang-switch {
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.lang-switch a {
  text-decoration: none;
  color: #666666;
}

.lang-switch a[aria-current="page"] {
  color: #111111;
  font-weight: 500;
  text-decoration: underline;
}

.page-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.article__meta {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: #666666;
}

.article__answer {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid #111111;
  background: #f7f7f7;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.article h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.25;
  font-weight: 700;
}

.article h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.375rem;
  line-height: 1.3;
  font-weight: 500;
}

.article h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.125rem;
  line-height: 1.35;
  font-weight: 500;
}

.article p {
  margin: 0 0 1rem;
}

.article ul,
.article ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

.article li {
  margin-bottom: 0.35rem;
}

.article li:last-child {
  margin-bottom: 0;
}

.cta-box {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid #111111;
  text-align: center;
}

.cta-box p {
  margin: 0;
}

.cta-box a {
  font-weight: 500;
  text-decoration: none;
}

.cta-box a:hover {
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid #e8e8e8;
  background: #fafafa;
  font-size: 0.875rem;
  color: #444444;
}

.site-footer__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

.site-footer__links {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.site-footer__links a {
  color: #111111;
}

.site-footer p {
  margin: 0 0 0.75rem;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

@media (min-width: 600px) {
  .site-header__inner,
  .page-main,
  .site-footer__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
