:root {
  --purple-950: #1c1030;
  --purple-900: #2a1748;
  --purple-800: #3d2466;
  --purple-700: #5a3a8f;
  --purple-600: #6f4aad;
  --purple-500: #8b6bc7;
  --purple-200: #d9c8f2;
  --purple-100: #eee6fa;
  --purple-50: #f7f3fc;
  --ink: #1a1228;
  --muted: #5c5270;
  --surface: #fbf8ff;
  --surface-alt: #f0eaf8;
  --line: rgba(61, 36, 102, 0.14);
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(42, 23, 72, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --radius: 18px;
  --max: 68rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(139, 107, 199, 0.22), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(90, 58, 143, 0.14), transparent 50%),
    var(--surface);
  min-height: 100vh;
}

.atmosphere {
  pointer-events: none;
  position: fixed;
  inset: 0;
  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)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.45;
  z-index: 0;
}

.site-header,
main {
  position: relative;
  z-index: 1;
}

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

a:hover {
  color: var(--purple-900);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--purple-900);
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a:hover {
  color: var(--purple-800);
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem 3rem;
  align-items: center;
  animation: rise 0.9s ease both;
}

.hero-brand {
  grid-column: 1;
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--purple-900);
}

.hero h1 {
  grid-column: 1;
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-lede {
  grid-column: 1;
  margin: 1.1rem 0 0;
  max-width: 36ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-visual {
  grid-column: 2;
  grid-row: 1 / span 4;
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 1;
  justify-self: end;
  margin-right: 0.5rem;
}

.orbit {
  position: absolute;
  inset: 8%;
  border: 1px solid var(--line);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}

.orbit-b {
  inset: 22%;
  animation-duration: 18s;
  animation-direction: reverse;
  border-color: rgba(111, 74, 173, 0.28);
}

.orbit::before,
.orbit-b::after {
  content: "";
  position: absolute;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--purple-600);
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
}

.orbit-b::after {
  left: auto;
  right: 0;
  transform: translate(50%, -50%);
  background: var(--purple-500);
  width: 0.5rem;
  height: 0.5rem;
}

.core {
  position: absolute;
  inset: 34%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--purple-700), var(--purple-900));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow);
  animation: pulse 4.5s ease-in-out infinite;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--purple-800);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--purple-950);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--purple-800);
  box-shadow: inset 0 0 0 1.5px rgba(61, 36, 102, 0.28);
}

.btn-ghost:hover {
  background: var(--purple-100);
  color: var(--purple-900);
}

.btn-on-dark {
  background: var(--white);
  color: var(--purple-900);
}

.btn-on-dark:hover {
  background: var(--purple-100);
  color: var(--purple-950);
}

.section-actions {
  margin-top: 1.75rem;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.5rem 4rem;
  animation: rise 0.8s ease both;
  animation-timeline: view();
  animation-range: entry 10% cover 30%;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(240, 234, 248, 0.85), transparent);
}

.section-yield {
  margin-bottom: 3rem;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(61, 36, 102, 0.96), rgba(42, 23, 72, 0.98));
  color: var(--purple-100);
  box-shadow: var(--shadow);
}

.section-yield .eyebrow {
  color: var(--purple-200);
}

.section-yield h2,
.section-yield .prose,
.section-yield .fineprint {
  color: var(--white);
}

.section-yield .prose {
  color: rgba(247, 243, 252, 0.86);
}

.section-yield strong {
  color: var(--white);
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--purple-600);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0 0 1.25rem;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.prose {
  margin: 0 0 1rem;
  max-width: 62ch;
  color: var(--muted);
}

.prose strong {
  color: var(--ink);
  font-weight: 700;
}

.reasons,
.uses,
.steps {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 60rem;
}

.reasons li,
.uses li,
.steps li {
  position: relative;
  padding: 1.1rem 0 1.1rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.reasons li:last-child,
.uses li:last-child,
.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.reasons strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--purple-900);
  font-size: 1.02rem;
}

.uses li {
  padding-left: 1.4rem;
}

.uses li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--purple-600);
}

.steps {
  counter-reset: step;
}

.steps li {
  display: grid;
  gap: 0.35rem;
  padding-left: 0;
  color: rgba(247, 243, 252, 0.86);
  border-top-color: rgba(217, 200, 242, 0.2);
}

.steps li:last-child {
  border-bottom-color: rgba(217, 200, 242, 0.2);
}

.step-label {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.fineprint {
  margin: 1.5rem 0 0;
  max-width: 55ch;
  color: rgba(217, 200, 242, 0.78);
  font-size: 0.92rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

@supports not (animation-timeline: view()) {
  .section {
    animation: none;
    opacity: 1;
  }
}

@media (max-width: 840px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 1.5rem;
    padding-bottom: 3rem;
  }

  .hero-brand,
  .hero h1,
  .hero-lede,
  .hero-actions,
  .hero-visual {
    grid-column: 1;
    grid-row: auto;
  }

  .hero-visual {
    order: -1;
    width: min(70vw, 240px);
    justify-self: start;
    margin: 0 0 0.5rem;
  }

  .hero-brand {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .section-yield {
    border-radius: 0;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 520px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}
