:root {
  --bg: #090b13;
  --bg-soft: #0d101c;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.22);
  --text: #f7f7fb;
  --text-soft: #d6d8e4;
  --muted: #9aa0b4;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --amber: #f6b73c;
  --cyan: #22d3ee;
  --gradient: linear-gradient(100deg, #8b5cf6 0%, #ec4899 48%, #f6b73c 100%);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 18px 45px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1160px;
  --header-h: 92px;
  --font-display: "Avenir Next", Avenir, "Century Gothic", "Trebuchet MS", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 600px at 85% -5%, rgba(139, 92, 246, 0.20), transparent 60%),
    radial-gradient(900px 550px at -10% 18%, rgba(236, 72, 153, 0.14), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

body,
a,
button {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

::selection {
  background: rgba(236, 72, 153, 0.35);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff;
  color: #111;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(9, 11, 19, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
}

.brand img {
  width: clamp(190px, 24vw, 270px);
  height: auto;
  filter: drop-shadow(0 10px 26px rgba(139, 92, 246, 0.28));
  transition: transform 0.22s ease, filter 0.22s ease;
}

.brand:hover img {
  transform: translateY(-1px) scale(1.015);
  filter: drop-shadow(0 12px 30px rgba(236, 72, 153, 0.32));
}

.store-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.store-nav a {
  display: inline-flex;
  border-radius: 10px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.store-nav a:hover {
  transform: translateY(-2px);
  opacity: 0.88;
}

.store-nav img {
  width: clamp(96px, 12vw, 144px);
  height: auto;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(56px, 9vw, 110px) 0 clamp(72px, 9vw, 130px);
  overflow: clip;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.34;
}

.orb-a {
  top: -180px;
  right: -120px;
  background: #7c3aed;
}

.orb-b {
  bottom: -220px;
  left: -160px;
  background: #db2777;
}

.orb-c {
  top: 30%;
  left: 38%;
  width: 240px;
  height: 240px;
  background: #0ea5e9;
  opacity: 0.16;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.85), transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.85), transparent 75%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  align-items: center;
  gap: clamp(40px, 7vw, 84px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.85);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6.4vw, 4.9rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  max-width: 58ch;
  margin: 26px 0 0;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.75;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.store-link {
  display: inline-flex;
  border-radius: 14px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.store-link:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.store-link img {
  width: clamp(142px, 16vw, 168px);
  height: auto;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient);
}

/* Hero visual */

.hero-visual {
  position: relative;
  min-height: min(56vw, 480px);
}

.hero-card {
  position: relative;
  z-index: 2;
  width: min(78%, 430px);
  margin: 0 auto;
  border-radius: 30px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  padding: 12px;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.6deg);
  transition: transform 0.45s ease;
}

.hero-card:hover {
  transform: rotate(0deg) translateY(-6px);
}

.hero-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px;
}

.hero-card figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 8px 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 2.2s ease-out infinite;
}

.float-card {
  position: absolute;
  width: clamp(86px, 12vw, 140px);
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 1;
  animation: float 6s ease-in-out infinite;
}

.float-a {
  z-index: 3;
  top: 4%;
  left: 0;
  transform: rotate(-7deg);
  animation-delay: -2s;
}

.float-b {
  z-index: 3;
  right: 1%;
  bottom: 4%;
  transform: rotate(8deg);
  animation-delay: -4s;
}

.sparkle {
  position: absolute;
  z-index: 1;
  font-size: 2.2rem;
  line-height: 1;
  color: #fcd34d;
  text-shadow: 0 0 18px rgba(252, 211, 77, 0.7);
}

.sparkle-a {
  top: 11%;
  right: 7%;
}

.sparkle-b {
  bottom: 12%;
  left: 8%;
  color: #a78bfa;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(66px, 9vw, 120px) 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}

.section-heading-left {
  margin-inline: 0;
  text-align: left;
}

.section-kicker {
  margin: 0 0 14px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.section-heading h2,
.about h2,
.features h2,
.cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.section-subtitle {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

/* ---------- Gallery carousel ---------- */

.gallery {
  position: relative;
}

.gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.07), transparent);
  pointer-events: none;
}

.carousel {
  max-width: 760px;
  margin-inline: auto;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  box-shadow: var(--shadow-lg);
}

/* No-JS fallback: show a responsive gallery grid. */
.carousel-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.carousel-track .slide {
  position: relative;
  margin: 0;
}

.carousel-track .slide img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
}

.slide-caption {
  position: absolute;
  inset: auto 0 0 0;
  margin: 0;
  padding: 46px 18px 14px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
  border-radius: 0 0 14px 14px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
  pointer-events: none;
}

.slide-caption span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.js .carousel-track {
  display: flex;
  gap: 0;
  transform: translate3d(0, 0, 0);
  transition: transform 0.58s cubic-bezier(0.22, 0.8, 0.24, 1);
  will-change: transform;
}

.js .carousel-track .slide {
  flex: 0 0 100%;
  min-width: 0;
  position: relative;
}

.js .carousel-track .slide img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0;
  user-select: none;
  -webkit-user-drag: none;
}

.js .carousel-track .slide .slide-caption {
  border-radius: 0;
}

.js .carousel-viewport {
  touch-action: pan-y;
}

.carousel-toolbar,
.thumb-strip {
  display: none;
}

.js .carousel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.carousel-arrows {
  display: flex;
  gap: 8px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.icon-btn:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.11);
}

