:root {
  --bg: #140c12;
  --bg-2: #1c1218;
  --panel: #24161e;
  --panel-2: #2e1c26;
  --line: #4a3040;
  --ink: #f8f1f4;
  --text: #ddd0d6;
  --muted: #c4b0b8;
  --faint: #8d7380;
  --accent: #e48aa8;
  --accent-2: #c96b8a;
  --accent-hi: #f6c0d2;
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  --radius: 16px;
  --max: 1100px;
  --narrow: 720px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 60px;
  --font-body: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--accent-hi);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

strong {
  color: var(--ink);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.narrow {
  max-width: var(--narrow);
}

.container.narrow {
  max-width: calc(var(--narrow) + 2.5rem);
}

.center {
  text-align: center;
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  background: linear-gradient(180deg, rgba(20, 12, 18, 0.85), rgba(20, 12, 18, 0));
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(20, 12, 18, 0.9);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.logo-word {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
}

.logo-word span {
  color: var(--accent);
}

.logo-word small {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.age-pill {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-hi);
  border: 1px solid rgba(228, 138, 168, 0.45);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 2rem) 1.25rem 5rem;
  text-align: center;
}

.hero__bg,
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero__img {
  position: absolute;
  inset: -40px;
  background: #000 center top / cover no-repeat;
  filter: blur(16px) saturate(0.85) brightness(0.5) hue-rotate(-8deg);
  animation: drift 30s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: scale(1.1) translate(0, 0); }
  to { transform: scale(1.15) translate(-1.5%, 1%); }
}

.hero__img--desktop {
  background-image: url("../assets/bg-desktop.png");
}

.hero__img--mobile {
  display: none;
  background-image: url("../assets/bg-mobile.jpg");
}

.hero__veil {
  background:
    radial-gradient(ellipse 60% 45% at 50% 42%, rgba(20, 12, 18, 0.25), transparent 70%),
    linear-gradient(180deg, rgba(20, 12, 18, 0.35) 0%, rgba(20, 12, 18, 0.6) 65%, var(--bg) 100%);
}

.hero__inner {
  width: min(100%, 40rem);
  animation: rise 0.8s var(--ease) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-logo {
  display: block;
  width: min(100%, 24rem);
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.6));
}

.hero h1 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.hero-lead {
  margin: 0 auto 2rem;
  max-width: 34rem;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  color: rgba(248, 241, 244, 0.86);
}

.hero-note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.8rem 2.2rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  color: #2a1018;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 12px 32px rgba(228, 138, 168, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}

.cta:hover {
  color: #2a1018;
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 16px 40px rgba(228, 138, 168, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--muted);
  animation: bob 2.4s ease-in-out infinite;
}

.scroll-hint svg {
  width: 1.5rem;
  height: 1.5rem;
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* —— Sections —— */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  scroll-margin-top: var(--header-h);
}

.section--alt {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid rgba(74, 48, 64, 0.6);
  border-bottom: 1px solid rgba(74, 48, 64, 0.6);
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.section h2 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}

.section h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  color: var(--ink);
}

.section p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

/* Facts */
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 2rem 0 0;
}

.facts div {
  padding: 1rem 1.1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.facts dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.facts dd {
  margin: 0.2rem 0 0;
  font-weight: 600;
  color: var(--ink);
}

/* Cards */
.cards {
  display: grid;
  gap: 1rem;
  margin-top: 2.25rem;
}

.card {
  padding: 1.5rem 1.4rem;
  background: linear-gradient(165deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--muted);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: rgba(228, 138, 168, 0.1);
  color: var(--accent);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

/* Steps */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3.6rem;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  color: #2a1018;
  font-family: var(--font-display);
  font-weight: 700;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

/* Checklist */
.checklist {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.checklist li {
  position: relative;
  padding: 0.9rem 1rem 0.9rem 2.8rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 1.2rem;
  width: 0.9rem;
  height: 0.5rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* FAQ */
.faq {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 1.1rem 2.5rem 1.1rem 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq summary:hover {
  color: var(--accent-hi);
}

.faq details p {
  margin: 0 0 1.2rem;
  color: var(--muted);
}

/* Closing */
.closing {
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(228, 138, 168, 0.14), transparent 70%),
    var(--bg);
}

.closing p {
  margin-bottom: 1.75rem;
  color: var(--muted);
}

/* —— Footer —— */
.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  background: #0a0609;
  font-size: 0.85rem;
  color: var(--faint);
}

.site-footer p {
  margin: 0;
}

@media (min-width: 640px) {
  .facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  .hero__img--desktop {
    display: none;
  }

  .hero__img--mobile {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__img,
  .hero__inner,
  .scroll-hint,
  .cta {
    animation: none;
    transition: none;
  }
}
