/* Targeted legacy cleanup using the existing whole-site system.
   Reference: typography-system.css, funnel-calm.css, brand-shell-calm.css.
   Keep authored page layouts, purple actions, photo crops and product hierarchy.
   No /start theme, new login photograph, or blanket card/type-size redesign. */
body:is([data-page="about"],[data-page="process"],[data-page="reviews"],
  [data-page="notes"],[data-page="note_detail"],[data-page="faq"],[data-page="pricing"]) {
  background:#fbf9f7 !important;
}

/* Account entry: keep the existing two-column/mobile flow, without old curves. */
body[data-page="login"] .auth-wrap { align-content:center; }
body[data-page="login"] .login-story {
  background:#f1ebf4 !important; border:0 !important;
  border-radius:6px 0 0 6px !important; box-shadow:none !important;
  justify-content:center;
}
body[data-page="login"] .auth-wrap::after,
body[data-page="login"] .login-story::before,
body[data-page="login"] .login-story::after,
body[data-page="login"] .reset-dialog::before { content:none !important; }
body[data-page="login"] .login-story>span { color:#82708a !important; }
body[data-page="login"] .login-story>strong {
  font:400 26px/1.5 'Gowun Batang',serif !important;
  color:#493153 !important; letter-spacing:-.6px;
}
body[data-page="login"] .login-story>p { color:#76647f !important; }
body[data-page="login"] .reset-dialog { border-radius:6px; border-color:#e1d6e6; }
body[data-page="login"] .reset-modal-title {
  font:400 24px/1.45 'Gowun Batang',serif; color:#493153;
}
body[data-page="login"] .reset-primary:not(:disabled) {
  background:#71527f; border-radius:6px; font-weight:600;
}

/* Reset was the remaining standalone auth page outside the site's current style. */
body[data-page="reset-password"] {
  --bg:#fbf9f7; --ac:#71527f; --text:#3d2948;
  --text2:#76647f; --text3:#82708a; --bd:#e1d6e6;
  background:var(--bg); color:var(--text);
}
body[data-page="reset-password"] .auth-wrap { background:none !important; }
body[data-page="reset-password"] .auth-card::before { content:none !important; }
body[data-page="reset-password"] .auth-card {
  background:#fffdfa; border:1px solid #e1d6e6;
  border-radius:6px; box-shadow:none;
}
body[data-page="reset-password"] .top-nav { background:#fbf9f7; }
body[data-page="reset-password"] .form-title {
  font:400 27px/1.45 'Gowun Batang',serif; letter-spacing:-.8px;
}
body[data-page="reset-password"] :is(.submit-btn,.login-link):not(:disabled) {
  background:#71527f; color:#fff; border-radius:6px; font-weight:600;
}
body[data-page="reset-password"] .submit-btn:hover:not(:disabled) { background:#60436e; }
body[data-page="reset-password"] .form-kicker { color:#82708a; font-weight:600; }
body[data-page="reset-password"] .msg-icon:not(.is-error) {
  background:#f1ebf4; border-color:#e1d6e6;
}

/* Home: the approved photo, stars, spacing and existing typography stay intact. */
body[data-page="home"] .kyeol-night-garden { background:none; }
body[data-page="home"] .home-report-section { background:#fbf9f7; }
body[data-page="home"] .home-report-inner { background:#f3eef6; }
body[data-page="home"] .home-report-copy h2 { font-weight:400; }
body[data-page="home"] .home-report-copy h2 em,
body[data-page="home"] .home-report-label,
body[data-page="home"] .home-report-action { color:#71527f; }

/* About's opening title was smaller than its own story headings. */
body[data-page="about"] .about-calm .about-hero-title {
  font-size:32px !important; line-height:1.5 !important;
}

/* Keep the current purple product cards; remove only animated legacy foil. */
body[data-page="pricing"] .calm-pricing .is-active::after,
body[data-page="pricing"] .calm-pricing .is-direction::after {
  content:none !important; animation:none !important;
}
body[data-page="pricing"] .calm-pricing .plan-card.is-active { background:#f1ebf4; }

/* Referral layout and numbered orbit stay authored; CTA matches the site's purple. */
body[data-page="events"] .event-hero-copy::after,
body[data-page="events"] .event-ticket::before,
body[data-page="events"] .event-ticket::after { content:none; }
body[data-page="events"] .event-cta-primary { background:#71527f; box-shadow:none; border-radius:6px; }

@media(max-width:768px) {
  body[data-page="login"] .login-story {
    border-radius:6px 6px 0 0 !important; min-height:0; padding:20px 24px;
  }
  body[data-page="login"] .login-story>strong { font-size:20px !important; }
  body[data-page="about"] .about-calm .about-hero-title { font-size:26px !important; }
}
