.cym-popup-open { overflow: hidden; }
.cym-popup {
  --cym-primary: #37B39F;
  --cym-accent: #37B39F;
  --cym-ink: #24212c;
  --cym-muted: #6e6977;
  --cym-border: #e3e9e7;
  --cym-surface: #fff;
  position: fixed;
  inset: 0;
  z-index: 100000;
  color: var(--cym-ink);
  font-family: inherit;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.cym-popup *, .cym-popup *::before, .cym-popup *::after { box-sizing: border-box; }
.cym-backdrop { position: absolute; inset: 0; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); animation: cym-fade-in .2s ease-out; }
.cym-backdrop-guide, .cym-backdrop-scroll { background: rgb(12 10 18 / 62%); }
.cym-backdrop-community { background: rgb(22 20 30 / 76%); }
.cym-layer { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; pointer-events: none; }
.cym-card { position: relative; width: 100%; overflow: auto; max-height: min(92vh, 860px); pointer-events: auto; border: 1px solid var(--cym-border); background: var(--cym-surface); box-shadow: 0 25px 80px rgb(0 0 0 / 28%); animation: cym-rise-in .24s ease-out; }
.cym-guide-card { max-width: 540px; border-radius: 26px; }
.cym-guide-banner { position: relative; height: 128px; padding: 24px 28px; background: linear-gradient(120deg, #278f80, #37B39F 56%, #61c9b4); }
.cym-guide-book { position: absolute; right: 30px; bottom: -24px; display: grid; width: 82px; height: 102px; place-items: center; border-radius: 14px; background: #fff; box-shadow: 0 12px 28px rgb(36 21 64 / 22%); font-size: 38px; transform: rotate(4deg); animation: cym-book-float 3s ease-in-out infinite; }
.cym-guide-content { padding: 31px 32px 28px; }
.cym-guide-content h2, .cym-scroll-content h2, .cym-community-content h2 { margin: 0; color: var(--cym-ink); font-family: inherit; font-size: clamp(26px, 5vw, 34px); font-weight: 700; letter-spacing: -.035em; line-height: 1.12; }
.cym-guide-content h2 em, .cym-scroll-content h2 em { color: var(--cym-accent); font-weight: 600; }
.cym-copy { margin: 14px 0 0; color: var(--cym-muted); font-size: 15px; line-height: 1.65; }
.cym-pill { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 5px 12px; font-size: 11px; font-weight: 700; letter-spacing: .09em; line-height: 1.4; text-transform: uppercase; }
.cym-pill-guide { color: #238675; background: rgb(255 255 255 / 92%); }
.cym-pill-community { color: #238675; border: 1px solid rgb(55 179 159 / 28%); background: rgb(55 179 159 / 8%); }
.cym-pill-scroll { color: #238675; background: rgb(55 179 159 / 12%); }
.cym-close { position: absolute; z-index: 3; top: 12px; right: 12px; display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgb(40 30 50 / 9%); border-radius: 50%; color: var(--cym-ink); background: rgb(255 255 255 / 92%); box-shadow: 0 4px 12px rgb(0 0 0 / 8%); cursor: pointer; font: inherit; font-size: 25px; line-height: 1; transition: transform .18s ease, background .18s ease; }
.cym-close:hover { transform: rotate(90deg); background: #fff; }
.cym-guide-banner .cym-close { top: 13px; right: 14px; }
.cym-guide-form { display: grid; gap: 10px; margin-top: 22px; }
.cym-guide-form > label:first-child { color: var(--cym-ink); font-size: 12px; font-weight: 650; }
.cym-guide-form > label:first-child span { color: #b63b76; }
.cym-guide-form input[type="email"] { width: 100%; min-height: 48px; border: 1px solid #ddd7e4; border-radius: 999px; padding: 11px 18px; color: var(--cym-ink); background: #fff; font: inherit; font-size: 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
.cym-guide-form input[type="email"]:focus { border-color: var(--cym-primary); box-shadow: 0 0 0 3px rgb(55 179 159 / 16%); }
.cym-consent { display: flex; align-items: flex-start; gap: 9px; margin: 2px 1px 1px; color: var(--cym-muted); font-size: 12px; line-height: 1.55; }
.cym-consent input { flex: 0 0 auto; width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--cym-primary); }
.cym-consent a { color: var(--cym-primary); text-decoration: underline; text-underline-offset: 2px; }
.cym-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 20px; font: inherit; font-size: 14px; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.cym-button:hover { transform: translateY(-1px); }
.cym-button:focus-visible, .cym-close:focus-visible { outline: 3px solid rgb(55 179 159 / 48%); outline-offset: 3px; }
.cym-button-primary { color: #fff; background: var(--cym-primary); box-shadow: 0 8px 20px rgb(55 179 159 / 22%); }
.cym-button-primary:hover { color: #fff; background: #2e9989; box-shadow: 0 11px 24px rgb(55 179 159 / 30%); }
.cym-guide-submit { width: 100%; margin-top: 2px; }
.cym-guide-submit:disabled { opacity: .62; cursor: wait; }
.cym-guide-footnote { margin: 1px 0 0; color: var(--cym-muted); font-size: 11px; text-align: center; }
.cym-form-status { min-height: 0; margin: 0; color: #2d7b52; font-size: 12px; text-align: center; }
.cym-form-status.is-error { color: #a22d42; }
.cym-honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }

.cym-community-card { max-width: 620px; border-radius: 30px; }
.cym-community-content { padding: 42px 42px 40px; }
.cym-close-large { top: 16px; right: 16px; width: 48px; height: 48px; }
.cym-community-content h2 { margin-top: 20px; max-width: 500px; font-size: clamp(31px, 6vw, 44px); }
.cym-community-content h2 strong { color: var(--cym-primary); }
.cym-community-content .cym-copy { max-width: 500px; font-size: 16px; }
.cym-community-note { margin: 24px 0 0; color: var(--cym-muted); font-size: 14px; }
.cym-community-cta { width: 100%; margin-top: 28px; border-radius: 13px; padding: 16px 22px; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }

.cym-scroll-card { max-width: 560px; border-radius: 24px; }
.cym-scroll-content { padding: 34px 34px 32px; }
.cym-scroll-content h2 { margin-top: 16px; }
.cym-scroll-content .cym-copy { font-size: 14px; }
.cym-benefits { display: grid; gap: 9px; margin: 20px 0 0; padding: 0; list-style: none; color: #514b5b; font-size: 14px; }
.cym-benefits li { position: relative; padding-left: 23px; }
.cym-benefits li::before { position: absolute; left: 1px; color: var(--cym-accent); content: '✓'; font-weight: 800; }
.cym-scroll-actions { display: flex; gap: 10px; margin-top: 25px; }
.cym-scroll-actions .cym-button { flex: 1; min-height: 48px; padding-inline: 14px; font-size: 13px; }
.cym-button-secondary { border: 1px solid var(--cym-border); color: var(--cym-ink); background: #fff; }
.cym-button-secondary:hover { background: #f7f5f9; }

@keyframes cym-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes cym-rise-in { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes cym-book-float { 0%, 100% { transform: translateY(0) rotate(4deg); } 50% { transform: translateY(-5px) rotate(2deg); } }

@media (max-width: 600px) {
  .cym-layer { padding: 12px; }
  .cym-card { max-height: 94vh; }
  .cym-guide-card, .cym-community-card, .cym-scroll-card { border-radius: 21px; }
  .cym-guide-banner { height: 112px; padding: 20px; }
  .cym-guide-book { right: 24px; bottom: -22px; width: 69px; height: 88px; font-size: 32px; }
  .cym-guide-content { padding: 28px 22px 22px; }
  .cym-community-content { padding: 34px 23px 25px; }
  .cym-close-large { top: 12px; right: 12px; width: 42px; height: 42px; }
  .cym-scroll-content { padding: 29px 22px 23px; }
  .cym-scroll-actions { flex-direction: column; }
  .cym-scroll-actions .cym-button { width: 100%; }
}

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