:root {
  --night: #020617;
  --night-soft: #080a1b;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --white: #f8fafc;
  --purple: #a855f7;
  --purple-dark: #7e22ce;
  --pink: #ec4899;
  --fuchsia: #f0abfc;
  --blue: #38bdf8;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--slate-300);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  height: 82px;
}

.nav-shell,
.section-shell,
.footer-shell {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.nav-shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: auto;
  height: 36px;
  object-fit: contain;
}

.wordmark {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.wordmark strong {
  color: #c084fc;
}

.brand-context {
  margin-left: 10px;
  padding-left: 20px;
  border-left: 1px solid rgb(148 163 184 / 24%);
  color: var(--slate-400);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

nav > a:not(.nav-cta) {
  padding: 10px 15px;
  color: var(--slate-400);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: color 180ms ease, background 180ms ease;
}

nav > a:not(.nav-cta):hover,
nav > a:not(.nav-cta):focus-visible {
  background: rgb(255 255 255 / 5%);
  color: white;
}

.nav-cta {
  margin-left: 10px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  background: #9333ea;
  color: white;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 0 34px rgb(168 85 247 / 16%);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: #a855f7;
  box-shadow: 0 0 42px rgb(168 85 247 / 28%);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 820px;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 105%, rgb(126 34 206 / 18%), transparent 46%),
    radial-gradient(ellipse at 85% 15%, rgb(168 85 247 / 10%), transparent 40%),
    var(--night-soft);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, var(--night) 100%);
  pointer-events: none;
}

.mesh {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(at 27% 37%, rgb(168 85 247 / 11%) 0, transparent 48%),
    radial-gradient(at 97% 21%, rgb(236 72 153 / 9%) 0, transparent 48%),
    radial-gradient(at 10% 60%, rgb(192 132 252 / 6%) 0, transparent 45%);
}

.wave-field {
  position: absolute;
  inset: 58px -10% 0;
  opacity: 0.9;
  mask-image: linear-gradient(to bottom, transparent 3%, black 25%, black 77%, transparent 98%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 3%, black 25%, black 77%, transparent 98%);
}

.wave {
  position: absolute;
  left: -5%;
  width: 110%;
  height: 42%;
  border: 1px solid transparent;
  border-top-color: rgb(168 85 247 / 46%);
  border-radius: 50%;
  filter: drop-shadow(0 0 12px rgb(168 85 247 / 13%));
  animation: wave-drift 12s ease-in-out infinite alternate;
}

.wave-1 { top: 13%; transform: rotate(8deg) scaleX(1.15); }
.wave-2 { top: 24%; border-top-color: rgb(236 72 153 / 42%); transform: rotate(-7deg) scaleX(1.2); animation-delay: -3s; }
.wave-3 { top: 34%; transform: rotate(4deg) scaleX(1.3); animation-delay: -6s; }
.wave-4 { top: 45%; border-top-color: rgb(236 72 153 / 33%); transform: rotate(-5deg) scaleX(1.1); animation-delay: -8s; }
.wave-5 { top: 54%; border-top-color: rgb(192 132 252 / 34%); transform: rotate(7deg) scaleX(1.4); animation-delay: -2s; }
.wave-6 { top: 65%; border-top-color: rgb(236 72 153 / 25%); transform: rotate(-3deg) scaleX(1.22); animation-delay: -10s; }

@keyframes wave-drift {
  from { translate: -1.5% -8px; }
  to { translate: 1.5% 12px; }
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(960px, calc(100% - 48px));
  padding-top: 62px;
  text-align: center;
}

.badge {
  width: fit-content;
  margin: 0 auto 28px;
  padding: 9px 15px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgb(192 132 252 / 24%);
  border-radius: 999px;
  background: rgb(168 85 247 / 6%);
  color: #d8b4fe;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.badge span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c084fc;
  box-shadow: 0 0 12px #c084fc;
}

