* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: clamp(87.5%, 0.45vw + 0.7rem, 100%);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  color: #111827;
  background: #fff;
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a,
button {
  transition: opacity 0.2s ease;
}

a {
  color: #1464ff;
}

.site-header {
  background: rgba(255, 255, 255, 0.8);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(0.75rem);
  -webkit-backdrop-filter: blur(0.75rem);
  border-bottom: 0.0625rem solid #e5e7eb;
}
.site-header__inner {
  width: min(80rem, 100% - 2rem);
  margin: 0 auto;
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1.875rem;
}
.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  color: inherit;
  line-height: 1;
  white-space: nowrap;
}
.site-header__brand .logo-symbol,
.site-header__brand .logo-logotype {
  display: block;
  flex-shrink: 0;
  width: auto;
}
.site-header__brand .logo-symbol {
  width: 3rem;
  height: 3rem;
}
.site-header__brand .logo-logotype {
  height: 1.375rem;
}
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-header__nav-item {
  display: flex;
  align-items: center;
}
.site-header__nav-link {
  text-decoration: none;
  color: #374151;
  font-size: 1rem;
  white-space: nowrap;
}
.site-header__nav-link:hover {
  opacity: 0.7;
}
.site-header__cta {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  line-height: 1.65;
  background: #1464ff;
  padding: 0.625rem 1.25rem;
  border-radius: 62.4375rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.site-header__cta:hover {
  opacity: 0.7;
  transform: none;
  box-shadow: none;
}

.site-footer {
  border-top: 0.0625rem solid #e5e7eb;
  background: #fff;
  padding: 2.25rem 0;
}
.site-footer__inner {
  width: min(80rem, 100% - 2rem);
  margin: 0 auto;
}
.site-footer__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}
.site-footer__nav a {
  color: #000;
  text-decoration: underline;
  font-size: 0.875rem;
  line-height: 1.6;
}
.site-footer__nav a:hover {
  opacity: 0.7;
  text-decoration: none;
}
.site-footer__copyright {
  margin-top: 0.625rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}

.legal-page {
  width: 100%;
  margin: 0 auto;
  flex: 1;
}
.legal-page__card {
  width: min(52.5rem, 100% - 2rem);
  margin: 0 auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 5rem 0;
}
.legal-page__title {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.25;
  color: #111;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
}
.legal-page__meta {
  margin: 0.875rem 0 0;
  color: #9ca3af;
  font-size: 0.875rem;
  text-align: center;
}
.legal-page__section {
  margin-top: 0;
  padding: 1.25rem 0;
}
.legal-page__section:first-of-type {
  margin-top: 3rem;
}
.legal-page__section h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #111827;
  font-weight: 600;
}
.legal-page__section p,
.legal-page__section li {
  margin: 0.5rem 0 0;
  color: #1f2937;
  font-size: 1rem;
}
.legal-page__section ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

@media (max-width: 48rem) {
  .site-header__inner {
    min-height: 3.75rem;
    gap: 0.75rem;
  }
  .site-header__actions {
    gap: 0.75rem;
  }
  .site-header__brand {
    gap: 0.625rem;
  }
  .site-header__brand .logo-symbol {
    width: 2.125rem;
    height: 2.125rem;
  }
  .site-header__brand .logo-logotype {
    height: 1rem;
  }
  .site-header__nav-link {
    font-size: 0.9375rem;
  }
  .site-header__cta {
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
  }
  .legal-page__title {
    text-align: left;
  }
  .legal-page__card {
    padding: 2rem 0 2.5rem;
  }
  .legal-page__meta {
    text-align: left;
  }
  .legal-page__section:first-of-type {
    margin-top: 2rem;
  }
}
