@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300..700&family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&display=swap");

:root {
  color-scheme: dark;
  --bg: #0a0813;
  --bg-elev: #14111e;
  --bg-card: #1a1626;
  --border: #2a2438;
  --text: #f7f1f4;
  --text-soft: #c5b8c8;
  --text-muted: #7a6e85;
  --primary: #8b7cf6;
  --primary-bright: #a78bfa;
  --primary-deep: #6c5ce7;
  --rose: #f4a8c5;
  --rose-bright: #f8c4d6;
  --rose-deep: #d97aa3;
  --success: #66bb6a;
  --danger: #ef6f8e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 12% 0%, rgba(139, 124, 246, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 92% 35%, rgba(244, 168, 197, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 110%, rgba(217, 122, 163, 0.08) 0%, transparent 65%);
}

a {
  color: var(--primary-bright);
  text-decoration-color: rgba(167, 139, 250, 0.45);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--rose-bright);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.site-nav,
.legal-page,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  color: var(--text);
  font-family: "Fraunces", serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.site-logo span {
  background: linear-gradient(135deg, var(--primary-bright), var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.site-nav a:not(.site-logo) {
  color: var(--text-soft);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.legal-page {
  width: min(100% - 32px, 900px);
  margin: 0 auto;
  padding: 54px 32px 96px;
}

.breadcrumbs {
  margin-bottom: 34px;
  color: var(--text-muted);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumbs span {
  margin: 0 9px;
}

.doc-eyebrow {
  margin-bottom: 14px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.legal-page h1 {
  margin: 0 0 16px;
  color: var(--text);
  font-family: "Fraunces", serif;
  font-size: clamp(42px, 7vw, 68px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.legal-page h1 em {
  background: linear-gradient(120deg, var(--primary-bright), var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 400;
}

.effective-date {
  margin: 0 0 30px;
  color: var(--text-muted);
  font-size: 13px;
}

.intro {
  margin: 0 0 44px;
  padding: 24px 26px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(26, 22, 38, 0.72);
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.75;
  white-space: pre-line;
  box-shadow: 0 20px 50px -34px rgba(139, 124, 246, 0.55);
}

.toc {
  margin: 0 0 42px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(20, 17, 30, 0.58);
}

.toc strong {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
  margin: 0;
  padding-left: 22px;
  color: var(--text-muted);
  font-size: 14px;
}

.toc a {
  color: var(--text-soft);
  text-decoration: none;
}

.toc a:hover {
  color: var(--rose-bright);
}

.legal-section {
  margin-top: 0;
  padding: 34px 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 28px;
}

.legal-section h2 {
  margin: 0 0 17px;
  color: var(--text);
  font-family: "Fraunces", serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.legal-section p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.78;
  white-space: pre-line;
}

.callout {
  margin: 26px 0;
  padding: 20px 22px;
  border: 1px solid rgba(139, 124, 246, 0.35);
  border-left: 3px solid var(--primary-bright);
  border-radius: 12px;
  background: rgba(139, 124, 246, 0.08);
  color: var(--text-soft);
}

.callout.warning {
  border-color: rgba(239, 111, 142, 0.3);
  border-left-color: var(--danger);
  background: rgba(239, 111, 142, 0.07);
}

.callout strong {
  color: var(--text);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 4px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary-deep), #a855f7 55%, var(--rose-deep));
  box-shadow: 0 12px 28px -14px rgba(139, 124, 246, 0.7);
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--primary-bright);
  color: var(--text);
}

.section-lead {
  margin-bottom: 22px !important;
}

.refund-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.refund-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(32, 26, 47, 0.92), rgba(18, 15, 28, 0.94));
}

.channel-label {
  color: var(--rose-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.refund-card h3,
.support-checklist h3 {
  margin: 10px 0 12px;
  color: var(--text);
  font-family: "Fraunces", serif;
  font-size: 22px;
  font-weight: 500;
}

.refund-card p {
  flex: 1;
  font-size: 14px;
  line-height: 1.65;
  white-space: normal;
}

.refund-card-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 13px;
  margin-top: 22px;
}

.refund-card .button {
  width: 100%;
  min-height: 44px;
  padding: 10px 15px;
  font-size: 13px;
  text-align: center;
}

.text-link {
  color: var(--text-soft);
  font-size: 13px;
  text-decoration-color: rgba(244, 168, 197, 0.45);
  text-underline-offset: 4px;
}

.text-link:hover {
  color: var(--rose-bright);
}

.policy-table-wrap {
  margin-top: 22px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.policy-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  background: rgba(20, 17, 30, 0.72);
}

.policy-table th,
.policy-table td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.policy-table th {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-table td {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.policy-table td:first-child {
  width: 170px;
  color: var(--text);
  font-weight: 600;
}

.policy-table tr:last-child td {
  border-bottom: 0;
}

.policy-note {
  margin-top: 15px !important;
  color: var(--text-muted) !important;
  font-size: 13px !important;
}

.support-checklist {
  margin-top: 22px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(26, 22, 38, 0.68);
}

.support-checklist h3 {
  margin-top: 0;
}

.support-checklist ul {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}

.support-checklist p {
  color: var(--text-muted);
  font-size: 13px;
}

.pricing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 32px;
  align-items: start;
  margin: 36px 0 52px;
}

.pricing-summary {
  position: sticky;
  top: 24px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(26, 22, 38, 0.82);
}

.pricing-summary h2,
.pricing-table-wrap h2 {
  margin: 0 0 12px;
  font-family: "Fraunces", serif;
  font-size: 28px;
  font-weight: 500;
}

.pricing-summary p {
  margin: 0;
  color: var(--text-soft);
}

.store-shot {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #050506;
  box-shadow: 0 30px 80px -32px rgba(139, 124, 246, 0.45);
}

.store-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.store-caption {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}

.pricing-table-wrap {
  margin: 44px 0;
}

.pricing-table {
  width: 100%;
  overflow: hidden;
  border-collapse: separate;
  border: 1px solid var(--border);
  border-radius: 16px;
  border-spacing: 0;
  background: rgba(20, 17, 30, 0.72);
}

.pricing-table th,
.pricing-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.pricing-table th {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-table td {
  color: var(--text-soft);
  font-size: 15px;
}

.pricing-table td:last-child,
.pricing-table th:last-child {
  text-align: right;
}

.pricing-table tr:last-child td {
  border-bottom: 0;
}

.pricing-table .offer {
  color: var(--rose-bright);
}

.pricing-table .price {
  color: var(--text);
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 42px 36px 34px;
  color: var(--text-muted);
}

.site-footer-inner {
  max-width: 1108px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
}

.site-footer strong {
  display: block;
  margin-bottom: 7px;
  color: var(--text);
  font-family: "Fraunces", serif;
  font-size: 18px;
  font-style: italic;
  font-weight: 500;
}

.site-footer p {
  max-width: 340px;
  margin: 0;
  font-size: 13px;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
  font-size: 13px;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text-soft);
}

@media (max-width: 760px) {
  .site-nav {
    padding: 20px 18px;
  }

  .site-nav ul {
    gap: 17px;
    font-size: 13px;
  }

  .site-nav .nav-secondary {
    display: none;
  }

  .legal-page {
    width: min(100% - 24px, 900px);
    padding: 36px 12px 72px;
  }

  .legal-page h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .intro {
    padding: 20px;
  }

  .pricing-hero {
    grid-template-columns: 1fr;
  }

  .refund-paths {
    grid-template-columns: 1fr;
  }

  .pricing-summary {
    position: static;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 14px 12px;
  }

  .toc ol {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 34px 20px;
  }

  .site-footer-inner {
    flex-direction: column;
  }

  .site-footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
