:root {
  --void: #07040f;
  --velvet: #12081c;
  --plum: #3a1742;
  --indigo: #1e1448;
  --magenta: #c24d9a;
  --magenta-soft: #e879c0;
  --haze: #8b5a9e;
  --star: #f4effc;
  --star-dim: rgba(244, 239, 252, 0.62);
  --line: rgba(226, 180, 220, 0.16);
  --glow: rgba(194, 77, 154, 0.35);
  --font: "Sora", sans-serif;
  --shell: min(1120px, calc(100% - 2.5rem));
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--star);
  background:
    radial-gradient(ellipse 80% 50% at 15% -10%, rgba(194, 77, 154, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(30, 20, 72, 0.55), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(58, 23, 66, 0.4), transparent 45%),
    var(--void);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

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

a {
  color: var(--magenta-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--star);
}

.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);
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(7, 4, 15, 0.72);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--star);
}

.brand-mark {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--magenta-soft), var(--plum) 55%, var(--indigo));
  box-shadow: 0 0 18px var(--glow);
  animation: pulse-star 4.5s var(--ease) infinite;
}

.brand-name {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  color: var(--star-dim);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 400;
}

.site-nav a:hover,
.site-nav a.nav-cta {
  color: var(--star);
}

.nav-cta {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(194, 77, 154, 0.2), rgba(30, 20, 72, 0.4));
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 4px 0;
  background: var(--star);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(12, 6, 22, 0.97);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    border: 0;
    background: none;
    padding-inline: 0;
  }
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.btn-primary {
  color: var(--star);
  background: linear-gradient(145deg, #9b3d7a, #4a1f6b 55%, #1a1040);
  border-color: rgba(232, 121, 192, 0.35);
  box-shadow: 0 8px 28px rgba(90, 20, 70, 0.35);
}

.btn-primary:hover {
  color: var(--star);
  box-shadow: 0 10px 36px rgba(194, 77, 154, 0.4);
}

.btn-primary:active {
  transform: scale(0.96);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0 1px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
  pointer-events: none;
}

.btn-primary:active::after {
  opacity: 0.45;
  transform: scale(1.15);
}

.btn-ghost {
  color: var(--star-dim);
  background: transparent;
  border-color: var(--line);
}

.btn-ghost:hover {
  color: var(--star);
  border-color: rgba(232, 121, 192, 0.4);
}

/* Hero — full bleed, brand-led */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.45);
  animation: hero-drift 28s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 4, 15, 0.35) 0%, rgba(7, 4, 15, 0.55) 45%, rgba(7, 4, 15, 0.92) 100%),
    radial-gradient(ellipse at 20% 80%, rgba(194, 77, 154, 0.25), transparent 50%);
  pointer-events: none;
}

.hero-stars {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1.5px 1.5px at 78% 22%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1px 1px at 42% 40%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 88% 68%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 28% 72%, rgba(255, 255, 255, 0.5), transparent);
  opacity: 0.7;
  animation: twinkle 6s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 5rem 0 4.5rem;
  max-width: 34rem;
  animation: rise-in 1s var(--ease) both;
}

.hero-brand {
  display: block;
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  color: var(--star);
}

.hero-line {
  margin: 0 0 0.85rem;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 400;
  color: var(--magenta-soft);
  line-height: 1.35;
}

.hero-support {
  margin: 0 0 1.75rem;
  color: var(--star-dim);
  font-size: 1rem;
  max-width: 28rem;
}

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

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.05) translate(0, 0);
  }
  to {
    transform: scale(1.12) translate(-1.5%, 1%);
  }
}

@keyframes twinkle {
  from {
    opacity: 0.45;
  }
  to {
    opacity: 0.85;
  }
}

@keyframes pulse-star {
  0%,
  100% {
    box-shadow: 0 0 14px var(--glow);
  }
  50% {
    box-shadow: 0 0 26px rgba(232, 121, 192, 0.55);
  }
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  color: var(--star-dim);
}

.section-muted {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(18, 8, 28, 0.55);
}

/* Service / content lists — not card-heavy */
.offer-list {
  display: grid;
  gap: 0;
}

.offer-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  align-items: center;
}

.offer-row:last-child {
  border-bottom: 1px solid var(--line);
}

.offer-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.85);
}

