:root {
  --bg: #130916;
  --bg-deep: #0d0710;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #fff4fa;
  --muted: #d7c4da;
  --pink: #ff5f93;
  --pink-soft: #ff9ec2;
  --violet: #814cff;
  --gold: #ffd76a;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #1a0c22 0%, #130916 55%, #0d0710 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

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

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

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 95, 147, 0.22), transparent 22%),
    radial-gradient(circle at 84% 15%, rgba(129, 76, 255, 0.2), transparent 20%),
    radial-gradient(circle at 72% 72%, rgba(255, 215, 106, 0.08), transparent 18%);
}

.site-bg::before,
.site-bg::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(28px);
  animation: floatGlow 13s ease-in-out infinite;
}

.site-bg::before {
  width: 18rem;
  height: 18rem;
  top: 18%;
  left: -4rem;
  background: rgba(255, 95, 147, 0.16);
}

.site-bg::after {
  width: 20rem;
  height: 20rem;
  top: 52%;
  right: -5rem;
  background: rgba(129, 76, 255, 0.14);
  animation-delay: -5s;
}

.shell {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(19, 9, 22, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand__logo,
.footer-card__logo,
.policy-hero-panel__logo,
.hero-stage__logo {
  object-fit: cover;
  box-shadow: 0 18px 38px rgba(255, 95, 147, 0.24);
}

.brand__logo {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 1rem;
}

.brand__tag,
.section-kicker {
  display: block;
  color: var(--pink-soft);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.brand__name {
  display: block;
  margin-top: 0.12rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.topnav a {
  padding: 0.82rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  transition: 180ms ease;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.landing,
.policy-page,
.error-page {
  padding: 2rem 0 3rem;
}

.hero-panel,
.policy-hero-panel,
.story-card,
.feature-card,
.highlight-band,
.footer-card,
.policy-block {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.4rem;
  padding: 1.4rem;
  border-radius: 2.25rem;
}

.hero-copy,
.hero-stage__frame,
.policy-hero-panel,
.story-card,
.feature-card,
.highlight-band,
.footer-card,
.policy-block {
  border-radius: 1.8rem;
}

.hero-copy {
  padding: 1rem 0.35rem 1rem 0.3rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.68rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--pink-soft);
  font-size: 0.84rem;
}

.hero-panel h1,
.policy-hero-panel h1,
.section-head h2,
.story-card h2 {
  margin: 0.9rem 0 0.8rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-panel h1,
.policy-hero-panel h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
}

.section-head h2,
.story-card h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.hero-text,
.section-head p,
.story-card p,
.feature-card p,
.highlight-band p,
.footer-card p,
.policy-block p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.mini-pill {
  padding: 0.8rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.hero-stage__frame {
  min-height: 100%;
  padding: 1.4rem;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(155deg, rgba(255, 112, 160, 0.18), rgba(50, 23, 75, 0.84));
}

.hero-stage {
  min-height: 34rem;
}

.hero-stage__glow {
  position: absolute;
  inset: auto auto 2rem 2rem;
  width: 11rem;
  height: 11rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 95, 147, 0.42), transparent 65%);
  filter: blur(8px);
}

.hero-stage__logo {
  width: 7rem;
  height: 7rem;
  margin-left: auto;
  border-radius: 2rem;
  animation: floatCard 7s ease-in-out infinite;
}

.hero-stage__card {
  margin-top: 4.5rem;
  padding: 1.4rem;
  border-radius: 1.5rem;
  background: rgba(11, 7, 18, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.card-label {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--gold);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

.hero-stage__card h2,
.story-card h3,
.feature-card h3,
.policy-block h2 {
  margin: 0 0 0.65rem;
  font-size: 1.45rem;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 1rem;
  margin-top: 1.2rem;
}

.story-card,
.feature-card,
.highlight-band,
.footer-card,
.policy-block {
  padding: 1.45rem;
}

.story-card--large {
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 215, 106, 0.1), transparent 18%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
}

.feature-section {
  margin-top: 1.25rem;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.section-head p {
  max-width: 30rem;
}

.feature-grid,
.policy-layout {
  display: grid;
  gap: 1rem;
}

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

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(255, 95, 147, 0.28), rgba(129, 76, 255, 0.24));
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  font-weight: 800;
}

.highlight-band {
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background:
    radial-gradient(circle at left, rgba(255, 95, 147, 0.14), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

.cta-link {
  white-space: nowrap;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: white;
  font-weight: 800;
  box-shadow: 0 18px 32px rgba(255, 95, 147, 0.22);
}

.cta-link--secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  box-shadow: none;
}

.footer {
  padding: 0 0 2.5rem;
}

.footer-card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-card__logo {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 1.4rem;
}

.policy-page {
  display: grid;
  gap: 1.2rem;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.error-panel {
  width: min(720px, 100%);
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(160deg, rgba(255, 95, 147, 0.14), rgba(34, 16, 48, 0.88));
  box-shadow: var(--shadow);
}

.error-panel__logo {
  width: 6.5rem;
  height: 6.5rem;
  margin: 0 auto 1rem;
  border-radius: 1.8rem;
  object-fit: cover;
  box-shadow: 0 18px 38px rgba(255, 95, 147, 0.24);
  animation: floatCard 7s ease-in-out infinite;
}

.error-panel h1 {
  margin: 0.9rem 0 0.8rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.error-panel__actions {
  margin-top: 1.4rem;
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.policy-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  align-items: center;
  gap: 1.25rem;
  padding: 1.55rem;
}

.policy-hero-panel__logo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 2rem;
  justify-self: end;
}

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

.policy-block--wide {
  grid-column: span 2;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes floatGlow {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, 24px, 0);
  }
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 960px) {
  .hero-panel,
  .story-grid,
  .feature-grid,
  .policy-layout,
  .policy-hero-panel {
    grid-template-columns: 1fr;
  }

  .policy-block--wide {
    grid-column: auto;
  }

  .section-head,
  .highlight-band,
  .topbar__inner,
  .footer-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .topnav {
    flex-wrap: wrap;
  }

  .hero-stage {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 1.2rem, 1160px);
  }

  .topnav,
  .topnav a,
  .cta-link,
  .cta-link--secondary {
    width: 100%;
  }

  .hero-panel h1,
  .policy-hero-panel h1 {
    line-height: 1;
  }
}