.icon-btn:active {
  transform: translateY(0);
}

.icon-btn svg {
  width: 22px;
  height: 22px;
}

.dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  max-width: 100%;
}

.dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.dot[aria-current="true"] {
  width: 26px;
  background: var(--gradient);
}

.pause-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.pause-btn:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.11);
}

.pause-btn svg {
  width: 16px;
  height: 16px;
}

.pause-btn .icon-play {
  display: none;
}

.pause-btn[aria-pressed="true"] .icon-pause {
  display: none;
}

.pause-btn[aria-pressed="true"] .icon-play {
  display: block;
}

.js .thumb-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 64px;
  gap: 10px;
  margin-top: 16px;
  padding: 10px 4px 6px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.js .thumb-strip::-webkit-scrollbar {
  display: none;
}

.thumb {
  padding: 3px;
  border: 2px solid transparent;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.thumb:hover {
  transform: translateY(-2px);
}

.thumb[aria-current="true"] {
  border-color: #f6b73c;
}

.thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 9px;
}

/* ---------- About / steps ---------- */

.about {
  border-block: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0));
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 80px);
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "number title"
    "number copy";
  column-gap: 18px;
  padding: 22px 22px 22px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.step-card:hover {
  transform: translateX(6px);
  border-color: var(--border-strong);
  background: var(--surface-strong);
}

.step-number {
  grid-area: number;
  align-self: start;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
}

.step-card h3 {
  grid-area: title;
  margin: 1px 0 7px;
  font-size: 1.08rem;
  font-weight: 750;
}

.step-card p {
  grid-area: copy;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* ---------- Features ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(236, 72, 153, 0.22));
  color: #e9d5ff;
  border: 1px solid rgba(236, 72, 153, 0.28);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.16rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

/* ---------- CTA ---------- */

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 5vw, 60px);
  padding: clamp(30px, 5vw, 56px);
  border-radius: 32px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(600px 250px at 90% -20%, rgba(236, 72, 153, 0.24), transparent 60%),
    radial-gradient(500px 250px at 0% 120%, rgba(139, 92, 246, 0.26), transparent 60%),
    rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.5;
  pointer-events: none;
}

.cta-copy {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 1.06rem;
  line-height: 1.8;
}

.store-row-vertical {
  margin-top: 0;
  flex-direction: column;
  align-items: stretch;
}

.store-row-vertical .store-link {
  justify-content: center;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.22);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 30px;
  padding-block: 40px;
}

.footer-logo {
  width: 190px;
  height: auto;
  opacity: 1;
  filter: drop-shadow(0 8px 22px rgba(139, 92, 246, 0.22));
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-copy {
  flex-basis: 100%;
  margin: 6px 0 0;
  color: #73798d;
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- Animations ---------- */

@keyframes float {
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: -14px;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(52, 211, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  :root {
    --header-h: 80px;
  }

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

  .hero-copy {
    text-align: center;
  }

  .hero-lede {
    margin-inline: auto;
  }

  .store-row,
  .hero-points {
    justify-content: center;
  }

  .hero-visual {
    min-height: min(72vw, 500px);
    margin-top: 14px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .section-heading-left {
    text-align: center;
    margin-inline: auto;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .store-row-vertical {
    flex-direction: row;
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    gap: 10px;
  }

  .brand img {
    width: clamp(128px, 40vw, 170px);
  }

  .store-nav {
    gap: 4px;
  }

  .store-nav img {
    width: clamp(70px, 20vw, 84px);
  }

  .hero-card {
    width: 86%;
  }

  .float-a {
    left: -4px;
  }

  .float-b {
    right: -4px;
  }

  .carousel-toolbar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .dots {
    order: 3;
    flex-basis: 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/* ---------- Reduced motion & print ---------- */

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

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

  .js .carousel-track {
    transition: none;
  }

  .hero-card,
  .hero-card:hover {
    transform: none;
  }
}

@media print {
  .site-header,
  .store-row,
  .carousel-toolbar,
  .thumb-strip,
  .cta-panel .store-row {
    display: none;
  }

  body {
    background: #fff;
    color: #111;
  }

  .carousel-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Legal pages ---------- */

.legal-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 650;
}

.legal-nav a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-page {
  padding: clamp(48px, 7vw, 84px) 0;
}

.legal-content {
  max-width: 880px;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
}

.legal-content h1 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.legal-content h2,
.legal-content h3,
.legal-content h4,
.legal-content strong {
  color: #fff;
}

.legal-content h2 {
  margin: 30px 0 12px;
  font-size: 1.28rem;
  line-height: 1.35;
}

.legal-content h3,
.legal-content h4 {
  margin: 24px 0 10px;
  font-size: 1.06rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.8;
}

.legal-content ol,
.legal-content ul {
  margin: 14px 0;
  padding-left: 24px;
}

.legal-content li {
  margin: 8px 0;
  padding-left: 4px;
}

.legal-content a {
  color: #a5b4fc;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: #e0e7ff;
}

.legal-content hr {
  margin: 30px 0;
  border: 0;
  border-top: 1px solid var(--border);
}

.legal-table {
  margin: 20px 0;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.legal-table table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  padding: 12px 14px;
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: left;
  vertical-align: top;
}

.legal-table tr:first-child th,
.legal-table tr:first-child td {
  color: #fff;
  font-weight: 750;
  background: rgba(255, 255, 255, 0.06);
}
