:root {
  --brand: #af45c2;
  --bg: #09040f;
  --bg-elevated: #140b1d;
  --accent: #d478e0;
  --accent-deep: #af45c2;
  --accent-soft: #e0a0ea;
  --text: #f8f4ff;
  --text-muted: #c9a8d4;
  --border: rgba(175, 69, 194, 0.22);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --shell: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.25rem;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 55% at 50% -15%, rgba(175, 69, 194, 0.4), transparent 58%),
    radial-gradient(ellipse 50% 35% at 100% 100%, rgba(175, 69, 194, 0.16), transparent 50%),
    linear-gradient(180deg, #14081f 0%, var(--bg) 42%, #050208 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: var(--accent-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #fff;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--accent-deep);
  color: #100816;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Atmosphere */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.55;
  will-change: transform;
}

.orb--a {
  width: min(48vw, 520px);
  height: min(48vw, 520px);
  top: -8%;
  left: 20%;
  background: rgba(175, 69, 194, 0.45);
  animation: driftA 18s ease-in-out infinite alternate;
}

.orb--b {
  width: min(36vw, 380px);
  height: min(36vw, 380px);
  right: -6%;
  top: 35%;
  background: rgba(212, 120, 224, 0.22);
  animation: driftB 22s ease-in-out infinite alternate;
}

.orb--c {
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  left: -10%;
  bottom: 5%;
  background: rgba(120, 40, 160, 0.28);
  animation: driftC 26s ease-in-out infinite alternate;
}

@keyframes driftA {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(8%, 12%, 0) scale(1.08);
  }
}

@keyframes driftB {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-12%, 8%, 0);
  }
}

@keyframes driftC {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(10%, -14%, 0);
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px) saturate(1.2);
  background: rgba(9, 4, 15, 0.55);
  border-bottom: 1px solid rgba(175, 69, 194, 0.14);
}

.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand__logo {
  height: 26px;
  width: auto;
  filter: drop-shadow(0 0 16px rgba(175, 69, 194, 0.35));
}

.nav {
  display: none;
  gap: 1.5rem;
}

