/* Opt-in page UI. Every rule is scoped: existing pages and the homepage are unaffected. */
.cb-modern {
  --cbm-blue: var(--clear-blue);
  --cbm-deep: var(--clear-blue-deep);
  --cbm-ink: var(--clear-ink);
  --cbm-sub: var(--clear-sub);
  --cbm-soft: var(--clear-paper);
  --cbm-sky: var(--clear-sky);
  --cbm-line: var(--clear-line);
  --cbm-yellow: var(--clear-yellow);
  --cbm-body: "CB LP Zen Maru", "Hiragino Maru Gothic ProN", sans-serif;
  --cbm-mono: "CB LP Mono", monospace;
  --cbm-script: "CB LP Caveat", cursive;
  color: var(--cbm-ink);
  background: #fff;
  font-family: var(--cbm-body);
  font-size: 16px;
  line-height: var(--clear-lh);
  letter-spacing: var(--clear-ls);
  font-synthesis: none;
  text-autospace: no-autospace;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}
.cb-modern *, .cb-modern *::before, .cb-modern *::after { box-sizing: border-box; }
.cb-modern :is(h1,h2,h3,p,figure,blockquote,ul,ol) { margin: 0; }
.cb-modern :is(h1,h2,h3) { color: inherit; font-family: var(--cbm-body); font-weight: 700; word-break: normal; overflow-wrap: anywhere; line-break: strict; text-wrap: pretty; }
.cb-modern h2 { font-size: clamp(29px,3.5vw,46px); line-height: 1.5; letter-spacing: -.035em; }
.cb-modern h3 { font-size: clamp(21px,2.05vw,27px); line-height: 1.65; letter-spacing: -.015em; }
.cb-modern a { text-decoration: none; }
.cb-modern img { display: block; max-width: 100%; }
.cb-modern strong { font-weight: 700; }
.cb-modern :is(a,button,summary,[tabindex]):focus-visible { outline: 3px solid var(--cbm-blue); outline-offset: 5px; }
.cb-modern :is(section,article,[id]) { scroll-margin-top: 130px; }
.cb-modern .cbm-wrap { width: min(1160px,calc(100% - 96px)); margin-inline: auto; }
.cb-modern .cbm-section { position: relative; padding-block: 100px; }
.cb-modern .cb-wave--paper { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='30' viewBox='0 0 140 30' preserveAspectRatio='none'%3E%3Cpath d='M0 12 Q 35 26 70 12 T 140 12 L 140 0 L 0 0 Z' fill='%23f5f6f8'/%3E%3C/svg%3E"); }
.cb-modern .cbm-surface { background: var(--cbm-soft); }
.cb-modern .cbm-section-head { display: flex; align-items: end; justify-content: space-between; gap: 52px; margin-bottom: 48px; }
.cb-modern .cbm-section-head > .cbm-lead { max-width: 345px; }
.cb-modern .cbm-eyebrow { font-family: var(--cbm-script); color: var(--cbm-blue); font-size: 27px; font-weight: 700; letter-spacing: .02em; line-height: 1.1; margin-bottom: 20px; transform: rotate(-2deg); transform-origin: left; }
.cb-modern .cbm-eyebrow-meta { font-family: var(--cbm-body); font-size: 12px; letter-spacing: .08em; line-height: 1.5; transform: none; }
.cb-modern .cbm-lead { color: var(--cbm-sub); line-height: 2; }
.cb-modern .cbm-lead strong { color: var(--cbm-ink); }
.cb-modern .cbm-note { font-size: 13px; color: var(--cbm-sub); line-height: 1.85; margin-top: 16px; }
.cb-modern .cbm-center { text-align: center; }
.cb-modern .cbm-phrase { display: inline-block; }
.cb-modern .cbm-blue { color: var(--cbm-blue); }
.cb-modern .cbm-marker { background: linear-gradient(transparent 78%,var(--cbm-yellow) 78%,var(--cbm-yellow) 94%,transparent 94%); }
.cb-modern .cbm-text-link { display: inline-flex; align-items: center; gap: 16px; color: var(--cbm-blue); font-size: 15px; font-weight: 700; line-height: 1.8; padding-block: 8px; }
.cb-modern .cbm-text-link span { flex: none; }
.cb-modern .cbm-text-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.cb-modern .cbm-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.cb-modern .cbm-button { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 58px; padding: 17px 28px; border-radius: 50px; background: var(--cbm-blue); color: white; font-weight: 700; font-size: 16px; line-height: 1.6; transition: background .2s; }
.cb-modern .cbm-button > span { font-size: 11px; font-weight: 400; margin-top: 3px; }
.cb-modern .cbm-button:hover { background: #2354a4; }
.cb-modern .cbm-button-line { background: var(--cb-line, #06c755); color: #fff; }
.cb-modern .cbm-button-line:hover { background: var(--cb-line, #06c755); opacity: .92; }
.cb-modern .cbm-panel { background: var(--cbm-soft); border-radius: 28px; padding: 40px; }
.cb-modern .cbm-panel h3 { margin-bottom: 16px; }
.cb-modern .cbm-script { font-family: var(--cbm-script); font-size: 38px; line-height: 1.2; font-weight: 600; }
.cb-modern .cbm-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Existing CTA markup keeps its links and tracking contract inside the opted-in page. */
.cb-modern .cb-final { padding: 88px 24px; background: var(--cbm-blue); color: #fff; }
.cb-modern .cb-final .cb-deco { display: none; }
.cb-modern .cb-final__script { font-family: var(--cbm-script); color: var(--cbm-yellow); margin-bottom: 16px; }
.cb-modern .cb-final__h2 { color: #fff; font-size: clamp(28px,3.8vw,46px); text-shadow: none; }
.cb-modern .cb-final__lead { color: #fff; margin-top: 24px; }
.cb-modern .cb-final__btns { margin-top: 32px; }
.cb-modern .cb-final__btn { border-radius: 40px; box-shadow: none; font-family: var(--cbm-body); }
@media (max-width: 760px) {
  .cb-modern { font-size: 15px; }
  .cb-modern .cbm-wrap { width: calc(100% - 40px); }
  .cb-modern .cbm-section { padding-block: 64px; }
  .cb-modern .cbm-section-head { display: block; margin-bottom: 30px; }
  .cb-modern .cbm-section-head > .cbm-lead { margin-top: 22px; max-width: none; }
  .cb-modern .cbm-eyebrow { margin-bottom: 16px; font-size: 25px; }
  .cb-modern .cbm-eyebrow-meta { font-size: 11px; }
  .cb-modern .cbm-panel { padding: 28px 24px; border-radius: 24px; }
  .cb-modern .cbm-actions { flex-direction: column; align-items: center; gap: 12px; margin-top: 28px; }
  .cb-modern .cbm-button { font-size: 14px; padding-inline: 20px; max-width: 100%; }
  .cb-modern .cbm-actions .cbm-button { width: min(100%,360px); }
  .cb-modern :is(section,article,[id]) { scroll-margin-top: 100px; }
}
@media (prefers-reduced-motion: reduce) { .cb-modern * { transition: none !important; } }
