:root {
  --primary: #b239ef;
  --primary-dark: #8d29c5;
  --primary-soft: rgba(178, 57, 239, 0.08);
  --primary-border: rgba(178, 57, 239, 0.08);
  --bg: #fbf6ff;
  --text: #5e5868;
  --muted: #6f687b;
  --faint: #b09fbe;
  --card: rgba(255, 255, 255, 0.78);
  --card-strong: rgba(255, 255, 255, 0.86);
  --border: rgba(255, 255, 255, 0.72);
  --shadow: 0 18px 48px rgba(178, 57, 239, 0.08);
  --shadow-soft: 0 12px 34px rgba(178, 57, 239, 0.06);
  --radius-xl: 28px;
  --radius-lg: 24px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at 92% -10%,
      rgba(178, 57, 239, 0.13) 0%,
      rgba(178, 57, 239, 0.07) 28%,
      transparent 58%
    ),
    radial-gradient(
      circle at 0% 104%,
      rgba(178, 57, 239, 0.07) 0%,
      transparent 48%
    ),
    linear-gradient(180deg, #fbf6ff 0%, #fffafd 44%, #ffffff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(178, 57, 239, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(178, 57, 239, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 65%);
}

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

.page-shell {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.top-glow,
.bottom-glow {
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(2px);
  z-index: 0;
}

.top-glow {
  top: -240px;
  right: -240px;
  width: 760px;
  height: 540px;
  background: radial-gradient(
    circle,
    rgba(178, 57, 239, 0.12),
    rgba(178, 57, 239, 0.04) 46%,
    transparent 72%
  );
}

.bottom-glow {
  left: -240px;
  bottom: -260px;
  width: 640px;
  height: 520px;
  background: radial-gradient(
    circle,
    rgba(178, 57, 239, 0.08),
    rgba(178, 57, 239, 0.03) 48%,
    transparent 74%
  );
}

.floating-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: calc(var(--header-height) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  background: rgba(251, 246, 255, 0.72);
  border-bottom: 1px solid rgba(178, 57, 239, 0.06);
}

.header-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: var(--header-height);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
}

.header-back,
.header-spacer {
  width: 44px;
  height: 44px;
  border-radius: 999px;
}

.header-back {
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 34px;
  line-height: 1;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.header-back:hover {
  background: var(--primary-soft);
  transform: translateX(-1px);
}

.brand {
  justify-self: center;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    #d77cff 55%,
    var(--primary-dark) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.content {
  position: relative;
  z-index: 1;
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 max(42px, env(safe-area-inset-bottom));
}

.hero {
  margin-bottom: 18px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  color: #9a5cc7;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.badge-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(178, 57, 239, 0.1);
  font-size: 11px;
}

h1 {
  margin: 15px 0 0;
  font-size: clamp(34px, 7vw, 64px);
  line-height: 0.98;
  letter-spacing: -1.8px;
  color: var(--primary);
}

.hero-description {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.65;
}

.summary-card,
.rights-card,
.policy-card,
.action-card {
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.summary-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 18px;
}

.info-row {
  min-height: 72px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.info-row.with-border {
  border-top: 1px solid rgba(178, 57, 239, 0.08);
}

.info-icon,
.policy-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: rgba(178, 57, 239, 0.07);
  color: var(--primary);
  font-weight: 800;
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 18px;
}

.info-label,
.policy-eyebrow,
.section-mini-eyebrow {
  margin: 0;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 1.35px;
  font-size: 10px;
  font-weight: 800;
}

.info-value {
  margin: 5px 0 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.inline-button {
  min-height: 58px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(178, 57, 239, 0.08);
  color: #9a5cc7;
  font-size: 14px;
  font-weight: 800;
  transition: background 0.2s ease;
}

.inline-button:hover {
  background: rgba(178, 57, 239, 0.04);
}

.rights-card,
.policy-card,
.action-card {
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 18px;
}

.rights-card h2,
.action-card h2,
.policy-card h2 {
  margin: 8px 0 0;
  color: var(--text);
  letter-spacing: -0.35px;
  line-height: 1.2;
}

.rights-card h2 {
  font-size: 20px;
}

.rights-card p,
.action-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid rgba(178, 57, 239, 0.06);
  color: #9a5cc7;
  font-size: 12px;
  font-weight: 800;
}

.policy-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.policy-card {
  margin-bottom: 0;
}

.policy-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.policy-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 19px;
  line-height: 1;
}

.policy-header-text {
  min-width: 0;
  flex: 1;
  padding-top: 2px;
}

.policy-card h2 {
  font-size: 19px;
}

.policy-body {
  margin-top: 15px;
  display: grid;
  gap: 12px;
}

.policy-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.action-card {
  background: var(--card-strong);
  margin-top: 18px;
}

.action-card h2 {
  font-size: 22px;
}

.actions-grid {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.primary-button,
.secondary-button {
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, #ca62ff 100%);
  box-shadow: 0 14px 28px rgba(178, 57, 239, 0.18);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.secondary-button {
  color: var(--primary);
  background: rgba(178, 57, 239, 0.07);
  border: 1px solid rgba(178, 57, 239, 0.08);
}

.footer {
  padding: 22px 0 8px;
  text-align: center;
}

.footer p {
  margin: 0;
  color: #b8b0c5;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 10px;
  font-weight: 800;
}

.footer span {
  display: block;
  margin-top: 8px;
  color: #c1b8cc;
  font-size: 12px;
  line-height: 1.5;
}

@media (min-width: 760px) {
  .content {
    padding-top: 48px;
  }

  .summary-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .inline-button {
    grid-column: 1 / -1;
  }

  .info-row.with-border {
    border-top: 0;
    border-left: 1px solid rgba(178, 57, 239, 0.08);
  }

  .rights-card,
  .policy-card,
  .action-card {
    padding: 24px;
  }

  .policy-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .policy-card:first-child,
  .policy-card:nth-child(2),
  .policy-card:nth-child(5),
  .policy-card:nth-child(8) {
    grid-column: span 2;
  }

  .actions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .content {
    width: min(1040px, calc(100% - 56px));
  }

  .hero {
    margin-bottom: 22px;
  }

  .summary-card,
  .rights-card,
  .policy-card,
  .action-card {
    box-shadow: var(--shadow);
  }
}

@media (max-width: 520px) {
  :root {
    --header-height: 62px;
  }

  .header-inner {
    width: min(100% - 22px, 1120px);
    grid-template-columns: 38px 1fr 38px;
  }

  .header-back,
  .header-spacer {
    width: 38px;
    height: 38px;
  }

  .brand {
    font-size: 19px;
  }

  .content {
    width: calc(100% - 26px);
    padding-top: 22px;
  }

  h1 {
    letter-spacing: -1.2px;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.58;
  }

  .summary-card,
  .rights-card,
  .policy-card,
  .action-card {
    border-radius: 22px;
  }

  .rights-card,
  .policy-card,
  .action-card {
    padding: 18px;
  }

  .policy-top {
    gap: 12px;
  }

  .policy-icon {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  .policy-card h2 {
    font-size: 17px;
  }

  .policy-body p {
    font-size: 14px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }
}

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