:root {
  --void: #07040f;
  --velvet: #12081c;
  --plum: #3b1248;
  --magenta: #c026a8;
  --magenta-haze: #e879f9;
  --indigo: #312e81;
  --indigo-deep: #1e1b4b;
  --star: #f4e8ff;
  --text: #ebe4f5;
  --text-muted: #a89bb8;
  --surface: rgba(28, 14, 42, 0.72);
  --surface-strong: rgba(36, 18, 54, 0.9);
  --line: rgba(232, 121, 249, 0.18);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 1.1rem;
  --font: "Outfit", system-ui, sans-serif;
  --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(--text);
  line-height: 1.7;
  background:
    radial-gradient(ellipse 70% 50% at 12% -10%, rgba(192, 38, 168, 0.28), transparent 55%),
    radial-gradient(ellipse 55% 40% at 92% 8%, rgba(49, 46, 129, 0.55), transparent 50%),
    radial-gradient(ellipse 60% 45% at 50% 100%, rgba(59, 18, 72, 0.55), transparent 55%),
    linear-gradient(165deg, var(--void) 0%, var(--velvet) 45%, #0d0618 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 12%, rgba(244, 232, 255, 0.9), transparent),
    radial-gradient(1px 1px at 22% 38%, rgba(244, 232, 255, 0.65), transparent),
    radial-gradient(1.5px 1.5px at 48% 18%, rgba(244, 232, 255, 0.75), transparent),
    radial-gradient(1px 1px at 72% 28%, rgba(244, 232, 255, 0.55), transparent),
    radial-gradient(1px 1px at 88% 62%, rgba(244, 232, 255, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 35% 72%, rgba(244, 232, 255, 0.5), transparent),
    radial-gradient(1px 1px at 62% 84%, rgba(244, 232, 255, 0.6), transparent),
    radial-gradient(1px 1px at 15% 88%, rgba(244, 232, 255, 0.45), transparent);
  animation: star-drift 40s linear infinite;
  z-index: 0;
  opacity: 0.85;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 35% at 70% 40%, rgba(192, 38, 168, 0.12), transparent 70%);
  animation: nebula-breathe 14s ease-in-out infinite;
  z-index: 0;
}

@keyframes star-drift {
  from { transform: translateY(0); }
  to { transform: translateY(-24px); }
}

@keyframes nebula-breathe {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.04); }
}

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

@keyframes velvet-particle {
  0% { box-shadow: 0 0 0 0 rgba(232, 121, 249, 0.45); }
  100% { box-shadow: 0 0 0 18px rgba(232, 121, 249, 0); }
}

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

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

a {
  color: var(--magenta-haze);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #f5d0fe;
}

.shell {
  width: min(1120px, calc(100% - 2.4rem));
  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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  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.65rem;
  text-decoration: none;
  color: var(--star);
}

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 30%, var(--magenta-haze) 0%, var(--magenta) 40%, var(--indigo) 75%, var(--void) 100%);
  box-shadow: 0 0 16px rgba(232, 121, 249, 0.35);
}

.brand-name {
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--surface);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--star);
}

.site-nav ul {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--star);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s var(--ease), background 0.22s var(--ease), color 0.22s var(--ease), box-shadow 0.22s var(--ease);
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(145deg, var(--magenta) 0%, #7c3aed 55%, var(--indigo) 100%);
  color: var(--star);
  box-shadow: 0 10px 28px rgba(192, 38, 168, 0.28);
}

.btn--primary:hover {
  color: #fff;
  transform: translateY(-1px) scale(0.98);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--star);
}

.btn--ghost:hover {
  background: rgba(232, 121, 249, 0.1);
  color: var(--star);
}

.btn.is-pressed {
  animation: velvet-particle 0.65s ease-out;
  transform: scale(0.96);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* Hero: full-bleed stage with brand + headline stack (not dual-CTA default) */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.48);
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 4, 15, 0.35) 0%, rgba(7, 4, 15, 0.55) 40%, rgba(18, 8, 28, 0.94) 100%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(192, 38, 168, 0.28), transparent 55%);
}

.hero__stage {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 5.5rem 0 4rem;
}

.hero__copy {
  max-width: 36rem;
  animation: rise-in 0.95s var(--ease) both;
}

.hero__brand {
  margin: 0;
  font-weight: 300;
  font-size: clamp(2.4rem, 6.5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--star);
  text-shadow: 0 12px 50px rgba(192, 38, 168, 0.35);
}

.hero__headline {
  margin: 1rem 0 0;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--magenta-haze);
  animation: rise-in 1s var(--ease) 0.1s both;
}

.hero__lead {
  margin: 1rem 0 0;
  color: rgba(235, 228, 245, 0.88);
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  font-weight: 300;
  animation: rise-in 1s var(--ease) 0.18s both;
}

.hero__cta {
  margin-top: 1.6rem;
  animation: rise-in 1s var(--ease) 0.26s both;
}

.section {
  padding: 4.5rem 0;
}

