*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

/* =========================================================
   meku — shared tokens
   palette: violet/purple from market shots, green from logo
   ========================================================= */
:root {
  --ink: #0c0820;
  --ink-2: #150f30;
  --ink-3: #1d1644;
  --line: rgba(167, 139, 250, 0.18);
  --line-strong: rgba(167, 139, 250, 0.4);
  --text: #f5f1ff;
  --text-dim: rgba(245, 241, 255, 0.72);
  --text-mute: rgba(245, 241, 255, 0.5);
  --violet: #8b6bff;
  --violet-2: #a78bfa;
  --violet-deep: #6d28d9;
  --indigo: #4c1d95;
  --lime: #84f62e;
  --lime-2: #b6ff5e;
  --pink: #ff7ac4;
  --accent-grad: linear-gradient(115deg, #a78bfa 0%, #8b6bff 50%, #6d28d9 100%);
  --logo-grad: linear-gradient(135deg, #b6ff5e 0%, #84f62e 50%, #4ade80 100%);
}

/* =========================================================
   HOME
   ========================================================= */
body.page-home {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.page-home a {
  color: var(--violet-2);
  text-decoration: none;
}
.page-home a:hover {
  color: #fff;
}

/* —— backgrounds —— */
.bg-grid,
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.bg-grid {
  background-image:
    linear-gradient(rgba(167, 139, 250, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  opacity: 0.9;
}
.bg-glow {
  background:
    radial-gradient(ellipse 55% 45% at 12% 0%, rgba(139, 107, 255, 0.42), transparent 60%),
    radial-gradient(ellipse 55% 45% at 92% 12%, rgba(255, 122, 196, 0.22), transparent 65%),
    radial-gradient(ellipse 60% 40% at 50% 110%, rgba(132, 246, 46, 0.18), transparent 70%);
}
.page-home > *:not(.bg-grid):not(.bg-glow) {
  position: relative;
  z-index: 1;
}

/* —— header —— */
.page-home .site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.9rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(12, 8, 32, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
}
.page-home .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Fredoka", "Outfit", sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  color: #fff;
}
.page-home .brand:hover { color: #fff; }
.page-home .brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow:
    0 0 0 1.5px rgba(132, 246, 46, 0.6),
    0 6px 22px rgba(132, 246, 46, 0.3);
}
.page-home nav {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.page-home nav a {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.page-home nav a:hover {
  color: #fff;
  background: rgba(167, 139, 250, 0.1);
  border-color: var(--line);
}

/* —— utility —— */
.page-home main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-2);
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.eyebrow.center { margin: 0 auto; }
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet-2);
  box-shadow: 0 0 12px var(--violet-2);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.title-gradient {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 30px rgba(139, 107, 255, 0.45));
}
.title-lime {
  background: var(--logo-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 24px rgba(132, 246, 46, 0.35));
}

/* —— hero —— */
.hero {
  padding: 3.5rem 0 3rem;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr);
    gap: 4rem;
  }
}
.hero-copy h1 {
  font-family: "Fredoka", "Outfit", sans-serif;
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 1.1rem 0 1.25rem;
}
.hero-tagline {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-dim);
  max-width: 34rem;
  margin: 0 0 2rem;
  line-height: 1.65;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 2.5rem;
}
.hero-stats {
  list-style: none;
  margin: 0;
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-radius: 18px;
  background: rgba(167, 139, 250, 0.06);
  border: 1px solid var(--line);
}
.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.hero-stats strong {
  font-family: "Fredoka", "Outfit", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--violet-2);
  letter-spacing: -0.01em;
}
.hero-stats span {
  font-size: 0.78rem;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}

