:root {
  --void: #07040a;
  --ink: #120814;
  --plum: #2a1430;
  --plum-mid: #3d1f45;
  --magenta: #c44d8a;
  --magenta-soft: #e08ab8;
  --indigo: #4a3a8c;
  --indigo-deep: #241848;
  --star: #f2eef8;
  --star-dim: rgba(242, 238, 248, 0.55);
  --mist: rgba(196, 77, 138, 0.12);
  --line: rgba(242, 238, 248, 0.12);
  --font: "Outfit", system-ui, sans-serif;
  --radius: 2px;
  --shell: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.25rem;
}

*,
*::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 10% -10%, rgba(74, 58, 140, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(196, 77, 138, 0.2), transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(42, 20, 48, 0.9), transparent 60%),
    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.2s 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;
  height: var(--header-h);
  backdrop-filter: blur(14px);
  background: rgba(7, 4, 10, 0.72);
  border-bottom: 1px solid var(--line);
}

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

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

.brand-mark {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, var(--star) 0 8%, transparent 9%),
    radial-gradient(circle at 70% 55%, var(--star) 0 4%, transparent 5%),
    linear-gradient(135deg, var(--plum-mid), var(--indigo));
  box-shadow: 0 0 0 1px rgba(196, 77, 138, 0.45);
  animation: star-pulse 4.5s ease-in-out infinite;
}

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

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

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

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

.nav-cta {
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(196, 77, 138, 0.55);
  background: linear-gradient(180deg, rgba(196, 77, 138, 0.25), rgba(36, 24, 72, 0.4));
  color: var(--star) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--star);
}

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

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(12, 6, 16, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

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

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
    border-bottom: 0 !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.35rem;
  font: inherit;
  font-weight: 550;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.2s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--px, 50%) var(--py, 50%), rgba(242, 238, 248, 0.35), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.btn:hover::after {
  opacity: 1;
}

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

.btn-primary {
  background: linear-gradient(165deg, var(--magenta), #8a2f6a 55%, var(--indigo-deep));
  color: var(--star);
  box-shadow: 0 8px 28px rgba(196, 77, 138, 0.22);
}

.btn-primary:hover {
  color: var(--star);
  box-shadow: 0 10px 32px rgba(196, 77, 138, 0.35);
}

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

.btn-ghost:hover {
  border-color: rgba(196, 77, 138, 0.55);
  color: var(--star);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero — full bleed */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  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.7) brightness(0.45);
  transform: scale(1.02);
  animation: slow-drift 28s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 4, 10, 0.35) 0%, rgba(7, 4, 10, 0.55) 40%, rgba(7, 4, 10, 0.92) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(74, 58, 140, 0.35), transparent 50%);
  pointer-events: none;
}

.hero-stars {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(242, 238, 248, 0.9), transparent),
    radial-gradient(1px 1px at 28% 68%, rgba(242, 238, 248, 0.7), transparent),
    radial-gradient(1.2px 1.2px at 62% 18%, rgba(242, 238, 248, 0.85), transparent),
    radial-gradient(1px 1px at 78% 42%, rgba(242, 238, 248, 0.65), transparent),
    radial-gradient(1.4px 1.4px at 88% 76%, rgba(242, 238, 248, 0.8), transparent),
    radial-gradient(1px 1px at 45% 88%, rgba(242, 238, 248, 0.55), transparent);
  animation: twinkle 6s ease-in-out infinite alternate;
  pointer-events: none;
  opacity: 0.85;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 4rem 0 5rem;
  max-width: 38rem;
  animation: rise-in 0.9s ease both;
}

.hero-brand {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--star);
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 400;
  color: var(--star-dim);
  letter-spacing: 0.01em;
  max-width: 28rem;
}

.hero-lead {
  margin: 1.15rem 0 0;
  color: var(--star-dim);
  font-size: 1.02rem;
  max-width: 30rem;
}

/* 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;
}

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

.eyebrow {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta-soft);
  font-weight: 500;
}

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

@media (max-width: 860px) {
  .offer-split {
    grid-template-columns: 1fr;
  }
}

.offer-visual {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.offer-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  filter: saturate(0.85);
}

.offer-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(36, 24, 72, 0.35), rgba(196, 77, 138, 0.15));
  pointer-events: none;
}

.offer-copy h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  letter-spacing: -0.02em;
}

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

.offer-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.offer-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.35rem;
  border-top: 1px solid var(--line);
  color: var(--star-dim);
}

.offer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 8px rgba(196, 77, 138, 0.6);
}

/* Service list (not card grid aesthetic — editorial rows) */
.service-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

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

.service-row:hover {
  background: rgba(42, 20, 48, 0.35);
}

