.policy-page {
  box-sizing: border-box;
  min-height: 100vh;
  margin: 0;
  padding: 80px 24px;
}

.policy-page *,
.policy-page *::before,
.policy-page *::after {
  box-sizing: border-box;
}

.policy-container {
  width: 100%;
  max-width: 48rem;
  margin-inline: auto;
  overflow-wrap: anywhere;
}

.policy-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 64px;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.policy-page a {
  color: inherit;
  text-decoration: none;
}

.policy-nav .back-btn {
  color: var(--green);
}

.policy-page a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.policy-page .legal-title {
  margin: 0 0 48px;
  font-size: 30px;
  line-height: 1.2;
}

.policy-content {
  font-size: 14px;
}

.policy-content p {
  margin: 0;
}

.policy-content > p + p {
  margin-top: 24px;
}

.policy-content ul {
  margin: 8px 0 0;
  padding-left: 20px;
  list-style: disc;
}

.policy-content li + li {
  margin-top: 8px;
}

.policy-content ul + p {
  margin-top: 24px;
}

.policy-content a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 128px;
  padding-top: 48px;
  border-top: 1px solid rgb(255 255 255 / 5%);
  text-align: center;
  color: #4b5563;
  font-size: 9px;
}

.policy-footer p {
  margin: 0;
}

.policy-footer > p:first-child {
  letter-spacing: 0.5em;
}

.policy-footer > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  font-size: 10px;
}

.policy-footer a:hover {
  color: var(--green);
}

@media (max-width: 600px) {
  .policy-page {
    padding: 48px 20px;
  }

  .policy-nav {
    margin-bottom: 40px;
  }

  .policy-page .legal-title {
    margin-bottom: 32px;
    font-size: 28px;
  }

  .policy-footer {
    margin-top: 80px;
    padding-top: 32px;
  }
}
