:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #f6f7f9;
  color: #24262b;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #f6f7f9;
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: #f6f7f9;
  font-size: 16px;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}

button {
  font: inherit;
}

.policy-page {
  width: min(100%, 760px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding-bottom: max(32px, env(safe-area-inset-bottom));
  background: #fff;
  box-shadow: 0 0 28px rgba(20, 24, 35, 0.06);
}

.policy-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  min-height: 56px;
  padding: max(8px, env(safe-area-inset-top)) 12px 8px;
  border-bottom: 1px solid #eceef2;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.policy-header h1 {
  margin: 0;
  color: #17191d;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.policy-back {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #30333a;
  cursor: pointer;
}

.policy-back:active {
  background: #f0f1f4;
}

.policy-back:focus-visible {
  outline: 3px solid rgba(217, 53, 37, 0.24);
  outline-offset: 1px;
}

.policy-back svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.policy-content {
  padding: 24px clamp(20px, 5vw, 42px) 8px;
}

.policy-content h2 {
  margin: 28px 0 10px;
  color: #1e2025;
  font-size: 17px;
  line-height: 1.55;
}

.policy-content p {
  margin: 8px 0;
  color: #4a4e57;
  text-align: justify;
  overflow-wrap: anywhere;
}

.policy-intro {
  padding: 16px;
  border: 1px solid #f0d8d4;
  border-radius: 12px;
  background: #fff8f6;
}

.policy-intro p:first-child {
  margin-top: 0;
}

.policy-intro p:last-child {
  margin-bottom: 0;
}

.policy-note {
  color: #8d3027 !important;
}

.policy-date {
  margin-top: 32px !important;
  color: #6b7079 !important;
  text-align: right !important;
}

@media (max-width: 520px) {
  .policy-page {
    box-shadow: none;
  }

  .policy-content {
    padding-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .policy-header {
    backdrop-filter: none;
  }
}