.service-row img {
  width: 140px;
  height: 90px;
  object-fit: cover;
  filter: saturate(0.8);
}

.service-row h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 550;
  color: var(--star);
}

.service-row p {
  margin: 0;
  color: var(--star-dim);
  font-size: 0.95rem;
}

.service-row .arrow {
  color: var(--magenta-soft);
  font-size: 1.25rem;
  padding-right: 0.5rem;
}

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

  .service-row img {
    width: 100%;
    height: 160px;
  }

  .service-row .arrow {
    display: none;
  }
}

/* Evidence */
.evidence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

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

.evidence blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--star-dim);
}

.evidence blockquote p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--star);
}

.evidence cite {
  font-style: normal;
  font-size: 0.88rem;
  color: var(--magenta-soft);
}

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

.page-hero.with-media {
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  padding: 0;
}

.page-hero.with-media .page-hero-media {
  position: absolute;
  inset: 0;
}

.page-hero.with-media .page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65) brightness(0.4);
}

.page-hero.with-media .shell {
  position: relative;
  z-index: 2;
  padding: 4rem 0 3rem;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: -0.025em;
  max-width: 18ch;
}

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

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

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

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

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

.prose a {
  color: var(--magenta-soft);
}

/* Feature detail */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

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

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

.feature-grid li {
  padding: 0.65rem 0;
  border-top: 1px solid var(--line);
  color: var(--star-dim);
}

.price-note {
  margin-top: 1.5rem;
  font-size: 1.05rem;
}

.price-note strong {
  color: var(--magenta-soft);
  font-weight: 600;
}

/* Blog */
.blog-list {
  display: flex;
  flex-direction: column;
}

.blog-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

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

.blog-item img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.blog-item h2 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  color: var(--star);
}

.blog-item p {
  margin: 0;
  color: var(--star-dim);
  font-size: 0.95rem;
}

.blog-meta {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  color: var(--magenta-soft);
  letter-spacing: 0.04em;
}

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

  .blog-item img {
    height: 180px;
  }
}

/* Pricing */
.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pricing-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}

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

.pricing-row h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.pricing-row p {
  margin: 0;
  color: var(--star-dim);
  font-size: 0.95rem;
}

.pricing-amt {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--magenta-soft);
  white-space: nowrap;
}

.pricing-amt small {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--star-dim);
  text-align: right;
}

/* Playbook steps */
.steps {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

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

.step-num {
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--magenta);
  letter-spacing: -0.02em;
  line-height: 1;
}

.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 label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  background: rgba(18, 8, 20, 0.75);
  color: var(--star);
  border-radius: var(--radius);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 1px solid var(--magenta);
  border-color: var(--magenta);
}

.field-error {
  color: #f0a0c0;
  font-size: 0.82rem;
  min-height: 1.1em;
}

.form-status {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: rgba(42, 20, 48, 0.5);
  font-size: 0.95rem;
}

.form-status.is-success {
  border-color: rgba(196, 77, 138, 0.55);
}

.form-status.is-error {
  border-color: rgba(240, 160, 192, 0.55);
  color: #f0a0c0;
}

.form-status[hidden],
.field-error:empty {
  display: none;
}

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

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

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

.cookie-inner p {
  margin: 0;
  color: var(--star-dim);
  font-size: 0.92rem;
  max-width: 42rem;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

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

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

@media (max-width: 700px) {
  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .btn {
    flex: 1;
  }
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding: 3rem 0 0;
  background: linear-gradient(180deg, transparent, rgba(18, 8, 20, 0.65));
}

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

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

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

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

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

.footer-label {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta-soft);
}

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

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

.footer-links a {
  color: var(--star-dim);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-block;
  padding: 0.2rem 0;
}

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

.footer-base {
  padding: 1rem 0 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--star-dim);
  font-size: 0.82rem;
}

.footer-base p {
  margin: 0;
}

/* 404 */
.not-found {
  min-height: calc(100vh - var(--header-h) - 12rem);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 3rem 1.25rem;
}

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

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

/* CTA band */
.cta-band {
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 20% 50%, rgba(196, 77, 138, 0.15), transparent 50%),
    rgba(18, 8, 20, 0.4);
}

.cta-band h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

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

/* Animations */
@keyframes star-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(196, 77, 138, 0.45);
  }
  50% {
    box-shadow: 0 0 12px 2px rgba(196, 77, 138, 0.55);
  }
}

@keyframes twinkle {
  from {
    opacity: 0.55;
  }
  to {
    opacity: 0.95;
  }
}

@keyframes slow-drift {
  from {
    transform: scale(1.02) translate(0, 0);
  }
  to {
    transform: scale(1.06) translate(-1.5%, 1%);
  }
}

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

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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