.nav a {
  color: rgba(201, 168, 212, 0.85);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a:hover {
  color: #f8f4ff;
}

@media (min-width: 840px) {
  .nav {
    display: flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--sm {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
}

.btn--primary {
  background: linear-gradient(135deg, #e9d5ff, var(--accent-deep));
  color: #100816;
  box-shadow: 0 12px 28px rgba(175, 69, 194, 0.32);
}

.btn--primary:hover {
  color: #100816;
  box-shadow: 0 16px 36px rgba(175, 69, 194, 0.45);
  transform: translateY(-1px);
}

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

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100dvh - var(--header-h));
  display: grid;
  align-items: end;
  padding: 2.5rem 0 4.5rem;
  overflow: clip;
}

.hero__plane {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% 35%, rgba(175, 69, 194, 0.35), transparent 70%),
    linear-gradient(180deg, transparent 40%, rgba(5, 2, 8, 0.85) 100%);
}

.hero__glow {
  position: absolute;
  left: 50%;
  top: 28%;
  width: min(90vw, 820px);
  height: min(50vw, 420px);
  transform: translate(-50%, -40%);
  background: radial-gradient(circle, rgba(212, 120, 224, 0.35), transparent 68%);
  filter: blur(40px);
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  from {
    opacity: 0.55;
    transform: translate(-50%, -40%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -36%) scale(1.05);
  }
}

.wave {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: flex-end;
  gap: 0.35vw;
  height: min(38vh, 280px);
  width: min(96vw, 980px);
  opacity: 0.72;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.wave__bar {
  flex: 1;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, #f0d4ff, var(--accent-deep) 55%, rgba(80, 20, 110, 0.35));
  box-shadow: 0 0 18px rgba(175, 69, 194, 0.25);
  transform-origin: bottom center;
  animation: wavePulse var(--dur, 1.4s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
  min-width: 3px;
  height: var(--h, 40%);
}

@keyframes wavePulse {
  from {
    transform: scaleY(0.55);
    opacity: 0.55;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

.hero__content {
  position: relative;
  text-align: center;
  padding-top: min(28vh, 220px);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-soft);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-mark {
  margin: 0 auto 1.15rem;
  max-width: min(88vw, 560px);
}

.brand-mark img {
  width: 100%;
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 0 28px rgba(175, 69, 194, 0.45));
  animation: brandFloat 5.5s ease-in-out infinite alternate;
}

@keyframes brandFloat {
  from {
    transform: translateY(0);
    filter: drop-shadow(0 0 22px rgba(175, 69, 194, 0.35));
  }
  to {
    transform: translateY(-6px);
    filter: drop-shadow(0 0 40px rgba(212, 120, 224, 0.55));
  }
}

.hero__lead {
  margin: 0 auto 1.75rem;
  max-width: 34rem;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  line-height: 1.55;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Answer / SEO block */
.answer {
  padding: 3.5rem 0 1rem;
}

.answer h2,
.section-head h2,
.feel__item h3,
.steps__item h3,
.get h2,
.faq summary {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.answer h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  font-weight: 800;
}

.answer__text {
  margin: 0;
  max-width: 46rem;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.answer__text strong {
  color: #fff;
  font-weight: 700;
}

/* Sections */
.section-head {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.feel,
.how,
.presets,
.faq {
  padding: 4.5rem 0;
}

.feel__grid {
  display: grid;
  gap: 2.25rem 2.75rem;
}

@media (min-width: 800px) {
  .feel__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feel__item h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.feel__item p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.steps__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(175, 69, 194, 0.2);
}

.steps__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--accent);
  line-height: 1;
  padding-top: 0.15rem;
}

.steps__item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.steps__item p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Presets */
.preset-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.preset {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 1.25rem;
  border-left: 3px solid var(--accent-deep);
  background: linear-gradient(90deg, rgba(175, 69, 194, 0.12), transparent 70%);
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

.preset:hover {
  transform: translateX(4px);
  background: linear-gradient(90deg, rgba(175, 69, 194, 0.2), transparent 75%);
}

.preset[data-tone='subtle'] {
  border-color: #c9a8d4;
}

.preset[data-tone='classic'] {
  border-color: var(--accent);
}

.preset[data-tone='screwed'] {
  border-color: #f0d4ff;
}

.preset__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.preset__desc {
  color: var(--text-muted);
  line-height: 1.5;
}

/* FAQ */
.faq__list {
  display: grid;
  gap: 0.65rem;
  max-width: 46rem;
}

.faq__item {
  border-bottom: 1px solid rgba(175, 69, 194, 0.18);
  padding: 0.35rem 0 0.85rem;
}

.faq__item summary {
  cursor: pointer;
  list-style: none;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 0.75rem 0;
  color: #fff;
}

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

.faq__item summary::after {
  content: '+';
  float: right;
  color: var(--accent);
  font-weight: 700;
}

.faq__item[open] summary::after {
  content: '–';
}

.faq__item p {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* CTA */
.get {
  padding: 2rem 0 5rem;
}

.get__inner {
  text-align: center;
  padding: 3rem 1.25rem;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(175, 69, 194, 0.35), transparent 60%),
    rgba(20, 11, 29, 0.75);
  border: 1px solid rgba(175, 69, 194, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.get h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
}

.get p {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.get__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.get__note {
  margin: 0 !important;
  font-size: 0.85rem;
  color: rgba(201, 168, 212, 0.7);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(175, 69, 194, 0.16);
  padding: 2.5rem 0 3rem;
}

.site-footer__inner {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .site-footer__inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
  }
}

.site-footer__brand img {
  height: 22px;
  width: auto;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 0 12px rgba(175, 69, 194, 0.3));
}

.site-footer p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

.site-footer .muted {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: rgba(201, 168, 212, 0.65);
}

.site-footer a {
  text-decoration: none;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

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

  .orb,
  .wave__bar,
  .brand-mark img,
  .hero__glow {
    animation: none !important;
  }

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