:root {
  --pink: #d62aa0;
  --pink-dark: #a91878;
  --pink-soft: #f7d7ec;
  --pink-pale: #fff2fa;
  --text: #333333;
  --muted: #6f6670;
  --line: #eadce7;
  --bg: #faf7fa;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(82, 52, 72, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(250, 247, 250, 0.98)),
    radial-gradient(circle at 10% 10%, rgba(247, 215, 236, 0.65), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(214, 42, 160, 0.08), transparent 28%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.navbar {
  width: min(1120px, calc(100% - 22px));
  margin: 0 auto;
  padding: 14px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}

.brand {
  text-decoration: none;
  color: var(--pink);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.nowrap {
  white-space: nowrap;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--pink-soft);
  border-radius: 14px;
  background: var(--pink-pale);
  color: var(--pink);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.nav-toggle:hover {
  background: var(--white);
  border-color: var(--pink);
  transform: translateY(-1px);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
  grid-column: 1 / -1;
  display: none;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 8px 0 4px;
  list-style: none;
  flex-wrap: nowrap;
  overflow: visible;
  scrollbar-width: none;
}

.nav-open .nav-links {
  display: grid;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--pink);
  background: var(--pink-pale);
  transform: translateY(-1px);
}

main {
  width: min(1120px, calc(100% - 22px));
  margin: 0 auto;
}

.hero {
  padding: 34px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--pink-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  color: var(--pink);
  max-width: 760px;
  font-size: clamp(2.05rem, 9.4vw, 3.05rem);
  font-weight: 950;
  text-transform: uppercase;
  text-wrap: pretty;
  overflow-wrap: normal;
  hyphens: none;
}

.home-title span {
  display: block;
}

.page-title {
  max-width: none;
  font-size: clamp(2rem, 9vw, 3.2rem);
}

h2 {
  color: var(--pink);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

h3 {
  color: var(--pink-dark);
  font-size: 1.18rem;
}

.lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.14rem);
}

.hero-actions,
.card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 2px solid var(--pink);
  border-radius: 999px;
  background: var(--pink);
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(214, 42, 160, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--pink-dark);
  box-shadow: 0 16px 34px rgba(214, 42, 160, 0.28);
}

.button.secondary {
  background: var(--white);
  color: var(--pink);
  box-shadow: none;
}

.button.secondary:hover {
  background: var(--pink-pale);
}

.illustration-card {
  width: min(100%, 460px);
  margin: 0 auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero .illustration-card {
  max-width: 360px;
}

.illustration-card img {
  display: block;
  width: 100%;
  height: auto;
}

.section {
  padding: 44px 0;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
}

.intro-panel {
  margin: 0 0 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--pink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(82, 52, 72, 0.08);
}

.intro-panel p {
  max-width: 980px;
  margin: 0;
  color: var(--text);
}

.intro-panel .list {
  max-width: 920px;
}

.section-note {
  margin: 18px 0 0;
  color: var(--pink-dark);
  font-weight: 900;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.grid.three {
  grid-template-columns: 1fr;
}

.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 5px var(--pink-soft);
}

.quote-list {
  display: grid;
  gap: 16px;
  margin: 0;
}

.quote {
  margin: 0;
  padding: 22px;
  border-left: 5px solid var(--pink);
  border-radius: 16px;
  background: var(--pink-pale);
  color: var(--pink-dark);
  font-size: 1.2rem;
  font-weight: 900;
}

.signal-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
}

.signal-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pink-pale);
  color: var(--pink);
  font-size: 1.45rem;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px var(--pink-soft);
}

.phase-timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.phase-timeline::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 25px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--pink-soft), var(--pink), var(--pink-soft));
}

.phase-step {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: stretch;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.phase-number {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 0 0 8px var(--pink-pale);
  font-weight: 950;
}

.phase-step h3 {
  color: var(--pink-dark);
  font-size: 1.05rem;
}

.phase-step p {
  margin: 8px 0 0;
  color: var(--text);
  line-height: 1.48;
}

.resource-link {
  display: flex;
  width: fit-content;
  margin-top: 12px;
  color: var(--pink);
  font-weight: 900;
  text-decoration: none;
}

.resource-link:hover {
  color: var(--pink-dark);
  text-decoration: underline;
}

.referral-card h3 {
  line-height: 1.35;
}

.inline-url {
  color: var(--pink);
  overflow-wrap: anywhere;
  text-decoration: none;
}

.inline-url:hover {
  color: var(--pink-dark);
  text-decoration: underline;
}

.notice {
  padding: 20px 24px;
  border: 1px solid var(--pink-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white), var(--pink-pale));
  color: var(--pink-dark);
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(82, 52, 72, 0.08);
}

.notice a {
  color: var(--pink-dark);
}

.sources-card {
  box-shadow: 0 12px 28px rgba(82, 52, 72, 0.08);
}

.source-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.source-list a {
  color: var(--pink);
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.source-list a:hover {
  color: var(--pink-dark);
  text-decoration: underline;
}

.site-footer {
  width: min(1120px, calc(100% - 22px));
  margin: 38px auto 0;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer a {
  color: var(--pink);
  font-weight: 900;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--pink-dark);
  text-decoration: underline;
}

.fade-in {
  animation: fadeIn 620ms ease both;
}

@keyframes fadeIn {
  from {
    opacity: 0.82;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (min-width: 720px) {
  main,
  .navbar,
  .site-footer {
    width: min(1120px, calc(100% - 32px));
  }

  .nav-links a {
    min-height: 38px;
    padding: 10px 12px;
    font-size: 0.92rem;
  }

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

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

  .phase-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .phase-timeline::before {
    display: none;
  }

  .card {
    padding: 28px;
  }

  h1 {
    max-width: 820px;
    font-size: clamp(3rem, 6vw, 3.7rem);
  }

  .page-title {
    font-size: clamp(2.8rem, 6vw, 3.8rem);
  }
}

@media (min-width: 980px) {
  .navbar {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    overflow-x: visible;
    padding: 0;
  }

  .nav-links a {
    width: auto;
    justify-content: center;
  }

  .hero {
    padding: 72px 0 36px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    gap: 48px;
  }

  .phase-step {
    min-height: 172px;
    align-content: start;
  }

  h1 {
    max-width: 680px;
    font-size: clamp(3.35rem, 4.6vw, 4.15rem);
  }

  .page-title {
    font-size: clamp(3.2rem, 5vw, 4.6rem);
  }

  .illustration-card {
    width: 100%;
    padding: 30px;
  }

  .hero .illustration-card {
    max-width: none;
  }
}

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

  .signal-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
}
