:root {
  --bg: #04070d;
  --bg-soft: #0b1120;
  --panel: rgba(11, 17, 29, 0.8);
  --panel-strong: #101a2b;
  --card: #0b1527;
  --line: rgba(148, 163, 184, 0.15);
  --text: #edf4ff;
  --muted: #a7b7d5;
  --primary: #9b7dff;
  --primary-strong: #6d5ef7;
  --secondary: #6fe7ff;
  --secondary-deep: #89a7ff;
  --accent: #d8d9ff;
  --success: #7ef0c1;
  --warning: #facc73;
  --shadow: 0 30px 80px rgba(2, 4, 12, 0.8);
  --radius: 22px;
  --radius-sm: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(155, 125, 255, 0.22), transparent 18%),
    radial-gradient(circle at 70% 25%, rgba(111, 231, 255, 0.12), transparent 28%),
    radial-gradient(circle at bottom center, rgba(93, 104, 227, 0.18), transparent 30%),
    linear-gradient(180deg, #04070d 0%, #070c18 100%);
  color: var(--text);
  line-height: 1.6;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 15% 18%, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.6px),
    radial-gradient(circle at 72% 26%, rgba(111, 231, 255, 0.8) 0 1.1px, transparent 1.5px),
    radial-gradient(circle at 82% 68%, rgba(155, 125, 255, 0.6) 0 1px, transparent 1.4px),
    radial-gradient(circle at 24% 72%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1.4px);
  opacity: 0.9;
}