/* —— hero visual / phone stack —— */
.hero-visual {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1.05;
}
.phone {
  position: absolute;
  border-radius: 40px;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid rgba(167, 139, 250, 0.28);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(139, 107, 255, 0.22);
}
.phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone-back {
  top: 3%;
  right: 0;
  width: 62%;
  aspect-ratio: 9/19;
  transform: rotate(7deg);
  opacity: 0.92;
  filter: saturate(0.95);
}
.phone-front {
  bottom: 0;
  left: 0;
  width: 66%;
  aspect-ratio: 9/19;
  transform: rotate(-5deg);
  z-index: 2;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(167, 139, 250, 0.4),
    0 0 80px rgba(139, 107, 255, 0.42);
}
.chips-float {
  position: absolute;
  top: 6%;
  left: -2%;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  z-index: 3;
}
.chips-float .chip {
  padding: 0.5rem 0.95rem;
  font-family: "Fredoka", "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  background: rgba(20, 14, 50, 0.92);
  border: 1px solid var(--line-strong);
  color: var(--violet-2);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
  animation: drift 6s ease-in-out infinite;
}
.chips-float .chip:nth-child(2) { animation-delay: 0.8s; transform: translateX(14px); }
.chips-float .chip:nth-child(3) { animation-delay: 1.6s; transform: translateX(-8px); }
.chips-float .chip:nth-child(4) { animation-delay: 2.4s; transform: translateX(18px); }
.chips-float .chip:nth-child(5) { animation-delay: 3.2s; transform: translateX(6px); }
.chips-float .chip:nth-child(6) { animation-delay: 4.0s; transform: translateX(-12px); }
@keyframes drift {
  0%, 100% { transform: translateY(0) translateX(var(--x, 0)); }
  50% { transform: translateY(-6px) translateX(var(--x, 0)); }
}

/* —— buttons —— */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.4rem;
  border-radius: 14px;
  font-family: "Fredoka", "Outfit", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #fff !important;
  background: var(--accent-grad);
  box-shadow:
    0 12px 36px rgba(139, 107, 255, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}
.btn-store:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow:
    0 18px 44px rgba(139, 107, 255, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  color: #fff !important;
}
.btn-store .apple {
  width: 24px;
  height: 26px;
  color: #fff;
}
.btn-store span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}
.btn-store small {
  font-family: "DM Sans", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}
.btn-store.big {
  padding: 1.1rem 1.85rem;
  font-size: 1.12rem;
}
.btn-store.big .apple {
  width: 28px;
  height: 30px;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.15s, border-color 0.15s;
}
.btn-ghost:hover {
  background: rgba(167, 139, 250, 0.1);
  border-color: var(--line-strong);
  color: #fff !important;
}

/* —— about —— */
.about {
  margin: 2rem 0 5rem;
}
.about-card {
  position: relative;
  padding: 2.4rem 2.1rem;
  border-radius: 26px;
  background:
    linear-gradient(160deg, rgba(167, 139, 250, 0.1), rgba(132, 246, 46, 0.04));
  border: 1px solid var(--line);
  max-width: 920px;
  margin: 0 auto;
  overflow: hidden;
}
.about-card::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 107, 255, 0.32), transparent 70%);
  pointer-events: none;
}
.about-card::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(132, 246, 46, 0.18), transparent 70%);
  pointer-events: none;
}
.about-card h2 {
  font-family: "Fredoka", "Outfit", sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: -0.015em;
  position: relative;
}
.about-card p {
  margin: 0 0 1rem;
  color: var(--text-dim);
  line-height: 1.75;
  font-size: 1rem;
  position: relative;
}
.about-card p:last-child { margin-bottom: 0; }

