:root {
  --purple: #863bff;
  --purple-bright: #a06bff;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-500: #64748b;
  --green: #4ade80;
  --blue: #38bdf8;
  --orange: #fb923c;
  --pink: #f472b6;
  --cyan: #22d3ee;
  --max: 68rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(to bottom right, var(--slate-900), #3b0764, var(--slate-900));
  background-attachment: fixed;
  color: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a {
  color: var(--purple-bright);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand img {
  width: 26px;
  height: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--purple);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: 9999px;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.btn:hover {
  background: var(--purple-bright);
  transform: translateY(-1px);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--slate-700);
  color: var(--slate-300);
}

.btn-ghost:hover {
  background: rgba(148, 163, 184, 0.08);
  border-color: var(--slate-500);
}

/* Hero */
.hero-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.5;
  filter: saturate(0.75) contrast(1.05) brightness(0.8);
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    115deg,
    rgba(15, 23, 42, 0.92) 0%,
    rgba(59, 7, 100, 0.72) 45%,
    rgba(15, 23, 42, 0.5) 100%
  );
}

.hero {
  position: relative;
  z-index: 2;
  padding: 7rem 1.5rem 8rem;
}

/* Drifting aurora blobs behind the hero */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.4;
  pointer-events: none;
  z-index: -1;
}

.b1 {
  width: 34rem;
  height: 34rem;
  top: -8rem;
  right: -10rem;
  background: radial-gradient(circle, rgba(134, 59, 255, 0.55), transparent 65%);
  animation: drift1 22s ease-in-out infinite alternate;
}

.b2 {
  width: 24rem;
  height: 24rem;
  bottom: -6rem;
  left: -8rem;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.3), transparent 65%);
  animation: drift2 26s ease-in-out infinite alternate;
}

.b3 {
  width: 18rem;
  height: 18rem;
  top: 30%;
  left: 45%;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.25), transparent 65%);
  animation: drift3 18s ease-in-out infinite alternate;
}

@keyframes drift1 {
  to {
    transform: translate(-6rem, 4rem) scale(1.15);
  }
}

@keyframes drift2 {
  to {
    transform: translate(5rem, -3rem) scale(1.1);
  }
}

@keyframes drift3 {
  to {
    transform: translate(4rem, 3rem) scale(0.9);
  }
}


.hero h1 {
  font-size: clamp(2.5rem, 7.5vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  max-width: 18ch;
}

.hero h1 span {
  color: var(--purple-bright);
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--slate-300);
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.note {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--slate-500);
}

/* Trick name ticker */
.ticker {
  overflow: hidden;
  border-top: 1px solid rgba(51, 65, 85, 0.5);
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
  padding: 1.1rem 0;
  background: rgba(15, 23, 42, 0.4);
}

.ticker-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: ticker 48s linear infinite;
}

.ticker span {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--slate-400);
}

.ticker span::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--purple-bright);
  opacity: 0.6;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* Sections */
section.block {
  padding: 6rem 0;
  border-top: 1px solid rgba(51, 65, 85, 0.5);
}

section.tint {
  background: rgba(134, 59, 255, 0.07);
}

h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.block > .wrap > p,
.block .intro {
  color: var(--slate-300);
  max-width: 44rem;
  font-size: 1.05rem;
}

.block p + p {
  margin-top: 0.9rem;
}

/* Feature rows — full-width banner cards */
.features {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}

.feature {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(19rem, 34vw, 26rem);
  border: 1px solid rgba(51, 65, 85, 0.7);
  border-radius: 1.5rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  background:
    radial-gradient(120% 180% at 100% 0%, var(--tint, rgba(160, 107, 255, 0.16)) 0%, transparent 55%),
    rgba(30, 41, 59, 0.5);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: var(--accent, var(--purple-bright));
}

.feature .photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(0.8) contrast(1.05) brightness(0.85);
  transition: transform 0.6s ease;
}

.feature:hover .photo {
  transform: scale(1.045);
}

.feature .shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.72) 45%, rgba(15, 23, 42, 0.25) 100%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.55) 0%, transparent 55%),
    radial-gradient(120% 180% at 100% 0%, var(--tint, rgba(160, 107, 255, 0.16)) 0%, transparent 55%);
}

.feature .num,
.feature .icon,
.feature h3,
.feature p {
  position: relative;
  z-index: 1;
}

.feature .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  margin-bottom: 1.1rem;
  color: var(--accent, var(--purple-bright));
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.feature .icon svg {
  width: 1.5rem;
  height: 1.5rem;
  transition: transform 0.3s ease;
}

.feature:hover .icon svg {
  transform: scale(1.15) rotate(-6deg);
}

.feature .num {
  position: absolute;
  top: 0.75rem;
  right: 1.5rem;
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--accent, var(--purple-bright));
  opacity: 0.35;
  user-select: none;
  pointer-events: none;
}