.particle-field {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

body > :not(.particle-field) {
  position: relative;
  z-index: 2;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(9, 11, 18, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}

.nav-utility-icons {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
}

.nav-account-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.7rem;
}

.cart-trigger {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(170, 183, 255, 0.22);
  border-radius: 14px;
  background: rgba(13, 20, 35, 0.82);
  color: #d7d5ff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.cart-trigger:hover,
.cart-trigger:focus-visible {
  border-color: rgba(120, 231, 255, 0.62);
  box-shadow: 0 0 18px rgba(118, 101, 255, 0.28);
  color: #fff;
}

.cart-trigger > svg {
  width: 23px;
  height: 23px;
}

.cart-trigger .cart-count {
  position: absolute;
  top: -0.42rem;
  right: -0.42rem;
  display: grid;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.25rem;
  place-items: center;
  border-color: rgba(130, 220, 255, 0.58);
  background: #111a2d;
  font-size: 0.68rem;
}

.inbox-trigger {
  margin-left: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 2.3rem;
  height: 2.3rem;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
  filter: drop-shadow(0 0 14px rgba(148, 120, 255, 0.45));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-left: auto;
}

.site-nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav .nav-icon-link {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(170, 183, 255, 0.2);
  border-radius: 12px;
  background: rgba(13, 20, 35, 0.62);
  color: #c9c8ff;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.site-nav .nav-icon-link:hover,
.site-nav .nav-icon-link:focus-visible {
  border-color: rgba(120, 231, 255, 0.62);
  box-shadow: 0 0 16px rgba(118, 101, 255, 0.24);
  color: #fff;
}

.site-nav .nav-icon-link svg {
  width: 22px;
  height: 22px;
}

.site-nav .question-link {
  font-size: 1.35rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0.8rem 1.3rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-small {
  padding: 0.7rem 1.1rem;
  min-height: 40px;
}

.site-nav .community-login {
  padding: 0.58rem 0.85rem;
  min-height: 38px;
  white-space: nowrap;
  color: var(--text);
  box-shadow:
    0 0 0 1px rgba(208, 204, 255, 0.22),
    0 0 18px rgba(138, 104, 255, 0.32);
}

.site-nav .community-login:hover,
.site-nav .community-login:focus-visible {
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(223, 222, 255, 0.48),
    0 0 25px rgba(138, 104, 255, 0.5),
    0 8px 24px rgba(81, 183, 255, 0.2);
}

.site-nav .community-login:disabled,
.site-account-logout:disabled {
  cursor: wait;
  opacity: 0.62;
}

.site-account {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
}

.site-account[hidden],
.site-auth-status[hidden],
.site-nav [hidden],
.site-account-avatar img[hidden] {
  display: none;
}

.site-account-avatar {
  position: relative;
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(186, 167, 255, 0.48);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(151, 122, 244, 0.68), rgba(59, 105, 153, 0.68));
  box-shadow: 0 0 13px rgba(137, 113, 255, 0.24);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.site-account-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-account-name {
  max-width: 110px;
  overflow: hidden;
  color: #d9def3;
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-account-logout {
  padding: 0.4rem 0.55rem;
  border: 1px solid rgba(162, 181, 255, 0.2);
  border-radius: 8px;
  background: rgba(13, 20, 35, 0.68);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 700;
}

.site-account-logout:hover,
.site-account-logout:focus-visible {
  border-color: rgba(120, 231, 255, 0.58);
  color: var(--text);
}

.site-auth-status:not([hidden]) {
  position: fixed;
  z-index: 40;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  max-width: min(420px, calc(100vw - 2rem));
  margin: 0;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(163, 151, 255, 0.45);
  border-radius: 12px;
  background: rgba(11, 15, 29, 0.96);
  box-shadow: 0 0 25px rgba(118, 101, 255, 0.2);
  color: #e6e9ff;
  font-size: 0.82rem;
}

.site-auth-status[data-kind="error"]:not([hidden]) {
  border-color: rgba(255, 143, 161, 0.54);
  color: #ffc1ca;
}

.site-auth-status[data-kind="success"]:not([hidden]) {
  border-color: rgba(126, 240, 193, 0.48);
  color: #a9f3d2;
}

.button.primary {
  background: linear-gradient(135deg, #9d7bff 0%, #6c63ff 42%, #63d1ff 100%);
  box-shadow: 0 18px 40px rgba(106, 95, 255, 0.4);
}

.button.secondary {
  background: rgba(13, 20, 35, 0.8);
  border-color: rgba(170, 183, 255, 0.18);
  color: var(--text);
  box-shadow: inset 0 0 18px rgba(142, 167, 255, 0.06);
}

.full-width {
  width: 100%;
}

.cart-dialog {
  width: min(560px, calc(100vw - 2rem));
  max-width: none;
  max-height: min(80vh, 680px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(155, 168, 255, 0.34);
  border-radius: 22px;
  background: #080e19;
  color: var(--text);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.65), 0 0 38px rgba(107, 100, 255, 0.17);
}

.purchases-dialog {
  width: min(720px, calc(100vw - 2rem));
}

.purchases-description {
  margin: 1rem 0 1.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.purchases-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.purchase-receipt {
  min-height: 38px;
  white-space: nowrap;
}

.purchase-no-receipt {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.pricing-cart-action {
  display: flex;
  justify-content: center;
  margin-top: 1.35rem;
}

.pricing-cart-action .button {
  min-width: 210px;
}

.cart-dialog::backdrop {
  background: rgba(2, 5, 12, 0.76);
  backdrop-filter: blur(7px);
}

.cart-dialog[open] {
  animation: cart-dialog-enter 0.18s ease-out;
}

@keyframes cart-dialog-enter {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero {
  padding: 5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 2rem;
}

.eyebrow {
  display: inline-block;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(142, 167, 255, 0.35);
  background: rgba(111, 231, 255, 0.08);
  color: #cdd8ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 0 18px rgba(111, 231, 255, 0.08);
}

.hero-copy h1 {
  margin: 1rem 0 1rem;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-power {
  display: inline-block;
  background: linear-gradient(105deg, #b99aff 5%, #f5eaff 42%, #75e8ff 75%, #b99aff 95%);
  background-size: 220% 100%;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 0 10px rgba(157, 123, 255, 0.58))
    drop-shadow(0 0 24px rgba(85, 223, 255, 0.32));
  animation: hero-power-shimmer 4s ease-in-out infinite;
}

@keyframes hero-power-shimmer {
  0%,
  100% {
    background-position: 0% 50%;
    filter:
      drop-shadow(0 0 8px rgba(157, 123, 255, 0.45))
      drop-shadow(0 0 18px rgba(85, 223, 255, 0.24));
  }
  50% {
    background-position: 100% 50%;
    filter:
      drop-shadow(0 0 13px rgba(157, 123, 255, 0.72))
      drop-shadow(0 0 30px rgba(85, 223, 255, 0.42));
  }
}

.hero-copy p {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-proof {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 0;
  margin: 2rem 0 0;
}

.hero-proof li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-proof strong {
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

.hero-proof span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  width: 100%;
  margin: 0;
  display: block;
}

.app-preview img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(185, 167, 255, 0.26);
  border-radius: var(--radius);
  box-shadow:
    0 0 0 1px rgba(111, 231, 255, 0.08),
    0 28px 70px rgba(2, 4, 12, 0.64),
    0 0 55px rgba(111, 135, 255, 0.12);
}

.app-preview figcaption {
  margin-top: 0.85rem;
  color: var(--muted);
  text-align: center;
  font-size: 0.82rem;
}

.logo-strip {
  padding: 1rem 0 2rem;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 0;
  text-align: center;
  color: rgba(226, 232, 240, 0.7);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.module-strip .logo-row {
  color: #d5ddf4;
  letter-spacing: 0.12em;
}

.section {
  padding: 6rem 0;
}

.alternate {
  background: rgba(15, 23, 42, 0.45);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-heading.narrow {
  max-width: 560px;
}

.section-heading.left-align {
  margin: 0;
  text-align: left;
}

.section-heading h2 {
  margin: 1rem 0 0;
  font-size: clamp(2.2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.feature-card {
  background: linear-gradient(180deg, rgba(12, 21, 39, 0.92), rgba(7, 12, 22, 0.85));
  border: 1px solid rgba(155, 168, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  box-shadow: inset 0 0 24px rgba(126, 140, 255, 0.06);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(111, 231, 255, 0.36);
  box-shadow: inset 0 0 24px rgba(126, 140, 255, 0.08), 0 16px 36px rgba(2, 4, 12, 0.28);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.14);
  color: #d8c4ff;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.3rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.step-card {
  background: linear-gradient(180deg, rgba(12, 21, 39, 0.92), rgba(7, 12, 22, 0.85));
  border: 1px solid rgba(155, 168, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
}

.step-number {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(34, 211, 238, 0.18));
  color: #edf2ff;
  font-weight: 800;
  margin-bottom: 1rem;
}

.step-card h3 {
  margin: 0 0 0.5rem;
}

.step-card p {
  margin: 0;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.gallery-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(155, 168, 255, 0.2);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(12, 21, 39, 0.92), rgba(7, 12, 22, 0.95));
  box-shadow: 0 20px 50px rgba(2, 4, 12, 0.35);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 2.02;
  object-fit: cover;
  object-position: center 67%;
  border-bottom: 1px solid var(--line);
}

.gallery-card img.audio-player-preview {
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: rgba(4, 7, 13, 0.9);
}

.gallery-card figcaption {
  display: grid;
  gap: 0.3rem;
  padding: 1.1rem 1.2rem 1.25rem;
}

.gallery-card figcaption strong {
  font-size: 1rem;
}

.gallery-card figcaption span {
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  justify-content: center;
  max-width: 100%;
  margin: 0 auto;
}

.pricing-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.5rem;
  max-width: 760px;
  margin: 0 auto 1.8rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.pricing-benefits li::marker {
  color: var(--secondary);
}

.price-card {
  position: relative;
  background: linear-gradient(180deg, rgba(12, 21, 39, 0.92), rgba(7, 12, 22, 0.85));
  border: 1px solid rgba(155, 168, 255, 0.18);
  border-radius: var(--radius-sm);
  padding: 1.7rem 1.5rem;
}

.price-card.featured {
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 18px 40px rgba(124, 58, 237, 0.2);
  transform: translateY(-8px);
}

.plan-badge {
  position: absolute;
  top: 1.7rem;
  right: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
}

.plan-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #d8c4ff;
}

.price-card > p {
  min-height: 3.2em;
  color: var(--muted);
}

.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.price .current-price {
  font-size: 1em;
  color: inherit;
  font-weight: inherit;
}

.price .original-price {
  color: var(--muted);
  font-size: 0.38em;
  font-weight: 500;
  letter-spacing: normal;
}

.price .discount-badge {
  padding: 0.3em 0.55em;
  border: 1px solid rgba(119, 224, 255, 0.3);
  border-radius: 999px;
  background: rgba(85, 223, 255, 0.1);
  color: #9cecff;
  font-size: 0.28em;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.price span:not(.current-price):not(.discount-badge) {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.price-card ul {
  margin: 1.2rem 0 1.5rem;
  padding: 0 0 0 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 0.6rem;
}

.price-card li::marker {
  color: var(--secondary);
}

.purchase-button:disabled,
#refresh-purchases:disabled,
#checkout-cart:disabled {
  cursor: wait;
  opacity: 0.62;
}

.cart-panel {
  padding: 1.5rem;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(98, 106, 255, 0.1), transparent 44%),
    linear-gradient(180deg, rgba(12, 21, 39, 0.9), rgba(7, 12, 22, 0.84));
}

.cart-heading,
.cart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.terms-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(162, 181, 255, 0.22);
  border-radius: 14px;
  background: rgba(8, 13, 25, 0.58);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.88rem;
  line-height: 1.55;
}

.terms-consent input {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  margin: 0.15rem 0 0;
  accent-color: var(--primary-strong);
}

.terms-consent a {
  color: var(--secondary);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.terms-consent a:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

.terms-dialog {
  width: min(620px, calc(100vw - 2rem));
  max-width: none;
  max-height: min(72vh, 640px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(155, 168, 255, 0.38);
  border-radius: 20px;
  background: #080e19;
  color: var(--text);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.72), 0 0 38px rgba(107, 100, 255, 0.2);
}

.terms-dialog::backdrop {
  background: rgba(2, 5, 12, 0.8);
  backdrop-filter: blur(8px);
}

.terms-panel {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(98, 106, 255, 0.1), transparent 44%),
    linear-gradient(180deg, rgba(12, 21, 39, 0.96), rgba(7, 12, 22, 0.96));
}

.terms-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.terms-heading h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
}

.terms-scroll {
  max-height: min(32vh, 280px);
  overflow-y: auto;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(162, 181, 255, 0.18);
  border-radius: 14px;
  background: rgba(5, 10, 20, 0.58);
  scrollbar-color: rgba(155, 125, 255, 0.7) rgba(12, 18, 32, 0.8);
  scrollbar-width: thin;
}

.terms-scroll h4 {
  margin: 1.1rem 0 0.3rem;
  color: var(--text);
  font-size: 0.92rem;
}

.terms-scroll p {
  margin: 0.55rem 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.terms-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.7rem;
}

#accept-terms:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.cart-heading h2 {
  margin: 0.3rem 0 0;
  font-size: 1.25rem;
}

.cart-dialog-close {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(155, 168, 255, 0.2);
  border-radius: 12px;
  background: rgba(15, 23, 40, 0.85);
  color: var(--muted);
  cursor: pointer;
}

.cart-dialog-close:hover,
.cart-dialog-close:focus-visible {
  border-color: rgba(120, 231, 255, 0.58);
  color: #fff;
}

.cart-dialog-close svg {
  width: 20px;
  height: 20px;
}

.cart-count {
  display: grid;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.55rem;
  place-items: center;
  border: 1px solid rgba(130, 220, 255, 0.35);
  border-radius: 999px;
  background: rgba(85, 223, 255, 0.1);
  color: #a4edff;
  font-weight: 700;
}

.cart-empty {
  margin: 1rem 0;
  color: var(--muted);
}

.cart-empty[hidden] {
  display: none;
}

.cart-items {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(155, 168, 255, 0.12);
}

.cart-item > span {
  color: #e7e9ff;
  font-weight: 600;
}

.cart-item > strong {
  white-space: nowrap;
}

.cart-remove {
  border: 0;
  background: transparent;
  color: #c3b4ff;
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
}

.cart-remove:hover {
  color: #e4dcff;
  text-decoration: underline;
}

.cart-total {
  margin: 0;
  color: var(--muted);
}

.cart-total strong {
  display: block;
  margin-top: 0.2rem;
  color: #fff;
  font-size: 1.35rem;
}

.purchase-status:not([hidden]) {
  width: fit-content;
  max-width: 100%;
  margin: 1.2rem auto 0;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(163, 151, 255, 0.35);
  border-radius: 12px;
  background: rgba(11, 15, 29, 0.82);
  color: #e6e9ff;
  text-align: center;
}

.purchase-status[data-kind="error"] {
  border-color: rgba(255, 143, 161, 0.54);
  color: #ffc1ca;
}

.purchase-status[data-kind="success"] {
  border-color: rgba(126, 240, 193, 0.48);
  color: #a9f3d2;
}

.purchases-section[hidden] {
  display: none;
}

.purchase-list {
  display: grid;
  gap: 0.9rem;
  margin: 0 auto 1.2rem;
}

.purchase-groups {
  display: grid;
  gap: 2rem;
}

.purchase-group h3 {
  margin: 0 0 0.9rem;
  font-size: 1.1rem;
}

.purchase-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem 1rem;
  align-items: center;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(155, 168, 255, 0.18);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(12, 21, 39, 0.88), rgba(7, 12, 22, 0.82));
}

.purchase-card h3,
.purchase-card p {
  margin: 0;
}

.purchase-card p {
  color: var(--muted);
  font-size: 0.88rem;
}

.purchase-key-row {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(155, 168, 255, 0.12);
}

.purchase-key-details {
  display: grid;
  min-width: 0;
  gap: 0.35rem;
}

.purchase-key-details strong {
  font-size: 0.86rem;
}

.purchase-card-key {
  overflow-wrap: anywhere;
  color: var(--secondary);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.95rem;
}

.purchase-card-copy {
  flex: 0 0 auto;
}

@media (max-width: 560px) {
  .cart-panel {
    padding: 1.15rem;
  }

  .cart-footer,
  .purchase-key-row {
    align-items: stretch;
    flex-direction: column;
  }

  .purchase-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .purchase-receipt {
    width: fit-content;
  }

  .purchases-actions .button {
    width: 100%;
  }

  .cart-footer .button {
    width: 100%;
  }

  .terms-panel {
    padding: 1.05rem;
  }

  .terms-actions {
    flex-direction: column-reverse;
  }

  .terms-actions .button {
    width: 100%;
  }

  .cart-item {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .cart-remove {
    grid-column: 1 / -1;
    justify-self: start;
    padding: 0;
  }
}

.purchase-empty {
  color: var(--muted);
  text-align: center;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list details {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(4, 7, 13, 0.82);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.site-footer h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: var(--muted);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: white;
  margin: 6px 0;
  border-radius: 999px;
}

@media (max-width: 980px) {
  .hero-grid,
  .faq-layout,
  .feature-grid,
  .gallery-grid,
  .steps-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .pricing-benefits {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .site-nav {
    gap: 0.7rem;
  }

  .nav-wrapper {
    gap: 0.65rem;
  }

  .nav-utility-icons {
    gap: 0.35rem;
  }

  .nav-account-actions {
    gap: 0.45rem;
  }

  .site-nav a {
    font-size: 0.86rem;
  }

  .site-nav .nav-icon-link {
    width: 34px;
    height: 34px;
  }

  .site-nav .community-login,
  .site-nav .button-small {
    padding-inline: 0.68rem;
  }

  .site-account {
    gap: 0.35rem;
  }

  .site-account-name {
    max-width: 75px;
  }

  .faq-layout,
  .feature-grid,
  .gallery-grid,
  .steps-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
    order: 3;
    flex: 0 0 auto;
  }

  .brand {
    order: 1;
  }

  .nav-utility-icons {
    order: 2;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.75rem);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(9, 11, 18, 0.96);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
    margin-left: 0;
  }

  .site-nav .nav-icon-link {
    width: auto;
    height: auto;
    padding: 0.35rem 0.5rem;
    border: 0;
    background: transparent;
  }

  .site-nav .nav-icon-link svg {
    width: 22px;
    height: 22px;
  }

  .site-nav.open {
    display: flex;
  }

  .logo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-proof {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

:root {
  --primary: #b69cff;
  --primary-strong: #846bff;
  --secondary: #7af0ff;
  --secondary-deep: #78aaff;
  --accent: #e3e6ff;
  --line: rgba(162, 181, 255, 0.2);
  --lunar-violet-glow: rgba(145, 111, 255, 0.22);
  --lunar-cyan-glow: rgba(94, 221, 255, 0.15);
}

body {
  background:
    radial-gradient(ellipse at 12% 14%, rgba(124, 92, 255, 0.2), transparent 32%),
    radial-gradient(ellipse at 88% 32%, rgba(58, 196, 255, 0.1), transparent 34%),
    radial-gradient(ellipse at 48% 92%, rgba(93, 76, 200, 0.14), transparent 40%),
    linear-gradient(180deg, #050711 0%, #070b17 54%, #050a13 100%);
}

.site-header {
  border-bottom-color: rgba(148, 169, 255, 0.2);
  box-shadow: 0 5px 26px rgba(90, 105, 255, 0.07);
}

.brand-mark {
  filter:
    drop-shadow(0 0 8px rgba(147, 125, 255, 0.8))
    drop-shadow(0 0 20px rgba(104, 190, 255, 0.3));
}

.hero-copy h1 {
  background: linear-gradient(115deg, #ffffff 12%, #e2e5ff 58%, #a8eaff 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 28px rgba(138, 139, 255, 0.16));
}

.eyebrow {
  border-color: rgba(156, 147, 255, 0.48);
  background: linear-gradient(110deg, rgba(118, 93, 255, 0.16), rgba(84, 211, 255, 0.09));
  box-shadow:
    inset 0 0 18px rgba(118, 140, 255, 0.12),
    0 0 20px rgba(118, 140, 255, 0.1);
}

.button.primary {
  background: linear-gradient(115deg, #a276ff 0%, #786dff 48%, #55dfff 100%);
  box-shadow:
    0 0 0 1px rgba(208, 204, 255, 0.28),
    0 0 22px rgba(138, 104, 255, 0.45),
    0 12px 38px rgba(81, 123, 255, 0.24);
}

.button.primary:hover,
.button.primary:focus-visible {
  box-shadow:
    0 0 0 1px rgba(223, 222, 255, 0.55),
    0 0 32px rgba(138, 104, 255, 0.64),
    0 14px 42px rgba(81, 183, 255, 0.32);
}

.button.secondary {
  border-color: rgba(153, 181, 255, 0.32);
  box-shadow:
    inset 0 0 18px rgba(108, 131, 255, 0.08),
    0 0 16px rgba(90, 179, 255, 0.06);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: rgba(120, 231, 255, 0.72);
  box-shadow:
    inset 0 0 22px rgba(108, 131, 255, 0.14),
    0 0 22px rgba(90, 199, 255, 0.18);
}

.app-preview img {
  border-color: rgba(158, 164, 255, 0.48);
  box-shadow:
    0 0 0 1px rgba(103, 220, 255, 0.14),
    0 0 28px rgba(125, 101, 255, 0.2),
    0 28px 70px rgba(2, 4, 12, 0.64);
}

.module-strip .logo-row {
  border-color: rgba(136, 157, 255, 0.28);
  text-shadow: 0 0 14px rgba(141, 170, 255, 0.36);
}

.feature-card,
.step-card,
.gallery-card,
.price-card,
.faq-list details {
  border-color: rgba(141, 160, 255, 0.22);
  box-shadow:
    inset 0 0 28px rgba(121, 113, 255, 0.045),
    0 0 20px rgba(82, 155, 255, 0.045);
  backdrop-filter: blur(12px);
}

.feature-card:hover,
.gallery-card:hover,
.price-card:hover,
.faq-list details:hover {
  border-color: rgba(119, 224, 255, 0.58);
  box-shadow:
    inset 0 0 30px rgba(121, 113, 255, 0.09),
    0 0 0 1px rgba(119, 224, 255, 0.1),
    0 0 28px rgba(93, 182, 255, 0.15);
}

.icon,
.step-number {
  border: 1px solid rgba(163, 152, 255, 0.36);
  background: linear-gradient(145deg, rgba(137, 103, 255, 0.22), rgba(76, 211, 255, 0.12));
  box-shadow:
    inset 0 0 18px rgba(142, 126, 255, 0.12),
    0 0 20px rgba(122, 119, 255, 0.12);
  color: #e4eaff;
}

.gallery-card {
  overflow: hidden;
}

.gallery-card img {
  border-bottom-color: rgba(137, 167, 255, 0.2);
}

.price-card {
  border-color: rgba(161, 143, 255, 0.36);
  box-shadow:
    inset 0 0 36px rgba(121, 113, 255, 0.08),
    0 0 28px rgba(114, 113, 255, 0.1);
}

.feedback-section {
  border-top: 1px solid rgba(147, 164, 255, 0.14);
  border-bottom: 1px solid rgba(147, 164, 255, 0.14);
  background:
    radial-gradient(ellipse at 50% 50%, rgba(91, 104, 210, 0.1), transparent 58%),
    rgba(8, 12, 24, 0.44);
}

.feedback-board {
  width: min(100%, 720px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(153, 164, 255, 0.28);
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, rgba(18, 19, 40, 0.96), rgba(10, 13, 26, 0.94));
  box-shadow:
    inset 0 0 32px rgba(129, 111, 255, 0.07),
    0 0 34px rgba(100, 118, 255, 0.09),
    0 24px 60px rgba(0, 0, 0, 0.3);
}

.feedback-board-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 48px;
  border-bottom: 1px solid rgba(153, 164, 255, 0.14);
  color: rgba(198, 208, 235, 0.72);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feedback-window-dots {
  position: absolute;
  display: flex;
  gap: 0.28rem;
  left: 1rem;
}

.feedback-window-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(181, 161, 255, 0.65);
  box-shadow: 0 0 8px rgba(153, 126, 255, 0.45);
}

.feedback-window-dots i:nth-child(2) {
  background: rgba(121, 225, 255, 0.65);
}

.feedback-window-dots i:nth-child(3) {
  background: rgba(186, 199, 230, 0.5);
}

.feedback-messages {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 1.25rem;
  list-style: none;
}

.feedback-message {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(154, 162, 255, 0.11);
  border-radius: 13px;
  background: rgba(46, 38, 72, 0.48);
}

.feedback-avatar {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(213, 204, 255, 0.38);
  border-radius: 50%;
  color: #f4efff;
  font-size: 0.78rem;
  font-weight: 800;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.75);
  box-shadow: 0 0 15px rgba(146, 119, 255, 0.22);
}

.avatar-vt {
  background:
    radial-gradient(circle at 48% 34%, #e5b0a2 0 16%, transparent 17%),
    radial-gradient(ellipse at 50% 78%, #644759 0 35%, transparent 36%),
    linear-gradient(145deg, #9e665d, #322342 72%);
}

.avatar-cryo {
  background:
    radial-gradient(circle at 48% 38%, #d8d8df 0 18%, transparent 19%),
    radial-gradient(ellipse at 50% 78%, #11131c 0 38%, transparent 39%),
    linear-gradient(145deg, #e6e8ee, #242431 62%);
}

.feedback-message-content {
  min-width: 0;
}

.feedback-meta {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  line-height: 1.2;
}

.feedback-meta strong {
  color: #e8eaff;
  font-size: 0.83rem;
}

.feedback-meta time {
  color: rgba(183, 192, 218, 0.6);
  font-size: 0.7rem;
}

.feedback-message p {
  margin: 0.32rem 0 0;
  color: #e2e3f1;
  font-size: 0.93rem;
}

.plan-badge {
  background: linear-gradient(110deg, #a276ff, #6f83ff 56%, #55dfff);
  box-shadow:
    0 0 0 1px rgba(216, 220, 255, 0.35),
    0 0 18px rgba(132, 114, 255, 0.45);
}

.plan-name {
  color: #dcd5ff;
}

.price {
  text-shadow: 0 0 24px rgba(129, 150, 255, 0.22);
}

.price-card li::marker {
  color: var(--secondary);
  text-shadow: 0 0 8px rgba(122, 240, 255, 0.8);
}

.faq-list details[open] {
  border-color: rgba(159, 147, 255, 0.42);
  box-shadow:
    inset 0 0 24px rgba(121, 113, 255, 0.08),
    0 0 20px rgba(114, 113, 255, 0.08);
}

.site-footer {
  border-top-color: rgba(147, 164, 255, 0.24);
  box-shadow: 0 -10px 32px rgba(82, 108, 255, 0.045);
}

@media (prefers-reduced-motion: no-preference) {
  .feature-card,
  .gallery-card,
  .price-card,
  .faq-list details,
  .button,
  .app-preview img {
    transition:
      transform 0.25s ease,
      border-color 0.25s ease,
      box-shadow 0.25s ease,
      filter 0.25s ease;
  }

  .gallery-card:hover {
    transform: translateY(-4px);
  }

  .price-card:hover {
    transform: translateY(-4px);
    box-shadow:
      inset 0 0 36px rgba(121, 113, 255, 0.12),
      0 0 0 1px rgba(119, 224, 255, 0.12),
      0 0 36px rgba(114, 113, 255, 0.22),
      0 22px 48px rgba(2, 4, 12, 0.48);
  }

  .feedback-board.is-entered .feedback-message {
    animation: feedback-arrival 650ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
  }

  .feedback-board.is-entered .feedback-message:nth-child(2) {
    animation-delay: 650ms;
  }

  @keyframes feedback-arrival {
    0% {
      opacity: 0;
      transform: translateY(14px) scale(0.98);
      filter: blur(5px);
    }
    68% {
      opacity: 1;
      transform: translateY(-2px) scale(1.005);
      filter: blur(0);
      box-shadow: 0 0 22px rgba(118, 130, 255, 0.2);
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1);
      filter: blur(0);
    }
  }

  @media (hover: hover) {
    .app-preview:hover img {
      transform: translateY(-3px) scale(1.025);
      filter: brightness(1.1);
      border-color: rgba(120, 231, 255, 0.72);
      box-shadow:
        0 0 0 1px rgba(120, 231, 255, 0.3),
        0 0 38px rgba(125, 101, 255, 0.34),
        0 32px 78px rgba(2, 4, 12, 0.72);
    }
  }
}

.music-player {
  position: fixed !important;
  z-index: 30 !important;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  width: min(330px, calc(100vw - 2rem));
  padding: 0.9rem 1rem 0.85rem;
  border: 1px solid rgba(164, 155, 255, 0.48);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 8% 0%, rgba(139, 113, 255, 0.17), transparent 48%),
    linear-gradient(145deg, rgba(14, 18, 34, 0.96), rgba(5, 10, 20, 0.96));
  box-shadow:
    inset 0 0 24px rgba(117, 120, 255, 0.08),
    0 0 0 1px rgba(92, 222, 255, 0.08),
    0 0 28px rgba(122, 103, 255, 0.24),
    0 18px 48px rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(18px);
}

.music-player-main,
.music-progress-row,
.music-volume-row {
  display: flex;
  align-items: center;
}

.music-player-main {
  gap: 0.75rem;
}

.music-disc {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(202, 190, 255, 0.65);
  border-radius: 50%;
  background:
    radial-gradient(circle, #11152b 0 15%, transparent 16%),
    conic-gradient(from 0deg, #8a78ff, #9deaff, #eed9c4, #7766f4, #8a78ff);
  box-shadow: 0 0 18px rgba(139, 126, 255, 0.48);
  cursor: pointer;
  overflow: hidden;
}

.music-disc-center {
  width: 0.45rem;
  height: 0.45rem;
  border: 1px solid rgba(233, 239, 255, 0.75);
  border-radius: 50%;
  background: #0a0d19;
}

.music-track {
  display: grid;
  flex: 1;
  min-width: 0;
}

.music-track strong {
  overflow: hidden;
  color: #f2f3ff;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-play {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  place-items: center;
  color: #f3f4ff;
  border: 1px solid rgba(176, 164, 255, 0.62);
  border-radius: 50%;
  background:
    radial-gradient(circle, #11152b 0 15%, transparent 16%),
    conic-gradient(from 0deg, #8a78ff, #9deaff, #eed9c4, #7766f4, #8a78ff);
  box-shadow: 0 0 16px rgba(139, 113, 255, 0.28);
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.music-play:hover,
.music-play:focus-visible {
  border-color: rgba(201, 244, 255, 0.95);
  box-shadow: 0 0 24px rgba(106, 210, 255, 0.62);
}

.music-play .play-icon,
.music-play .pause-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0.72rem;
  opacity: 0;
  background: rgba(7, 10, 22, 0.72);
  transition: opacity 0.18s ease;
}

.music-play:hover .play-icon,
.music-play:hover .pause-icon,
.music-play:focus-visible .play-icon,
.music-play:focus-visible .pause-icon {
  opacity: 1;
}

.music-player.is-playing .music-play:hover .play-icon,
.music-player.is-playing .music-play:focus-visible .play-icon {
  opacity: 0;
}

.music-player.is-playing .music-play:hover .pause-icon,
.music-player.is-playing .music-play:focus-visible .pause-icon {
  opacity: 1;
}

.music-play .pause-icon,
.music-player.is-playing .music-play .play-icon {
  display: none;
}

.music-player.is-playing .music-play .pause-icon {
  display: block;
}

.music-disc-center {
  pointer-events: none;
}

@media (hover: none) {
  .music-play .play-icon,
  .music-play .pause-icon {
    opacity: 1;
  }
}

.music-progress-row {
  gap: 0.5rem;
  margin-top: 0.55rem;
}

.music-time {
  min-width: 2rem;
  color: #9ba7c5;
  font-size: 0.65rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.music-progress,
.music-volume {
  height: 4px;
  margin: 0;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, #9d7bff, #66ddff);
  cursor: pointer;
}

.music-progress {
  flex: 1;
}

.music-progress:disabled {
  cursor: default;
  opacity: 0.42;
}

.music-progress::-webkit-slider-thumb,
.music-volume::-webkit-slider-thumb {
  width: 10px;
  height: 10px;
  border: 1px solid #eff5ff;
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
  background: #b6a8ff;
  box-shadow: 0 0 9px rgba(106, 220, 255, 0.75);
}

.music-progress::-moz-range-thumb,
.music-volume::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border: 1px solid #eff5ff;
  border-radius: 50%;
  background: #b6a8ff;
  box-shadow: 0 0 9px rgba(106, 220, 255, 0.75);
}

.music-volume-row {
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.55rem;
}

.music-status {
  overflow: hidden;
  color: #aeb8d1;
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #c9d0e8;
}

.volume-control svg {
  width: 1rem;
  height: 1rem;
}

.music-volume {
  width: 74px;
}

.music-player.is-playing .music-disc {
  animation: lunar-disc-spin 12s linear infinite;
}

@keyframes lunar-disc-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 480px) {
  .music-player {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    width: min(310px, calc(100vw - 1.5rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-power {
    animation: none;
    background-position: 50% 50%;
  }

  .music-player.is-playing .music-disc {
    animation: none;
  }
}

.legal-section {
  border-top: 1px solid var(--line);
  background: rgba(10, 15, 28, 0.48);
}

.legal-card {
  max-width: 900px;
  margin: 0 auto 1.25rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(141, 160, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.78);
  box-shadow: inset 0 0 28px rgba(121, 113, 255, 0.045);
  scroll-margin-top: 7rem;
}

.legal-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  cursor: pointer;
  list-style: none;
}

.legal-summary::-webkit-details-marker {
  display: none;
}

.legal-summary::after {
  content: "+";
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  margin-left: auto;
  place-items: center;
  border: 1px solid rgba(162, 181, 255, 0.3);
  border-radius: 50%;
  color: var(--secondary);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.legal-card[open] .legal-summary::after {
  content: "−";
  transform: rotate(180deg);
  background: rgba(122, 240, 255, 0.08);
}

.legal-summary:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 5px;
  border-radius: 0.3rem;
}

.legal-title {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 700;
}

.legal-content {
  padding-top: 0.8rem;
}

.legal-content h3 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.legal-content h4 {
  margin: 1.5rem 0 0.35rem;
  color: var(--text);
}

.legal-content p {
  margin: 0.65rem 0;
  color: var(--muted);
}

.legal-content a {
  color: var(--secondary);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.legal-label {
  display: inline-flex;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(156, 147, 255, 0.4);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.legal-warning {
  border-color: rgba(250, 204, 115, 0.48);
  background: linear-gradient(135deg, rgba(76, 56, 27, 0.42), rgba(15, 23, 42, 0.82));
}

.legal-warning .legal-label {
  border-color: rgba(250, 204, 115, 0.52);
  color: var(--warning);
}

.legal-review-note {
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--warning);
  border-radius: 0 0.7rem 0.7rem 0;
  background: rgba(250, 204, 115, 0.08);
}