/* —— features —— */
.features {
  padding: 2rem 0 1rem;
}
.section-head {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.section-head h2 {
  font-family: "Fredoka", "Outfit", sans-serif;
  font-size: clamp(1.9rem, 4.2vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
}
.section-head p {
  margin: 0;
  color: var(--text-mute);
  font-size: 1.02rem;
}
.feat-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 4.5rem;
}
@media (min-width: 900px) {
  .feat-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
    gap: 4rem;
    margin-bottom: 6rem;
  }
  .feat-row.reverse .feat-text { order: 2; }
  .feat-row.reverse .feat-visual { order: 1; }
}
.feat-text { padding: 0; }
.feat-num {
  display: inline-block;
  font-family: "Fredoka", "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--violet-2);
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  margin-bottom: 1rem;
  background: rgba(167, 139, 250, 0.08);
}
.feat-text h3 {
  font-family: "Fredoka", "Outfit", sans-serif;
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 0.4rem;
  line-height: 1.08;
  color: #fff;
}
.feat-sub {
  font-family: "Fredoka", "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--violet-2);
  margin: 0 0 1rem;
}
.feat-text > p {
  margin: 0 0 1.2rem;
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 34rem;
}
.feat-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.feat-tags li {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.feat-visual {
  margin: 0;
  position: relative;
  padding: 14px;
  border-radius: 38px;
  background:
    radial-gradient(ellipse at top, rgba(167, 139, 250, 0.32), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 70px rgba(139, 107, 255, 0.22);
}
.feat-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
}

/* —— pillars —— */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2rem 0 5rem;
}
.pillar {
  padding: 1.85rem 1.6rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: rgba(167, 139, 250, 0.06);
}
.pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet-2);
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid var(--line-strong);
  margin-bottom: 1rem;
}
.pillar-icon svg {
  width: 22px;
  height: 22px;
}
.pillar h4 {
  font-family: "Fredoka", "Outfit", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #fff;
  letter-spacing: -0.005em;
}
.pillar p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-mute);
  line-height: 1.6;
}