.feature h3 {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  max-width: 22ch;
}

.feature p {
  color: var(--slate-300);
  max-width: 36rem;
  font-size: 1rem;
}

.f-green {
  --accent: var(--green);
  --tint: rgba(74, 222, 128, 0.13);
}

.f-blue {
  --accent: var(--blue);
  --tint: rgba(56, 189, 248, 0.13);
}

.f-orange {
  --accent: var(--orange);
  --tint: rgba(251, 146, 60, 0.13);
}

.f-purple {
  --accent: var(--purple-bright);
  --tint: rgba(160, 107, 255, 0.16);
}

.f-pink {
  --accent: var(--pink);
  --tint: rgba(244, 114, 182, 0.13);
}

.f-cyan {
  --accent: var(--cyan);
  --tint: rgba(34, 211, 238, 0.13);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .blob,
  .ticker-track {
    animation: none;
  }

  .feature,
  .feature .photo,
  .feature .icon svg,
  .btn,
  .btn .arrow {
    transition: none;
  }
}

/* FAQ */
.faq {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
  max-width: 46rem;
}

.faq details {
  border: 1px solid rgba(51, 65, 85, 0.7);
  border-radius: 1rem;
  background: rgba(30, 41, 59, 0.5);
  padding: 1.1rem 1.35rem;
  transition: border-color 0.2s ease;
}

.faq details[open] {
  border-color: var(--purple-bright);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--purple-bright);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin-top: 0.75rem;
  color: var(--slate-300);
  font-size: 0.95rem;
}

.contact-mail {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 1.15rem;
  font-weight: 600;
}

/* Footer */
footer {
  border-top: 1px solid rgba(51, 65, 85, 0.6);
  padding: 2.5rem 0 3rem;
  color: var(--slate-500);
  font-size: 0.875rem;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.foot nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Legal pages */
.legal {
  padding: 2rem 0 4rem;
  max-width: 52rem;
}

.legal h1 {
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.legal .meta {
  color: var(--slate-500);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2.25rem 0 0.75rem;
}

.legal p + p,
.legal ul + p,
.legal ol + p {
  margin-top: 0.75rem;
}

.back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  text-decoration: none;
}

.back:hover {
  text-decoration: underline;
}

/* Policy component classes.
   privacy.html is generated from src/PrivacyPolicy.jsx, which is written with
   Tailwind. The site ships no Tailwind, so the subset of utilities that component
   uses is implemented here, scoped to .legal. scripts/build-privacy.mjs fails if
   the component starts using a utility that is missing from this section. */

.legal .text-\[10px\] {
  font-size: 10px;
}

.legal .text-sm {
  font-size: 0.875rem;
}

.legal .text-base {
  font-size: 1rem;
}

.legal .font-medium {
  font-weight: 500;
}

.legal .font-semibold {
  font-weight: 600;
}

.legal .font-bold {
  font-weight: 700;
}

.legal .uppercase {
  text-transform: uppercase;
}

.legal .tracking-wider {
  letter-spacing: 0.05em;
}

.legal .underline {
  text-decoration: underline;
}

.legal .block {
  display: block;
}

.legal .text-white {
  color: #fff;
}

.legal .text-slate-300 {
  color: var(--slate-300);
}

.legal .text-slate-400 {
  color: var(--slate-400);
}

.legal .text-slate-500 {
  color: var(--slate-500);
}

.legal .text-purple-300 {
  color: var(--purple-bright);
}

.legal .mt-1 {
  margin-top: 0.25rem;
}

.legal .mt-2 {
  margin-top: 0.5rem;
}

.legal .mt-3 {
  margin-top: 0.75rem;
}

.legal .mt-5 {
  margin-top: 1.75rem;
}

.legal .mb-2 {
  margin-bottom: 0.5rem;
}

.legal .ml-2 {
  margin-left: 0.5rem;
}

.legal .ml-4 {
  margin-left: 1rem;
}

.legal .space-y-1 > * + * {
  margin-top: 0.25rem;
}

.legal .space-y-1\.5 > * + * {
  margin-top: 0.375rem;
}

.legal .space-y-2 > * + * {
  margin-top: 0.5rem;
}

.legal .list-disc {
  list-style-type: disc;
}

.legal .list-decimal {
  list-style-type: decimal;
}

.legal .list-inside {
  list-style-position: inside;
}

.legal .border {
  border-width: 1px;
  border-style: solid;
}

.legal .border-slate-700 {
  border-color: var(--slate-700);
}

.legal .rounded-xl {
  border-radius: 0.75rem;
}

.legal .p-3 {
  padding: 0.75rem;
}

.legal .bg-slate-800\/40 {
  background: rgba(30, 41, 59, 0.4);
}