.offer-row h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.offer-row h3 a {
  color: var(--star);
  text-decoration: none;
}

.offer-row h3 a:hover {
  color: var(--magenta-soft);
}

.offer-row p {
  margin: 0 0 0.85rem;
  color: var(--star-dim);
}

.offer-meta {
  font-size: 0.85rem;
  color: var(--haze);
}

@media (max-width: 720px) {
  .offer-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Evidence / quotes */
.evidence {
  display: grid;
  gap: 2rem;
}

.evidence blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--star);
}

.evidence cite {
  display: block;
  margin-top: 0.85rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--haze);
}

/* Page hero (inner) */
.page-hero {
  position: relative;
  padding: 4rem 0 3rem;
  overflow: hidden;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.page-hero p {
  margin: 0;
  max-width: 36rem;
  color: var(--star-dim);
}

.page-hero-media {
  margin-top: 2rem;
}

.page-hero-media img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.7);
}

/* Prose */
.prose {
  max-width: 40rem;
}

.prose h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.35rem;
}

.prose p,
.prose li {
  color: var(--star-dim);
}

.prose ul {
  padding-left: 1.2rem;
}

.price-note {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--magenta-soft);
}

/* Blog */
.blog-list {
  display: grid;
  gap: 2.5rem;
}

.blog-item {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.blog-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.75);
}

.blog-item h2 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.blog-item h2 a {
  color: var(--star);
  text-decoration: none;
}

.blog-item h2 a:hover {
  color: var(--magenta-soft);
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--haze);
  margin-bottom: 0.5rem;
}

@media (max-width: 640px) {
  .blog-item {
    grid-template-columns: 1fr;
  }
}

/* Framework steps */
.steps {
  counter-reset: step;
  display: grid;
  gap: 0;
}

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--magenta-soft);
  letter-spacing: 0.04em;
}

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

.step p {
  margin: 0;
  color: var(--star-dim);
}

/* Forms */
.form {
  max-width: 32rem;
  display: grid;
  gap: 1.1rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  color: var(--star-dim);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--star);
  background: rgba(18, 8, 28, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s var(--ease);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(232, 121, 192, 0.55);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.field-error {
  display: none;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #ff9ec8;
}

.form-field.is-invalid .field-error {
  display: block;
}

.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: #ff6b9d;
}

.form-status {
  display: none;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  border: 1px solid var(--line);
}

.form-status.is-success {
  display: block;
  color: #d4f5e2;
  border-color: rgba(120, 200, 160, 0.35);
  background: rgba(30, 80, 55, 0.25);
}

.form-status.is-error {
  display: block;
  color: #ffc0d8;
  border-color: rgba(255, 107, 157, 0.4);
  background: rgba(80, 20, 45, 0.35);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 50;
  padding: 1rem 0 1.25rem;
  background: rgba(12, 6, 22, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.cookie-banner[hidden] {
  display: none !important;
}

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

.cookie-inner p {
  margin: 0;
  flex: 1 1 18rem;
  font-size: 0.9rem;
  color: var(--star-dim);
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
}

.cookie-error {
  width: var(--shell);
  margin: 0.5rem auto 0;
  color: #ff9ec8;
  font-size: 0.85rem;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
  background: rgba(7, 4, 15, 0.65);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 2rem;
}

.footer-name {
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.footer-tag {
  margin: 0;
  color: var(--star-dim);
  font-size: 0.9rem;
}

.footer-nav,
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-nav a,
.footer-legal a {
  text-decoration: none;
  color: var(--star-dim);
  font-size: 0.9rem;
}

.footer-nav a:hover,
.footer-legal a:hover {
  color: var(--star);
}

.footer-contact p {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  color: var(--star-dim);
}

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

.footer-base {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.footer-base p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--haze);
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* 404 */
.error-page {
  padding: 6rem 0;
  text-align: center;
}

.error-page h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3rem);
}

.error-page p {
  color: var(--star-dim);
  margin: 0 0 1.5rem;
}

/* Utility */
.cta-band {
  padding: 3.5rem 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.cta-band p {
  margin: 0 auto 1.4rem;
  max-width: 28rem;
  color: var(--star-dim);
}

.feature-ticks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-ticks li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--star-dim);
  font-size: 0.92rem;
}

.feature-ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 8px var(--glow);
}