/* —— cta —— */
.cta {
  margin: 2rem 0 3rem;
}
.cta-inner {
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 32px;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(139, 107, 255, 0.32), transparent 70%),
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(132, 246, 46, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(167, 139, 250, 0.08), rgba(76, 29, 149, 0.04));
  border: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.cta-inner h2 {
  font-family: "Fredoka", "Outfit", sans-serif;
  font-size: clamp(1.9rem, 4.4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0.5rem 0 0;
}
.cta-inner > p {
  margin: 0;
  color: var(--text-dim);
  max-width: 32rem;
  font-size: 1.04rem;
}

/* —— footer —— */
.page-home .site-footer {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.75rem 1.5rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.foot-brand img {
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(132, 246, 46, 0.45);
}
.foot-brand strong {
  display: block;
  font-family: "Fredoka", "Outfit", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: -0.005em;
}
.foot-brand span {
  font-size: 0.82rem;
  color: var(--text-mute);
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.foot-links a {
  padding: 0.5rem 0.95rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.foot-links a:hover {
  color: #fff;
  border-color: var(--line-strong);
  background: rgba(167, 139, 250, 0.1);
}
.copyright {
  margin: 1.5rem 0 0;
  font-size: 0.8rem;
  color: var(--text-mute);
  text-align: center;
}

/* =========================================================
   LEGAL (privacy / terms)
   — clean white card on violet shell, with green logo accent
   ========================================================= */
body.page-legal {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", system-ui, sans-serif;
  background:
    radial-gradient(ellipse 90% 50% at 50% 0%, rgba(139, 107, 255, 0.45), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(255, 122, 196, 0.22), transparent 70%),
    radial-gradient(ellipse 60% 40% at 0% 70%, rgba(132, 246, 46, 0.16), transparent 70%),
    var(--ink);
  color: #1a1530;
  line-height: 1.7;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
}
.page-legal a {
  color: var(--violet-deep);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(109, 40, 217, 0.32);
  text-underline-offset: 2px;
}
.page-legal a:hover {
  color: var(--indigo);
  text-decoration-color: currentColor;
}
.page-legal .site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(110deg, #150f30 0%, #1d1644 55%, #2a1265 100%);
  border-bottom: 1px solid rgba(167, 139, 250, 0.25);
  color: #fff;
}
.page-legal .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Fredoka", "Outfit", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: #fff !important;
  text-decoration: none;
}
.page-legal .brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow:
    0 0 0 1px rgba(132, 246, 46, 0.55),
    0 4px 16px rgba(132, 246, 46, 0.35);
}
.page-legal .brand:hover {
  opacity: 0.92;
  text-decoration: none;
}
.page-legal nav {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}
.page-legal nav a {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-family: "Fredoka", "Outfit", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78) !important;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
}
.page-legal nav a:hover {
  background: rgba(167, 139, 250, 0.18);
  border-color: rgba(167, 139, 250, 0.4);
  color: #fff !important;
  text-decoration: none;
}
.page-legal nav a[aria-current="page"] {
  background: var(--accent-grad);
  color: #fff !important;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(139, 107, 255, 0.45);
}
.page-legal .legal-subnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  font-family: "Fredoka", "Outfit", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(20, 14, 50, 0.65);
  border-bottom: 1px solid rgba(167, 139, 250, 0.14);
  backdrop-filter: blur(10px);
}
.page-legal .legal-subnav a {
  color: rgba(255, 255, 255, 0.75) !important;
  padding: 0.42rem 0.95rem;
  border-radius: 8px;
  text-decoration: none;
}
.page-legal .legal-subnav a:hover {
  background: rgba(167, 139, 250, 0.14);
  color: #fff !important;
  text-decoration: none;
}
.page-legal .legal-subnav a[aria-current="page"] {
  background: var(--violet);
  color: #fff !important;
}
.page-legal .legal-subnav .sep {
  color: rgba(255, 255, 255, 0.32);
}
.page-legal main.legal-doc {
  max-width: 48rem;
  margin: 2.75rem auto 4rem;
  padding: 3rem 2.5rem 2.75rem;
  background: #fffbff;
  border-radius: 24px;
  box-shadow:
    0 0 0 1px rgba(167, 139, 250, 0.22),
    0 10px 0 var(--violet),
    0 50px 100px rgba(20, 10, 60, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
}
.page-legal main.legal-doc::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--accent-grad);
  border-radius: 24px 24px 0 0;
}
@media (max-width: 600px) {
  .page-legal main.legal-doc {
    margin: 1.5rem 1rem 3rem;
    padding: 2rem 1.4rem 2.1rem;
    border-radius: 20px;
  }
  .page-legal main.legal-doc::before {
    border-radius: 20px 20px 0 0;
  }
}
.page-legal .legal-doc h1 {
  font-family: "Fredoka", "Outfit", sans-serif;
  font-size: clamp(1.85rem, 3.6vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 0.5rem;
  color: var(--indigo);
}
.page-legal .legal-doc .meta {
  display: inline-block;
  color: var(--violet-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0 0 1.85rem;
  padding: 0.32rem 0.8rem;
  background: rgba(167, 139, 250, 0.18);
  border-radius: 8px;
}
.page-legal .legal-doc h2 {
  font-family: "Fredoka", "Outfit", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 2.4rem 0 0.7rem;
  color: var(--indigo);
  padding: 0.4rem 0 0.4rem 1rem;
  border-left: 4px solid var(--violet);
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.18), transparent 70%);
  border-radius: 0 8px 8px 0;
}
.page-legal .legal-doc p,
.page-legal .legal-doc li {
  color: #2f2845;
  margin: 0 0 0.85rem;
}
.page-legal .legal-doc ul {
  padding-left: 1.3rem;
  margin: 0 0 1rem;
}
.page-legal .legal-doc ul li::marker {
  color: var(--violet);
}
.page-legal .legal-doc hr {
  border: none;
  height: 2px;
  margin: 2.25rem 0;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, rgba(139, 107, 255, 0.5), transparent);
}
.page-legal footer {
  padding: 1.5rem 1.5rem 2.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: "Fredoka", "Outfit", sans-serif;
}
.page-legal footer a {
  color: var(--violet-2) !important;
  text-decoration: none;
}
.page-legal footer a:hover {
  color: #fff !important;
  text-decoration: underline;
}