.hero h1 {
  margin: 0;
  color: white;
  font-size: clamp(52px, 6.7vw, 92px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.01;
}

.gradient-text {
  display: block;
  background: linear-gradient(90deg, #c084fc 8%, #ec4899 50%, #f0abfc 92%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-intro {
  max-width: 690px;
  margin: 28px auto 0;
  color: var(--slate-400);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.button {
  min-height: 54px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background 200ms ease;
}

.button-primary {
  background: linear-gradient(100deg, #9333ea, #db2777);
  color: white;
  box-shadow: 0 16px 44px rgb(168 85 247 / 18%);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 50px rgb(236 72 153 / 28%);
  transform: translateY(-2px);
}

.button-secondary {
  border: 1px solid var(--slate-700);
  background: rgb(15 23 42 / 35%);
  color: var(--slate-300);
  backdrop-filter: blur(12px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgb(168 85 247 / 55%);
  background: rgb(255 255 255 / 5%);
  color: white;
}

.scroll-cue {
  position: absolute;
  top: calc(100% + 72px);
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 9px;
  color: var(--slate-400);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue i {
  width: 20px;
  height: 32px;
  padding-top: 7px;
  display: flex;
  justify-content: center;
  border: 1px solid var(--slate-700);
  border-radius: 999px;
}

.scroll-cue i::after {
  content: "";
  width: 3px;
  height: 7px;
  border-radius: 999px;
  background: var(--slate-400);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(7px); opacity: 1; }
}

.dot-grid {
  position: relative;
}

.dot-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(148 163 184 / 7%) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.resources-section {
  padding: 120px 0 130px;
  border-top: 1px solid rgb(148 163 184 / 9%);
  background: linear-gradient(180deg, #080d1a, var(--night));
}

.section-shell {
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-label {
  margin: 0 0 16px;
  color: #c084fc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-heading h2,
.about-section h2,
.download-section h2 {
  margin: 0;
  color: white;
  font-size: clamp(38px, 4.7vw, 64px);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.section-heading > p:last-child {
  max-width: 620px;
  margin: 22px auto 0;
  color: var(--slate-400);
  font-size: 16px;
  line-height: 1.7;
}

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

.resource-card {
  --accent: var(--purple);
  position: relative;
  min-height: 340px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgb(148 163 184 / 9%);
  border-radius: 18px;
  background: rgb(15 23 42 / 62%);
  backdrop-filter: blur(18px);
  transition: transform 350ms ease, border-color 350ms ease, box-shadow 350ms ease, background 350ms ease;
}

.resource-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent 34%, var(--accent), transparent 70%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 350ms ease;
  pointer-events: none;
}

.resource-card::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(70px);
  opacity: 0.08;
  transition: opacity 350ms ease;
}

.resource-card:hover,
.resource-card:focus-visible {
  border-color: transparent;
  background: rgb(15 23 42 / 86%);
  box-shadow: 0 24px 60px -18px color-mix(in srgb, var(--accent) 30%, transparent);
  outline: none;
  transform: translateY(-6px);
}

.resource-card:hover::before,
.resource-card:focus-visible::before {
  opacity: 1;
}

.resource-card:hover::after,
.resource-card:focus-visible::after {
  opacity: 0.16;
}

.accent-purple { --accent: #a855f7; }
.accent-pink { --accent: #ec4899; }
.accent-blue { --accent: #38bdf8; }

.card-top,
.card-action {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-number {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.file-type {
  padding: 6px 9px;
  border: 1px solid rgb(148 163 184 / 14%);
  border-radius: 999px;
  color: var(--slate-400);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.card-copy {
  position: relative;
  z-index: 1;
}

.resource-card h3 {
  margin: 0 0 16px;
  color: white;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.resource-card p {
  margin: 0;
  color: var(--slate-400);
  font-size: 14px;
  line-height: 1.7;
}

.card-action {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgb(148 163 184 / 10%);
  color: var(--slate-300);
  font-size: 12px;
  font-weight: 650;
}

.card-action span:last-child {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 50%;
  color: var(--accent);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.resource-card:hover .card-action span:last-child,
.resource-card:focus-visible .card-action span:last-child {
  background: var(--accent);
  color: white;
  transform: rotate(-8deg);
}

.about-section {
  padding: 130px 0;
  border-top: 1px solid rgb(148 163 184 / 8%);
  background: var(--night);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(60px, 9vw, 140px);
  align-items: start;
}

.about-copy > p {
  margin: 4px 0 38px;
  color: var(--slate-400);
  font-size: 18px;
  line-height: 1.75;
}

.about-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgb(148 163 184 / 14%);
}

.about-copy li {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  border-bottom: 1px solid rgb(148 163 184 / 14%);
  color: var(--slate-300);
  font-size: 14px;
  line-height: 1.5;
}

.about-copy li span {
  color: #c084fc;
  font-size: 11px;
  font-weight: 800;
}

.download-section {
  position: relative;
  padding: 118px 24px;
  overflow: hidden;
  border-top: 1px solid rgb(168 85 247 / 22%);
  border-bottom: 1px solid rgb(168 85 247 / 22%);
  background: linear-gradient(-45deg, #0f172a, #1a1035, #2d1b69, #1e1145);
  background-size: 300% 300%;
  animation: gradient-shift 15s ease infinite;
  text-align: center;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0 50%; }
  50% { background-position: 100% 50%; }
}

.download-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(236 72 153 / 14%), transparent 63%);
  transform: translate(-50%, -50%);
}

.download-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.download-section h2 {
  font-size: clamp(42px, 5.4vw, 70px);
}

.download-section p:not(.section-label) {
  margin: 22px 0 34px;
  color: var(--slate-300);
  font-size: 17px;
}

footer {
  border-top: 1px solid rgb(148 163 184 / 10%);
  background: var(--night);
}

.footer-shell {
  min-height: 116px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  color: var(--slate-400);
  font-size: 11px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-brand img {
  width: auto;
  height: 28px;
}

.footer-shell p {
  margin: 0;
}

.footer-shell > a {
  justify-self: end;
  color: var(--slate-300);
  font-weight: 600;
}

a:focus-visible {
  outline: 2px solid #c084fc;
  outline-offset: 4px;
}

@media (max-width: 960px) {
  .brand-context,
  nav > a:not(.nav-cta) {
    display: none;
  }

  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .nav-shell,
  .section-shell,
  .footer-shell {
    width: min(100% - 36px, 1280px);
  }

  .site-header {
    height: 72px;
  }

  .brand img {
    height: 29px;
  }

  .wordmark {
    font-size: 17px;
  }

  .nav-cta {
    margin: 0;
    padding: 10px 15px;
    font-size: 11px;
  }

  .nav-cta span {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    width: min(100% - 36px, 960px);
  }

  .badge {
    font-size: 9px;
    letter-spacing: 0.05em;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 60px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .scroll-cue {
    display: none;
  }

  .resources-section,
  .about-section {
    padding: 88px 0;
  }

  .section-heading {
    margin-bottom: 42px;
  }

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

  .resource-card {
    min-height: 320px;
  }

  .download-section {
    padding: 90px 18px;
  }

  .footer-shell {
    padding: 30px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .footer-shell p {
    width: 100%;
    order: 3;
  }
}

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

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