:root {
  color: #1f2937;
  background: #fffaf1;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
  line-height: 1.65;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.18), transparent 30rem),
    #fffaf1;
}

a {
  color: #5b21b6;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: #3b0764;
}

:focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 3px;
  border-radius: 0.2rem;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: 0.5rem;
  color: #ffffff;
  background: #1f2937;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.policy,
.site-footer {
  width: min(100% - 2rem, 52rem);
  margin-inline: auto;
}

.site-header {
  padding-block: 1.5rem 0.75rem;
}

.brand {
  margin: 0;
  color: #6d28d9;
  font-size: 1.3rem;
  font-weight: 800;
  text-decoration: none;
}

.policy-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.policy {
  margin-block: 1rem 2rem;
  padding: clamp(1.25rem, 4vw, 3rem);
  border: 1px solid #e7d9c5;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1rem 3rem rgba(76, 29, 149, 0.08);
}

h1,
h2,
h3 {
  color: #312e81;
  line-height: 1.25;
}

h1 {
  margin-top: 0;
  font-size: clamp(2rem, 7vw, 3rem);
}

h2 {
  margin-top: 2rem;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
}

h3 {
  margin-top: 1.5rem;
}

.updated,
.notice {
  color: #4b5563;
}

.notice {
  padding: 1rem;
  border-left: 0.3rem solid #d97706;
  background: #fffbeb;
}

li + li {
  margin-top: 0.45rem;
}

.site-footer {
  padding-block: 0 1.5rem;
  color: #4b5563;
  font-size: 0.94rem;
}

.operator-address {
  font-style: normal;
}

@media (max-width: 38rem) {
  .site-header,
  .policy,
  .site-footer {
    width: min(100% - 1rem, 52rem);
  }

  .policy {
    border-radius: 0.85rem;
  }

  .policy-nav ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
