/*
 * Content-layer styles for pages that still have a dedicated template.
 *
 * The shared site header, footer, type tokens, focus treatment, and buttons
 * come from site.css. This file gives legal, resource, guide, blog, utility,
 * and share bodies the same surface, rhythm, and readable measure without
 * replacing their forms, scripts, or page-specific interactions.
 */
.legacy-page {
  background: var(--cream, #fffaf4);
  color: var(--ink, #302640);
}

.legacy-page .back-home {
  display: block;
  width: min(1160px, calc(100% - 40px));
  margin: 6px auto 0;
  color: var(--muted, #64576d);
  font-size: 13px;
  font-weight: 800;
}

.legacy-page .header {
  width: min(1160px, calc(100% - 40px));
  margin: 30px auto 0;
  padding: 38px clamp(22px, 5vw, 58px);
  border-radius: 28px;
  background: linear-gradient(135deg, var(--blush, #f5dbe3), var(--sky, #d9eaf2));
  text-align: left;
}

.legacy-page .header h1 {
  margin: 0 0 8px;
  color: var(--ink, #302640);
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -2px;
  line-height: 1.05;
}

.legacy-page .header p {
  margin: 0;
  color: var(--muted, #64576d);
  font-size: 16px;
}

.legacy-page .content,
.legacy-page .container {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 78px;
}

.legacy-page .content > h2,
.legacy-page .container > h2 {
  margin: 42px 0 13px;
  color: var(--ink, #302640);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -1px;
  line-height: 1.12;
}

.legacy-page .content > h2:first-child,
.legacy-page .container > h2:first-child {
  margin-top: 0;
}

.legacy-page .content p,
.legacy-page .content li,
.legacy-page .container p,
.legacy-page .container li {
  color: var(--muted, #64576d);
  line-height: 1.7;
}

.legacy-page .content a,
.legacy-page .container a {
  color: var(--rose, #9b4567);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legacy-page .card,
.legacy-page .feature-card,
.legacy-page .perm-card,
.legacy-page .fact,
.legacy-page .lede,
.legacy-page .article-section,
.legacy-page .faq-item {
  border-color: var(--line, #e9dfe4);
  border-radius: 18px;
}

.legacy-page .card,
.legacy-page .feature-card,
.legacy-page .perm-card,
.legacy-page .lede {
  background: rgba(255, 250, 247, .82);
}

.legacy-page input,
.legacy-page textarea,
.legacy-page select {
  max-width: 100%;
  border: 1px solid var(--line, #e9dfe4);
  border-radius: 10px;
  background: var(--cream, #fffaf4);
  color: var(--ink, #302640);
  font: inherit;
}

.legacy-main {
  min-height: 45vh;
}

.legacy-page {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 100vh;
  padding: 0;
}

.legacy-page .share-page {
  width: 100%;
  flex: 1 0 auto;
}

.legacy-page .share-page > .card {
  margin: 0 auto;
}

.legacy-page .share-page .hero {
  background: linear-gradient(135deg, var(--cream, #fffaf4), var(--sky, #d9eaf2) 62%, var(--blush, #f5dbe3));
  color: var(--ink, #302640);
}

.legacy-page .share-page .hero h1 {
  color: var(--ink, #302640);
  letter-spacing: -1.8px;
}

.legacy-page .share-page .hero-sub {
  color: var(--muted, #64576d);
}

.legacy-page .share-page .container {
  width: min(1160px, calc(100% - 40px));
  max-width: 1160px;
  margin: 0 auto;
}

.legacy-page .share-page .card {
  border-color: var(--line, #e9dfe4);
}

.legacy-page .share-page .btn-claim,
.legacy-page .share-page .btn-release,
.legacy-page .share-page .btn-save,
.legacy-page .share-page .btn-buy {
  background: var(--ink, #302640);
  color: var(--cream, #fffaf4);
}

.legacy-page .share-page .btn-claim:hover,
.legacy-page .share-page .btn-release:hover,
.legacy-page .share-page .btn-save:hover,
.legacy-page .share-page .btn-buy:hover {
  background: #493755;
}

.legacy-page .share-page .btn-cancel {
  border-color: var(--line, #e9dfe4);
  color: var(--ink, #302640);
}

.legacy-page .utility-page {
  width: 100%;
  min-height: 45vh;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 7vw, 76px) 20px;
  background: linear-gradient(135deg, var(--cream, #fffaf4), var(--sky, #d9eaf2) 62%, var(--blush, #f5dbe3));
}

.legacy-page .utility-page .card {
  width: min(100%, 440px);
  margin: 0;
  border: 1px solid var(--line, #e9dfe4);
  box-shadow: 0 12px 36px rgba(48, 38, 64, 0.1);
}

.legacy-page .utility-page .card :is(input, button, a) {
  font-family: inherit;
}

.legacy-page .utility-page .card :is(input, button):focus-visible,
.legacy-page .utility-page .card a:focus-visible {
  outline: 3px solid var(--rose, #9b4567);
  outline-offset: 3px;
}

.legacy-page .utility-page .card input {
  background: var(--cream, #fffaf4);
  color: var(--ink, #302640);
}

.legacy-main :is(h1, h2, h3) {
  color: var(--ink, #302640);
}

.legacy-main :is(img, video) {
  max-width: 100%;
  height: auto;
}

.center-page.legacy-main {
  min-height: 0;
}

@media (max-width: 760px) {
  .legacy-page .back-home {
    width: min(100% - 30px, 600px);
  }

  .legacy-page .header {
    width: min(100% - 30px, 600px);
    margin-top: 18px;
    border-radius: 20px;
  }

  .legacy-page .content,
  .legacy-page .container {
    width: min(100% - 30px, 600px);
    padding: 38px 0 58px;
  }
}

/* Migrated page-specific interactions. These rules are scoped so the shared site chrome remains authoritative. */
/* Migrated from server/templates/baby-gender-quiz.html; keep interactive rules scoped to this page layer. */
@scope (.legacy-page) {
:root {
      --deep: #7A1A4E;
      --pink: #E8A0BF;
      --gold: #C49A1A;
      --blue: #7EB8DA;
      --bg: #FFF9FB;
      --soft-white: #FFF5F9;
      --text: #3a2a3e;
      --text-light: #8a7a8e;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Nunito', sans-serif;
      background: var(--bg);
      color: var(--text);
      -webkit-font-smoothing: antialiased;
    }

    .fade-up {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .fade-up.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .fade-up.delay-1 { transition-delay: 0.15s; }
    .fade-up.delay-2 { transition-delay: 0.3s; }
    .fade-up.delay-3 { transition-delay: 0.45s; }

    /* ══════════ NAV ══════════ */

    /* ══════════ HERO ══════════ */
    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .hero-bg {
      position: absolute;
      inset: 0;
      z-index: 0;
    }
    .hero-bg img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
    }
    .hero-bg::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(122,26,78,0.35) 0%,
        rgba(26,26,46,0.6) 60%,
        rgba(26,26,46,0.85) 100%
      );
    }
    .hero-content {
      position: relative;
      z-index: 2;
      text-align: center;
      padding: 120px 24px 80px;
      max-width: 700px;
    }
    .hero-content .section-tag {
      background: rgba(255,255,255,0.15);
      color: #fff;
    }
    .hero-content h1 {
      font-size: 48px;
      font-weight: 800;
      line-height: 1.15;
      color: #fff;
      margin-bottom: 16px;
      text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    }
    .hero-content h1 span {
      color: var(--pink);
    }
    .hero-content .hero-sub {
      font-size: 18px;
      color: rgba(255,255,255,0.85);
      max-width: 520px;
      margin: 0 auto 36px;
      line-height: 1.7;
    }
    .hero-stats {
      display: flex;
      justify-content: center;
      gap: 40px;
      margin-top: 48px;
    }
    .hero-stat {
      text-align: center;
    }
    .hero-stat .stat-num {
      font-size: 48px;
      font-weight: 800;
      color: #fff;
    }
    .hero-stat .stat-label {
      font-size: 15px;
      color: rgba(255,255,255,0.65);
      font-weight: 600;
      margin-top: 6px;
    }

    /* ══════════ BUTTONS ══════════ */
    .btn-appstore {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: #1a1a2e;
      color: #fff;
      padding: 16px 32px;
      border-radius: 16px;
      font-weight: 700;
      font-size: 16px;
      text-decoration: none;
      transition: transform 0.2s, box-shadow 0.2s;
      box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    }
    .btn-appstore:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    }
    .btn-appstore svg {
      width: 22px;
      height: 22px;
      fill: currentColor;
    }
    .btn-appstore-white {
      background: #fff;
      color: var(--deep);
    }
    .section-cta {
      text-align: center;
      padding: 32px 24px 8px;
    }

    /* ══════════ PHOTO BREAK (full-bleed) ══════════ */
    .photo-break {
      position: relative;
      width: 100%;
      height: 50vh;
      min-height: 320px;
      overflow: hidden;
      background: #1a1a2e;
    }
    .photo-break img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }
    .photo-break-overlay {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .photo-break-overlay.gradient-deep {
      background: linear-gradient(180deg, rgba(122,26,78,0.25) 0%, rgba(26,26,46,0.5) 100%);
    }
    .photo-break-overlay.gradient-warm {
      background: linear-gradient(180deg, rgba(255,249,251,0.1) 0%, rgba(122,26,78,0.35) 100%);
    }
    .photo-break-text {
      text-align: center;
      color: #fff;
      padding: 24px;
    }
    .photo-break-text h3 {
      font-size: 28px;
      font-weight: 800;
      text-shadow: 0 2px 12px rgba(0,0,0,0.3);
      margin-bottom: 8px;
    }
    .photo-break-text p {
      font-size: 16px;
      opacity: 0.85;
      max-width: 500px;
      line-height: 1.6;
    }

    /* ══════════ QUIZ VIDEO PARALLAX ══════════ */
    .quiz-video-parallax {
      position: relative;
      height: 85vh;
      min-height: 500px;
      overflow: hidden;
      clip-path: inset(0);
      background: #1a1a2e;
    }
    .quiz-video-fixed {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .quiz-video-fixed video {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
    .quiz-video-fixed .qv-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(122,26,78,0.45) 0%, rgba(26,26,46,0.6) 100%);
    }
    .quiz-video-fixed .qv-content {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 24px;
      z-index: 2;
    }
    .quiz-video-fixed .qv-content .section-tag {
      background: rgba(255,255,255,0.15);
      color: #fff;
    }
    .quiz-video-fixed .qv-content .section-title {
      color: #fff;
      font-size: 34px;
      text-shadow: 0 2px 12px rgba(0,0,0,0.3);
    }
    .quiz-video-fixed .qv-content .section-desc {
      color: rgba(255,255,255,0.85);
      font-size: 17px;
      max-width: 500px;
      margin: 0 auto 32px;
      line-height: 1.7;
    }

    /* ══════════ THE WAIT ══════════ */
    .the-wait {
      padding: 80px 24px;
      background: #fff;
      text-align: center;
    }
    .the-wait-inner {
      max-width: 680px;
      margin: 0 auto;
    }
    .the-wait h2 {
      font-size: 30px;
      font-weight: 800;
      color: var(--deep);
      margin-bottom: 20px;
      line-height: 1.25;
    }
    .the-wait p {
      font-size: 17px;
      color: var(--text-light);
      line-height: 1.8;
      margin-bottom: 16px;
    }
    .the-wait .emphasis {
      font-size: 18px;
      font-weight: 700;
      color: var(--deep);
      margin-top: 24px;
      margin-bottom: 0;
    }
    .week-cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin: 40px auto 0;
      max-width: 520px;
    }
    .week-card {
      background: var(--soft-white);
      border: 2px solid rgba(232,160,191,0.2);
      border-radius: 16px;
      padding: 20px 24px;
      text-align: center;
    }
    .week-card:nth-child(4) {
      grid-column: 2;
    }
    .week-card .week-num {
      font-size: 28px;
      font-weight: 800;
      color: var(--deep);
    }
    .week-card .week-label {
      font-size: 13px;
      color: var(--text-light);
      font-weight: 600;
      margin-top: 4px;
    }
    .week-card.highlight {
      border-color: var(--gold);
      background: rgba(196,154,26,0.06);
    }
    .week-card.highlight .week-num {
      color: var(--gold);
    }

    /* ══════════ HOW IT WORKS ══════════ */
    .how-it-works {
      padding: 80px 24px;
      background: var(--bg);
      text-align: center;
    }
    .how-it-works-inner {
      max-width: 800px;
      margin: 0 auto;
    }
    .section-tag {
      display: inline-block;
      background: rgba(196,154,26,0.12);
      color: var(--gold);
      font-weight: 700;
      font-size: 13px;
      padding: 6px 18px;
      border-radius: 20px;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 12px;
    }
    .section-title {
      font-size: 30px;
      font-weight: 800;
      color: var(--deep);
      margin-bottom: 12px;
    }
    .section-desc {
      font-size: 17px;
      color: var(--text-light);
      max-width: 550px;
      margin: 0 auto 40px;
      line-height: 1.7;
    }
    .steps-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .step-card {
      background: #fff;
      border-radius: 20px;
      padding: 32px 20px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.04);
      border: 1px solid rgba(232,160,191,0.12);
    }
    .step-num {
      width: 44px;
      height: 44px;
      background: var(--pink);
      color: #fff;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 18px;
      margin: 0 auto 16px;
    }
    .step-card h3 {
      font-size: 18px;
      font-weight: 700;
      color: var(--deep);
      margin-bottom: 8px;
    }
    .step-card p {
      font-size: 15px;
      color: var(--text-light);
      line-height: 1.6;
    }
    @media (max-width: 640px) {
      .steps-grid { grid-template-columns: 1fr; gap: 16px; }
    }

    /* ══════════ SPLIT SECTION ══════════ */
    .split-section {
      display: flex;
      align-items: stretch;
      min-height: 480px;
    }
    .split-section.reverse { flex-direction: row-reverse; }
    .split-img {
      flex: 1;
      min-width: 0;
      position: relative;
      overflow: hidden;
    }
    .split-img img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .split-text {
      flex: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 60px 48px;
    }
    .split-text h2 {
      font-size: 28px;
      font-weight: 800;
      color: var(--deep);
      margin-bottom: 16px;
      line-height: 1.25;
    }
    .split-text p {
      font-size: 16px;
      color: var(--text-light);
      line-height: 1.8;
      margin-bottom: 12px;
    }
    .split-text .split-cta {
      margin-top: 20px;
    }
    @media (max-width: 768px) {
      .split-section, .split-section.reverse { flex-direction: column; }
      .split-img { min-height: 280px; }
      .split-text { padding: 40px 24px; }
    }

    /* ══════════ QUIZ HIGHLIGHTS ══════════ */
    .quiz-highlights {
      padding: 80px 24px;
      background: #fff;
    }
    .quiz-highlights-inner {
      max-width: 800px;
      margin: 0 auto;
      text-align: center;
    }
    .highlight-list {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      text-align: left;
      margin-top: 40px;
    }
    .highlight-item {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      background: var(--soft-white);
      padding: 18px 20px;
      border-radius: 16px;
      border: 1px solid rgba(232,160,191,0.1);
    }
    .highlight-item .hi-icon {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      flex-shrink: 0;
    }
    .highlight-item .hi-icon.pink { background: rgba(232,160,191,0.15); }
    .highlight-item .hi-icon.gold { background: rgba(196,154,26,0.12); }
    .highlight-item .hi-icon.blue { background: rgba(126,184,218,0.15); }
    .highlight-item .hi-icon.purple { background: rgba(122,26,78,0.08); }
    .highlight-item h4 {
      font-size: 15px;
      font-weight: 700;
      color: var(--deep);
      margin-bottom: 2px;
    }
    .highlight-item p {
      font-size: 13px;
      color: var(--text-light);
      line-height: 1.5;
    }
    @media (max-width: 640px) {
      .highlight-list { grid-template-columns: 1fr; }
    }

    /* ══════════ TALES SECTION ══════════ */
    .tales {
      padding: 80px 24px;
      background: linear-gradient(180deg, var(--bg) 0%, var(--soft-white) 100%);
      text-align: center;
    }
    .tales-inner {
      max-width: 700px;
      margin: 0 auto;
    }
    .tales-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-top: 40px;
      text-align: left;
    }
    .tale-card {
      background: #fff;
      border-radius: 16px;
      padding: 20px;
      border: 1px solid rgba(232,160,191,0.1);
      box-shadow: 0 2px 12px rgba(0,0,0,0.03);
    }
    .tale-card .tale-label {
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 6px;
    }
    .tale-card .tale-label.boy { color: var(--blue); }
    .tale-card .tale-label.girl { color: var(--pink); }
    .tale-card p {
      font-size: 14px;
      color: var(--text);
      line-height: 1.5;
    }
    @media (max-width: 640px) {
      .tales-grid { grid-template-columns: 1fr; }
    }

    /* ══════════ MORE FEATURES ══════════ */
    .more-features {
      padding: 80px 24px;
      background: #fff;
      text-align: center;
    }
    .more-features-inner {
      max-width: 800px;
      margin: 0 auto;
    }
    .feature-pills {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-top: 32px;
    }
    .feature-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--soft-white);
      border: 1px solid rgba(232,160,191,0.15);
      padding: 12px 20px;
      border-radius: 40px;
      font-size: 14px;
      font-weight: 600;
      color: var(--deep);
    }
    .feature-pill .fp-icon {
      font-size: 18px;
    }

    /* ══════════ FAQ ══════════ */
    .faq {
      padding: 80px 24px;
      background: linear-gradient(180deg, var(--soft-white) 0%, var(--bg) 100%);
      text-align: center;
    }
    .faq-inner {
      max-width: 700px;
      margin: 0 auto;
    }
    .faq-list {
      margin-top: 40px;
      text-align: left;
    }
    .faq-item {
      background: #fff;
      border-radius: 16px;
      margin-bottom: 12px;
      border: 1px solid rgba(232,160,191,0.12);
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    }
    .faq-item summary {
      padding: 20px 24px;
      font-weight: 700;
      font-size: 16px;
      color: var(--deep);
      cursor: pointer;
      list-style: none;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-item summary::after {
      content: "+";
      font-size: 22px;
      font-weight: 300;
      color: var(--pink);
      flex-shrink: 0;
      margin-left: 16px;
      transition: transform 0.2s;
    }
    .faq-item[open] summary::after {
      content: "-";
    }
    .faq-item p {
      padding: 0 24px 20px;
      font-size: 15px;
      color: var(--text-light);
      line-height: 1.7;
    }

    /* ══════════ CTA ══════════ */
    .cta {
      position: relative;
      padding: 100px 24px;
      text-align: center;
      color: #fff;
      overflow: hidden;
    }
    .cta-bg {
      position: absolute;
      inset: 0;
      z-index: 0;
    }
    .cta-bg img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .cta-bg::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(122,26,78,0.85), rgba(155,43,107,0.9));
    }
    .cta-content {
      position: relative;
      z-index: 2;
    }
    .cta h2 {
      font-size: 34px;
      font-weight: 800;
      margin-bottom: 12px;
    }
    .cta p {
      font-size: 17px;
      opacity: 0.85;
      max-width: 500px;
      margin: 0 auto 32px;
      line-height: 1.6;
    }

    /* ══════════ FOOTER ══════════ */
    footer {
      background: #1a1a2e;
      color: rgba(255,255,255,0.7);
      text-align: center;
      padding: 48px 24px 32px;
      font-size: 14px;
    }
    .footer-brand {
      font-size: 22px;
      font-weight: 800;
      color: #fff;
      margin-bottom: 16px;
    }
    .footer-links {
      display: flex;
      gap: 24px;
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: 24px;
    }
    .footer-links a {
      color: rgba(255,255,255,0.6);
      text-decoration: none;
      font-size: 14px;
    }
    .footer-links a:hover { color: #fff; }
    .footer-divider {
      height: 1px;
      background: rgba(255,255,255,0.1);
      max-width: 400px;
      margin: 0 auto 20px;
    }
    .footer-company p {
      font-size: 13px;
      color: rgba(255,255,255,0.4);
      margin-bottom: 6px;
    }
    .footer-sister-sites {
      margin-top: 16px;
      font-size: 11px;
      color: rgba(255,255,255,0.3);
    }
    .footer-sister-sites span { margin: 0 4px; }
    .footer-sister-sites .sep { opacity: 0.3; }
    .footer-sister-sites a {
      color: rgba(255,255,255,0.4);
      text-decoration: none;
    }
    .footer-sister-sites a:hover { color: rgba(255,255,255,0.7); }

    /* ══════════ LOCAL BROWSER QUIZ ══════════ */
    .browser-quiz {
      padding: 88px 24px;
      background: linear-gradient(180deg, #fff 0%, var(--soft-white) 100%);
      scroll-margin-top: 24px;
    }
    .browser-quiz-inner {
      max-width: 920px;
      margin: 0 auto;
      text-align: center;
    }
    .browser-quiz .section-desc {
      margin-bottom: 28px;
    }
    .quiz-shell {
      max-width: 760px;
      margin: 0 auto;
      text-align: left;
      background: rgba(255,255,255,0.9);
      border: 1px solid rgba(122,26,78,0.12);
      border-radius: 24px;
      padding: clamp(24px, 5vw, 44px);
      box-shadow: 0 16px 44px rgba(78,53,70,0.1);
    }
    .quiz-screen[hidden] {
      display: none;
    }
    .quiz-intro {
      text-align: center;
    }
    .quiz-intro-icon {
      width: 68px;
      height: 68px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 18px;
      border-radius: 22px;
      color: #fff;
      font-size: 32px;
      background: linear-gradient(135deg, var(--pink), var(--blue));
      box-shadow: 0 10px 24px rgba(122,26,78,0.18);
    }
    .quiz-shell h3 {
      margin: 0;
      color: var(--deep);
      font-size: clamp(23px, 4vw, 30px);
      line-height: 1.25;
    }
    .quiz-intro p {
      max-width: 590px;
      margin: 14px auto 0;
      color: var(--text-light);
      line-height: 1.7;
    }
    .quiz-meta {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 8px 20px;
      margin: 24px 0 28px;
      color: var(--deep);
      font-size: 14px;
      font-weight: 700;
    }
    .quiz-meta span::before {
      content: "•";
      margin-right: 8px;
      color: var(--pink);
    }
    .quiz-meta span:first-child::before {
      content: "";
      margin-right: 0;
    }
    .quiz-primary,
    .quiz-secondary,
    .quiz-download {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      border-radius: 14px;
      border: 0;
      padding: 12px 22px;
      font: inherit;
      font-size: 15px;
      font-weight: 800;
      cursor: pointer;
      transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    }
    .quiz-primary,
    .quiz-download {
      color: #fff;
      background: linear-gradient(135deg, var(--deep), #b33d78);
      box-shadow: 0 7px 18px rgba(122,26,78,0.22);
    }
    .quiz-primary:hover,
    .quiz-download:hover,
    .quiz-primary:focus-visible,
    .quiz-download:focus-visible {
      transform: translateY(-2px);
      box-shadow: 0 10px 24px rgba(122,26,78,0.28);
    }
    .quiz-secondary {
      color: var(--deep);
      background: #fff;
      border: 1px solid rgba(122,26,78,0.2);
    }
    .quiz-secondary:hover,
    .quiz-secondary:focus-visible {
      background: var(--soft-white);
    }
    .quiz-primary:focus-visible,
    .quiz-secondary:focus-visible,
    .quiz-download:focus-visible,
    .quiz-answer:focus-visible,
    .quiz-skip:focus-visible {
      outline: 3px solid rgba(126,184,218,0.65);
      outline-offset: 3px;
    }
    .quiz-disclaimer {
      margin: 18px auto 0;
      color: var(--text-light);
      font-size: 12px;
      line-height: 1.55;
      text-align: center;
    }
    .quiz-noscript {
      margin: 22px 0 0;
      padding: 14px 16px;
      color: #654f60;
      background: #fff7fb;
      border: 1px solid rgba(122,26,78,0.16);
      border-radius: 12px;
      font-size: 14px;
      line-height: 1.6;
    }
    .quiz-noscript a {
      color: var(--deep);
      font-weight: 800;
      text-decoration: underline;
    }
    .quiz-question-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 24px;
    }
    .quiz-question-header h3 {
      max-width: 610px;
      margin-top: 5px;
    }
    .quiz-reset-top {
      flex: 0 0 auto;
      color: var(--text-light);
      background: transparent;
      border: 0;
      padding: 8px 0;
      font: inherit;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      text-decoration: underline;
      text-underline-offset: 3px;
    }
    .quiz-reset-top:hover,
    .quiz-reset-top:focus-visible {
      color: var(--deep);
    }
    .quiz-reset-top:focus-visible {
      outline: 3px solid rgba(126,184,218,0.65);
      outline-offset: 3px;
      border-radius: 4px;
    }
    .quiz-progress-track {
      height: 9px;
      margin-bottom: 10px;
      overflow: hidden;
      background: #f1e8ed;
      border-radius: 999px;
    }
    .quiz-progress-fill {
      width: 0;
      height: 100%;
      background: linear-gradient(90deg, var(--pink), var(--deep));
      border-radius: inherit;
      transition: width 0.25s ease;
    }
    .quiz-progress-copy {
      margin: 0 0 26px;
      color: var(--text-light);
      font-size: 13px;
      font-weight: 700;
    }
    .quiz-options-label {
      display: block;
      margin-bottom: 10px;
      color: var(--text-light);
      font-size: 13px;
      font-weight: 700;
    }
    .quiz-options {
      display: grid;
      gap: 12px;
    }
    .quiz-answer {
      display: flex;
      align-items: center;
      gap: 13px;
      width: 100%;
      padding: 15px 16px;
      color: var(--text);
      text-align: left;
      background: #fff;
      border: 1.5px solid #e7dce2;
      border-radius: 14px;
      font: inherit;
      font-size: 15px;
      line-height: 1.45;
      cursor: pointer;
      transition: border 0.2s, background 0.2s, transform 0.2s;
    }
    .quiz-answer:hover {
      border-color: var(--pink);
      background: #fffafd;
      transform: translateY(-1px);
    }
    .quiz-answer[aria-checked="true"] {
      color: var(--deep);
      border-color: var(--deep);
      background: #fff4f8;
      box-shadow: 0 4px 12px rgba(122,26,78,0.08);
    }
    .quiz-answer-letter {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 31px;
      height: 31px;
      flex: 0 0 31px;
      color: var(--deep);
      background: #f5edf1;
      border-radius: 10px;
      font-size: 13px;
      font-weight: 800;
    }
    .quiz-answer[aria-checked="true"] .quiz-answer-letter {
      color: #fff;
      background: var(--deep);
    }
    .quiz-tale {
      margin: 20px 0 0;
      padding: 13px 15px;
      color: #5e6070;
      background: #f2f8fb;
      border: 1px solid rgba(126,184,218,0.28);
      border-radius: 12px;
      font-size: 13px;
      line-height: 1.6;
    }
    .quiz-question-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-top: 28px;
    }
    .quiz-question-actions .quiz-primary {
      margin-left: auto;
    }
    .quiz-skip {
      padding: 8px 0;
      color: var(--text-light);
      background: transparent;
      border: 0;
      font: inherit;
      font-size: 13px;
      cursor: pointer;
      text-decoration: underline;
      text-underline-offset: 3px;
    }
    .quiz-skip:hover {
      color: var(--deep);
    }
    .quiz-primary:disabled,
    .quiz-secondary:disabled {
      opacity: 0.48;
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
    }
    .quiz-result {
      text-align: center;
    }
    .quiz-result .quiz-disclaimer {
      max-width: 610px;
    }
    .quiz-result-summary {
      margin: 14px auto 24px;
      color: var(--text-light);
      line-height: 1.65;
    }
    .quiz-tally {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      max-width: 500px;
      margin: 0 auto 20px;
    }
    .quiz-tally-card {
      padding: 18px 14px;
      border-radius: 16px;
      text-align: center;
      border: 1px solid transparent;
    }
    .quiz-tally-card.boy {
      color: #285c79;
      background: #eef8fc;
      border-color: rgba(126,184,218,0.35);
    }
    .quiz-tally-card.girl {
      color: #87284f;
      background: #fff0f5;
      border-color: rgba(232,160,191,0.4);
    }
    .quiz-tally-card strong {
      display: block;
      font-size: 34px;
      line-height: 1;
    }
    .quiz-tally-card span {
      display: block;
      margin-top: 8px;
      font-size: 13px;
      font-weight: 800;
    }
    .quiz-result-note {
      max-width: 610px;
      margin: 0 auto 26px;
      padding: 14px 16px;
      color: #624a5d;
      background: #fff8fb;
      border-radius: 12px;
      font-size: 13px;
      line-height: 1.6;
    }
    .quiz-result-actions {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 12px;
    }
    .quiz-privacy-note {
      max-width: 650px;
      margin: 20px auto 0;
      color: var(--text-light);
      font-size: 12px;
      text-align: center;
    }
    .quiz-sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }
    @media (max-width: 560px) {
      .browser-quiz { padding: 64px 16px; }
      .quiz-shell { border-radius: 18px; padding: 24px 18px; }
      .quiz-question-header { display: block; }
      .quiz-reset-top { margin-top: 12px; }
      .quiz-question-actions { flex-wrap: wrap; }
      .quiz-question-actions .quiz-primary { order: 2; width: 100%; margin-left: 0; }
      .quiz-question-actions .quiz-secondary { order: 1; }
      .quiz-question-actions .quiz-skip { order: 1; margin-left: auto; }
      .quiz-tally { grid-template-columns: 1fr 1fr; }
      .quiz-result-actions > * { width: 100%; }
    }

    /* ══════════ RESPONSIVE ══════════ */
    @media (max-width: 768px) {
      .hero-content h1 { font-size: 34px; }
      .hero-stats { gap: 24px; }
      .hero-stat .stat-num { font-size: 36px; }
      .photo-break { height: 40vh; min-height: 240px; }
      .quiz-video-parallax {
        height: 50vh;
        min-height: 250px;
        clip-path: none;
      }
      .quiz-video-fixed {
        position: relative;
        height: 100%;
      }
      .quiz-video-fixed video {
        width: 100%;
        height: 100%;
        object-fit: contain;
      }
    }
    @media (max-width: 480px) {
      .hero-content h1 { font-size: 28px; }
      .section-title { font-size: 24px; }
      .the-wait h2 { font-size: 24px; }
      .cta h2 { font-size: 24px; }
      .hero-stats { flex-direction: column; gap: 16px; }
      .photo-break-text h3 { font-size: 22px; }
      .quiz-video-parallax {
        height: 40vh;
        min-height: 200px;
      }
    }
}

/* Migrated from server/templates/nesting-checklist.html; keep interactive rules scoped to this page layer. */
@scope (.legacy-page) {
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --pink: #E8A0BF;
      --pink-dark: #D4789E;
      --purple: #7B2D8E;
      --lavender: #BA90C6;
      --cream: #FFF8F0;
      --peach: #F9D5C5;
      --deep: #1A1A2E;
      --soft-white: #FEFBF6;
      --gold: #C49A1A;
      --bg: #FFF9FB;
      --card-border: #f0e8f5;
      --text-secondary: #777;
      --success: #4CAF50;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
      color: var(--deep);
      background: var(--bg);
      line-height: 1.6;
      overflow-x: hidden;
    }

    /* ========== HERO ========== */
    .hero {
      position: relative;
      padding: 100px 24px 72px;
      text-align: center;
      background: url('/images/checklist-header.jpg') center center / cover no-repeat;
      overflow: hidden;
      min-height: 340px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(42,20,50,0.65) 0%, rgba(42,20,50,0.75) 50%, rgba(42,20,50,0.85) 100%);
      pointer-events: none;
    }

    .hero-content {
      position: relative;
      z-index: 1;
      max-width: 700px;
      margin: 0 auto;
    }

    .hero-logo {
      display: block;
      margin: 0 auto 24px;
      width: 80px;
      height: 80px;
      border-radius: 20px;
      box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    }

    .hero-badge {
      display: inline-block;
      padding: 6px 18px;
      border-radius: 20px;
      background: rgba(232,160,191,0.25);
      color: #f5d0e0;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      margin-bottom: 20px;
    }

    .hero h1 {
      font-size: 38px;
      font-weight: 800;
      line-height: 1.15;
      color: #fff;
      margin-bottom: 16px;
      text-shadow: 0 2px 12px rgba(0,0,0,0.25);
    }

    .hero h1 span {
      background: linear-gradient(135deg, #E8A0BF, #f5d0e0);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-sub {
      font-size: 17px;
      color: rgba(255,255,255,0.88);
      max-width: 520px;
      margin: 0 auto 12px;
      line-height: 1.7;
      text-shadow: 0 1px 6px rgba(0,0,0,0.2);
    }

    .hero-stats {
      display: flex;
      justify-content: center;
      gap: 32px;
      margin-top: 28px;
      flex-wrap: wrap;
    }

    .hero-stat {
      text-align: center;
    }

    .hero-stat-number {
      font-size: 28px;
      font-weight: 800;
      color: #E8A0BF;
      line-height: 1.1;
    }

    .hero-stat-label {
      font-size: 13px;
      color: rgba(255,255,255,0.7);
      font-weight: 600;
      margin-top: 2px;
    }

    .btn-home {
      display: inline-block;
      margin-top: 24px;
      padding: 10px 24px;
      border-radius: 12px;
      background: rgba(255,255,255,0.15);
      color: #fff;
      text-decoration: none;
      font-weight: 700;
      font-size: 14px;
      border: 1.5px solid rgba(255,255,255,0.35);
      transition: background 0.2s, transform 0.2s;
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
    }

    .btn-home:hover {
      background: rgba(255,255,255,0.25);
      transform: translateY(-1px);
    }

    /* ========== CATEGORY NAV ========== */
    .category-nav {
      max-width: 1200px;
      margin: 0 auto;
      padding: 24px 24px 0;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }

    .category-nav-inner {
      display: flex;
      gap: 10px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .category-nav-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 16px;
      border-radius: 24px;
      background: #fff;
      border: 1.5px solid var(--card-border);
      color: var(--deep);
      font-size: 13px;
      font-weight: 700;
      text-decoration: none;
      cursor: pointer;
      transition: all 0.2s;
      white-space: nowrap;
      user-select: none;
    }

    .category-nav-pill:hover {
      border-color: var(--lavender);
      background: #faf5ff;
    }

    .category-nav-pill.active {
      background: var(--purple);
      color: #fff;
      border-color: var(--purple);
    }

    .category-nav-pill .pill-icon { font-size: 15px; }

    /* ========== MAIN CONTENT ========== */
    .checklist-main {
      max-width: 1200px;
      margin: 0 auto;
      padding: 32px 24px 60px;
    }

    .loading {
      text-align: center;
      padding: 60px 20px;
      color: #999;
      font-size: 16px;
    }

    .loading-spinner {
      width: 36px;
      height: 36px;
      border: 3px solid #f0e8f5;
      border-top-color: var(--purple);
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
      margin: 0 auto 12px;
    }

    @keyframes spin { to { transform: rotate(360deg); } }

    /* ========== CATEGORY SECTION ========== */
    .category-section {
      margin-bottom: 40px;
      scroll-margin-top: 20px;
    }

    .category-section-header {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 20px;
      padding-bottom: 16px;
      border-bottom: 2px solid #f0e8f5;
    }

    .section-icon-box {
      width: 52px;
      height: 52px;
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      flex-shrink: 0;
    }

    .section-icon-box.c0 { background: rgba(232,160,191,0.2); }
    .section-icon-box.c1 { background: rgba(186,144,198,0.2); }
    .section-icon-box.c2 { background: rgba(249,213,197,0.3); }
    .section-icon-box.c3 { background: rgba(200,230,201,0.4); }
    .section-icon-box.c4 { background: rgba(187,222,251,0.3); }
    .section-icon-box.c5 { background: rgba(255,224,178,0.4); }
    .section-icon-box.c6 { background: rgba(232,160,191,0.15); }
    .section-icon-box.c7 { background: rgba(186,144,198,0.15); }
    .section-icon-box.c8 { background: rgba(200,230,201,0.3); }
    .section-icon-box.c9 { background: rgba(249,213,197,0.25); }
    .section-icon-box.c10 { background: rgba(255,224,178,0.3); }

    .section-header-text h2 {
      font-size: 22px;
      font-weight: 800;
      color: var(--deep);
      margin-bottom: 4px;
      line-height: 1.2;
    }

    .section-header-desc {
      font-size: 14px;
      color: var(--text-secondary);
      font-weight: 500;
      line-height: 1.5;
    }

    .section-item-count {
      font-size: 13px;
      color: var(--lavender);
      font-weight: 700;
      margin-top: 4px;
    }

    /* ========== ITEM GRID ========== */
    .items-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 12px;
    }

    @media (min-width: 640px) {
      .items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
      }
    }

    @media (min-width: 960px) {
      .items-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
      }
    }

    /* ========== ITEM CARD ========== */
    .item-card {
      background: #fff;
      border-radius: 16px;
      border: 1px solid var(--card-border);
      padding: 16px;
      cursor: pointer;
      transition: all 0.2s;
      display: flex;
      gap: 14px;
      align-items: flex-start;
    }

    .item-card:hover {
      border-color: var(--lavender);
      box-shadow: 0 4px 20px rgba(123,45,142,0.08);
      transform: translateY(-2px);
    }

    .item-card-thumb {
      width: 56px;
      height: 56px;
      border-radius: 12px;
      background: #f8f5fb;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      overflow: hidden;
    }

    .item-card-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 12px;
    }

    .item-card-thumb .thumb-icon {
      font-size: 24px;
      color: var(--lavender);
    }

    .item-card-body {
      flex: 1;
      min-width: 0;
    }

    .item-card-brand {
      font-size: 11px;
      font-weight: 700;
      color: var(--lavender);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 2px;
    }

    .item-card-name {
      font-size: 15px;
      font-weight: 700;
      color: var(--deep);
      line-height: 1.3;
      margin-bottom: 4px;
    }

    .item-card-desc {
      font-size: 12px;
      color: var(--text-secondary);
      line-height: 1.4;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .item-card-arrow {
      width: 28px;
      height: 28px;
      border-radius: 8px;
      background: #f8f5fb;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      align-self: center;
      font-size: 14px;
      color: var(--lavender);
      transition: background 0.2s;
    }

    .item-card:hover .item-card-arrow {
      background: rgba(123,45,142,0.1);
      color: var(--purple);
    }

    /* ========== PRODUCT MODAL ========== */
    .product-modal-overlay {
      display: none;
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.5);
      z-index: 9999;
      justify-content: center;
      align-items: center;
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
    }

    .product-modal-overlay.active {
      display: flex;
    }

    .product-modal {
      background: #fff;
      border-radius: 24px;
      max-width: 480px;
      width: 92%;
      max-height: 85vh;
      overflow-y: auto;
      padding: 28px;
      position: relative;
      animation: slideUp 0.3s ease-out;
      box-shadow: 0 24px 64px rgba(0,0,0,0.2);
    }

    @keyframes slideUp {
      from { transform: translateY(40px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }

    .product-modal-handle {
      width: 40px;
      height: 4px;
      border-radius: 2px;
      background: #ddd;
      margin: 0 auto 20px;
    }

    .product-modal-close {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: #f5f0fa;
      border: none;
      font-size: 18px;
      color: #999;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
    }

    .product-modal-close:hover {
      background: #e8ddf0;
      color: #333;
    }

    .pm-image-wrapper {
      text-align: center;
      margin-bottom: 20px;
    }

    .pm-image-wrapper img {
      max-width: 180px;
      max-height: 180px;
      border-radius: 16px;
      object-fit: contain;
    }

    .pm-icon-fallback {
      width: 100px;
      height: 100px;
      border-radius: 24px;
      background: linear-gradient(135deg, #f8f5fb 0%, #f0e8f5 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto;
      font-size: 40px;
    }

    .pm-brand {
      font-size: 11px;
      font-weight: 700;
      color: var(--lavender);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 4px;
    }

    .pm-title {
      font-size: 22px;
      font-weight: 800;
      color: var(--deep);
      margin-bottom: 4px;
      line-height: 1.3;
    }

    .pm-product-number {
      font-size: 11px;
      font-weight: 600;
      color: #ccc;
      letter-spacing: 0.5px;
      margin-bottom: 12px;
    }

    .pm-description {
      font-size: 14px;
      color: #666;
      line-height: 1.7;
      margin-bottom: 20px;
    }

    .pm-specs-box {
      background: #faf8fc;
      border-radius: 14px;
      padding: 16px;
      margin-bottom: 16px;
      border: 1px solid #f0e8f5;
    }

    .pm-specs-title {
      font-size: 14px;
      font-weight: 700;
      color: var(--deep);
      margin-bottom: 10px;
    }

    .pm-spec-row {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      margin-bottom: 6px;
      font-size: 13px;
      color: #666;
      line-height: 1.5;
    }

    .pm-spec-check {
      color: var(--purple);
      font-size: 13px;
      flex-shrink: 0;
      margin-top: 2px;
    }

    .pm-buttons {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 16px;
    }

    .pm-btn-primary {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 14px;
      border-radius: 14px;
      background: linear-gradient(135deg, var(--purple), #9b59b6);
      color: #fff;
      text-decoration: none;
      font-size: 15px;
      font-weight: 700;
      border: none;
      cursor: pointer;
      transition: transform 0.15s, box-shadow 0.15s;
    }

    .pm-btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 20px rgba(123,45,142,0.3);
    }

    .pm-btn-secondary {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 13px;
      border-radius: 14px;
      background: transparent;
      color: var(--purple);
      text-decoration: none;
      font-size: 14px;
      font-weight: 700;
      border: 1.5px solid var(--lavender);
      cursor: pointer;
      transition: transform 0.15s;
    }

    .pm-btn-secondary:hover {
      transform: translateY(-1px);
      background: rgba(123,45,142,0.04);
    }

    .pm-disclosure {
      font-size: 10px;
      color: #ccc;
      text-align: center;
      line-height: 1.5;
    }

    /* ========== CTA BANNER ========== */
    .cta-banner {
      max-width: 1200px;
      margin: 0 auto 60px;
      padding: 0 24px;
    }

    .cta-banner-inner {
      background: linear-gradient(135deg, #f3e8ff, #fce4ec);
      border-radius: 24px;
      padding: 48px 32px;
      text-align: center;
      border: 1px solid rgba(232,160,191,0.2);
    }

    .cta-banner h2 {
      font-size: 24px;
      font-weight: 800;
      color: var(--deep);
      margin-bottom: 12px;
    }

    .cta-banner p {
      font-size: 16px;
      color: #555;
      line-height: 1.7;
      max-width: 520px;
      margin: 0 auto 24px;
    }

    .cta-banner .btn-appstore {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 28px;
      border-radius: 14px;
      background: var(--deep);
      color: #fff;
      text-decoration: none;
      font-size: 16px;
      font-weight: 700;
      transition: transform 0.2s, box-shadow 0.2s;
      box-shadow: 0 6px 24px rgba(26,26,46,0.2);
    }

    .cta-banner .btn-appstore:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 32px rgba(26,26,46,0.3);
    }

    .cta-banner .btn-appstore svg { width: 22px; height: 22px; fill: #fff; }

    /* ========== FOOTER ========== */
    footer {
      padding: 40px 24px;
      text-align: center;
      background: var(--deep);
      color: rgba(255,255,255,0.5);
      font-size: 14px;
    }

    footer .footer-brand {
      font-size: 18px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 8px;
    }

    footer a {
      color: rgba(255,255,255,0.6);
      text-decoration: none;
      margin: 0 12px;
      transition: color 0.2s;
    }

    footer a:hover { color: #fff; }

    .footer-links { margin: 16px 0; }
    .footer-divider { width: 80px; height: 1px; background: rgba(255,255,255,0.15); margin: 20px auto; }
    .footer-company { margin-top: 6px; font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.6; }
    .footer-company a { color: rgba(255,255,255,0.55); font-size: 12px; margin: 0 4px; text-decoration: none; transition: color 0.2s; }
    .footer-company a:hover { color: #fff; }
    .footer-sister-sites { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,0.35); }
    .footer-sister-sites a { color: rgba(255,255,255,0.5); font-size: 12px; margin: 0 6px; text-decoration: none; transition: color 0.2s; }
    .footer-sister-sites a:hover { color: rgba(255,255,255,0.8); }

    /* ========== RESPONSIVE ========== */
    @media (max-width: 639px) {
      .hero { padding: 60px 20px 48px; min-height: 260px; }
      .hero h1 { font-size: 30px; }
      .hero-sub { font-size: 15px; }
      .hero-stats { gap: 20px; }
      .hero-stat-number { font-size: 24px; }
      .category-nav-inner { justify-content: flex-start; flex-wrap: nowrap; }
      .category-nav { padding: 20px 16px 0; }
      .checklist-main { padding: 24px 16px 48px; }
      .section-header-text h2 { font-size: 19px; }
      .item-card { padding: 14px; }
      .cta-banner h2 { font-size: 22px; }
    }

    @media (min-width: 640px) {
      .hero h1 { font-size: 44px; }
      .hero-sub { font-size: 18px; }
    }

    @media (min-width: 960px) {
      .hero h1 { font-size: 48px; }
    }

    /* ========== ANIMATIONS ========== */
    .fade-up {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .fade-up.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ========== SCROLLBAR ========== */
    .product-modal::-webkit-scrollbar { width: 6px; }
    .product-modal::-webkit-scrollbar-track { background: transparent; }
    .product-modal::-webkit-scrollbar-thumb { background: #e0d6e8; border-radius: 3px; }
}

/* Migrated from server/templates/doula-guide.html; keep interactive rules scoped to this page layer. */
@scope (.legacy-page) {
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --pink: #E8A0BF;
      --pink-dark: #D4789E;
      --purple: #7B2D8E;
      --lavender: #BA90C6;
      --cream: #FFF8F0;
      --peach: #F9D5C5;
      --deep: #1A1A2E;
      --soft-white: #FEFBF6;
      --gold: #C49A1A;
      --bg: #FFF9FB;
      --card-border: #f0e8f5;
      --text-secondary: #777;
      --success: #4CAF50;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
      color: var(--deep);
      background: var(--bg);
      line-height: 1.6;
      overflow-x: hidden;
    }

    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      background: linear-gradient(135deg, #2a1432 0%, #1a1a2e 40%, #2d1b3d 70%, #1a1a2e 100%);
    }
    .hero-bg-img {
      position: absolute;
      inset: 0;
      z-index: 0;
    }
    .hero-bg-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.3;
    }
    .hero-bg-img::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(42,20,50,0.6) 0%, rgba(26,26,46,0.85) 100%);
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse at 20% 30%, rgba(186,144,198,0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(232,160,191,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 0%, rgba(123,45,142,0.12) 0%, transparent 40%);
      pointer-events: none;
    }

    .hero-particles {
      position: absolute;
      inset: 0;
      overflow: hidden;
      pointer-events: none;
    }

    .hero-particle {
      position: absolute;
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: rgba(232,160,191,0.3);
      animation: float-particle 8s ease-in-out infinite;
    }

    .hero-particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 7s; }
    .hero-particle:nth-child(2) { left: 25%; top: 60%; animation-delay: 1s; animation-duration: 9s; }
    .hero-particle:nth-child(3) { left: 45%; top: 30%; animation-delay: 2s; animation-duration: 6s; }
    .hero-particle:nth-child(4) { left: 65%; top: 70%; animation-delay: 0.5s; animation-duration: 8s; }
    .hero-particle:nth-child(5) { left: 80%; top: 40%; animation-delay: 3s; animation-duration: 10s; }
    .hero-particle:nth-child(6) { left: 90%; top: 15%; animation-delay: 1.5s; animation-duration: 7s; }
    .hero-particle:nth-child(7) { left: 35%; top: 80%; animation-delay: 4s; animation-duration: 9s; }
    .hero-particle:nth-child(8) { left: 55%; top: 10%; animation-delay: 2.5s; animation-duration: 11s; }

    @keyframes float-particle {
      0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
      50% { transform: translateY(-30px) scale(1.5); opacity: 0.7; }
    }

    .hero-content {
      position: relative;
      z-index: 1;
      max-width: 780px;
      margin: 0 auto;
      padding: 120px 24px 80px;
      text-align: center;
    }

    .hero-logo {
      display: block;
      margin: 0 auto 28px;
      width: 88px;
      height: 88px;
      border-radius: 22px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.3);
      animation: logo-pulse 3s ease-in-out infinite;
    }

    @keyframes logo-pulse {
      0%, 100% { box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
      50% { box-shadow: 0 8px 48px rgba(232,160,191,0.4); }
    }

    .hero-badge {
      display: inline-block;
      padding: 8px 22px;
      border-radius: 24px;
      background: linear-gradient(135deg, rgba(232,160,191,0.25), rgba(186,144,198,0.2));
      color: #f5d0e0;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-bottom: 24px;
      border: 1px solid rgba(232,160,191,0.15);
    }

    .hero h1 {
      font-size: 44px;
      font-weight: 800;
      line-height: 1.12;
      color: #fff;
      margin-bottom: 20px;
      text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    }

    .hero h1 span {
      background: linear-gradient(135deg, #E8A0BF, #f5d0e0, #BA90C6);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-sub {
      font-size: 18px;
      color: rgba(255,255,255,0.85);
      max-width: 600px;
      margin: 0 auto 36px;
      line-height: 1.75;
    }

    .hero-buttons {
      display: flex;
      flex-direction: column;
      gap: 14px;
      align-items: center;
    }

    .btn-appstore {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      padding: 16px 36px;
      border-radius: 16px;
      background: linear-gradient(135deg, var(--pink-dark), var(--purple));
      color: #fff;
      text-decoration: none;
      font-size: 17px;
      font-weight: 700;
      transition: transform 0.2s, box-shadow 0.2s;
      box-shadow: 0 6px 24px rgba(212,120,158,0.4);
    }

    .btn-appstore:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 40px rgba(212,120,158,0.5);
    }

    .btn-appstore svg { width: 22px; height: 22px; fill: #fff; }

    .btn-share-hero {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 32px;
      border-radius: 14px;
      background: rgba(255,255,255,0.1);
      border: 1.5px solid rgba(255,255,255,0.25);
      color: #fff;
      text-decoration: none;
      font-size: 15px;
      font-weight: 700;
      transition: all 0.2s;
      backdrop-filter: blur(8px);
      cursor: pointer;
    }

    .btn-share-hero:hover {
      background: rgba(255,255,255,0.18);
      transform: translateY(-2px);
    }

    .stats-bar {
      padding: 48px 24px;
      background: #fff;
      border-bottom: 1px solid #f0e8f5;
    }

    .stats-bar-inner {
      max-width: 1000px;
      margin: 0 auto;
      display: flex;
      justify-content: center;
      gap: 48px;
      flex-wrap: wrap;
    }

    .stat-item {
      text-align: center;
      min-width: 140px;
    }

    .stat-number {
      font-size: 36px;
      font-weight: 800;
      color: var(--purple);
      line-height: 1.1;
    }

    .stat-label {
      font-size: 13px;
      color: var(--text-secondary);
      font-weight: 600;
      margin-top: 4px;
    }

    .section-wrap {
      padding: 80px 24px;
    }

    .section-wrap.alt { background: #fff; }
    .section-wrap.gradient { background: linear-gradient(160deg, #f8f2ff 0%, #fce8f0 40%, var(--bg) 100%); }

    .section-inner {
      max-width: 1100px;
      margin: 0 auto;
    }

    .section-tag {
      display: inline-block;
      padding: 6px 18px;
      border-radius: 20px;
      background: rgba(232,160,191,0.15);
      color: var(--purple);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-bottom: 16px;
    }

    .section-title {
      font-size: 34px;
      font-weight: 800;
      color: var(--deep);
      margin-bottom: 12px;
    }

    .section-desc {
      font-size: 17px;
      color: #666;
      max-width: 600px;
      margin: 0 auto 48px;
      line-height: 1.7;
    }

    .text-center { text-align: center; }

    .feature-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 20px;
    }

    .feature-card {
      padding: 32px 28px;
      border-radius: 20px;
      background: #fff;
      border: 1px solid var(--card-border);
      transition: transform 0.25s, box-shadow 0.25s;
      text-align: left;
      cursor: pointer;
    }

    .section-wrap.alt .feature-card {
      background: var(--bg);
    }

    .feature-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 16px 40px rgba(123,45,142,0.1);
    }

    .feature-icon {
      width: 56px;
      height: 56px;
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 18px;
      font-size: 26px;
    }

    .feature-icon.pink { background: rgba(232,160,191,0.2); }
    .feature-icon.purple { background: rgba(123,45,142,0.1); }
    .feature-icon.peach { background: rgba(249,213,197,0.4); }
    .feature-icon.green { background: rgba(200,230,201,0.5); }
    .feature-icon.blue { background: rgba(187,222,251,0.4); }
    .feature-icon.gold { background: rgba(255,224,178,0.5); }

    .feature-card h3 {
      font-size: 19px;
      font-weight: 700;
      margin-bottom: 8px;
      color: var(--deep);
    }

    .feature-card p {
      font-size: 15px;
      color: #666;
      line-height: 1.65;
    }
    .see-demo-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 14px;
      font-size: 13px;
      font-weight: 700;
      color: #7B2D8E;
      background: rgba(123,45,142,0.08);
      padding: 8px 16px;
      border-radius: 10px;
      transition: background 0.2s, transform 0.15s;
    }
    .feature-card:hover .see-demo-btn {
      background: rgba(123,45,142,0.14);
      transform: translateX(2px);
    }

    .timeline-section {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }

    .timeline-text h2 {
      font-size: 32px;
      font-weight: 800;
      color: var(--deep);
      margin-bottom: 16px;
    }

    .timeline-text > p {
      font-size: 16px;
      color: #666;
      line-height: 1.7;
      margin-bottom: 32px;
    }

    .timeline-list {
      position: relative;
      padding-left: 36px;
    }

    .timeline-list::before {
      content: '';
      position: absolute;
      left: 14px;
      top: 0;
      bottom: 0;
      width: 3px;
      background: linear-gradient(to bottom, var(--pink), var(--lavender), var(--purple));
      border-radius: 2px;
    }

    .timeline-item {
      position: relative;
      margin-bottom: 28px;
    }

    .timeline-item:last-child { margin-bottom: 0; }

    .timeline-dot {
      position: absolute;
      left: -36px;
      top: 2px;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: #fff;
      border: 3px solid var(--pink);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      z-index: 1;
    }

    .timeline-item:nth-child(2) .timeline-dot { border-color: var(--lavender); }
    .timeline-item:nth-child(3) .timeline-dot { border-color: var(--purple); }

    .timeline-item h4 {
      font-size: 17px;
      font-weight: 700;
      color: var(--deep);
      margin-bottom: 6px;
    }

    .timeline-item p {
      font-size: 14px;
      color: #666;
      line-height: 1.65;
    }

    .timeline-features {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .timeline-feature-card {
      padding: 24px;
      border-radius: 18px;
      background: linear-gradient(135deg, #fff 0%, #faf5ff 100%);
      border: 1px solid var(--card-border);
      transition: transform 0.2s;
    }

    .timeline-feature-card:hover {
      transform: translateX(6px);
    }

    .timeline-feature-card h4 {
      font-size: 16px;
      font-weight: 700;
      color: var(--deep);
      margin-bottom: 6px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .timeline-feature-card p {
      font-size: 14px;
      color: #666;
      line-height: 1.6;
    }

    .blog-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 24px;
    }

    .blog-card {
      background: #fff;
      border-radius: 20px;
      overflow: hidden;
      border: 1px solid var(--card-border);
      transition: transform 0.25s, box-shadow 0.25s;
      display: flex;
      flex-direction: column;
    }

    .blog-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 16px 48px rgba(123,45,142,0.12);
    }

    .blog-card-accent {
      height: 6px;
      background: linear-gradient(90deg, var(--pink), var(--lavender));
    }

    .blog-card:nth-child(2) .blog-card-accent { background: linear-gradient(90deg, var(--lavender), var(--purple)); }
    .blog-card:nth-child(3) .blog-card-accent { background: linear-gradient(90deg, var(--peach), var(--pink)); }
    .blog-card:nth-child(4) .blog-card-accent { background: linear-gradient(90deg, var(--purple), var(--pink)); }
    .blog-card:nth-child(5) .blog-card-accent { background: linear-gradient(90deg, var(--pink), var(--peach)); }
    .blog-card:nth-child(6) .blog-card-accent { background: linear-gradient(90deg, var(--lavender), var(--pink)); }

    .blog-card-body {
      padding: 24px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .blog-card-meta {
      font-size: 12px;
      color: var(--lavender);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 10px;
    }

    .blog-card h3 {
      font-size: 18px;
      font-weight: 700;
      color: var(--deep);
      margin-bottom: 10px;
      line-height: 1.35;
    }

    .blog-card h3 a {
      color: inherit;
      text-decoration: none;
      transition: color 0.2s;
    }

    .blog-card h3 a:hover {
      color: var(--purple);
    }

    .blog-card-excerpt {
      font-size: 14px;
      color: #666;
      line-height: 1.6;
      flex: 1;
      margin-bottom: 16px;
    }

    .blog-card-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .blog-card-link {
      font-size: 14px;
      font-weight: 700;
      color: var(--purple);
      text-decoration: none;
      transition: color 0.2s;
    }

    .blog-card-link:hover { color: var(--pink-dark); }

    .blog-card-share {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 14px;
      border-radius: 20px;
      background: rgba(232,160,191,0.1);
      border: 1px solid rgba(232,160,191,0.2);
      color: var(--pink-dark);
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.2s;
      text-decoration: none;
    }

    .blog-card-share:hover {
      background: rgba(232,160,191,0.2);
    }

    .testimonials-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 24px;
    }

    .testimonial-card {
      background: #fff;
      border-radius: 20px;
      padding: 32px 28px;
      border: 1px solid var(--card-border);
      position: relative;
    }

    .testimonial-card::before {
      content: '\201C';
      position: absolute;
      top: 16px;
      left: 24px;
      font-size: 56px;
      color: rgba(232,160,191,0.2);
      font-family: Georgia, serif;
      line-height: 1;
    }

    .testimonial-text {
      font-size: 15px;
      color: #555;
      line-height: 1.7;
      font-style: italic;
      margin-bottom: 20px;
      padding-top: 8px;
    }

    .testimonial-author {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .testimonial-avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--pink), var(--lavender));
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-weight: 800;
      font-size: 16px;
    }

    .testimonial-name {
      font-size: 14px;
      font-weight: 700;
      color: var(--deep);
    }

    .testimonial-role {
      font-size: 12px;
      color: var(--text-secondary);
    }

    .share-cta {
      background: linear-gradient(135deg, #2a1432 0%, #1a1a2e 50%, #2d1b3d 100%);
      padding: 80px 24px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .share-cta::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse at 30% 50%, rgba(186,144,198,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(232,160,191,0.1) 0%, transparent 50%);
      pointer-events: none;
    }

    .share-cta-inner {
      position: relative;
      z-index: 1;
      max-width: 700px;
      margin: 0 auto;
    }

    .share-cta h2 {
      font-size: 32px;
      font-weight: 800;
      color: #fff;
      margin-bottom: 16px;
    }

    .share-cta p {
      font-size: 17px;
      color: rgba(255,255,255,0.8);
      line-height: 1.7;
      margin-bottom: 32px;
    }

    .share-options {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: 32px;
    }

    .share-option {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      padding: 20px 28px;
      border-radius: 16px;
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.12);
      color: #fff;
      text-decoration: none;
      transition: all 0.2s;
      cursor: pointer;
      min-width: 120px;
    }

    .share-option:hover {
      background: rgba(255,255,255,0.15);
      transform: translateY(-3px);
    }

    .share-option-icon {
      font-size: 28px;
    }

    .share-option-label {
      font-size: 13px;
      font-weight: 700;
    }

    .share-text-box {
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 14px;
      padding: 20px;
      margin: 0 auto;
      max-width: 500px;
    }

    .share-text-label {
      font-size: 12px;
      color: rgba(255,255,255,0.5);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 8px;
    }

    .share-text-content {
      font-size: 14px;
      color: rgba(255,255,255,0.85);
      line-height: 1.6;
      margin-bottom: 12px;
    }

    .btn-copy {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 20px;
      border-radius: 20px;
      background: rgba(255,255,255,0.15);
      border: 1px solid rgba(255,255,255,0.2);
      color: #fff;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.2s;
    }

    .btn-copy:hover {
      background: rgba(255,255,255,0.25);
    }

    .product-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 20px;
    }

    .product-card {
      background: #fff;
      border-radius: 18px;
      padding: 24px;
      border: 1px solid var(--card-border);
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .product-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 32px rgba(123,45,142,0.08);
    }

    .product-card-icon {
      font-size: 32px;
      margin-bottom: 12px;
    }

    .product-card h4 {
      font-size: 17px;
      font-weight: 700;
      color: var(--deep);
      margin-bottom: 8px;
    }

    .product-why {
      font-size: 13px;
      color: #666;
      line-height: 1.6;
      margin-bottom: 14px;
    }

    .product-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 18px;
      border-radius: 12px;
      background: linear-gradient(135deg, var(--purple), #9b59b6);
      color: #fff;
      text-decoration: none;
      font-size: 13px;
      font-weight: 700;
      transition: transform 0.15s, box-shadow 0.15s;
    }

    .product-link:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(123,45,142,0.3);
    }

    .faq-section {
      max-width: 800px;
      margin: 0 auto;
    }

    .faq-section-header {
      text-align: center;
      margin-bottom: 40px;
    }

    .faq-item {
      background: #fff;
      border-radius: 16px;
      margin-bottom: 12px;
      border: 1px solid var(--card-border);
      overflow: hidden;
      transition: box-shadow 0.2s;
    }

    .faq-item:hover {
      box-shadow: 0 4px 16px rgba(123,45,142,0.06);
    }

    .faq-item[open] {
      box-shadow: 0 4px 20px rgba(123,45,142,0.08);
    }

    .faq-item summary {
      padding: 20px 24px;
      cursor: pointer;
      list-style: none;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }

    .faq-item summary::-webkit-details-marker { display: none; }

    .faq-item summary::after {
      content: '+';
      font-size: 22px;
      font-weight: 700;
      color: var(--lavender);
      flex-shrink: 0;
      transition: transform 0.2s;
    }

    .faq-item[open] summary::after {
      content: '\2212';
      color: var(--purple);
    }

    .faq-item summary h3 {
      font-size: 16px;
      font-weight: 700;
      color: var(--deep);
      line-height: 1.4;
    }

    .faq-answer {
      padding: 0 24px 20px;
    }

    .faq-answer p {
      font-size: 15px;
      color: #555;
      line-height: 1.7;
      margin-bottom: 12px;
    }

    .faq-answer p:last-child { margin-bottom: 0; }

    footer {
      padding: 40px 24px;
      text-align: center;
      background: var(--deep);
      color: rgba(255,255,255,0.5);
      font-size: 14px;
    }

    footer .footer-brand {
      font-size: 18px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 8px;
    }

    footer a {
      color: rgba(255,255,255,0.6);
      text-decoration: none;
      margin: 0 12px;
      transition: color 0.2s;
    }

    footer a:hover { color: #fff; }

    .footer-links { margin: 16px 0; }
    .footer-divider { width: 80px; height: 1px; background: rgba(255,255,255,0.15); margin: 20px auto; }
    .footer-company { margin-top: 6px; font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.6; }
    .footer-company a { color: rgba(255,255,255,0.55); font-size: 12px; margin: 0 4px; text-decoration: none; transition: color 0.2s; }
    .footer-company a:hover { color: #fff; }
    .footer-sister-sites { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,0.35); }
    .footer-sister-sites a { color: rgba(255,255,255,0.5); font-size: 12px; margin: 0 6px; text-decoration: none; transition: color 0.2s; }
    .footer-sister-sites a:hover { color: rgba(255,255,255,0.8); }

    .fade-up {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .fade-up.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .copied-toast {
      position: fixed;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%) translateY(20px);
      background: var(--deep);
      color: #fff;
      padding: 12px 24px;
      border-radius: 12px;
      font-size: 14px;
      font-weight: 700;
      box-shadow: 0 8px 32px rgba(0,0,0,0.3);
      z-index: 9999;
      opacity: 0;
      transition: opacity 0.3s, transform 0.3s;
      pointer-events: none;
    }

    .copied-toast.show {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    @media (max-width: 768px) {
      .hero h1 { font-size: 32px; }
      .hero-sub { font-size: 16px; }
      .hero-content { padding: 80px 20px 60px; }
      .stats-bar-inner { gap: 24px; }
      .stat-number { font-size: 28px; }
      .section-title { font-size: 26px; }
      .section-desc { font-size: 15px; }
      .feature-grid { grid-template-columns: 1fr; }
      .timeline-section { grid-template-columns: 1fr; gap: 32px; }
      .blog-grid { grid-template-columns: 1fr; }
      .testimonials-grid { grid-template-columns: 1fr; }
      .product-grid { grid-template-columns: 1fr; }
      .share-cta h2 { font-size: 26px; }
      .share-options { flex-direction: column; align-items: center; }
      .section-wrap { padding: 60px 20px; }
    }

    @media (min-width: 769px) and (max-width: 1024px) {
      .feature-grid { grid-template-columns: repeat(2, 1fr); }
      .blog-grid { grid-template-columns: repeat(2, 1fr); }
    }

    .demo-overlay {
      position: fixed;
      inset: 0;
      z-index: 100000;
      background: rgba(0,0,0,0.65);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
      padding: 24px;
    }
    .demo-overlay.active {
      opacity: 1;
      pointer-events: auto;
    }
    .demo-modal {
      background: #fff;
      border-radius: 24px;
      max-width: 1000px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: 0 32px 80px rgba(0,0,0,0.3);
      transform: translateY(30px) scale(0.95);
      transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
      position: relative;
    }
    .demo-overlay.active .demo-modal {
      transform: translateY(0) scale(1);
    }
    .demo-close {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(0,0,0,0.06);
      border: none;
      font-size: 20px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #333;
      transition: background 0.2s;
      z-index: 2;
    }
    .demo-close:hover { background: rgba(0,0,0,0.12); }
    .demo-content {
      display: flex;
      gap: 0;
    }
    .demo-phone {
      flex: 0 0 400px;
      padding: 32px 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #2a1432, #1a1a2e);
      border-radius: 24px 0 0 24px;
      position: relative;
      overflow: hidden;
    }
    .demo-phone::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at 30% 20%, rgba(186,144,198,0.2) 0%, transparent 60%);
      pointer-events: none;
    }
    .demo-phone-frame {
      width: 340px;
      border-radius: 32px;
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0,0,0,0.5);
      border: 3px solid rgba(255,255,255,0.15);
      position: relative;
      z-index: 1;
    }
    .demo-phone-frame iframe {
      width: 100%;
      height: 680px;
      display: block;
      border: none;
      background: #0d0d1a;
    }
    .demo-info {
      flex: 1;
      padding: 40px 36px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .demo-badge {
      display: inline-block;
      background: linear-gradient(135deg, rgba(123,45,142,0.1), rgba(232,160,191,0.15));
      color: #7B2D8E;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      padding: 6px 14px;
      border-radius: 20px;
      margin-bottom: 16px;
      width: fit-content;
    }
    .demo-info h3 {
      font-size: 26px;
      font-weight: 800;
      color: #1a1a2e;
      margin-bottom: 12px;
      line-height: 1.2;
    }
    .demo-info > p {
      font-size: 15px;
      color: #555;
      line-height: 1.7;
      margin-bottom: 24px;
    }
    .demo-highlights {
      list-style: none;
      padding: 0;
      margin: 0 0 28px 0;
    }
    .demo-highlights li {
      font-size: 14px;
      color: #444;
      padding: 8px 0;
      display: flex;
      align-items: flex-start;
      gap: 10px;
      line-height: 1.5;
    }
    .demo-highlights li::before {
      content: '\2713';
      color: #7B2D8E;
      font-weight: 700;
      flex-shrink: 0;
      margin-top: 1px;
    }
    .demo-cta {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: linear-gradient(135deg, #7B2D8E, #D4789E);
      color: #fff;
      font-size: 15px;
      font-weight: 700;
      padding: 14px 28px;
      border-radius: 14px;
      text-decoration: none;
      transition: transform 0.2s, box-shadow 0.2s;
      width: fit-content;
    }
    .demo-cta:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(123,45,142,0.3);
    }
    @media (max-width: 768px) {
      .demo-content { flex-direction: column; }
      .demo-phone {
        flex: none;
        border-radius: 24px 24px 0 0;
        padding: 28px 24px;
      }
      .demo-phone-frame { width: 280px; }
      .demo-phone-frame iframe { height: 580px; }
      .demo-info { padding: 28px 24px; }
      .demo-info h3 { font-size: 22px; }
    }
}

/* Migrated from server/templates/midwife-guide.html; keep interactive rules scoped to this page layer. */
@scope (.legacy-page) {
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --pink: #E8A0BF;
      --pink-dark: #D4789E;
      --purple: #7B2D8E;
      --lavender: #BA90C6;
      --cream: #FFF8F0;
      --peach: #F9D5C5;
      --deep: #1A1A2E;
      --soft-white: #FEFBF6;
      --gold: #C49A1A;
      --bg: #FFF9FB;
      --card-border: #f0e8f5;
      --text-secondary: #777;
      --success: #4CAF50;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
      color: var(--deep);
      background: var(--bg);
      line-height: 1.6;
      overflow-x: hidden;
    }

    .hero {
      position: relative;
      padding: 120px 24px 80px;
      text-align: center;
      background: linear-gradient(135deg, #1e2a3a 0%, #1a1a2e 40%, #2a1432 100%);
      overflow: hidden;
      min-height: 520px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .hero-bg-img {
      position: absolute;
      inset: 0;
      z-index: 0;
    }
    .hero-bg-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.3;
    }
    .hero-bg-img::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(30,42,58,0.6) 0%, rgba(26,26,46,0.85) 100%);
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse at 20% 30%, rgba(186,144,198,0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(232,160,191,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(123,45,142,0.08) 0%, transparent 70%);
      pointer-events: none;
    }

    .hero::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 120px;
      background: linear-gradient(to top, var(--bg), transparent);
      pointer-events: none;
    }

    .hero-particles {
      position: absolute;
      inset: 0;
      overflow: hidden;
      pointer-events: none;
    }

    .hero-particle {
      position: absolute;
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: rgba(232,160,191,0.3);
      animation: float-particle 8s infinite ease-in-out;
    }

    .hero-particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 7s; }
    .hero-particle:nth-child(2) { left: 25%; top: 60%; animation-delay: 1s; animation-duration: 9s; }
    .hero-particle:nth-child(3) { left: 45%; top: 30%; animation-delay: 2s; animation-duration: 6s; }
    .hero-particle:nth-child(4) { left: 65%; top: 70%; animation-delay: 3s; animation-duration: 8s; }
    .hero-particle:nth-child(5) { left: 80%; top: 25%; animation-delay: 4s; animation-duration: 10s; }
    .hero-particle:nth-child(6) { left: 90%; top: 55%; animation-delay: 5s; animation-duration: 7s; }

    @keyframes float-particle {
      0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
      50% { transform: translateY(-30px) scale(1.5); opacity: 0.7; }
    }

    .hero-content {
      position: relative;
      z-index: 1;
      max-width: 720px;
      margin: 0 auto;
    }

    .hero-logo {
      display: block;
      margin: 0 auto 24px;
      width: 80px;
      height: 80px;
      border-radius: 20px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.2);
      animation: logo-glow 3s ease-in-out infinite alternate;
    }

    @keyframes logo-glow {
      from { box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
      to { box-shadow: 0 8px 48px rgba(232,160,191,0.3); }
    }

    .hero-badge {
      display: inline-block;
      padding: 8px 20px;
      border-radius: 20px;
      background: rgba(232,160,191,0.2);
      color: #f5d0e0;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-bottom: 24px;
      backdrop-filter: blur(8px);
    }

    .hero h1 {
      font-size: 42px;
      font-weight: 800;
      line-height: 1.12;
      color: #fff;
      margin-bottom: 20px;
      text-shadow: 0 2px 16px rgba(0,0,0,0.3);
    }

    .hero h1 span {
      background: linear-gradient(135deg, #E8A0BF, #f5d0e0);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-sub {
      font-size: 18px;
      color: rgba(255,255,255,0.85);
      max-width: 560px;
      margin: 0 auto 32px;
      line-height: 1.7;
      text-shadow: 0 1px 6px rgba(0,0,0,0.2);
    }

    .hero-cta-group {
      display: flex;
      gap: 16px;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
    }

    .btn-primary-hero {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 16px 32px;
      border-radius: 14px;
      background: linear-gradient(135deg, var(--pink), var(--pink-dark));
      color: #fff;
      text-decoration: none;
      font-size: 16px;
      font-weight: 800;
      transition: transform 0.2s, box-shadow 0.2s;
      box-shadow: 0 6px 24px rgba(232,160,191,0.4);
    }

    .btn-primary-hero:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 36px rgba(232,160,191,0.5);
    }

    .btn-secondary-hero {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 16px 32px;
      border-radius: 14px;
      background: rgba(255,255,255,0.1);
      color: #fff;
      text-decoration: none;
      font-size: 16px;
      font-weight: 700;
      border: 1.5px solid rgba(255,255,255,0.3);
      transition: transform 0.2s, background 0.2s;
      backdrop-filter: blur(8px);
    }

    .btn-secondary-hero:hover {
      transform: translateY(-2px);
      background: rgba(255,255,255,0.2);
    }

    .btn-secondary-hero svg { width: 20px; height: 20px; fill: #fff; }

    .stats-strip {
      padding: 0;
      position: relative;
      z-index: 2;
      margin-top: -40px;
      margin-bottom: 48px;
    }

    .stats-strip-inner {
      max-width: 900px;
      margin: 0 auto;
      padding: 0 24px;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }

    .stat-card {
      background: #fff;
      border-radius: 16px;
      padding: 24px 16px;
      text-align: center;
      box-shadow: 0 4px 24px rgba(0,0,0,0.06);
      border: 1px solid var(--card-border);
      transition: transform 0.2s;
    }

    .stat-card:hover { transform: translateY(-3px); }

    .stat-number {
      font-size: 32px;
      font-weight: 800;
      color: var(--purple);
      line-height: 1;
      margin-bottom: 6px;
    }

    .stat-label {
      font-size: 12px;
      color: var(--text-secondary);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .section-wrapper {
      max-width: 1100px;
      margin: 0 auto;
      padding: 80px 24px;
    }

    .section-wrapper.alt-bg { background: #fff; }
    .section-wrapper.gradient-bg { background: linear-gradient(160deg, #f3e8ff 0%, #fce4ec 40%, var(--soft-white) 100%); }

    .section-tag {
      display: inline-block;
      padding: 6px 16px;
      border-radius: 20px;
      background: rgba(232,160,191,0.15);
      color: var(--purple);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-bottom: 16px;
    }

    .section-title {
      font-size: 34px;
      font-weight: 800;
      color: var(--deep);
      margin-bottom: 12px;
      line-height: 1.2;
    }

    .section-desc {
      font-size: 17px;
      color: #666;
      max-width: 560px;
      margin: 0 auto 48px;
      line-height: 1.7;
      text-align: center;
    }

    .text-center { text-align: center; }

    .feature-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .feature-card {
      padding: 28px 24px;
      border-radius: 20px;
      background: var(--bg);
      border: 1px solid var(--card-border);
      transition: transform 0.3s, box-shadow 0.3s;
      text-align: left;
      cursor: pointer;
    }

    .feature-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 16px 40px rgba(123,45,142,0.1);
    }

    .feature-icon {
      width: 52px;
      height: 52px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 16px;
      font-size: 24px;
    }

    .feature-icon.teal { background: rgba(0,150,136,0.12); }
    .feature-icon.pink { background: rgba(232,160,191,0.2); }
    .feature-icon.purple { background: rgba(123,45,142,0.1); }
    .feature-icon.peach { background: rgba(249,213,197,0.4); }
    .feature-icon.green { background: rgba(200,230,201,0.5); }
    .feature-icon.blue { background: rgba(187,222,251,0.4); }

    .feature-card h3 {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 8px;
      color: var(--deep);
    }

    .feature-card p {
      font-size: 14px;
      color: #666;
      line-height: 1.6;
    }
    .see-demo-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 14px;
      font-size: 13px;
      font-weight: 700;
      color: #7B2D8E;
      background: rgba(123,45,142,0.08);
      padding: 8px 16px;
      border-radius: 10px;
      transition: background 0.2s, transform 0.15s;
    }
    .feature-card:hover .see-demo-btn {
      background: rgba(123,45,142,0.14);
      transform: translateX(2px);
    }

    .timeline-section {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }

    .timeline-text h2 {
      font-size: 32px;
      font-weight: 800;
      color: var(--deep);
      margin-bottom: 12px;
    }

    .timeline-text > p {
      font-size: 16px;
      color: #666;
      line-height: 1.7;
      margin-bottom: 32px;
    }

    .timeline-list {
      list-style: none;
      padding: 0;
      position: relative;
    }

    .timeline-list::before {
      content: '';
      position: absolute;
      left: 19px;
      top: 0;
      bottom: 0;
      width: 2px;
      background: linear-gradient(to bottom, var(--pink), var(--lavender), var(--purple));
      border-radius: 1px;
    }

    .timeline-item {
      display: flex;
      gap: 16px;
      padding: 16px 0;
      position: relative;
    }

    .timeline-dot {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: #fff;
      border: 3px solid var(--lavender);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      flex-shrink: 0;
      z-index: 1;
      transition: border-color 0.2s, transform 0.2s;
    }

    .timeline-item:hover .timeline-dot {
      border-color: var(--purple);
      transform: scale(1.1);
    }

    .timeline-content h4 {
      font-size: 16px;
      font-weight: 700;
      color: var(--deep);
      margin-bottom: 4px;
    }

    .timeline-content p {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.6;
    }

    .timeline-visual {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .visual-card {
      background: #fff;
      border-radius: 20px;
      padding: 28px;
      border: 1px solid var(--card-border);
      box-shadow: 0 4px 24px rgba(0,0,0,0.04);
      transition: transform 0.3s;
    }

    .visual-card:hover { transform: translateY(-4px); }

    .visual-card h4 {
      font-size: 16px;
      font-weight: 800;
      color: var(--purple);
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .visual-card p {
      font-size: 14px;
      color: #666;
      line-height: 1.6;
    }

    .visual-card .app-badge {
      display: inline-block;
      padding: 4px 10px;
      border-radius: 8px;
      background: rgba(123,45,142,0.08);
      color: var(--purple);
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-top: 8px;
    }

    .blog-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .blog-card {
      background: #fff;
      border-radius: 20px;
      border: 1px solid var(--card-border);
      overflow: hidden;
      transition: transform 0.3s, box-shadow 0.3s;
      display: flex;
      flex-direction: column;
      text-decoration: none;
    }

    .blog-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 16px 48px rgba(123,45,142,0.12);
    }

    .blog-card-gradient {
      height: 6px;
      background: linear-gradient(135deg, var(--pink), var(--purple));
    }

    .blog-card-body {
      padding: 24px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .blog-card-meta {
      font-size: 12px;
      color: var(--lavender);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 10px;
    }

    .blog-card h3 {
      font-size: 17px;
      font-weight: 700;
      color: var(--deep);
      margin-bottom: 10px;
      line-height: 1.35;
    }

    .blog-card .blog-excerpt {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.6;
      flex: 1;
      margin-bottom: 16px;
    }

    .blog-card-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .blog-read-link {
      font-size: 13px;
      font-weight: 700;
      color: var(--purple);
      text-decoration: none;
      transition: color 0.2s;
    }

    .blog-read-link:hover { color: var(--pink-dark); }

    .blog-share-btn {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      border: 1.5px solid var(--card-border);
      background: transparent;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 14px;
      color: var(--text-secondary);
      transition: all 0.2s;
    }

    .blog-share-btn:hover {
      border-color: var(--purple);
      color: var(--purple);
      background: rgba(123,45,142,0.04);
    }

    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .testimonial-card {
      background: #fff;
      border-radius: 20px;
      padding: 28px;
      border: 1px solid var(--card-border);
      position: relative;
    }

    .testimonial-card::before {
      content: "\201C";
      position: absolute;
      top: 16px;
      left: 24px;
      font-size: 48px;
      color: rgba(232,160,191,0.3);
      font-family: Georgia, serif;
      line-height: 1;
    }

    .testimonial-card p {
      font-size: 15px;
      color: #555;
      line-height: 1.7;
      font-style: italic;
      margin-bottom: 16px;
      padding-top: 20px;
    }

    .testimonial-author {
      font-size: 13px;
      font-weight: 700;
      color: var(--deep);
    }

    .testimonial-role {
      font-size: 12px;
      color: var(--lavender);
      font-weight: 600;
    }

    .share-section {
      background: linear-gradient(135deg, #2a1432 0%, #1a1a2e 50%, #1e2a3a 100%);
      padding: 80px 24px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .share-section::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse at 30% 40%, rgba(186,144,198,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(232,160,191,0.1) 0%, transparent 50%);
      pointer-events: none;
    }

    .share-inner {
      max-width: 700px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }

    .share-inner h2 {
      font-size: 32px;
      font-weight: 800;
      color: #fff;
      margin-bottom: 16px;
    }

    .share-inner > p {
      font-size: 17px;
      color: rgba(255,255,255,0.8);
      line-height: 1.7;
      margin-bottom: 32px;
    }

    .share-copy-box {
      background: rgba(255,255,255,0.08);
      border: 1.5px solid rgba(255,255,255,0.15);
      border-radius: 16px;
      padding: 20px 24px;
      margin-bottom: 28px;
      backdrop-filter: blur(8px);
    }

    .share-copy-label {
      font-size: 11px;
      font-weight: 700;
      color: var(--pink);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 8px;
    }

    .share-copy-text {
      font-size: 14px;
      color: rgba(255,255,255,0.9);
      line-height: 1.6;
      margin-bottom: 12px;
    }

    .btn-copy {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 20px;
      border-radius: 10px;
      background: rgba(255,255,255,0.12);
      color: #fff;
      border: 1px solid rgba(255,255,255,0.25);
      cursor: pointer;
      font-size: 13px;
      font-weight: 700;
      font-family: inherit;
      transition: background 0.2s;
    }

    .btn-copy:hover { background: rgba(255,255,255,0.2); }

    .share-buttons {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .share-buttons .btn-appstore {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 16px 32px;
      border-radius: 14px;
      background: #fff;
      color: var(--deep);
      text-decoration: none;
      font-size: 16px;
      font-weight: 700;
      transition: transform 0.2s, box-shadow 0.2s;
      box-shadow: 0 6px 24px rgba(0,0,0,0.15);
    }

    .share-buttons .btn-appstore:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 36px rgba(0,0,0,0.25);
    }

    .share-buttons .btn-appstore svg { width: 22px; height: 22px; }

    .product-section {
      max-width: 1100px;
      margin: 0 auto;
      padding: 80px 24px;
    }

    .product-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
    }

    .product-card {
      background: #fff;
      border-radius: 16px;
      border: 1px solid var(--card-border);
      padding: 20px;
      transition: all 0.2s;
      display: flex;
      flex-direction: column;
    }

    .product-card:hover {
      border-color: var(--lavender);
      box-shadow: 0 4px 20px rgba(123,45,142,0.08);
      transform: translateY(-2px);
    }

    .product-card-icon {
      width: 48px;
      height: 48px;
      border-radius: 14px;
      background: #f8f5fb;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      margin-bottom: 14px;
    }

    .product-card h4 {
      font-size: 15px;
      font-weight: 700;
      color: var(--deep);
      margin-bottom: 6px;
      line-height: 1.3;
    }

    .product-card p {
      font-size: 13px;
      color: #777;
      line-height: 1.5;
      flex: 1;
      margin-bottom: 14px;
    }

    .product-card .product-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 10px 16px;
      border-radius: 10px;
      background: linear-gradient(135deg, var(--purple), #9b59b6);
      color: #fff;
      text-decoration: none;
      font-size: 13px;
      font-weight: 700;
      transition: transform 0.15s, box-shadow 0.15s;
      align-self: flex-start;
    }

    .product-card .product-link:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 16px rgba(123,45,142,0.3);
    }

    .affiliate-disclosure {
      font-size: 11px;
      color: #bbb;
      text-align: center;
      margin-top: 24px;
      line-height: 1.5;
    }

    .faq-wrapper {
      max-width: 800px;
      margin: 0 auto;
      padding: 80px 24px;
    }

    .faq-item {
      background: #fff;
      border: 1px solid var(--card-border);
      border-radius: 14px;
      margin-bottom: 12px;
      overflow: hidden;
      transition: box-shadow 0.2s;
    }

    .faq-item:hover { box-shadow: 0 4px 16px rgba(123,45,142,0.06); }

    .faq-item summary {
      padding: 18px 24px;
      font-size: 16px;
      font-weight: 700;
      color: var(--deep);
      cursor: pointer;
      list-style: none;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      line-height: 1.4;
    }

    .faq-item summary::-webkit-details-marker { display: none; }

    .faq-item summary::after {
      content: "+";
      font-size: 22px;
      font-weight: 700;
      color: var(--purple);
      flex-shrink: 0;
      transition: transform 0.2s;
    }

    .faq-item[open] summary::after {
      content: "\2212";
      transform: rotate(180deg);
    }

    .faq-item .faq-answer {
      padding: 0 24px 20px;
      font-size: 15px;
      color: #555;
      line-height: 1.7;
    }

    footer {
      padding: 40px 24px;
      text-align: center;
      background: var(--deep);
      color: rgba(255,255,255,0.5);
      font-size: 14px;
    }

    footer .footer-brand {
      font-size: 18px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 8px;
    }

    footer a {
      color: rgba(255,255,255,0.6);
      text-decoration: none;
      margin: 0 12px;
      transition: color 0.2s;
    }

    footer a:hover { color: #fff; }

    .footer-links { margin: 16px 0; }
    .footer-divider { width: 80px; height: 1px; background: rgba(255,255,255,0.15); margin: 20px auto; }
    .footer-company { margin-top: 6px; font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.6; }
    .footer-company a { color: rgba(255,255,255,0.55); font-size: 12px; margin: 0 4px; text-decoration: none; transition: color 0.2s; }
    .footer-company a:hover { color: #fff; }
    .footer-sister-sites { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,0.35); }
    .footer-sister-sites a { color: rgba(255,255,255,0.5); font-size: 12px; margin: 0 6px; text-decoration: none; transition: color 0.2s; }
    .footer-sister-sites a:hover { color: rgba(255,255,255,0.8); }

    .fade-up {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .fade-up.visible {
      opacity: 1;
      transform: translateY(0);
    }

    @media (max-width: 960px) {
      .feature-grid { grid-template-columns: repeat(2, 1fr); }
      .blog-grid { grid-template-columns: repeat(2, 1fr); }
      .testimonial-grid { grid-template-columns: 1fr; }
      .timeline-section { grid-template-columns: 1fr; gap: 32px; }
      .product-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 639px) {
      .hero { padding: 80px 20px 60px; min-height: 420px; }
      .hero h1 { font-size: 30px; }
      .hero-sub { font-size: 16px; }
      .hero-cta-group { flex-direction: column; }
      .stats-strip-inner { grid-template-columns: repeat(2, 1fr); }
      .stat-number { font-size: 26px; }
      .section-title { font-size: 26px; }
      .feature-grid { grid-template-columns: 1fr; }
      .blog-grid { grid-template-columns: 1fr; }
      .product-grid { grid-template-columns: 1fr; }
      .section-wrapper { padding: 48px 20px; }
      .share-section { padding: 48px 20px; }
      .share-inner h2 { font-size: 26px; }
    }

    .demo-overlay {
      position: fixed;
      inset: 0;
      z-index: 100000;
      background: rgba(0,0,0,0.65);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
      padding: 24px;
    }
    .demo-overlay.active {
      opacity: 1;
      pointer-events: auto;
    }
    .demo-modal {
      background: #fff;
      border-radius: 24px;
      max-width: 1000px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: 0 32px 80px rgba(0,0,0,0.3);
      transform: translateY(30px) scale(0.95);
      transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
      position: relative;
    }
    .demo-overlay.active .demo-modal {
      transform: translateY(0) scale(1);
    }
    .demo-close {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(0,0,0,0.06);
      border: none;
      font-size: 20px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #333;
      transition: background 0.2s;
      z-index: 2;
    }
    .demo-close:hover { background: rgba(0,0,0,0.12); }
    .demo-content {
      display: flex;
      gap: 0;
    }
    .demo-phone {
      flex: 0 0 400px;
      padding: 32px 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #2a1432, #1a1a2e);
      border-radius: 24px 0 0 24px;
      position: relative;
      overflow: hidden;
    }
    .demo-phone::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at 30% 20%, rgba(186,144,198,0.2) 0%, transparent 60%);
      pointer-events: none;
    }
    .demo-phone-frame {
      width: 340px;
      border-radius: 32px;
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0,0,0,0.5);
      border: 3px solid rgba(255,255,255,0.15);
      position: relative;
      z-index: 1;
    }
    .demo-phone-frame iframe {
      width: 100%;
      height: 680px;
      display: block;
      border: none;
      background: #0d0d1a;
    }
    .demo-info {
      flex: 1;
      padding: 40px 36px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .demo-badge {
      display: inline-block;
      background: linear-gradient(135deg, rgba(123,45,142,0.1), rgba(232,160,191,0.15));
      color: #7B2D8E;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      padding: 6px 14px;
      border-radius: 20px;
      margin-bottom: 16px;
      width: fit-content;
    }
    .demo-info h3 {
      font-size: 26px;
      font-weight: 800;
      color: #1a1a2e;
      margin-bottom: 12px;
      line-height: 1.2;
    }
    .demo-info > p {
      font-size: 15px;
      color: #555;
      line-height: 1.7;
      margin-bottom: 24px;
    }
    .demo-highlights {
      list-style: none;
      padding: 0;
      margin: 0 0 28px 0;
    }
    .demo-highlights li {
      font-size: 14px;
      color: #444;
      padding: 8px 0;
      display: flex;
      align-items: flex-start;
      gap: 10px;
      line-height: 1.5;
    }
    .demo-highlights li::before {
      content: '✓';
      color: #7B2D8E;
      font-weight: 700;
      flex-shrink: 0;
      margin-top: 1px;
    }
    .demo-cta {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: linear-gradient(135deg, #7B2D8E, #D4789E);
      color: #fff;
      font-size: 15px;
      font-weight: 700;
      padding: 14px 28px;
      border-radius: 14px;
      text-decoration: none;
      transition: transform 0.2s, box-shadow 0.2s;
      width: fit-content;
    }
    .demo-cta:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(123,45,142,0.3);
    }
    @media (max-width: 768px) {
      .demo-content { flex-direction: column; }
      .demo-phone {
        flex: none;
        border-radius: 24px 24px 0 0;
        padding: 28px 24px;
      }
      .demo-phone-frame { width: 280px; }
      .demo-phone-frame iframe { height: 580px; }
      .demo-info { padding: 28px 24px; }
      .demo-info h3 { font-size: 22px; }
    }
}

/* Migrated from server/templates/blog-post.html; keep interactive rules scoped to this page layer. */
@scope (.legacy-page) {
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --pink: #E8A0BF;
      --pink-dark: #D4789E;
      --purple: #7B2D8E;
      --lavender: #BA90C6;
      --cream: #FFF8F0;
      --peach: #F9D5C5;
      --deep: #1A1A2E;
      --soft-white: #FEFBF6;
      --gold: #C49A1A;
      --bg: #FFF9FB;
      --card-border: #f0e8f5;
      --text-secondary: #777;
      --success: #4CAF50;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
      color: var(--deep);
      background: var(--bg);
      line-height: 1.6;
      overflow-x: hidden;
    }

    .progress-bar {
      position: fixed;
      top: 0;
      left: 0;
      width: 0%;
      height: 4px;
      background: linear-gradient(90deg, var(--purple), var(--pink));
      z-index: 10000;
      transition: width 0.1s linear;
    }

    .blog-hero {
      position: relative;
      padding: 100px 24px 60px;
      text-align: center;
      background: linear-gradient(135deg, {{HERO_GRADIENT_1}}, {{HERO_GRADIENT_2}});
      overflow: hidden;
      min-height: 360px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .blog-hero-bg {
      position: absolute;
      inset: 0;
      z-index: 0;
    }
    .blog-hero-bg img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.25;
    }
    .blog-hero-bg::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, {{HERO_GRADIENT_1}}cc, {{HERO_GRADIENT_2}}99);
    }

    .blog-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.15) 0%, transparent 60%),
                  radial-gradient(ellipse at 70% 80%, rgba(0,0,0,0.1) 0%, transparent 50%);
      pointer-events: none;
      z-index: 1;
    }

    .blog-hero::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 80px;
      background: linear-gradient(to top, var(--bg), transparent);
      pointer-events: none;
    }

    .hero-inner {
      position: relative;
      z-index: 2;
      max-width: 720px;
      margin: 0 auto;
    }

    .hero-icon {
      font-size: 48px;
      margin-bottom: 20px;
      display: block;
      animation: float 3s ease-in-out infinite;
    }

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

    .breadcrumb {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-bottom: 20px;
      font-size: 13px;
      font-weight: 600;
    }

    .breadcrumb a {
      color: rgba(255,255,255,0.8);
      text-decoration: none;
      transition: color 0.2s;
    }

    .breadcrumb a:hover { color: #fff; }

    .breadcrumb .sep { color: rgba(255,255,255,0.5); }

    .breadcrumb .current { color: rgba(255,255,255,0.95); }

    .category-badge {
      display: inline-block;
      padding: 6px 18px;
      border-radius: 20px;
      background: rgba(255,255,255,0.2);
      color: #fff;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-bottom: 16px;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
    }

    .blog-hero h1 {
      font-size: 36px;
      font-weight: 800;
      line-height: 1.2;
      color: #fff;
      margin-bottom: 16px;
      text-shadow: 0 2px 16px rgba(0,0,0,0.15);
    }

    .hero-meta {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      font-size: 14px;
      color: rgba(255,255,255,0.85);
      font-weight: 600;
      flex-wrap: wrap;
    }

    .hero-meta-dot {
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: rgba(255,255,255,0.5);
    }

    .article-wrapper {
      max-width: 780px;
      margin: -30px auto 0;
      padding: 0 24px;
      position: relative;
      z-index: 2;
    }

    .article-body {
      background: #fff;
      border-radius: 24px;
      padding: 48px 40px;
      box-shadow: 0 8px 40px rgba(0,0,0,0.06);
      border: 1px solid var(--card-border);
    }

    .article-body h2 {
      font-size: 24px;
      font-weight: 800;
      color: var(--deep);
      margin: 40px 0 16px;
      line-height: 1.3;
      position: relative;
      padding-left: 20px;
    }

    .article-body h2::before {
      content: '';
      position: absolute;
      left: 0;
      top: 4px;
      bottom: 4px;
      width: 4px;
      border-radius: 2px;
      background: linear-gradient(to bottom, var(--purple), var(--pink));
    }

    .article-body h2:first-child { margin-top: 0; }

    .article-body p {
      font-size: 16px;
      color: #444;
      line-height: 1.85;
      margin-bottom: 16px;
    }

    .article-body strong {
      color: var(--deep);
      font-weight: 700;
    }

    .article-body ul, .article-body ol {
      margin: 12px 0 20px 24px;
      color: #444;
      font-size: 16px;
      line-height: 1.8;
    }

    .article-body li {
      margin-bottom: 8px;
    }

    .share-section {
      margin-top: 48px;
      padding: 32px;
      background: linear-gradient(135deg, #f8f5fb, #fdf0f5);
      border-radius: 20px;
      text-align: center;
      border: 1px solid var(--card-border);
    }

    .share-section h3 {
      font-size: 20px;
      font-weight: 800;
      color: var(--deep);
      margin-bottom: 8px;
    }

    .share-section p {
      font-size: 14px;
      color: var(--text-secondary);
      margin-bottom: 20px;
    }

    .share-buttons {
      display: flex;
      gap: 12px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .share-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 20px;
      border-radius: 12px;
      font-size: 14px;
      font-weight: 700;
      text-decoration: none;
      border: none;
      cursor: pointer;
      transition: transform 0.15s, box-shadow 0.15s;
    }

    .share-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    }

    .share-btn.twitter {
      background: #1DA1F2;
      color: #fff;
    }

    .share-btn.facebook {
      background: #1877F2;
      color: #fff;
    }

    .share-btn.linkedin {
      background: #0A66C2;
      color: #fff;
    }

    .share-btn.copy-link {
      background: #fff;
      color: var(--purple);
      border: 1.5px solid var(--lavender);
    }

    .share-btn.copy-link.copied {
      background: var(--success);
      color: #fff;
      border-color: var(--success);
    }

    .app-highlights-section {
      max-width: 780px;
      margin: 48px auto 0;
      padding: 0 24px;
    }

    .app-highlights-inner {
      background: linear-gradient(135deg, var(--deep), #2d1b4e);
      border-radius: 24px;
      padding: 48px 40px;
      text-align: center;
    }

    .app-highlights-inner h2 {
      font-size: 24px;
      font-weight: 800;
      color: #fff;
      margin-bottom: 8px;
    }

    .app-highlights-inner > p {
      font-size: 15px;
      color: rgba(255,255,255,0.7);
      margin-bottom: 32px;
    }

    .highlights-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 16px;
      margin-bottom: 32px;
    }

    .highlight-card {
      background: rgba(255,255,255,0.08);
      border-radius: 16px;
      padding: 24px;
      text-align: left;
      border: 1px solid rgba(255,255,255,0.1);
      transition: background 0.2s;
    }

    .highlight-card:hover {
      background: rgba(255,255,255,0.12);
    }

    .highlight-card-icon {
      font-size: 28px;
      margin-bottom: 12px;
      display: block;
    }

    .highlight-card h3 {
      font-size: 17px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 6px;
    }

    .highlight-card p {
      font-size: 14px;
      color: rgba(255,255,255,0.7);
      line-height: 1.6;
    }

    .cta-btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 16px 32px;
      border-radius: 14px;
      background: linear-gradient(135deg, var(--pink), var(--pink-dark));
      color: #fff;
      text-decoration: none;
      font-size: 16px;
      font-weight: 700;
      transition: transform 0.2s, box-shadow 0.2s;
      box-shadow: 0 6px 24px rgba(232,160,191,0.4);
    }

    .cta-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 32px rgba(232,160,191,0.5);
    }

    .cta-btn svg { width: 20px; height: 20px; fill: #fff; }

    .cta-section {
      max-width: 780px;
      margin: 48px auto 0;
      padding: 0 24px;
    }

    .cta-section-inner {
      background: linear-gradient(135deg, #f3e8ff, #fce4ec);
      border-radius: 24px;
      padding: 48px 40px;
      text-align: center;
      border: 1px solid rgba(232,160,191,0.2);
    }

    .cta-section-inner h2 {
      font-size: 24px;
      font-weight: 800;
      color: var(--deep);
      margin-bottom: 12px;
    }

    .cta-section-inner p {
      font-size: 16px;
      color: #555;
      line-height: 1.7;
      max-width: 480px;
      margin: 0 auto 24px;
    }

    .cta-appstore {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 16px 32px;
      border-radius: 14px;
      background: var(--deep);
      color: #fff;
      text-decoration: none;
      font-size: 16px;
      font-weight: 700;
      transition: transform 0.2s, box-shadow 0.2s;
      box-shadow: 0 6px 24px rgba(26,26,46,0.2);
    }

    .cta-appstore:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 32px rgba(26,26,46,0.3);
    }

    .cta-appstore svg { width: 22px; height: 22px; fill: #fff; }

    .related-section {
      max-width: 780px;
      margin: 60px auto 0;
      padding: 0 24px 60px;
    }

    .related-section h2 {
      font-size: 24px;
      font-weight: 800;
      color: var(--deep);
      margin-bottom: 24px;
      text-align: center;
    }

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

    .related-card {
      background: #fff;
      border-radius: 16px;
      padding: 24px;
      border: 1px solid var(--card-border);
      text-decoration: none;
      transition: transform 0.2s, box-shadow 0.2s;
      display: block;
    }

    .related-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 32px rgba(123,45,142,0.1);
    }

    .related-card-gradient {
      width: 100%;
      height: 6px;
      border-radius: 3px;
      margin-bottom: 16px;
    }

    .related-card h3 {
      font-size: 17px;
      font-weight: 700;
      color: var(--deep);
      margin-bottom: 8px;
      line-height: 1.3;
    }

    .related-card p {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.6;
      margin-bottom: 12px;
    }

    .related-card-meta {
      font-size: 12px;
      font-weight: 700;
      color: var(--lavender);
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    footer {
      padding: 40px 24px;
      text-align: center;
      background: var(--deep);
      color: rgba(255,255,255,0.5);
      font-size: 14px;
    }

    footer .footer-brand {
      font-size: 18px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 8px;
    }

    footer a {
      color: rgba(255,255,255,0.6);
      text-decoration: none;
      margin: 0 12px;
      transition: color 0.2s;
    }

    footer a:hover { color: #fff; }

    .footer-links { margin: 16px 0; }
    .footer-divider { width: 80px; height: 1px; background: rgba(255,255,255,0.15); margin: 20px auto; }
    .footer-company { margin-top: 6px; font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.6; }
    .footer-sister-sites { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,0.35); }
    .footer-sister-sites a { color: rgba(255,255,255,0.5); font-size: 12px; margin: 0 6px; text-decoration: none; transition: color 0.2s; }
    .footer-sister-sites a:hover { color: rgba(255,255,255,0.8); }

    .fade-up {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .fade-up.visible {
      opacity: 1;
      transform: translateY(0);
    }

    @media (min-width: 640px) {
      .blog-hero h1 { font-size: 40px; }
      .highlights-grid { grid-template-columns: repeat(3, 1fr); }
      .related-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (min-width: 960px) {
      .blog-hero h1 { font-size: 44px; }
    }

    @media (max-width: 639px) {
      .blog-hero { padding: 80px 20px 48px; min-height: 300px; }
      .blog-hero h1 { font-size: 28px; }
      .article-body { padding: 32px 24px; border-radius: 20px; }
      .article-body h2 { font-size: 21px; }
      .app-highlights-inner { padding: 32px 24px; }
      .cta-section-inner { padding: 32px 24px; }
      .share-buttons { flex-direction: column; align-items: center; }
      .share-btn { width: 100%; justify-content: center; }
    }
}

/* Migrated from server/templates/support.html; keep interactive rules scoped to this page layer. */
@scope (.legacy-page) {
* { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Nunito", sans-serif;
      background: #FFF9FB;
      color: #2D2233;
      line-height: 1.7;
      min-height: 100vh;
    }
    .header {
      background: linear-gradient(135deg, #E8A0BF 0%, #D4789E 100%);
      padding: 48px 24px 32px;
      text-align: center;
    }
    .header h1 {
      color: #fff;
      font-size: 2rem;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .header p {
      color: rgba(255,255,255,0.9);
      font-size: 1.1rem;
    }
    .container {
      max-width: 720px;
      margin: 0 auto;
      padding: 32px 24px 64px;
    }
    h2 {
      color: #D4789E;
      font-size: 1.4rem;
      margin: 32px 0 16px;
      padding-bottom: 8px;
      border-bottom: 2px solid #F5D5E0;
    }
    h3 {
      color: #2D2233;
      font-size: 1.1rem;
      margin: 20px 0 8px;
    }
    p, li {
      color: #4A3F50;
      margin-bottom: 12px;
    }
    ul {
      padding-left: 24px;
      margin-bottom: 16px;
    }
    a {
      color: #D4789E;
      text-decoration: none;
    }
    a:hover {
      text-decoration: underline;
    }
    .card {
      background: #fff;
      border-radius: 12px;
      padding: 24px;
      margin: 16px 0;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
      border: 1px solid #F5D5E0;
    }
    .contact-method {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 0;
      border-bottom: 1px solid #F5D5E0;
    }
    .contact-method:last-child {
      border-bottom: none;
    }
    .contact-label {
      font-weight: 600;
      color: #2D2233;
      min-width: 80px;
    }
    .faq-item {
      margin-bottom: 20px;
    }
    .faq-item strong {
      display: block;
      color: #2D2233;
      margin-bottom: 4px;
    }
    .back-home {
      display: inline-block;
      margin: 20px 24px 0;
      color: #D4789E;
      text-decoration: none;
      font-weight: 600;
      font-size: 14px;
    }
    .back-home:hover { text-decoration: underline; }
    .site-footer {
      background: #1A1A2E;
      color: rgba(255,255,255,0.5);
      text-align: center;
      padding: 40px 24px 32px;
      margin-top: 48px;
      font-size: 13px;
      line-height: 1.8;
    }
    .site-footer .footer-brand {
      font-size: 18px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 10px;
    }
    .site-footer a {
      color: rgba(255,255,255,0.6);
      text-decoration: none;
      margin: 0 10px;
      transition: color 0.2s;
    }
    .site-footer a:hover { color: #fff; }
    .footer-links { margin: 12px 0; }
    .footer-divider { width: 80px; height: 1px; background: rgba(255,255,255,0.15); margin: 20px auto; }
    .footer-company { margin-top: 6px; font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.6; }
    .footer-company a { color: rgba(255,255,255,0.55); font-size: 12px; margin: 0 4px; }
    .footer-company a:hover { color: #fff; }
    .footer-sister-sites { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,0.35); }
    .footer-sister-sites a { color: rgba(255,255,255,0.5); font-size: 12px; margin: 0 6px; }
    .footer-sister-sites a:hover { color: rgba(255,255,255,0.8); }
    .footer-legal {
      margin-top: 16px;
      font-size: 12px;
      color: rgba(255,255,255,0.35);
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.6;
    }
}

/* Migrated from server/templates/press.html; keep interactive rules scoped to this page layer. */
@scope (.legacy-page) {
* { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Nunito", sans-serif;
      background: #FFF9FB;
      color: #2D2233;
      line-height: 1.7;
      min-height: 100vh;
    }
    .back-home {
      display: inline-block;
      padding: 12px 20px;
      color: #D4789E;
      text-decoration: none;
      font-weight: 600;
      font-size: 14px;
    }
    .back-home:hover { text-decoration: underline; }
    .header {
      background: linear-gradient(135deg, #E8A0BF 0%, #D4789E 100%);
      padding: 56px 24px 40px;
      text-align: center;
    }
    .header img.app-icon {
      width: 96px;
      height: 96px;
      border-radius: 22px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.15);
      margin-bottom: 20px;
    }
    .header h1 {
      color: #fff;
      font-size: 2.4rem;
      font-weight: 700;
      margin-bottom: 8px;
      letter-spacing: -0.5px;
    }
    .header .tagline {
      color: rgba(255,255,255,0.95);
      font-size: 1.15rem;
      max-width: 620px;
      margin: 0 auto;
    }
    .container {
      max-width: 880px;
      margin: 0 auto;
      padding: 40px 24px 64px;
    }
    .lede {
      font-size: 1.15rem;
      color: #4A3F50;
      margin-bottom: 32px;
      padding: 24px;
      background: #fff;
      border-radius: 14px;
      border-left: 4px solid #E8A0BF;
      box-shadow: 0 2px 12px rgba(212,120,158,0.08);
    }
    h2 {
      color: #D4789E;
      font-size: 1.5rem;
      margin: 40px 0 16px;
      padding-bottom: 8px;
      border-bottom: 2px solid #F5D5E0;
      font-weight: 700;
    }
    h3 {
      color: #2D2233;
      font-size: 1.1rem;
      margin: 20px 0 8px;
      font-weight: 700;
    }
    .card {
      background: #fff;
      border-radius: 14px;
      padding: 24px;
      margin-bottom: 16px;
      box-shadow: 0 2px 12px rgba(212,120,158,0.06);
    }
    p, li { color: #4A3F50; margin-bottom: 12px; }
    ul { padding-left: 24px; margin-bottom: 16px; }
    a { color: #D4789E; text-decoration: none; font-weight: 600; }
    a:hover { text-decoration: underline; }
    .fact-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 12px;
      margin-bottom: 16px;
    }
    .fact {
      background: #fff;
      border-radius: 12px;
      padding: 18px;
      box-shadow: 0 2px 8px rgba(212,120,158,0.06);
    }
    .fact .label {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: #B07A93;
      font-weight: 700;
      margin-bottom: 6px;
    }
    .fact .value {
      font-size: 15px;
      color: #2D2233;
      font-weight: 500;
    }
    .feature-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 14px;
    }
    .feature {
      background: #fff;
      border-radius: 12px;
      padding: 18px;
      box-shadow: 0 2px 8px rgba(212,120,158,0.06);
    }
    .feature .title {
      color: #D4789E;
      font-weight: 700;
      font-size: 15px;
      margin-bottom: 6px;
    }
    .feature .desc {
      font-size: 14px;
      color: #4A3F50;
      line-height: 1.55;
    }
    .quote {
      background: linear-gradient(135deg, #FBE9F1 0%, #F5D5E0 100%);
      border-radius: 14px;
      padding: 28px;
      font-style: italic;
      color: #2D2233;
      font-size: 1.05rem;
      margin-bottom: 16px;
    }
    .quote .attribution {
      display: block;
      margin-top: 12px;
      font-style: normal;
      font-size: 13px;
      color: #B07A93;
      font-weight: 600;
    }
    .download-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 12px;
    }
    .download {
      background: #fff;
      border-radius: 12px;
      padding: 18px;
      text-align: center;
      box-shadow: 0 2px 8px rgba(212,120,158,0.06);
    }
    .download .name {
      font-weight: 700;
      color: #2D2233;
      margin-bottom: 4px;
      font-size: 14px;
    }
    .download .meta {
      font-size: 12px;
      color: #B07A93;
      margin-bottom: 10px;
    }
    .download a {
      display: inline-block;
      padding: 8px 16px;
      background: #D4789E;
      color: #fff;
      border-radius: 8px;
      font-size: 13px;
    }
    .download a:hover {
      background: #B05A7C;
      text-decoration: none;
    }
    .contact-card {
      background: #fff;
      border-radius: 14px;
      padding: 28px;
      text-align: center;
      box-shadow: 0 4px 16px rgba(212,120,158,0.1);
    }
    .contact-card .email {
      font-size: 1.3rem;
      font-weight: 700;
      color: #D4789E;
      display: block;
      margin: 8px 0;
    }
    .contact-card .response {
      font-size: 14px;
      color: #B07A93;
    }
    .site-footer {
      background: #2D2233;
      color: rgba(255,255,255,0.8);
      text-align: center;
      padding: 32px 24px;
      margin-top: 48px;
    }
    .footer-brand { font-weight: 700; font-size: 1.1rem; margin-bottom: 12px; color: #fff; }
    .footer-links a { color: rgba(255,255,255,0.7); margin: 0 8px; font-size: 14px; font-weight: 400; }
    .footer-links a:hover { color: #fff; }
    .footer-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 20px auto; max-width: 600px; }
    .footer-company { font-size: 13px; color: rgba(255,255,255,0.6); margin: 6px 0; }
    .footer-company a { color: rgba(255,255,255,0.8); }
    .footer-legal { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 14px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.6; }
}

/* Migrated from server/templates/privacy.html; keep interactive rules scoped to this page layer. */
@scope (.legacy-page) {
* { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Nunito", sans-serif;
      background: #FFF9FB;
      color: #2D2233;
      line-height: 1.7;
      min-height: 100vh;
    }
    .header {
      background: linear-gradient(135deg, #E8A0BF 0%, #D4789E 100%);
      padding: 48px 24px 32px;
      text-align: center;
    }
    .header h1 {
      font-size: 28px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 6px;
    }
    .header p {
      color: rgba(255,255,255,0.85);
      font-size: 14px;
    }
    .content {
      max-width: 720px;
      margin: 0 auto;
      padding: 32px 24px 60px;
    }
    h2 {
      font-size: 20px;
      font-weight: 700;
      color: #D4789E;
      margin-top: 32px;
      margin-bottom: 12px;
    }
    h3 {
      font-size: 16px;
      font-weight: 600;
      color: #2D2233;
      margin-top: 20px;
      margin-bottom: 8px;
    }
    p, li {
      font-size: 15px;
      color: #4A3A54;
      margin-bottom: 12px;
    }
    ul {
      padding-left: 24px;
      margin-bottom: 16px;
    }
    li { margin-bottom: 6px; }
    a {
      color: #D4789E;
      text-decoration: none;
    }
    a:hover { text-decoration: underline; }
    .back-link {
      display: inline-block;
      margin-bottom: 24px;
      font-size: 14px;
      color: #D4789E;
      font-weight: 600;
    }
    .back-home {
      display: inline-block;
      margin: 20px 24px 0;
      color: #D4789E;
      text-decoration: none;
      font-weight: 600;
      font-size: 14px;
    }
    .back-home:hover { text-decoration: underline; }
    .site-footer {
      background: #1A1A2E;
      color: rgba(255,255,255,0.5);
      text-align: center;
      padding: 40px 24px 32px;
      margin-top: 48px;
      font-size: 13px;
      line-height: 1.8;
    }
    .site-footer .footer-brand {
      font-size: 18px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 10px;
    }
    .site-footer a {
      color: rgba(255,255,255,0.6);
      text-decoration: none;
      margin: 0 10px;
      transition: color 0.2s;
    }
    .site-footer a:hover { color: #fff; }
    .footer-links { margin: 12px 0; }
    .footer-divider { width: 80px; height: 1px; background: rgba(255,255,255,0.15); margin: 20px auto; }
    .footer-company { margin-top: 6px; font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.6; }
    .footer-company a { color: rgba(255,255,255,0.55); font-size: 12px; margin: 0 4px; }
    .footer-company a:hover { color: #fff; }
    .footer-sister-sites { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,0.35); }
    .footer-sister-sites a { color: rgba(255,255,255,0.5); font-size: 12px; margin: 0 6px; }
    .footer-sister-sites a:hover { color: rgba(255,255,255,0.8); }
    .footer-legal {
      margin-top: 16px;
      font-size: 12px;
      color: rgba(255,255,255,0.35);
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.6;
    }
}

/* Migrated from server/templates/terms.html; keep interactive rules scoped to this page layer. */
@scope (.legacy-page) {
* { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Nunito", sans-serif;
      background: #FFF9FB;
      color: #2D2233;
      line-height: 1.7;
      min-height: 100vh;
    }
    .header {
      background: linear-gradient(135deg, #E8A0BF 0%, #D4789E 100%);
      padding: 48px 24px 32px;
      text-align: center;
    }
    .header h1 {
      font-size: 28px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 6px;
    }
    .header p {
      color: rgba(255,255,255,0.85);
      font-size: 14px;
    }
    .content {
      max-width: 720px;
      margin: 0 auto;
      padding: 32px 24px 60px;
    }
    h2 {
      font-size: 20px;
      font-weight: 700;
      color: #D4789E;
      margin-top: 32px;
      margin-bottom: 12px;
    }
    h3 {
      font-size: 16px;
      font-weight: 600;
      color: #2D2233;
      margin-top: 20px;
      margin-bottom: 8px;
    }
    p, li {
      font-size: 15px;
      color: #4A3A54;
      margin-bottom: 12px;
    }
    ul {
      padding-left: 24px;
      margin-bottom: 16px;
    }
    li { margin-bottom: 6px; }
    a {
      color: #D4789E;
      text-decoration: none;
    }
    a:hover { text-decoration: underline; }
    .back-link {
      display: inline-block;
      margin-bottom: 24px;
      font-size: 14px;
      color: #D4789E;
      font-weight: 600;
    }
    .back-home {
      display: inline-block;
      margin: 20px 24px 0;
      color: #D4789E;
      text-decoration: none;
      font-weight: 600;
      font-size: 14px;
    }
    .back-home:hover { text-decoration: underline; }
    .site-footer {
      background: #1A1A2E;
      color: rgba(255,255,255,0.5);
      text-align: center;
      padding: 40px 24px 32px;
      margin-top: 48px;
      font-size: 13px;
      line-height: 1.8;
    }
    .site-footer .footer-brand {
      font-size: 18px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 10px;
    }
    .site-footer a {
      color: rgba(255,255,255,0.6);
      text-decoration: none;
      margin: 0 10px;
      transition: color 0.2s;
    }
    .site-footer a:hover { color: #fff; }
    .footer-links { margin: 12px 0; }
    .footer-divider { width: 80px; height: 1px; background: rgba(255,255,255,0.15); margin: 20px auto; }
    .footer-company { margin-top: 6px; font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.6; }
    .footer-company a { color: rgba(255,255,255,0.55); font-size: 12px; margin: 0 4px; }
    .footer-company a:hover { color: #fff; }
    .footer-sister-sites { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,0.35); }
    .footer-sister-sites a { color: rgba(255,255,255,0.5); font-size: 12px; margin: 0 6px; }
    .footer-sister-sites a:hover { color: rgba(255,255,255,0.8); }
    .footer-legal {
      margin-top: 16px;
      font-size: 12px;
      color: rgba(255,255,255,0.35);
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.6;
    }
}

/* Migrated from server/templates/cookies.html; keep interactive rules scoped to this page layer. */
@scope (.legacy-page) {
* { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Nunito", sans-serif;
      background: #FFF9FB;
      color: #2D2233;
      line-height: 1.7;
      min-height: 100vh;
    }
    .header {
      background: linear-gradient(135deg, #E8A0BF 0%, #D4789E 100%);
      padding: 48px 24px 32px;
      text-align: center;
    }
    .header h1 { font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 6px; }
    .header p { color: rgba(255,255,255,0.85); font-size: 14px; }
    .content { max-width: 720px; margin: 0 auto; padding: 32px 24px 60px; }
    h2 { font-size: 20px; font-weight: 700; color: #D4789E; margin-top: 32px; margin-bottom: 12px; }
    h3 { font-size: 16px; font-weight: 600; color: #2D2233; margin-top: 20px; margin-bottom: 8px; }
    p, li { font-size: 15px; color: #4A3A54; margin-bottom: 12px; }
    ul { padding-left: 24px; margin-bottom: 16px; }
    li { margin-bottom: 6px; }
    a { color: #D4789E; text-decoration: none; }
    a:hover { text-decoration: underline; }
    .back-link { display: inline-block; margin-bottom: 24px; font-size: 14px; color: #D4789E; font-weight: 600; }
    .back-home { display: inline-block; margin: 20px 24px 0; color: #D4789E; text-decoration: none; font-weight: 600; font-size: 14px; }
    .back-home:hover { text-decoration: underline; }
    table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 14px; }
    th { background: #F5D5E0; color: #2D2233; font-weight: 600; text-align: left; padding: 10px 12px; }
    td { padding: 10px 12px; border-bottom: 1px solid #EDE4EF; color: #4A3A54; }
    tr:hover td { background: #FFF0F5; }
    .site-footer {
      background: #1A1A2E; color: rgba(255,255,255,0.5); text-align: center;
      padding: 40px 24px 32px; margin-top: 48px; font-size: 13px; line-height: 1.8;
    }
    .site-footer .footer-brand { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
    .site-footer a { color: rgba(255,255,255,0.6); text-decoration: none; margin: 0 10px; transition: color 0.2s; }
    .site-footer a:hover { color: #fff; }
    .footer-links { margin: 12px 0; }
    .footer-divider { width: 80px; height: 1px; background: rgba(255,255,255,0.15); margin: 20px auto; }
    .footer-company { margin-top: 6px; font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.6; }
    .footer-company a { color: rgba(255,255,255,0.55); font-size: 12px; margin: 0 4px; }
    .footer-company a:hover { color: #fff; }
    .footer-sister-sites { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,0.35); }
    .footer-sister-sites a { color: rgba(255,255,255,0.5); font-size: 12px; margin: 0 6px; }
    .footer-sister-sites a:hover { color: rgba(255,255,255,0.8); }
    .footer-legal { margin-top: 16px; font-size: 12px; color: rgba(255,255,255,0.35); max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.6; }
}

/* Migrated from server/templates/permissions.html; keep interactive rules scoped to this page layer. */
@scope (.legacy-page) {
* { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Nunito", sans-serif;
      background: #FFF9FB;
      color: #2D2233;
      line-height: 1.7;
      min-height: 100vh;
    }
    .header {
      background: linear-gradient(135deg, #E8A0BF 0%, #D4789E 100%);
      padding: 48px 24px 32px;
      text-align: center;
    }
    .header h1 { font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 6px; }
    .header p { color: rgba(255,255,255,0.85); font-size: 14px; }
    .content { max-width: 720px; margin: 0 auto; padding: 32px 24px 60px; }
    h2 { font-size: 20px; font-weight: 700; color: #D4789E; margin-top: 32px; margin-bottom: 12px; }
    h3 { font-size: 16px; font-weight: 600; color: #2D2233; margin-top: 20px; margin-bottom: 8px; }
    p, li { font-size: 15px; color: #4A3A54; margin-bottom: 12px; }
    ul { padding-left: 24px; margin-bottom: 16px; }
    li { margin-bottom: 6px; }
    a { color: #D4789E; text-decoration: none; }
    a:hover { text-decoration: underline; }
    .back-link { display: inline-block; margin-bottom: 24px; font-size: 14px; color: #D4789E; font-weight: 600; }
    .back-home { display: inline-block; margin: 20px 24px 0; color: #D4789E; text-decoration: none; font-weight: 600; font-size: 14px; }
    .back-home:hover { text-decoration: underline; }
    .perm-card {
      background: #fff; border: 1px solid #EDE4EF; border-radius: 12px;
      padding: 20px; margin-bottom: 16px;
    }
    .perm-card h3 { margin-top: 0; color: #D4789E; font-size: 17px; }
    .perm-card .perm-status {
      display: inline-block; font-size: 12px; font-weight: 600;
      padding: 3px 10px; border-radius: 10px; margin-left: 8px;
    }
    .perm-optional { background: #E8F5E9; color: #2E7D32; }
    .perm-required { background: #FFF3E0; color: #E65100; }
    .site-footer {
      background: #1A1A2E; color: rgba(255,255,255,0.5); text-align: center;
      padding: 40px 24px 32px; margin-top: 48px; font-size: 13px; line-height: 1.8;
    }
    .site-footer .footer-brand { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
    .site-footer a { color: rgba(255,255,255,0.6); text-decoration: none; margin: 0 10px; transition: color 0.2s; }
    .site-footer a:hover { color: #fff; }
    .footer-links { margin: 12px 0; }
    .footer-divider { width: 80px; height: 1px; background: rgba(255,255,255,0.15); margin: 20px auto; }
    .footer-company { margin-top: 6px; font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.6; }
    .footer-company a { color: rgba(255,255,255,0.55); font-size: 12px; margin: 0 4px; }
    .footer-company a:hover { color: #fff; }
    .footer-legal { margin-top: 16px; font-size: 12px; color: rgba(255,255,255,0.35); max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.6; }
}

/* Migrated from server/templates/accessibility.html; keep interactive rules scoped to this page layer. */
@scope (.legacy-page) {
* { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Nunito", sans-serif;
      background: #FFF9FB;
      color: #2D2233;
      line-height: 1.7;
      min-height: 100vh;
    }
    .header {
      background: linear-gradient(135deg, #E8A0BF 0%, #D4789E 100%);
      padding: 48px 24px 32px;
      text-align: center;
    }
    .header h1 {
      font-size: 28px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 6px;
    }
    .header p {
      color: rgba(255,255,255,0.85);
      font-size: 14px;
    }
    .content {
      max-width: 720px;
      margin: 0 auto;
      padding: 32px 24px 60px;
    }
    h2 {
      font-size: 20px;
      font-weight: 700;
      color: #D4789E;
      margin-top: 32px;
      margin-bottom: 12px;
    }
    h3 {
      font-size: 16px;
      font-weight: 600;
      color: #2D2233;
      margin-top: 20px;
      margin-bottom: 8px;
    }
    p, li {
      font-size: 15px;
      color: #4A3A54;
      margin-bottom: 12px;
    }
    ul {
      padding-left: 24px;
      margin-bottom: 16px;
    }
    li { margin-bottom: 6px; }
    a {
      color: #D4789E;
      text-decoration: none;
    }
    a:hover { text-decoration: underline; }
    .back-link {
      display: inline-block;
      margin-bottom: 24px;
      font-size: 14px;
      color: #D4789E;
      font-weight: 600;
    }
    .feature-card {
      background: #fff;
      border: 1px solid #EDE4EF;
      border-radius: 12px;
      padding: 20px;
      margin-bottom: 16px;
    }
    .feature-card h3 {
      margin-top: 0;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .status {
      display: inline-block;
      font-size: 12px;
      font-weight: 600;
      padding: 2px 10px;
      border-radius: 12px;
      vertical-align: middle;
    }
    .status-supported { background: #E8F5E9; color: #2E7D32; }
    .status-partial { background: #FFF8E1; color: #F57F17; }
    .status-planned { background: #E3F2FD; color: #1565C0; }
    .status-na { background: #F5F5F5; color: #757575; }
    .back-home {
      display: inline-block;
      margin: 20px 24px 0;
      color: #D4789E;
      text-decoration: none;
      font-weight: 600;
      font-size: 14px;
    }
    .back-home:hover { text-decoration: underline; }
    .site-footer {
      background: #1A1A2E;
      color: rgba(255,255,255,0.5);
      text-align: center;
      padding: 40px 24px 32px;
      margin-top: 48px;
      font-size: 13px;
      line-height: 1.8;
    }
    .site-footer .footer-brand {
      font-size: 18px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 10px;
    }
    .site-footer a {
      color: rgba(255,255,255,0.6);
      text-decoration: none;
      margin: 0 10px;
      transition: color 0.2s;
    }
    .site-footer a:hover { color: #fff; }
    .footer-links { margin: 12px 0; }
    .footer-divider { width: 80px; height: 1px; background: rgba(255,255,255,0.15); margin: 20px auto; }
    .footer-company { margin-top: 6px; font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.6; }
    .footer-company a { color: rgba(255,255,255,0.55); font-size: 12px; margin: 0 4px; }
    .footer-company a:hover { color: #fff; }
    .footer-sister-sites { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,0.35); }
    .footer-sister-sites a { color: rgba(255,255,255,0.5); font-size: 12px; margin: 0 6px; }
    .footer-sister-sites a:hover { color: rgba(255,255,255,0.8); }
    .footer-legal {
      margin-top: 16px;
      font-size: 12px;
      color: rgba(255,255,255,0.35);
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.6;
    }
}

/* Migrated from server/templates/registry.html; keep interactive rules scoped to this page layer. */
@scope (.legacy-page) {
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --pink: #E8A0BF;
      --purple: #7B2D8E;
      --lavender: #BA90C6;
      --cream: #FFF8F0;
      --peach: #F9D5C5;
      --deep: #1A1A2E;
      --soft-white: #FEFBF6;
      --gold: #b8860b;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
      color: var(--deep);
      background: var(--soft-white);
      line-height: 1.6;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    .hero {
      position: relative;
      padding: 48px 24px 36px;
      text-align: center;
      background: linear-gradient(160deg, #f3e8ff 0%, #fce4ec 30%, #fff3e0 60%, #e8f5e9 100%);
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      top: -120px;
      right: -120px;
      width: 400px;
      height: 400px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(232,160,191,0.25) 0%, transparent 70%);
      pointer-events: none;
    }

    .hero::after {
      content: '';
      position: absolute;
      bottom: -80px;
      left: -80px;
      width: 300px;
      height: 300px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(186,144,198,0.2) 0%, transparent 70%);
      pointer-events: none;
    }

    .hero-content {
      position: relative;
      z-index: 1;
      max-width: 640px;
      margin: 0 auto;
    }

    .hero-header-art {
      margin-bottom: 12px;
      opacity: 0.85;
    }

    .hero-image {
      width: 100%;
      max-width: 640px;
      max-height: 200px;
      object-fit: cover;
      border-radius: 16px;
      margin-bottom: 18px;
      box-shadow: 0 6px 24px rgba(0,0,0,0.1);
    }

    .hero-badge {
      display: inline-block;
      padding: 6px 18px;
      border-radius: 20px;
      background: rgba(123,45,142,0.1);
      color: var(--purple);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      margin-bottom: 16px;
    }

    .hero h1 {
      font-size: 36px;
      font-weight: 800;
      line-height: 1.2;
      color: var(--deep);
      margin-bottom: 8px;
    }

    .hero h1 span {
      background: linear-gradient(135deg, var(--purple), var(--pink));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-sub {
      font-size: 17px;
      color: #555;
      max-width: 480px;
      margin: 0 auto;
      line-height: 1.6;
    }

    .container {
      max-width: 720px;
      margin: 0 auto;
      padding: 24px 20px 48px;
      flex: 1;
    }

    .loading-state, .error-state, .empty-state {
      text-align: center;
      padding: 80px 24px;
    }

    .loading-state p, .error-state p, .empty-state p {
      font-size: 17px;
      color: #888;
    }

    .error-state p { color: #c0392b; }

    .spinner {
      width: 40px;
      height: 40px;
      border: 4px solid #f0e8f5;
      border-top-color: var(--purple);
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
      margin: 0 auto 16px;
    }

    @keyframes spin { to { transform: rotate(360deg); } }

    .category-section {
      margin-bottom: 20px;
    }

    .category-header {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 0 8px;
      border-bottom: 2px solid #f0e8f5;
      margin-bottom: 8px;
    }

    .category-icon {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: rgba(232,160,191,0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      flex-shrink: 0;
    }

    .category-name {
      font-size: 18px;
      font-weight: 700;
      color: var(--deep);
    }

    .category-count {
      font-size: 13px;
      font-weight: 600;
      color: var(--lavender);
      margin-left: auto;
    }

    .registry-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      padding: 12px;
      border-radius: 12px;
      background: #fff;
      border: 1px solid #f0e8f5;
      margin-bottom: 8px;
      transition: box-shadow 0.2s;
    }

    .registry-item:hover {
      box-shadow: 0 4px 16px rgba(123,45,142,0.06);
    }

    .registry-item.claimed {
      opacity: 0.65;
      background: #fafafa;
    }

    .item-thumb {
      width: 64px;
      height: 64px;
      border-radius: 10px;
      object-fit: contain;
      background: #faf5fc;
      flex-shrink: 0;
      border: 1px solid #f0e8f5;
    }

    .item-thumb-placeholder {
      width: 64px;
      height: 64px;
      border-radius: 10px;
      background: #faf5fc;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: #ccc;
      font-size: 22px;
      border: 1px solid #f0e8f5;
    }

    .item-info {
      flex: 1;
      min-width: 0;
    }

    .item-name {
      font-size: 15px;
      font-weight: 700;
      color: var(--deep);
      margin-bottom: 2px;
    }

    .registry-item.claimed .item-name {
      text-decoration: line-through;
      color: #999;
    }

    .item-brand {
      font-size: 12px;
      color: var(--lavender);
      font-weight: 600;
      margin-bottom: 2px;
      text-transform: uppercase;
      letter-spacing: 0.3px;
    }

    .item-note {
      font-size: 13px;
      color: #777;
      margin-bottom: 4px;
      line-height: 1.4;
    }

    .item-quantity {
      font-size: 13px;
      color: var(--lavender);
      font-weight: 600;
    }

    .item-claimed-label {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      font-weight: 700;
      color: #27ae60;
      margin-top: 6px;
    }

    .item-claimed-label svg {
      width: 16px;
      height: 16px;
      fill: #27ae60;
    }

    .item-actions {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 8px;
      flex-shrink: 0;
    }

    .btn-buy {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 6px 14px;
      border-radius: 8px;
      background: var(--deep);
      color: #fff;
      text-decoration: none;
      font-size: 13px;
      font-weight: 700;
      transition: transform 0.2s, box-shadow 0.2s;
      white-space: nowrap;
    }

    .btn-buy:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(26,26,46,0.2);
    }

    .btn-buy svg {
      width: 14px;
      height: 14px;
      fill: #fff;
    }

    .btn-claim {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 4px 10px;
      border-radius: 6px;
      background: rgba(123,45,142,0.1);
      color: var(--purple);
      border: none;
      cursor: pointer;
      font-family: inherit;
      font-size: 11px;
      font-weight: 700;
      transition: background 0.2s, transform 0.2s;
      white-space: nowrap;
    }

    .btn-claim:hover {
      background: rgba(123,45,142,0.18);
      transform: translateY(-1px);
    }

    .btn-claim svg {
      width: 12px;
      height: 12px;
      fill: var(--purple);
    }

    .btn-unclaim {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 6px 14px;
      border-radius: 8px;
      background: rgba(39,174,96,0.1);
      color: #27ae60;
      border: none;
      cursor: pointer;
      font-family: inherit;
      font-size: 13px;
      font-weight: 700;
      transition: background 0.2s;
      white-space: nowrap;
    }

    .btn-unclaim:hover {
      background: rgba(39,174,96,0.18);
    }

    .cta-banner {
      margin-top: 40px;
      padding: 32px 28px;
      border-radius: 20px;
      background: linear-gradient(135deg, #f3e8ff 0%, #fce4ec 100%);
      text-align: center;
    }

    .cta-banner h3 {
      font-size: 20px;
      font-weight: 800;
      color: var(--deep);
      margin-bottom: 10px;
    }

    .cta-banner p {
      font-size: 15px;
      color: #666;
      margin-bottom: 20px;
      line-height: 1.6;
    }

    .btn-cta {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 28px;
      border-radius: 14px;
      background: var(--deep);
      color: #fff;
      text-decoration: none;
      font-size: 15px;
      font-weight: 700;
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .btn-cta:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(26,26,46,0.2);
    }

    .btn-home {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 24px;
      border-radius: 14px;
      background: var(--purple);
      color: #fff;
      text-decoration: none;
      font-size: 14px;
      font-weight: 700;
      transition: transform 0.2s, box-shadow 0.2s;
      margin-top: 12px;
    }

    .btn-home:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(123,45,142,0.25);
    }

    .product-modal {
      max-width: 92vw !important;
      width: 100%;
      padding: 24px 20px;
      max-height: 90vh;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }

    .product-modal-body {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
    }

    .product-modal-image-wrap {
      width: 100%;
      max-width: 280px;
      aspect-ratio: 1;
      border-radius: 16px;
      background: #f8f5fb;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      position: relative;
    }

    .product-modal-image-wrap img {
      max-width: 90%;
      max-height: 90%;
      object-fit: contain;
    }

    .product-modal-image-wrap .image-placeholder {
      font-size: 64px;
      opacity: 0.3;
    }

    .product-modal-image-wrap .image-loading {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #f8f5fb;
    }

    .product-modal-image-wrap .image-loading::after {
      content: '';
      width: 32px;
      height: 32px;
      border: 3px solid #e8e0f0;
      border-top-color: var(--purple);
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }

    @keyframes spin { to { transform: rotate(360deg); } }

    .product-modal-details {
      width: 100%;
      text-align: left;
    }

    .product-modal-name {
      font-size: 20px;
      font-weight: 800;
      color: var(--deep);
      margin-bottom: 4px;
      line-height: 1.3;
    }

    .product-modal-category {
      font-size: 13px;
      color: var(--purple);
      font-weight: 600;
      margin-bottom: 12px;
    }

    .product-modal-note {
      font-size: 14px;
      color: #666;
      line-height: 1.6;
      margin-bottom: 12px;
      padding: 12px;
      background: #f8f5fb;
      border-radius: 10px;
    }

    .product-modal-note-label {
      font-size: 12px;
      font-weight: 700;
      color: var(--purple);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 4px;
    }

    .product-modal-quantity {
      font-size: 14px;
      color: #555;
      font-weight: 600;
      margin-bottom: 12px;
    }

    .product-modal-claimed {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      color: #27ae60;
      font-weight: 600;
      margin-bottom: 12px;
      padding: 10px 14px;
      background: #e8f5e9;
      border-radius: 10px;
    }

    .product-modal-claimed svg {
      width: 18px;
      height: 18px;
      fill: #27ae60;
      flex-shrink: 0;
    }

    .btn-link-to-buy {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 18px;
      border-radius: 10px;
      border: 1.5px solid var(--purple);
      color: var(--purple);
      font-size: 13px;
      font-weight: 700;
      text-decoration: none;
      margin: 8px 0 12px;
      transition: background 0.2s, color 0.2s;
    }

    .btn-link-to-buy:hover {
      background: var(--purple);
      color: #fff;
    }

    .product-modal-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      width: 100%;
      margin-top: 4px;
      justify-content: center;
    }

    .product-modal-actions .btn-shop {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 14px 20px;
      border-radius: 14px;
      background: var(--deep);
      color: #fff;
      font-family: inherit;
      font-size: 15px;
      font-weight: 700;
      border: none;
      cursor: pointer;
      text-decoration: none;
      transition: transform 0.15s, box-shadow 0.15s;
    }

    .product-modal-actions .btn-shop:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    }

    .product-modal-actions .btn-shop svg {
      width: 16px;
      height: 16px;
      fill: #fff;
    }

    .product-modal-actions .btn-close-modal {
      padding: 14px 20px;
      border-radius: 14px;
      background: #f0e8f5;
      color: var(--purple);
      font-family: inherit;
      font-size: 15px;
      font-weight: 700;
      border: none;
      cursor: pointer;
      transition: background 0.15s;
    }

    .product-modal-actions .btn-close-modal:hover {
      background: #e4d8ee;
    }

    .registry-item {
      cursor: pointer;
    }

    .modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.4);
      z-index: 1000;
      align-items: center;
      justify-content: center;
      padding: 16px;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }

    .modal-overlay.active {
      display: flex;
    }

    .modal {
      background: #fff;
      border-radius: 20px;
      padding: 32px 28px;
      max-width: 400px;
      width: 100%;
      box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    }

    .modal h3 {
      font-size: 20px;
      font-weight: 800;
      color: var(--deep);
      margin-bottom: 8px;
    }

    .modal p {
      font-size: 14px;
      color: #777;
      margin-bottom: 20px;
    }

    .modal input {
      width: 100%;
      padding: 12px 16px;
      border-radius: 12px;
      border: 2px solid #f0e8f5;
      font-family: inherit;
      font-size: 15px;
      outline: none;
      transition: border-color 0.2s;
      margin-bottom: 16px;
    }

    .modal input:focus {
      border-color: var(--purple);
    }

    .modal-buttons {
      display: flex;
      gap: 10px;
    }

    .modal-buttons button {
      flex: 1;
      padding: 12px;
      border-radius: 12px;
      border: none;
      font-family: inherit;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      transition: transform 0.2s;
    }

    .modal-buttons button:hover {
      transform: translateY(-1px);
    }

    .btn-modal-cancel {
      background: #f5f5f5;
      color: #777;
    }

    .btn-modal-confirm {
      background: var(--purple);
      color: #fff;
    }

    .btn-pseudo {
      display: block;
      width: 100%;
      padding: 8px;
      margin: 8px 0 4px;
      background: none;
      border: 1.5px dashed var(--lavender);
      border-radius: 8px;
      color: var(--purple);
      font-family: 'Nunito', sans-serif;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.2s;
    }

    .btn-pseudo:hover {
      background: rgba(186,144,198,0.1);
    }

    footer {
      padding: 40px 24px;
      text-align: center;
      background: var(--deep);
      color: rgba(255,255,255,0.5);
      font-size: 14px;
    }

    footer .footer-brand {
      font-size: 18px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 8px;
    }

    footer a {
      color: rgba(255,255,255,0.6);
      text-decoration: none;
      margin: 0 12px;
      transition: color 0.2s;
    }

    footer a:hover { color: #fff; }

    .footer-links { margin: 16px 0; }
    .footer-divider { width: 80px; height: 1px; background: rgba(255,255,255,0.15); margin: 20px auto; }
    .footer-company { margin-top: 6px; font-size: 12px; color: rgba(255,255,255,0.4); line-height: 1.6; }
    .footer-company a { color: rgba(255,255,255,0.55); font-size: 12px; margin: 0 4px; text-decoration: none; transition: color 0.2s; }
    .footer-company a:hover { color: #fff; }
    .footer-sister-sites { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,0.35); }
    .footer-sister-sites a { color: rgba(255,255,255,0.5); font-size: 12px; margin: 0 6px; text-decoration: none; transition: color 0.2s; }
    .footer-sister-sites a:hover { color: rgba(255,255,255,0.8); }

    .shower-details-card {
      background: linear-gradient(180deg, #FFFBFD 0%, #FFF5F8 50%, #FFF9FB 100%);
      border-radius: 20px;
      border: 2px solid #F0E0EA;
      padding: 32px 28px;
      margin: 20px auto 24px;
      max-width: 520px;
      text-align: center;
      position: relative;
      box-shadow: 0 4px 24px rgba(232,160,191,0.12);
    }

    .shower-details-card::before {
      content: '';
      position: absolute;
      top: -1px; left: -1px; right: -1px; bottom: -1px;
      border-radius: 21px;
      background: linear-gradient(135deg, var(--pink), var(--lavender), var(--peach));
      z-index: -1;
      opacity: 0.3;
    }

    .shower-invite-label {
      font-size: 13px;
      font-weight: 700;
      color: var(--lavender);
      text-transform: uppercase;
      letter-spacing: 4px;
      margin-bottom: 6px;
    }

    .shower-invite-divider {
      width: 80px;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--pink), transparent);
      margin: 16px auto;
    }

    .shower-header-image {
      width: 100%;
      max-height: 240px;
      object-fit: cover;
      border-radius: 14px;
      margin-bottom: 18px;
      border: 1px solid #F0E6EB;
    }

    .shower-details-grid {
      display: flex;
      flex-direction: column;
      gap: 14px;
      text-align: left;
    }

    .shower-detail-item {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      background: rgba(255,255,255,0.7);
      padding: 14px 16px;
      border-radius: 14px;
      border: 1px solid rgba(232,160,191,0.15);
    }

    .shower-detail-icon {
      width: 40px;
      height: 40px;
      border-radius: 12px;
      background: linear-gradient(135deg, rgba(232,160,191,0.15), rgba(186,144,198,0.15));
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .shower-detail-label {
      font-size: 11px;
      font-weight: 700;
      color: var(--lavender);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 3px;
    }

    .shower-detail-value {
      font-size: 16px;
      font-weight: 700;
      color: var(--deep);
      line-height: 1.4;
    }

    .shower-detail-sub {
      font-size: 13px;
      color: #7B6B8B;
      margin-top: 2px;
    }

    .shower-directions-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: linear-gradient(135deg, var(--pink), #D88AAF);
      color: #fff;
      padding: 12px 28px;
      border-radius: 28px;
      font-size: 14px;
      font-weight: 700;
      text-decoration: none;
      margin-top: 18px;
      transition: transform 0.2s, box-shadow 0.2s;
      box-shadow: 0 3px 12px rgba(232,160,191,0.3);
    }

    .shower-directions-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(232,160,191,0.45);
    }

    .shower-extra-info {
      margin: 14px 0 0;
      font-size: 14px;
      color: #7B6B8B;
      line-height: 1.6;
      text-align: left;
      padding: 10px 14px;
      background: rgba(255,255,255,0.6);
      border-radius: 10px;
      border: 1px solid rgba(232,160,191,0.1);
    }

    .shower-gift-address {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin-top: 16px;
      padding: 12px 14px;
      background: rgba(255,255,255,0.6);
      border-radius: 10px;
      border: 1px solid rgba(232,160,191,0.15);
      text-align: left;
    }

    .registry-info-card {
      margin-top: 16px;
      padding: 14px 16px;
      background: rgba(255,255,255,0.7);
      border-radius: 12px;
      border: 1px solid rgba(232,160,191,0.15);
      display: flex;
      flex-direction: column;
      gap: 8px;
      text-align: left;
    }

    .registry-info-row {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      color: #5A4A6A;
      line-height: 1.5;
    }

    .registry-info-row svg {
      flex-shrink: 0;
    }

    .registry-intro {
      text-align: center;
      margin: 16px 0 16px;
      padding: 0 8px;
    }
    .registry-intro-title {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: 'Playfair Display', serif;
      font-size: 24px;
      font-weight: 700;
      color: #5B3A6B;
      margin: 0 0 10px;
    }
    .registry-intro-title svg {
      stroke: #E8A0BF;
      flex-shrink: 0;
    }
    .registry-intro-desc {
      font-size: 15px;
      color: #7B6B8B;
      line-height: 1.6;
      margin: 0 auto;
      max-width: 480px;
    }

    @media (min-width: 640px) {
      .hero { padding: 72px 32px 56px; }
      .hero h1 { font-size: 44px; }
      .hero-sub { font-size: 18px; }
      .container { padding: 40px 28px 60px; }
      .product-modal { max-width: 560px !important; padding: 32px 28px; }
      .product-modal-image-wrap { max-width: 320px; }
    }

    @media (min-width: 900px) {
      .hero { padding: 80px 48px 64px; }
      .hero::before { width: 600px; height: 600px; top: -200px; right: -200px; }
      .hero::after { width: 500px; height: 500px; bottom: -150px; left: -120px; }
      .hero-content { max-width: 800px; }
      .hero-image { max-height: 260px; max-width: 800px; border-radius: 20px; }
      .product-modal { max-width: 600px !important; padding: 36px 32px; }
      .product-modal-image-wrap { max-width: 360px; }
      .hero h1 { font-size: 52px; letter-spacing: -0.5px; }
      .hero-sub { font-size: 20px; max-width: 560px; }
      .hero-badge { font-size: 14px; padding: 8px 22px; margin-bottom: 20px; }
      .shower-details-card { max-width: 600px; padding: 36px 40px; border-radius: 24px; margin-top: 28px; }
      .shower-details-grid { flex-direction: row; flex-wrap: wrap; gap: 16px; }
      .shower-detail-item { flex: 1; min-width: 180px; }
      .shower-detail-value { font-size: 17px; }
      .shower-directions-btn { padding: 12px 24px; font-size: 15px; }
      .container { max-width: 960px; padding: 48px 40px 80px; }
      .category-header { padding: 16px 0 12px; }
      .category-name { font-size: 20px; }
      .category-count { font-size: 14px; }
      .category-icon { width: 42px; height: 42px; font-size: 22px; }
      .registry-item { padding: 20px; gap: 18px; border-radius: 16px; }
      .item-thumb, .item-thumb-placeholder { width: 64px; height: 64px; border-radius: 12px; }
      .item-name { font-size: 17px; margin-bottom: 6px; }
      .item-note { font-size: 15px; }
      .btn-buy { padding: 10px 20px; font-size: 14px; border-radius: 12px; }
      .btn-claim { padding: 4px 10px; font-size: 11px; border-radius: 6px; }
      .btn-unclaim { padding: 10px 20px; font-size: 14px; border-radius: 12px; }
      .item-actions { gap: 10px; }
      .cta-banner { padding: 48px 40px; border-radius: 24px; }
      .cta-banner h3 { font-size: 24px; }
      .cta-banner p { font-size: 16px; max-width: 480px; margin-left: auto; margin-right: auto; }
      .modal { max-width: 460px; padding: 36px 32px; }
      footer { padding: 56px 40px; }
      .footer-links { font-size: 15px; }
      .footer-links a { margin: 0 16px; }
    }

    @media (min-width: 1200px) {
      .hero { padding: 96px 64px 80px; }
      .hero h1 { font-size: 60px; }
      .hero-sub { font-size: 21px; max-width: 600px; }
      .container { max-width: 1100px; padding: 56px 48px 96px; }
      .registry-items-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
      }
      .registry-item { margin-bottom: 0; }
      .category-section { margin-bottom: 24px; }
    }
}

/* Migrated from server/templates/release-gift.html; keep interactive rules scoped to this page layer. */
@scope (.legacy-page) {
* { margin:0; padding:0; box-sizing:border-box; }
  body { font-family:'Nunito',sans-serif; background:linear-gradient(160deg,#f3e8ff 0%,#fce4ec 30%,#fff3e0 60%,#e8f5e9 100%); min-height:100vh; display:flex; align-items:center; justify-content:center; padding:20px; }
  .card { background:#fff; border-radius:24px; max-width:480px; width:100%; box-shadow:0 8px 32px rgba(196,154,26,0.10); overflow:hidden; }
  .header { background:linear-gradient(135deg,#C49A1A,#D4AA2A); padding:32px 28px 24px; text-align:center; }
  .header h1 { font-size:24px; font-weight:800; color:#fff; margin-bottom:4px; }
  .header p { font-size:14px; color:rgba(255,255,255,0.9); }
  .body { padding:28px; text-align:center; }
  .body p { font-size:15px; color:#5A4A6B; line-height:1.6; margin-bottom:20px; }
  .btn { display:inline-block; padding:14px 32px; border-radius:50px; font-family:'Nunito',sans-serif; font-size:15px; font-weight:700; cursor:pointer; border:none; text-decoration:none; }
  .btn-release { background:linear-gradient(135deg,#C49A1A,#D4AA2A); color:#fff; }
  .btn-release:hover { opacity:0.9; }
  .btn-cancel { background:#fff; color:#5A4A6B; border:2px solid #E0D4E8; margin-left:12px; }
  .status { padding:20px; font-size:16px; font-weight:600; }
  .status.success { color:#4CAF50; }
  .status.error { color:#E53935; }
  .status.already { color:#FF9800; }
  .footer { text-align:center; padding:0 28px 28px; }
  .footer a { color:#D4789E; text-decoration:none; font-weight:600; font-size:12px; }
  .footer .copy { font-size:11px; color:#C4B8D0; margin-top:6px; }
}

/*
 * Shared body components
 * ----------------------
 * Migrated templates keep their data bindings and browser contracts, but
 * their visual system is owned here. Routes use the same hero, measure,
 * section, card, action, form, and disclosure primitives as the homepage.
 */
.legacy-page {
  min-height: 100vh;
  background: var(--cream, #fffaf4);
  color: var(--ink, #302640);
  font-family: Nunito, system-ui, sans-serif;
  --deep: #1a1a2e;
  --pink: #e8a0bf;
  --pink-dark: #d4789e;
  --purple: #7b2d8e;
  --lavender: #ba90c6;
  --cream: #fffaf4;
  --peach: #f9d5c5;
  --gold: #a77d24;
  --blue: #7eb8da;
  --bg: #fff9fb;
  --soft-white: #fefbf6;
  --text: #3a2a3e;
  --text-light: #8a7a8e;
  --card-border: #f0e8f5;
  --text-secondary: #777;
  --success: #4caf50;
}

.legacy-page > .legacy-main {
  width: 100%;
  flex: 1 0 auto;
}

.legacy-page .resource-page {
  padding-bottom: 88px;
}

.legacy-page .resource-page > .hero,
.legacy-page .resource-page > .blog-hero,
.legacy-page .resource-page > .header {
  width: min(1160px, calc(100% - 40px));
  margin: 28px auto 0;
  border: 1px solid var(--line, #e9dfe4);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255,255,255,.7), transparent 30%),
    linear-gradient(125deg, var(--blush, #f5dbe3), var(--sky, #d9eaf2) 68%, var(--cream, #fffaf4));
  box-shadow: 0 22px 60px rgba(78, 53, 70, .10);
}

.legacy-page .resource-page > .hero {
  min-height: 360px;
  padding: clamp(36px, 7vw, 86px) clamp(24px, 7vw, 78px);
}

.legacy-page .resource-page > .hero .hero-content,
.legacy-page .resource-page > .hero .hero-inner,
.legacy-page .resource-page > .blog-hero .hero-inner,
.legacy-page .resource-page > .header {
  max-width: 820px;
}

.legacy-page .resource-page > .hero h1,
.legacy-page .resource-page > .blog-hero h1,
.legacy-page .resource-page > .header h1 {
  margin: 12px 0 16px;
  color: var(--ink, #302640);
  font-size: clamp(40px, 6vw, 76px);
  letter-spacing: -3px;
  line-height: .98;
}

.legacy-page .resource-page > .hero p,
.legacy-page .resource-page > .blog-hero p,
.legacy-page .resource-page > .header p {
  max-width: 680px;
  color: var(--muted, #766b81);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
}

.legacy-page .resource-page > .header {
  padding: clamp(30px, 5vw, 58px);
}

.legacy-page .resource-page > .container,
.legacy-page .resource-page > .content,
.legacy-page .resource-page > .article-wrapper,
.legacy-page .resource-page > .article-body,
.legacy-page .resource-page > .blog-grid,
.legacy-page .resource-page > .section-wrap,
.legacy-page .resource-page > .section-wrapper,
.legacy-page .resource-page > .faq-wrapper {
  width: min(980px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.legacy-page .resource-page > .container,
.legacy-page .resource-page > .content {
  padding: 56px 0 0;
}

.legacy-page .resource-page :is(h2, .section-title) {
  margin: 0 0 14px;
  color: var(--ink, #302640);
  font-size: clamp(27px, 3.5vw, 42px);
  letter-spacing: -1.5px;
  line-height: 1.08;
}

.legacy-page .resource-page :is(h3, h4) {
  color: var(--ink, #302640);
  letter-spacing: -.35px;
}

.legacy-page .resource-page :is(p, li, .section-desc, .hero-sub, .desc, .value) {
  color: var(--muted, #766b81);
  line-height: 1.7;
}

.legacy-page .resource-page :is(a:not(.button), .blog-card-link, .product-link) {
  color: var(--rose, #cf7898);
  text-underline-offset: 3px;
}

.legacy-page .resource-page :is(.section-wrap, .section-wrapper, .section, .blog, .features, .products, .faq, .how-it-works, .tales, .quiz-highlights, .the-wait, .timeline-section, .share-section, .share-cta, .cta-section, .related-section, .app-highlights-section) {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0;
}

.legacy-page .resource-page :is(.section-wrap.alt, .section-wrapper.alt-bg, .section-wrap.gradient, .section-wrapper.gradient-bg) {
  width: 100%;
  padding-left: max(20px, calc((100% - 1160px) / 2));
  padding-right: max(20px, calc((100% - 1160px) / 2));
  background: var(--ivory, #f8f0e7);
}

.legacy-page .resource-page :is(.card, .feature-card, .product-card, .blog-card, .fact, .feature, .contact-card, .lede, .perm-card, .faq-item, .step-card, .tale-card, .week-card, .stat-card, .visual-card, .timeline-feature-card, .share-copy-box, .share-text-box) {
  border: 1px solid var(--line, #e9dfe4);
  border-radius: 20px;
  background: rgba(255, 250, 247, .92);
  box-shadow: 0 12px 32px rgba(78, 53, 70, .07);
}

.legacy-page .resource-page :is(.card, .feature-card, .product-card, .fact, .feature, .contact-card, .lede, .perm-card, .faq-item, .step-card, .tale-card, .week-card, .stat-card, .visual-card, .timeline-feature-card, .share-copy-box, .share-text-box) {
  padding: 24px;
}

.legacy-page .resource-page :is(.feature-grid, .product-grid, .blog-grid, .fact-grid, .download-grid, .highlights-grid, .items-grid, .steps-grid, .tales-grid, .week-cards, .timeline-features, .stats-strip-inner, .stats-bar-inner) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.legacy-page .resource-page :is(.blog-card, .feature-card, .product-card, .fact, .feature, .download, .item-card, .step-card, .tale-card, .week-card, .stat-card) {
  min-height: 100%;
}

.legacy-page .resource-page :is(.blog-card-body, .feature-card-body, .product-card-body, .item-card-body) {
  padding: 20px;
}

.legacy-page .resource-page :is(.meta, .blog-card-meta, .blog-meta, .section-tag, .hero-badge, .label, .category-badge, .share-text-label) {
  color: var(--rose, #cf7898);
  font: 800 11px/1.3 "DM Mono", monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.legacy-page .body-disclaimer {
  width: min(600px, 100%);
  margin: 14px auto 0;
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.legacy-page .store-line {
  display: block;
  line-height: 1.1;
}

.legacy-page .store-kicker {
  font-size: 11px;
  font-weight: 600;
}

.legacy-page .store-name {
  font-size: 18px;
  font-weight: 800;
}

.legacy-page .section-tag-inverted {
  background: rgba(232, 160, 191, .2);
  color: #f5d0e0;
}

.legacy-page .affiliate-note {
  margin-top: 24px;
  color: #bbb;
  font-size: 11px;
}

.legacy-page .section-desc-last {
  margin-bottom: 0;
}

.legacy-page :is(.gradient-lavender, .gradient-peach, .gradient-blue, .gradient-green, .gradient-gold) {
  background: var(--lavender, #d9c5e8);
}

.legacy-page .gradient-peach {
  background: linear-gradient(135deg, var(--peach, #f6d7ba), var(--pink, #f5bfd1));
}

.legacy-page .gradient-blue {
  background: linear-gradient(135deg, #87ceeb, var(--lavender, #d9c5e8));
}

.legacy-page .gradient-green {
  background: linear-gradient(135deg, #98d8aa, #4caf50);
}

.legacy-page .gradient-gold {
  background: linear-gradient(135deg, var(--gold, #e3bd69), #e8a040);
}

.legacy-page .gradient-lavender {
  background: linear-gradient(135deg, var(--lavender, #d9c5e8), var(--purple, #9c78c4));
}

.legacy-page .btn-appstore-small {
  margin-top: 12px;
  padding: 12px 24px;
  font-size: 14px;
}

.legacy-page .progress-copy-tight {
  margin: 0;
}

.legacy-page .quiz-appstore-wrap {
  margin-top: 20px;
}

.legacy-page .section-cta-tight {
  padding-top: 32px;
  padding-bottom: 8px;
}

.legacy-page .split-text-soft {
  background: var(--soft-white, #fffdf9);
}

.legacy-page .feature-pills-left {
  justify-content: flex-start;
  margin-top: 16px;
}

.legacy-page .brand-colors {
  font: 14px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.legacy-page .boilerplate-copy {
  margin-top: 12px;
  padding: 16px;
  border-radius: 10px;
  background: #fbe9f1;
  font-size: 14px;
}

.legacy-page .claim-description {
  margin: -4px 0 8px;
  color: #888;
  font-size: 13px;
  line-height: 1.5;
}

.legacy-page .claim-email-input {
  margin-top: 8px;
}

.legacy-page .claim-email-note {
  margin: 10px 0 4px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #f8f5fb;
  color: #777;
  font-size: 11px;
  line-height: 1.5;
}

.legacy-page .claim-email-icon {
  margin-right: 4px;
}

.legacy-page .claim-mailing-note {
  margin: 6px 0 0;
  color: #aaa;
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
}

.legacy-page .shower-directions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.legacy-page .shower-directions-btn {
  flex: 1;
  min-width: 140px;
}

.legacy-page .shower-extra-info-italic {
  font-style: italic;
}

.legacy-page .shower-invite-divider-spaced {
  margin-top: 20px;
}

.legacy-page .media-hidden,
.legacy-page .is-hidden {
  display: none;
}

.legacy-page .product-modal-note-spaced {
  margin-top: 8px;
}

.legacy-page .product-modal-specs {
  margin: 4px 0 0;
  padding-left: 18px;
  color: #444;
  font-size: 13px;
  line-height: 1.5;
}

.legacy-page .product-modal-review {
  margin-top: 4px;
  color: #555;
  font-size: 13px;
  font-style: italic;
}

.legacy-page .resource-page :is(.btn-appstore, .btn-primary-hero, .btn-primary, .quiz-primary, .pm-btn-primary, .btn-share-hero, .cta-btn, .button, button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  background: var(--ink, #302640);
  color: var(--cream, #fffaf4);
  font: 800 14px Nunito, sans-serif;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.legacy-page .resource-page :is(.btn-appstore, .btn-primary-hero, .btn-primary, .quiz-primary, .pm-btn-primary, .btn-share-hero, .cta-btn, .button, button):hover {
  background: #493755;
  transform: translateY(-1px);
}

.legacy-page .resource-page :is(.btn-secondary-hero, .quiz-secondary, .quiz-skip, .quiz-reset-top, .pm-btn-secondary, .btn-copy, .share-btn, .blog-share-btn) {
  border: 1px solid var(--line, #e9dfe4);
  border-radius: 999px;
  padding: 10px 16px;
  background: transparent;
  color: var(--ink, #302640);
  font: 800 13px Nunito, sans-serif;
  cursor: pointer;
}

.legacy-page .resource-page :is(input, textarea, select) {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line, #e9dfe4);
  border-radius: 12px;
  padding: 11px 13px;
  background: var(--cream, #fffaf4);
  color: var(--ink, #302640);
  font: inherit;
}

.legacy-page .resource-page :is(input, textarea, select, button, a):focus-visible,
.legacy-page .utility-page :is(input, textarea, select, button, a):focus-visible {
  outline: 3px solid var(--rose, #cf7898);
  outline-offset: 3px;
}

/* Legal, support, press, and permissions use one readable document rhythm. */
.legacy-page .legal-page .content {
  width: min(900px, calc(100% - 40px));
  padding-top: 60px;
}

.legacy-page .legal-page .content h2 {
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line, #e9dfe4);
}

.legacy-page .legal-page .content h3 {
  margin-top: 26px;
}

.legacy-page .resource-support .container,
.legacy-page .resource-press .container {
  width: min(980px, calc(100% - 40px));
}

.legacy-page .resource-support .contact-method {
  display: grid;
  grid-template-columns: minmax(120px, .35fr) 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--line, #e9dfe4);
}

.legacy-page .resource-support .faq-item {
  margin: 0;
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid var(--line, #e9dfe4);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.legacy-page .resource-support .faq-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink, #302640);
  font-size: 17px;
}

.legacy-page .resource-press .fact-grid,
.legacy-page .resource-press .feature-grid,
.legacy-page .resource-press .download-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legacy-page .resource-press .download {
  display: grid;
  gap: 6px;
  padding: 22px;
  border: 1px solid var(--line, #e9dfe4);
  border-radius: 18px;
  background: var(--ivory, #f8f0e7);
}

/* Blog and guides share the same editorial column/card language. */
.legacy-page .resource-blog .blog-hero {
  padding: clamp(36px, 7vw, 86px) max(24px, calc((100% - 980px) / 2));
}

.legacy-page .resource-blog .article-wrapper,
.legacy-page .resource-blog .article-body {
  width: min(800px, calc(100% - 40px));
  padding-top: 56px;
}

.legacy-page .resource-blog .article-body > :is(h2, h3) {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line, #e9dfe4);
}

.legacy-page .resource-blog .article-body p,
.legacy-page .resource-blog .article-body li {
  font-size: 17px;
}

.legacy-page .resource-blog :is(.share-section, .app-highlights-section, .related-section) {
  width: 100%;
  padding-left: max(20px, calc((100% - 980px) / 2));
  padding-right: max(20px, calc((100% - 980px) / 2));
  background: var(--ivory, #f8f0e7);
}

.legacy-page .resource-guide .hero {
  overflow: hidden;
}

.legacy-page .resource-guide :is(.stats-bar, .stats-strip) {
  width: min(1160px, calc(100% - 40px));
  margin: 28px auto 0;
  padding: 22px;
  border: 1px solid var(--line, #e9dfe4);
  border-radius: 20px;
  background: var(--ink, #302640);
  color: var(--cream, #fffaf4);
}

.legacy-page .resource-guide :is(.timeline-list, .timeline-features) {
  max-width: 900px;
  margin: 0 auto;
}

.legacy-page .resource-guide .timeline-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line, #e9dfe4);
}

/* Quiz and checklist controls are interactive content, not decorative chrome. */
.legacy-page .resource-quiz .browser-quiz,
.legacy-page .resource-quiz .quiz-shell,
.legacy-page .resource-checklist .checklist-main {
  width: min(980px, calc(100% - 40px));
  margin: 48px auto 0;
}

.legacy-page .resource-quiz .browser-quiz {
  padding: 0;
}

.legacy-page .resource-quiz .quiz-shell {
  margin-top: 24px;
  padding: clamp(22px, 5vw, 44px);
  border: 1px solid var(--line, #e9dfe4);
  border-radius: 26px;
  background: rgba(255, 250, 247, .95);
  box-shadow: 0 22px 60px rgba(78, 53, 70, .10);
}

.legacy-page .resource-quiz .quiz-screen[hidden],
.legacy-page .resource-checklist [hidden] {
  display: none !important;
}

.legacy-page .resource-quiz .quiz-options {
  display: grid;
  gap: 12px;
}

.legacy-page .resource-quiz .quiz-options button,
.legacy-page .resource-quiz .quiz-option {
  width: 100%;
  justify-content: flex-start;
  border: 1px solid var(--line, #e9dfe4);
  border-radius: 16px;
  background: var(--cream, #fffaf4);
  color: var(--ink, #302640);
  text-align: left;
}

.legacy-page .resource-quiz .quiz-progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--ivory, #f8f0e7);
}

.legacy-page .resource-quiz .quiz-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--rose, #cf7898);
}

.legacy-page .resource-quiz .quiz-question-actions,
.legacy-page .resource-quiz .quiz-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
}

.legacy-page .resource-checklist .checklist-main {
  padding-top: 36px;
}

.legacy-page .resource-checklist .category-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 12px;
  border: 1px solid var(--line, #e9dfe4);
  border-radius: 16px;
  background: rgba(255, 250, 244, .94);
  box-shadow: 0 8px 24px rgba(78, 53, 70, .08);
}

.legacy-page .resource-checklist .category-nav-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.legacy-page .resource-checklist .category-nav-pill {
  border: 1px solid var(--line, #e9dfe4);
  border-radius: 999px;
  padding: 9px 13px;
  background: transparent;
  color: var(--ink, #302640);
  font: 800 12px Nunito, sans-serif;
}

.legacy-page .resource-checklist .category-nav-pill.active {
  background: var(--ink, #302640);
  color: var(--cream, #fffaf4);
}

.legacy-page .resource-checklist .items-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legacy-page .resource-checklist .item-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  min-height: 118px;
  padding: 14px;
}

.legacy-page .resource-checklist .product-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(48, 38, 64, .55);
}

.legacy-page .resource-checklist .product-modal-overlay.active {
  display: grid;
}

.legacy-page .resource-checklist .product-modal-overlay[hidden] {
  display: none !important;
}

.legacy-page .resource-checklist .product-modal {
  width: min(100%, 620px);
  max-height: min(720px, calc(100vh - 40px));
  overflow: auto;
  border-radius: 24px;
  background: var(--cream, #fffaf4);
}

.legacy-page .share-page {
  padding: clamp(20px, 5vw, 72px);
  background: linear-gradient(125deg, var(--cream, #fffaf4), var(--sky, #d9eaf2) 68%, var(--blush, #f5dbe3));
}

.legacy-page .share-page > .hero {
  width: min(100%, 760px);
  margin: 0 auto 24px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line, #e9dfe4);
  border-radius: 26px;
  background: rgba(255, 250, 247, .96);
  box-shadow: 0 22px 60px rgba(78, 53, 70, .12);
}

.legacy-page .share-page > .hero .hero-content {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.legacy-page .share-page > .container {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px);
  border: 1px solid var(--line, #e9dfe4);
  border-radius: 24px;
  background: rgba(255, 250, 247, .94);
  box-shadow: 0 16px 42px rgba(78, 53, 70, .09);
}

.legacy-page .share-page > .card {
  width: min(100%, 520px);
  border-radius: 26px;
  background: rgba(255, 250, 247, .96);
  box-shadow: 0 22px 60px rgba(78, 53, 70, .14);
}

.legacy-page .share-page .header {
  width: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.legacy-page .share-page .body {
  padding: clamp(24px, 5vw, 36px);
}

.legacy-page .utility-page .card {
  padding: clamp(26px, 5vw, 42px);
  text-align: center;
}

.legacy-page .utility-page .utility-logo {
  display: block;
  width: 160px;
  max-width: 70%;
  height: auto;
  margin: 0 auto 16px;
}

.legacy-page .utility-page .card h1 {
  margin: 0 0 10px;
  color: var(--ink, #302640);
  font-size: 27px;
  letter-spacing: -1px;
}

.legacy-page .utility-page .card p {
  color: var(--muted, #766b81);
}

.legacy-page .utility-page .card .pref {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 12px;
  padding: 14px 16px;
  border: 1px solid var(--line, #e9dfe4);
  border-radius: 14px;
  text-align: left;
}

.legacy-page .utility-page .card .pref-title {
  margin: 0 0 2px;
  color: var(--ink, #302640);
  font-weight: 800;
}

.legacy-page .utility-page .card .pref-desc {
  margin: 0;
  color: var(--muted, #766b81);
  font-size: 12px;
}

.legacy-page .utility-page .card .switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
  flex: 0 0 auto;
}

.legacy-page .utility-page .card .switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.legacy-page .utility-page .card .slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--line, #e9dfe4);
  cursor: pointer;
}

.legacy-page .utility-page .card .slider::before {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  content: "";
  transition: transform .2s ease;
}

.legacy-page .utility-page .card .switch input:checked + .slider {
  background: var(--rose, #cf7898);
}

.legacy-page .utility-page .card .switch input:checked + .slider::before {
  transform: translateX(20px);
}

.legacy-page .utility-page .card button.save,
.legacy-page .utility-page .card button[type="submit"] {
  width: 100%;
  margin-top: 8px;
}

@media (max-width: 760px) {
  .legacy-page .resource-page > .hero,
  .legacy-page .resource-page > .blog-hero,
  .legacy-page .resource-page > .header,
  .legacy-page .resource-page :is(.section-wrap, .section-wrapper, .section, .blog, .features, .products, .faq, .how-it-works, .tales, .quiz-highlights, .the-wait, .timeline-section, .share-section, .share-cta, .cta-section, .related-section, .app-highlights-section) {
    width: min(100% - 30px, 600px);
  }

  .legacy-page .resource-page > .container,
  .legacy-page .resource-page > .content,
  .legacy-page .resource-page > .article-wrapper,
  .legacy-page .resource-page > .article-body,
  .legacy-page .resource-page > .blog-grid,
  .legacy-page .resource-page > .section-wrap,
  .legacy-page .resource-page > .section-wrapper,
  .legacy-page .resource-page > .faq-wrapper,
  .legacy-page .resource-press .container,
  .legacy-page .resource-support .container {
    width: min(100% - 30px, 600px);
  }

  .legacy-page .resource-page :is(.feature-grid, .product-grid, .blog-grid, .fact-grid, .download-grid, .highlights-grid, .items-grid, .steps-grid, .tales-grid, .week-cards, .timeline-features, .stats-strip-inner, .stats-bar-inner) {
    grid-template-columns: 1fr;
  }

  .legacy-page .resource-checklist .item-card {
    grid-template-columns: 56px 1fr;
  }

  .legacy-page .resource-support .contact-method {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