.section--tight {
  padding: 3rem 0 4.5rem;
}

.section__title {
  margin: 0 0 0.75rem;
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--star);
  letter-spacing: -0.02em;
}

.section__lead {
  margin: 0 0 1.5rem;
  max-width: 38rem;
  color: var(--text-muted);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.split--reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}

.offer-list {
  display: grid;
  gap: 1rem;
}

.offer-list a {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.15rem;
  align-items: center;
  padding: 0.85rem;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.offer-list a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(232, 121, 249, 0.35);
  color: inherit;
}

.offer-list img {
  width: 7.5rem;
  height: 5.5rem;
  object-fit: cover;
  border-radius: calc(var(--radius) - 0.35rem);
}

.offer-list h3 {
  margin: 0 0 0.35rem;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--star);
}

.offer-list p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.quote-flow {
  display: grid;
  gap: 1.25rem;
}

.quote-flow blockquote {
  margin: 0;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border-left: 3px solid var(--magenta);
  border-radius: 0 1rem 1rem 0;
  color: var(--text);
  font-weight: 300;
  font-size: 1.05rem;
}

.quote-flow cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.nebula-panel {
  padding: 1.75rem 1.85rem;
  border-radius: calc(var(--radius) + 0.15rem);
  background:
    linear-gradient(145deg, rgba(59, 18, 72, 0.55), rgba(30, 27, 75, 0.45)),
    radial-gradient(circle at 90% 10%, rgba(232, 121, 249, 0.2), transparent 45%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.panel-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.panel-cta__title {
  margin: 0;
}

.panel-cta__lead {
  margin: 0.5rem 0 0;
}

.page-hero {
  padding: 3.5rem 0 1.5rem;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--star);
  letter-spacing: -0.025em;
}

.page-hero p {
  margin: 0;
  max-width: 40rem;
  color: var(--text-muted);
}

.prose {
  max-width: 44rem;
}

.prose h2 {
  margin: 2rem 0 0.75rem;
  font-weight: 500;
  color: var(--star);
  font-size: 1.4rem;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

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

.service-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}

.media-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.media-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: inherit;
}

.media-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-tile__body {
  padding: 1.2rem 1.25rem 1.4rem;
}

.media-tile h2,
.media-tile h3 {
  margin: 0 0 0.45rem;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--star);
}

.media-tile p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.feature-image {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 2.5rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.article-shell {
  display: grid;
  gap: 1.75rem;
  max-width: 48rem;
}

.form-panel {
  max-width: 34rem;
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-field {
  margin-bottom: 1.1rem;
}

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

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: rgba(7, 4, 15, 0.65);
  font: inherit;
  color: var(--text);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(232, 121, 249, 0.45);
  outline-offset: 1px;
}

.form-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field-error {
  min-height: 1.15rem;
  margin: 0.3rem 0 0;
  color: #f9a8d4;
  font-size: 0.85rem;
}

.form-status {
  margin: 0.75rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  font-size: 0.92rem;
}

.form-status[data-state="success"] {
  background: rgba(49, 46, 129, 0.45);
  color: var(--star);
}

.form-status[data-state="error"] {
  background: rgba(157, 23, 77, 0.35);
  color: #fce7f3;
}

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

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

.footer-name {
  margin: 0;
  font-size: 1.3rem;
  color: var(--star);
  font-weight: 500;
}

.footer-tagline,
.footer-grid p {
  color: var(--text-muted);
  margin: 0.4rem 0;
}

.footer-heading {
  margin: 0 0 0.65rem;
  font-weight: 600;
  color: var(--star);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--magenta-haze);
}

.footer-base {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 0;
  right: 0;
  z-index: 50;
}

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.cookie-inner p {
  margin: 0;
  flex: 1 1 16rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

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

.cookie-error {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0.5rem auto 0;
  color: #f9a8d4;
  font-size: 0.88rem;
}

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
  margin: 0;
  padding: 0;
}

.steps li {
  list-style: none;
  position: relative;
  padding: 1.15rem 1.25rem 1.15rem 3.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text-muted);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--magenta), var(--indigo));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.lens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.lens-item {
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.lens-item h3 {
  margin: 0 0 0.5rem;
  color: var(--star);
  font-weight: 500;
  font-size: 1.1rem;
}

.lens-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1.2rem;
}

.error-page h1 {
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--star);
  margin: 0 0 0.75rem;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 4, 15, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.2rem 1.2rem;
    display: none;
  }

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

  .site-nav ul {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero {
    min-height: 78vh;
  }

  .hero__stage {
    padding: 4rem 0 3rem;
  }

  .split,
  .split--reverse,
  .service-grid,
  .blog-grid,
  .footer-grid,
  .lens-grid {
    grid-template-columns: 1fr;
  }

  .offer-list a {
    grid-template-columns: 5.5rem 1fr;
  }

  .offer-list img {
    width: 5.5rem;
    height: 4.5rem;
  }
}
