:root {
  --bg: #FDF3F6;
  --surface: #FFFFFF;
  --pink: #FF0D4F;
  --pink-soft: #FDEAF0;
  --text: #111827;
  --text-secondary: #6B7280;
  --border: #E5E7EB;
  --pink-border: rgba(255, 13, 79, 0.12);
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max-content: 820px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a {
  color: var(--pink);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(253, 243, 246, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-link img {
  height: 28px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--pink);
  text-decoration: none;
}

.nav-cta {
  background: var(--pink);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 14px;
}

.nav-cta:hover {
  opacity: 0.92;
  text-decoration: none;
}

.mobile-nav {
  display: none;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 24px 48px;
  text-align: center;
}

.hero-heart {
  position: absolute;
  opacity: 0.06;
  color: var(--pink);
  pointer-events: none;
}

.hero-heart svg {
  width: 220px;
  height: 220px;
}

.hero-heart.left {
  top: -40px;
  left: -60px;
  transform: rotate(-12deg);
}

.hero-heart.right {
  bottom: -60px;
  right: -50px;
  transform: rotate(10deg);
}

.hero-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pink-soft);
  color: var(--pink);
  border: 1px solid var(--pink-border);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--text);
}

.hero p {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0 0 6px;
}

.hero .updated {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 14px;
}

/* Layout */

.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

/* TOC desktop */

.toc {
  position: sticky;
  top: 84px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.toc h2 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin: 0 0 12px;
  font-weight: 700;
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toc a {
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 500;
  display: block;
}

.toc a:hover {
  color: var(--pink);
  text-decoration: none;
}

/* Mobile TOC */

.toc-mobile {
  display: none;
}

/* Content */

.content {
  min-width: 0;
  max-width: var(--max-content);
}

.content section {
  margin-bottom: 44px;
  scroll-margin-top: 90px;
}

.content h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: var(--text);
}

.content h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 22px 0 8px;
  color: var(--text);
}

.content p {
  font-size: 15.5px;
  color: var(--text);
  margin: 0 0 14px;
}

.content ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

.content li {
  font-size: 15.5px;
  margin-bottom: 8px;
}

.content li::marker {
  color: var(--pink);
}

.muted {
  color: var(--text-secondary);
}

.card {
  background: var(--pink-soft);
  border: 1px solid var(--pink-border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin: 20px 0;
}

.card h3 {
  margin-top: 0;
  font-size: 15.5px;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.contact-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  margin-top: 8px;
}

.contact-block h2 {
  margin-bottom: 8px;
}

.contact-block p {
  margin-bottom: 20px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pink);
  color: #fff !important;
  padding: 13px 26px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 15px;
}

.btn-primary:hover {
  opacity: 0.92;
  text-decoration: none;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
}

.footer-brand img {
  height: 22px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
}

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

.footer-copy {
  width: 100%;
  text-align: center;
  color: var(--text-secondary);
  font-size: 13px;
  margin-top: 8px;
}

/* Responsive */

@media (max-width: 860px) {
  .page-wrap {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 20px 64px;
  }

  .toc {
    display: none;
  }

  .toc-mobile {
    display: block;
    margin: 20px 0 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  .toc-mobile summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
  }

  .toc-mobile summary::-webkit-details-marker {
    display: none;
  }

  .toc-mobile summary::after {
    content: "▾";
    color: var(--pink);
    transition: transform 0.2s ease;
  }

  .toc-mobile[open] summary::after {
    transform: rotate(180deg);
  }

  .toc-mobile ol {
    list-style: none;
    margin: 0;
    padding: 0 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .toc-mobile a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
  }

  .hero {
    padding: 44px 20px 36px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav .nav-link-desktop {
    display: none;
  }

  .card,
  .contact-block {
    border-radius: var(--radius-md);
    padding: 18px;
  }
}

@media (max-width: 420px) {
  .header-inner {
    padding: 12px 16px;
  }

  .hero h1 {
    font-size: 26px;
  }
}
