:root {
  color: #243247;
  background: #fff1f5;
  font-family: "Nunito Sans", "Be Vietnam Pro", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --font-heading: "Quicksand", "Nunito Sans", "Be Vietnam Pro", Inter, ui-sans-serif, system-ui, sans-serif;
  --brand-pink: #ff2f7d;
  --brand-red: #ff4a4a;
  --brand-gradient: linear-gradient(135deg, #ff2f7d 0%, #ff4a4a 100%);
  --soft-pink: #fff1f5;
  --soft-coral: #ffe8ea;
  --ink: #243247;
  --ink-soft: #425066;
  --muted: #6b7486;
  --white: #ffffff;
  --line: rgba(36, 50, 71, 0.12);
  --line-pink: rgba(255, 47, 125, 0.2);
  --shadow: 0 24px 70px rgba(36, 50, 71, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 47, 125, 0.15), transparent 28rem),
    radial-gradient(circle at 90% 38%, rgba(255, 74, 74, 0.11), transparent 30rem),
    linear-gradient(180deg, var(--white) 0%, var(--soft-pink) 58%, #fff8f2 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(36, 50, 71, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 50, 71, 0.028) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: radial-gradient(circle at 50% 0%, black, transparent 78%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-heading);
}

p,
li {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.policy-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(36, 50, 71, 0.08);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.policy-nav {
  display: flex;
  width: min(100% - 40px, 1180px);
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: auto;
}

.policy-logo {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.policy-logo img {
  width: auto;
  height: 38px;
  display: block;
}

.back-link,
.contact-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line-pink);
  border-radius: 999px;
  padding: 10px 18px;
  color: #d81f65;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.back-link:hover,
.contact-link:hover {
  border-color: rgba(255, 47, 125, 0.42);
  color: var(--brand-red);
  background: var(--white);
}

.policy-main {
  width: min(100% - 40px, 960px);
  margin-inline: auto;
  padding: 88px 0 104px;
}

.policy-hero {
  display: grid;
  gap: 18px;
  max-width: 800px;
  margin-bottom: 44px;
}

.policy-eyebrow {
  width: fit-content;
  margin-bottom: 0;
  border: 1px solid rgba(255, 47, 125, 0.2);
  border-radius: 999px;
  padding: 8px 13px;
  color: #d81f65;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.policy-hero h1 {
  margin-bottom: 0;
  font-size: clamp(2.45rem, 7vw, 4.7rem);
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.policy-lead {
  max-width: 68ch;
  margin-bottom: 0;
  font-size: clamp(1.05rem, 2vw, 1.18rem);
}

.policy-meta {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.policy-content {
  display: grid;
  gap: 20px;
}

.content-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-pink);
  border-radius: 24px;
  padding: clamp(26px, 5vw, 42px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 250, 0.8)),
    var(--white);
  box-shadow: var(--shadow);
}

.content-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--brand-gradient);
}

.content-card h2 {
  margin-bottom: 16px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
}

.content-card h3 {
  margin: 24px 0 10px;
  font-size: 1.12rem;
}

.content-card p:last-child,
.content-card ul:last-child,
.content-card ol:last-child {
  margin-bottom: 0;
}

.content-card ul,
.content-card ol {
  display: grid;
  gap: 10px;
  margin: 12px 0 20px;
  padding-left: 24px;
}

.content-card li::marker {
  color: var(--brand-pink);
  font-weight: 800;
}

.notice-card {
  border-color: rgba(255, 74, 74, 0.24);
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 74, 74, 0.12), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 241, 245, 0.86));
}

.contact-card {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.contact-card p {
  margin-bottom: 0;
}

.contact-link {
  margin-top: 6px;
  color: var(--white);
  border-color: transparent;
  background: var(--brand-gradient);
  box-shadow: 0 14px 34px rgba(255, 47, 125, 0.22);
}

.contact-link:hover {
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(135deg, #eb246c, #ef3f46);
}

.policy-footer {
  border-top: 1px solid rgba(36, 50, 71, 0.1);
}

.policy-footer-inner {
  display: flex;
  width: min(100% - 40px, 1180px);
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-inline: auto;
  color: var(--muted);
}

.policy-footer p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.policy-footer a {
  color: #d81f65;
  font-weight: 800;
}

a:focus-visible {
  border-radius: 8px;
  outline: 3px solid rgba(255, 47, 125, 0.35);
  outline-offset: 4px;
}

@media (max-width: 640px) {
  .policy-nav,
  .policy-main,
  .policy-footer-inner {
    width: min(100% - 28px, 960px);
  }

  .policy-nav {
    min-height: 70px;
  }

  .policy-logo img {
    height: 34px;
  }

  .back-link {
    padding-inline: 14px;
    font-size: 0.92rem;
  }

  .policy-main {
    padding: 64px 0 80px;
  }

  .policy-hero {
    margin-bottom: 32px;
  }

  .content-card {
    border-radius: 20px;
    padding: 28px 22px;
  }

  .policy-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 26px 0;
  }
}

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