/* ChatDuo refresh layer ("cdr"). Loaded after common.min.css and site.css on every page.
   Everything is scoped under the attribute data-cdr on <html>: remove it and every page drops back to site.css
   with the new elements hidden (the kill switch for experiment X-01). Pages that carry the start panel say
   data-cdr="on panel". It is an attribute and not a class on purpose: the legacy Modernizr build in
   common.min.js appends its "webp" class to the html element without a separating space, which corrupts
   whatever class happens to be last. Nothing here targets the chat applet (.cd): its skin is chat-skin.css.

   Rules of this file
   - Brand tokens only: Montserrat; ink #111, navy #21346C, blue #16BAF6, teal #24D5B5, sun #FFBF24;
     hero gradient #00C7A3 to #13A3D7; dark panels #1C1C22 / #2A2A2F; black pill with a hard offset shadow.
   - The applet's chat screen and dialogs are position:fixed inside #chatduo-chat. No ancestor of the mount may
     get transform, filter, perspective, contain or will-change, ever: it would re-anchor the fixed layers.
   - Motion is transform and opacity only, and all of it is off under prefers-reduced-motion.
   - Nothing above the fold waits for JavaScript. Reveal styles apply only once duo.js has set data-cdr-js. */

/* Without the attribute: the new elements stand down and the current skin (site.css) carries the page. The home
   page keeps its new section order; a full rollback is the previous files. */
html:not([data-cdr]) :is(.cdr-defs, .cdr-scene, .cdr-opener, .cdr-proof, .cdr-eyebrow, .cdr-signoff, .cdr-sticky, .cdr-nav-cta, .cdr-band, .cdr-zero, .cdr-kicker, .cdr-tag, .cdr-ic, .cdr-pagehead-art, .cdr-footline) { display: none !important; }
html:not([data-cdr]) .cdr-plain { list-style: none; margin: 0; padding: 0; }
html:not([data-cdr]) .chat-host h1 { font-size: 40px; line-height: 1.15; font-weight: 700; margin: 0 0 14px; text-align: center; }
html:not([data-cdr]) .chat-host .free-line { text-align: center; font-weight: 700; color: #555; font-size: 15px; }
html:not([data-cdr]) .cdr-pagehead > .container { max-width: 960px; }
html:not([data-cdr]) .cdr-pagehead .breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0; padding: 0; }
html:not([data-cdr]) .cdr-pagehead .breadcrumbs li + li::before { content: "\203A"; color: #999; margin-right: 8px; }
@media (max-width: 767px) { html:not([data-cdr]) .chat-host h1 { font-size: 30px; } }

html[data-cdr] {
  --cdr-ink: #111; --cdr-navy: #21346C; --cdr-blue: #16BAF6; --cdr-teal: #24D5B5; --cdr-sun: #FFBF24;
  --cdr-link: #067ca7; --cdr-line: #DCE6EC; --cdr-tint: #F1FAFD; --cdr-dark: #1C1C22; --cdr-dark2: #2A2A2F;
  --cdr-g: linear-gradient(135deg, #24D5B5, #16BAF6); --cdr-gh: linear-gradient(45deg, #00C7A3, #13A3D7);
  --cdr-r: 22px; --cdr-ease: cubic-bezier(.2, .8, .2, 1); --cdr-spring: cubic-bezier(.34, 1.56, .64, 1);
  scroll-padding-top: 84px;
}
html[data-cdr] body { color: var(--cdr-ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html[data-cdr] .cdr-scene { display: block; width: 100%; height: auto; overflow: visible; }
html[data-cdr] .cdr-i { flex: none; }

/* ---------- The word in a bubble: the two-tone heading, made legible ---------- */
/* The recorded brand heading is two-tone with the first word in teal. Teal text on white is 1.9:1, so the
   first word sits in a gradient speech bubble with navy text instead (5.6:1 or better across the gradient). */
html[data-cdr] .cdr-bub {
  display: inline-block; position: relative; padding: .04em .34em .08em; margin: 0 .06em .12em -.04em;
  border-radius: .46em; background: var(--cdr-g); color: var(--cdr-navy); transform: rotate(-2deg); white-space: nowrap;
}
html[data-cdr] .cdr-bub::after { content: ""; position: absolute; left: .42em; bottom: -.2em; width: .42em; height: .3em; background: #20cfc0; clip-path: polygon(0 0, 100% 0, 12% 100%); }

/* ---------- Buttons: the black pill with a ledge ---------- */
html[data-cdr] .cdr-pill, html[data-cdr] main a.cta-button, html[data-cdr] main a.cta-button:visited, html[data-cdr] #main-contact-form .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px;
  border: 2.5px solid var(--cdr-ink); border-radius: 999px; background: var(--cdr-ink); color: #fff;
  font-family: inherit; font-size: 16px; font-weight: 800; letter-spacing: .04em; line-height: 1.1; text-transform: uppercase; text-decoration: none;
  box-shadow: 4px 4px 0 var(--cdr-blue); cursor: pointer; margin: 0;
  transition: transform .12s var(--cdr-ease), box-shadow .12s var(--cdr-ease);
}
html[data-cdr] .cdr-pill:hover, html[data-cdr] main a.cta-button:hover, html[data-cdr] main a.cta-button:focus, html[data-cdr] #main-contact-form .btn-primary:hover, html[data-cdr] #main-contact-form .btn-primary:focus {
  background: var(--cdr-ink); color: #fff; text-decoration: none; transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--cdr-blue);
}
html[data-cdr] .cdr-pill:active, html[data-cdr] main a.cta-button:active, html[data-cdr] #main-contact-form .btn-primary:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--cdr-blue); }
html[data-cdr] .cdr-pill.cdr-pill-light { background: #fff; color: var(--cdr-ink); box-shadow: 4px 4px 0 var(--cdr-ink); }
html[data-cdr] .cdr-pill.cdr-pill-light:hover { background: #fff; color: var(--cdr-ink); box-shadow: 5px 5px 0 var(--cdr-ink); }
html[data-cdr] .cdr-pill.cdr-pill-light:active { box-shadow: 0 0 0 var(--cdr-ink); }
html[data-cdr] .cdr-pill.cdr-pill-sm { min-height: 42px; padding: 0 18px; font-size: 13px; box-shadow: 3px 3px 0 var(--cdr-blue); }
html[data-cdr] .cdr-pill.cdr-pill-sm.cdr-pill-light { box-shadow: 3px 3px 0 var(--cdr-ink); }
html[data-cdr] main a.cta-secondary, html[data-cdr] main a.cta-secondary:visited { color: var(--cdr-navy); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--cdr-blue); }
html[data-cdr] a:focus-visible, html[data-cdr] summary:focus-visible, html[data-cdr] button:focus-visible, html[data-cdr] .btn:focus-visible, html[data-cdr] .form-control:focus-visible { outline: 3px solid var(--cdr-navy); outline-offset: 3px; border-radius: 6px; }
html[data-cdr] .cdr-pill:focus-visible, html[data-cdr] main a.cta-button:focus-visible { border-radius: 999px; }

/* ---------- Header ---------- */
html[data-cdr] #navigation { box-shadow: 0 1px 0 var(--cdr-line); }
html[data-cdr] #navigation .container { width: 100%; max-width: 1240px; padding-left: 20px; padding-right: 20px; display: flex; align-items: center; }
html[data-cdr] .site-nav-list { gap: 4px; }
html[data-cdr] .site-nav-list a, html[data-cdr] .site-nav-more summary, html[data-cdr] .site-nav-mobile summary { font-weight: 700; color: var(--cdr-ink); border-radius: 999px; padding: 10px 14px; transition: background-color .15s, color .15s; }
html[data-cdr] .site-nav a:hover, html[data-cdr] .site-nav a:focus, html[data-cdr] .site-nav summary:hover { color: var(--cdr-navy); background: var(--cdr-tint); }
html[data-cdr] .site-nav a[aria-current="page"] { color: var(--cdr-navy); background: #E3F6FC; }
html[data-cdr] .site-nav-more details:has(a[aria-current="page"]) > summary { color: var(--cdr-navy); background: #E3F6FC; }
html[data-cdr] .site-nav-more ul, html[data-cdr] .site-nav-mobile ul { border: 2.5px solid var(--cdr-ink); border-radius: 20px; box-shadow: 5px 5px 0 var(--cdr-ink); padding: 8px; top: calc(100% + 10px); }
html[data-cdr] .site-nav-more ul a, html[data-cdr] .site-nav-mobile ul a { border-radius: 12px; font-weight: 700; color: var(--cdr-ink); }
html[data-cdr] .site-nav-mobile summary { border: 2.5px solid var(--cdr-ink); padding: 9px 14px; display: flex; align-items: center; }
html[data-cdr] .site-nav-burger, html[data-cdr] .site-nav-burger::before, html[data-cdr] .site-nav-burger::after { background: var(--cdr-ink); height: 2.5px; border-radius: 2px; width: 18px; }
html[data-cdr] .site-nav-burger::before { top: -6px; } html[data-cdr] .site-nav-burger::after { top: 6px; }
html[data-cdr] .site-nav-mobile[open] summary { background: var(--cdr-ink); color: #fff; }
html[data-cdr] .site-nav-mobile[open] .site-nav-burger, html[data-cdr] .site-nav-mobile[open] .site-nav-burger::before, html[data-cdr] .site-nav-mobile[open] .site-nav-burger::after { background: #fff; }
/* Header call to action: on pages without the start panel it is always there; on pages with the panel it
   appears once the panel has left the window (duo.js sets html[data-cdr]-away). Never during a chat. */
html[data-cdr] .cdr-nav-cta { margin-left: 10px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--cdr-ease), visibility .2s, box-shadow .12s; }
html[data-cdr][data-cdr-away] .cdr-nav-cta, html[data-cdr]:not([data-cdr~="panel"]) .cdr-nav-cta { opacity: 1; visibility: visible; transform: none; }
html[data-cdr] .cdr-nav-cta:hover { transform: translate(-1px, -1px); } html[data-cdr] .cdr-nav-cta:active { transform: translate(3px, 3px); }
html[data-cdr].cd-in-chat .cdr-nav-cta { display: none; }
@media (max-width: 991px) { html[data-cdr] .cdr-nav-cta { display: none; } }

/* ---------- Phone: the start bar in the thumb zone ---------- */
html[data-cdr] .cdr-sticky { display: none; }
@media (max-width: 991px) {
  html[data-cdr] .cdr-sticky {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; justify-content: center;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--cdr-line);
    transform: translateY(110%); transition: transform .25s var(--cdr-ease); pointer-events: none;
  }
  html[data-cdr] .cdr-sticky .cdr-pill { width: 100%; max-width: 420px; }
  html[data-cdr][data-cdr-away] .cdr-sticky, html[data-cdr]:not([data-cdr~="panel"]) .cdr-sticky { transform: none; pointer-events: auto; }
  html[data-cdr][data-cdr-end] .cdr-sticky, html[data-cdr].cd-in-chat .cdr-sticky { transform: translateY(110%); pointer-events: none; }
  html[data-cdr] body { padding-bottom: 0; }
}

/* ---------- Hero (home and the landing pages that carry the start panel) ---------- */
html[data-cdr] .chat-host { padding: 34px 0 56px; position: relative; }
html[data-cdr] .chat-host > .container { width: 100%; max-width: 1200px; padding-left: 20px; padding-right: 20px; }
html[data-cdr] .cdr-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: start; }
html[data-cdr] .cdr-hero-copy { min-width: 0; }
html[data-cdr] .cdr-eyebrow { display: flex; align-items: center; gap: 10px; margin: 6px 0 14px; font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cdr-navy); }
html[data-cdr] .cdr-twodots { display: inline-flex; gap: 5px; }
html[data-cdr] .cdr-twodots::before, html[data-cdr] .cdr-twodots::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--cdr-g); animation: cdr-beat 1.6s ease-in-out infinite; }
html[data-cdr] .cdr-twodots::after { background: var(--cdr-sun); animation-delay: .22s; }
html[data-cdr] .cdr-display { margin: 0 0 14px; font-size: clamp(36px, 3.2vw, 46px); line-height: 1.06; font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; color: var(--cdr-ink); text-wrap: balance; }
html[data-cdr] .cdr-h1-age { display: inline-block; vertical-align: .32em; margin-left: .1em; padding: .22em .5em .2em; border: 2.5px solid var(--cdr-ink); border-radius: 999px; font-size: .34em; font-weight: 800; letter-spacing: .04em; line-height: 1; }
html[data-cdr] .chat-host .free-line { margin: 0 0 22px; font-size: 17px; font-weight: 600; color: #333; }
html[data-cdr] main:has(#chatduo-chat .cd-free) .chat-host .free-line { display: none; }

/* The console: the start panel as a card. No transform or filter here (see the note at the top). */
html[data-cdr] .cdr-console { position: relative; margin: 0; padding: 22px 24px 20px; background: #fff; border: 2.5px solid var(--cdr-ink); border-radius: 28px; box-shadow: 7px 7px 0 var(--cdr-ink); }
html[data-cdr] .cdr-scene-peek { display: none; }
html[data-cdr] .cdr-proof { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
html[data-cdr] .cdr-proof li { margin: 0; }
html[data-cdr] .cdr-proof a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px 8px 10px; border: 2px solid var(--cdr-line); border-radius: 999px; background: #fff; color: var(--cdr-ink); font-size: 13.5px; font-weight: 700; line-height: 1.2; text-decoration: none; transition: border-color .15s, background-color .15s, transform .12s var(--cdr-ease); }
html[data-cdr] .cdr-proof a:hover, html[data-cdr] .cdr-proof a:focus { border-color: var(--cdr-ink); background: var(--cdr-tint); color: var(--cdr-ink); text-decoration: none; transform: translateY(-1px); }
html[data-cdr] .cdr-proof .cdr-i { color: var(--cdr-navy); }
html[data-cdr] .chat-host-links { text-align: left; margin: 14px 0 0; font-size: 14px; color: #555; }
html[data-cdr] .chat-host-links a { color: var(--cdr-link); }

html[data-cdr] .cdr-hero-art { position: relative; min-width: 0; padding-top: 4px; }
html[data-cdr] .cdr-scene-hero { max-width: 540px; margin: 0 auto; }
/* short desktop windows (1366x768 laptops): the mode buttons stay well inside the first screen */
@media (min-width: 1080px) and (max-height: 820px) {
  html[data-cdr] .chat-host { padding-top: 22px; }
  html[data-cdr] .cdr-display { margin-bottom: 10px; }
  html[data-cdr] .chat-host .free-line { margin-bottom: 16px; }
  html[data-cdr] .cdr-eyebrow { margin: 2px 0 10px; }
}
@media (max-width: 380px) { html[data-cdr] .cdr-eyebrow { font-size: 11px; letter-spacing: .08em; gap: 8px; } }

/* Today's opener: one question a day, the same for everyone */
html[data-cdr] .cdr-opener { position: relative; max-width: 460px; margin: -18px auto 0; padding: 18px 20px 16px; background: var(--cdr-sun); color: var(--cdr-ink); border: 2.5px solid var(--cdr-ink); border-radius: 24px; box-shadow: 6px 6px 0 var(--cdr-ink); transform: rotate(-1.4deg); }
html[data-cdr] .cdr-opener-top { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
html[data-cdr] .cdr-opener-no { margin-left: auto; padding: 3px 9px; border: 2px solid var(--cdr-ink); border-radius: 999px; font-size: 12px; letter-spacing: .04em; background: #fff; }
html[data-cdr] .cdr-opener-q { margin: 0 0 12px; font-size: 21px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
html[data-cdr] .cdr-opener-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; font-size: 13px; font-weight: 600; line-height: 1.35; }
html[data-cdr] .cdr-opener-foot .cdr-opener-note { flex: 1 1 180px; }
html[data-cdr] .cdr-run { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--cdr-ink); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
html[data-cdr] .cdr-run[hidden], html[data-cdr] .cdr-copied[hidden] { display: none; }
html[data-cdr] .cdr-copied { font-weight: 800; }
html[data-cdr][data-cdr-off~="opener"] .cdr-opener, html[data-cdr][data-cdr-off~="run"] .cdr-run, html[data-cdr][data-cdr-off~="share"] .cdr-share, html[data-cdr][data-cdr-off~="sticky"] .cdr-sticky, html[data-cdr][data-cdr-off~="sticky"] .cdr-nav-cta { display: none !important; }

@media (max-width: 1079px) {
  html[data-cdr] .chat-host { padding: 18px 0 34px; }
  html[data-cdr] .cdr-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  html[data-cdr] .cdr-eyebrow { font-size: 12px; margin: 2px 0 10px; }
  html[data-cdr] .cdr-display { font-size: clamp(27px, 7.6vw, 40px); margin-bottom: 12px; }
  html[data-cdr] .chat-host .free-line { font-size: 15px; margin-bottom: 16px; }
  html[data-cdr] .cdr-console { padding: 16px 14px 14px; border-radius: 24px; box-shadow: 5px 5px 0 var(--cdr-ink); margin-top: 58px; }
  /* the two look over the top edge of the card */
  html[data-cdr] .cdr-scene-peek { display: block; position: absolute; left: 50%; top: -60px; width: min(300px, 86%); margin-left: calc(min(300px, 86%) / -2); height: 62px; overflow: hidden; z-index: 0; pointer-events: none; }
  html[data-cdr] .cdr-scene-hero { display: none; }
  html[data-cdr] .cdr-opener { margin: 0; max-width: none; transform: rotate(-.8deg); }
  html[data-cdr] .cdr-proof { margin-top: 18px; }
  html[data-cdr] .cdr-proof a { font-size: 13px; padding: 7px 11px 7px 9px; }
}
/* phones: the headline takes three lines, not four, so the mode buttons sit higher */
@media (max-width: 480px) { html[data-cdr] .cdr-display { font-size: clamp(21px, 6.3vw, 30px); line-height: 1.1; } }
/* short screens: the two do not look over the card; the buttons need the room */
@media (max-width: 1079px) and (max-height: 700px) { html[data-cdr] .cdr-console { margin-top: 0; } html[data-cdr] .cdr-scene-peek { display: none; } }

/* ---------- Sections ---------- */
html[data-cdr] .home-section { padding: 72px 0; }
html[data-cdr] .home-section .container { width: 100%; max-width: 1120px; padding-left: 20px; padding-right: 20px; }
html[data-cdr] .home-alt { background: var(--cdr-tint); }
html[data-cdr] .home-section h2, html[data-cdr] .cdr-h2 { margin: 0 0 22px; font-size: clamp(27px, 3vw, 38px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; color: var(--cdr-ink); text-wrap: balance; }
html[data-cdr] .home-section :is(p, ul, ol) + h2 { margin-top: 44px; }
html[data-cdr] .home-section p, html[data-cdr] .home-section li { font-size: 17px; line-height: 1.65; color: #1c1c22; }
html[data-cdr] .home-section a, html[data-cdr] .inner-page a { color: var(--cdr-link); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
html[data-cdr] .cdr-kicker { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cdr-navy); }
@media (max-width: 767px) {
  html[data-cdr] .home-section { padding: 44px 0; }
  html[data-cdr] .home-section p, html[data-cdr] .home-section li { font-size: 16px; }
}

/* The short version: four plain answers */
html[data-cdr] .cdr-plain { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
html[data-cdr] .cdr-plain > li { margin: 0; padding: 24px 24px 22px; background: #fff; border: 2px solid var(--cdr-line); border-radius: var(--cdr-r); }
html[data-cdr] .cdr-plain h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 19px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; }
html[data-cdr] .cdr-plain p { margin: 0; font-size: 16px; line-height: 1.62; }
html[data-cdr] .cdr-ic { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 14px; background: var(--cdr-g); color: var(--cdr-navy); border: 2px solid var(--cdr-navy); }
html[data-cdr] .cdr-ic.cdr-ic-sun { background: var(--cdr-sun); }
html[data-cdr] .cdr-ic.cdr-ic-white { background: #fff; }
html[data-cdr] .cdr-plain > li.cdr-honest { background: var(--cdr-navy); border-color: var(--cdr-navy); }
html[data-cdr] .cdr-plain > li.cdr-honest h3, html[data-cdr] .cdr-plain > li.cdr-honest p { color: #fff; }
html[data-cdr] .cdr-plain > li.cdr-honest a { color: #8fe3ff; }
@media (max-width: 767px) { html[data-cdr] .cdr-plain { grid-template-columns: minmax(0, 1fr); gap: 12px; } html[data-cdr] .cdr-plain > li { padding: 20px 18px; } }

/* Steps */
html[data-cdr] :is(.content-page, .home-section) .steps { gap: 14px; }
html[data-cdr] :is(.content-page, .home-section) .steps > li { padding: 20px 22px 20px 84px; border: 2px solid var(--cdr-line); border-radius: var(--cdr-r); background: #fff; transition: border-color .2s, transform .2s var(--cdr-ease); }
html[data-cdr] :is(.content-page, .home-section) .steps > li::before { left: 20px; top: 18px; width: 46px; height: 46px; border-radius: 16px 16px 16px 5px; background: var(--cdr-g); color: var(--cdr-navy); border: 2.5px solid var(--cdr-navy); font-size: 21px; font-weight: 800; }
html[data-cdr] :is(.content-page, .home-section) .steps > li:nth-child(even)::before { background: var(--cdr-sun); border-radius: 16px 16px 5px 16px; }
html[data-cdr] :is(.content-page, .home-section) .steps h3 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
@media (hover: hover) { html[data-cdr] :is(.content-page, .home-section) .steps > li:hover { border-color: var(--cdr-ink); transform: translateX(4px); } }
@media (max-width: 767px) {
  html[data-cdr] :is(.content-page, .home-section) .steps > li { padding: 16px 16px 16px 68px; }
  html[data-cdr] :is(.content-page, .home-section) .steps > li::before { left: 14px; top: 16px; width: 40px; height: 40px; font-size: 18px; border-radius: 14px 14px 14px 4px; }
  html[data-cdr] :is(.content-page, .home-section) .steps figure { margin-left: -52px; }
}

/* Product screenshots in a phone frame */
html[data-cdr] :is(.content-page, .home-section) figure.phone-shot { position: relative; margin: 0 auto; width: min(300px, 100%); }
html[data-cdr] :is(.content-page, .home-section) figure.phone-shot img { max-width: 100%; width: 100%; border: 3px solid var(--cdr-ink); border-radius: 34px; box-shadow: 9px 9px 0 var(--cdr-blue); background: #fff; }
html[data-cdr] .home-alt figure.phone-shot img { box-shadow: 9px 9px 0 var(--cdr-sun); }
html[data-cdr] :is(.content-page, .home-section) figure img { border: 2px solid var(--cdr-line); border-radius: 18px; }
html[data-cdr] :is(.content-page, .home-section) figcaption { font-size: 13.5px; color: #5a5a66; margin-top: 16px; }
html[data-cdr] .home-grid { gap: 56px; grid-template-columns: 1.15fr .85fr; }
@media (max-width: 767px) { html[data-cdr] .home-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; } }

/* Why people use ChatDuo: six cards with a hierarchy, not six equals */
html[data-cdr] .home-section .cards { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
html[data-cdr] .home-section .cards > li { grid-column: span 2; padding: 24px 24px 22px; border: 2px solid var(--cdr-line); border-radius: var(--cdr-r); background: #fff; transition: transform .2s var(--cdr-ease), border-color .2s; }
html[data-cdr] .home-section .cards > li:nth-child(1), html[data-cdr] .home-section .cards > li:nth-child(4) { grid-column: span 4; }
html[data-cdr] .home-section .cards > li:nth-child(5), html[data-cdr] .home-section .cards > li:nth-child(6) { grid-column: span 3; }
html[data-cdr] .home-section .cards > li:nth-child(1) { background: var(--cdr-tint); border-color: #BFE9F6; }
html[data-cdr] .home-section .cards > li:nth-child(4) { background: var(--cdr-dark); border-color: var(--cdr-dark); }
html[data-cdr] .home-section .cards > li:nth-child(4) h3, html[data-cdr] .home-section .cards > li:nth-child(4) p { color: #fff; }
html[data-cdr] .home-section .cards > li:nth-child(4) a { color: #8fe3ff; }
html[data-cdr] .home-section .cards h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
html[data-cdr] .home-section .cards > li:nth-child(1) h3, html[data-cdr] .home-section .cards > li:nth-child(4) h3 { font-size: 23px; }
html[data-cdr] .home-section .cards p { font-size: 16px; line-height: 1.6; }
@media (hover: hover) { html[data-cdr] .home-section .cards > li:hover { transform: translateY(-3px); border-color: var(--cdr-ink); } html[data-cdr] .home-section .cards > li:nth-child(4):hover { border-color: var(--cdr-blue); } }
@media (max-width: 899px) { html[data-cdr] .home-section .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } html[data-cdr] .home-section .cards > li, html[data-cdr] .home-section .cards > li:nth-child(n) { grid-column: span 1; } html[data-cdr] .home-section .cards > li:nth-child(1), html[data-cdr] .home-section .cards > li:nth-child(4) { grid-column: span 2; } }
@media (max-width: 599px) { html[data-cdr] .home-section .cards { grid-template-columns: minmax(0, 1fr); gap: 12px; } html[data-cdr] .home-section .cards > li:nth-child(n) { grid-column: span 1; padding: 20px 18px; } }
/* Cards on content pages keep their even grid, in the same skin */
html[data-cdr] .content-page .cards { gap: 14px; }
html[data-cdr] .content-page .cards > li { padding: 22px; border: 2px solid var(--cdr-line); border-radius: var(--cdr-r); }
html[data-cdr] .content-page .cards h3 { font-weight: 800; letter-spacing: -.01em; }

/* Rules: the dark panel */
html[data-cdr] #rules.home-section { background: #fff; }
html[data-cdr] .cdr-panel { padding: 48px 48px 44px; background: var(--cdr-dark); border-radius: 36px; color: #fff; }
html[data-cdr] .cdr-panel h2, html[data-cdr] .cdr-panel p, html[data-cdr] .cdr-panel li { color: #fff; }
html[data-cdr] .cdr-panel a { color: #8fe3ff; }
html[data-cdr] .cdr-panel figcaption { color: #b9b9c6; }
html[data-cdr] .cdr-rules { list-style: none; counter-reset: rule; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
html[data-cdr] .cdr-rules > li { counter-increment: rule; position: relative; margin: 0; padding: 14px 16px 14px 58px; background: var(--cdr-dark2); border-radius: 16px; font-size: 16px; line-height: 1.5; }
html[data-cdr] .cdr-rules > li::before { content: counter(rule); position: absolute; left: 14px; top: 12px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--cdr-sun); color: var(--cdr-ink); font-weight: 800; font-size: 15px; }
html[data-cdr] .cdr-zero { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 18px 0 0; padding: 0; }
html[data-cdr] .cdr-zero > li { margin: 0; padding: 14px 10px 12px; text-align: center; border: 2px solid #3a3a44; border-radius: 16px; font-size: 13px; font-weight: 700; line-height: 1.25; letter-spacing: .02em; text-transform: uppercase; color: #d9d9e2; }
html[data-cdr] .cdr-zero b { display: block; margin-bottom: 2px; font-size: 40px; line-height: 1; font-weight: 900; background: var(--cdr-g); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 767px) { html[data-cdr] .cdr-panel { padding: 30px 20px 28px; border-radius: 28px; margin: 0 -6px; } html[data-cdr] .cdr-zero { grid-template-columns: repeat(2, minmax(0, 1fr)); } html[data-cdr] #rules figure.phone-shot { display: none; } }

/* The manifesto band */
html[data-cdr] .cdr-band { background: var(--cdr-gh); padding: 76px 0; position: relative; overflow: hidden; }
html[data-cdr] .cdr-band .container { width: 100%; max-width: 1120px; padding-left: 20px; padding-right: 20px; position: relative; }
html[data-cdr] .cdr-band .cdr-kicker { color: var(--cdr-navy); }
html[data-cdr] .cdr-band-lines { margin: 0 0 18px; font-size: clamp(34px, 6.2vw, 78px); line-height: .98; font-weight: 900; letter-spacing: -.03em; text-transform: uppercase; color: var(--cdr-ink); }
html[data-cdr] .cdr-band-lines span { display: block; }
html[data-cdr] .cdr-band-lines span:nth-child(2) { color: #fff; -webkit-text-stroke: 0; text-shadow: 3px 3px 0 var(--cdr-ink); }
html[data-cdr] .cdr-band p.cdr-band-sub { max-width: 620px; margin: 0 0 26px; font-size: 19px; line-height: 1.5; font-weight: 600; color: var(--cdr-ink); }
@media (max-width: 767px) { html[data-cdr] .cdr-band { padding: 48px 0; } html[data-cdr] .cdr-band p.cdr-band-sub { font-size: 17px; } }

/* FAQ */
html[data-cdr] :is(.content-page, .home-section) .faq { border-top: 0; display: grid; gap: 10px; }
html[data-cdr] :is(.content-page, .home-section) .faq-item { border: 2px solid var(--cdr-line); border-radius: 18px; background: #fff; transition: border-color .2s; }
html[data-cdr] :is(.content-page, .home-section) .faq-item[open] { border-color: var(--cdr-ink); }
html[data-cdr] :is(.content-page, .home-section) .faq-item summary { padding: 18px 60px 18px 20px; border-radius: 16px; }
html[data-cdr] :is(.content-page, .home-section) .faq-item summary::after { content: "+"; right: 14px; top: 50%; width: 32px; height: 32px; margin-top: -16px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--cdr-tint); color: var(--cdr-navy); font-size: 22px; font-weight: 700; line-height: 1; transition: transform .25s var(--cdr-spring), background-color .2s; }
html[data-cdr] :is(.content-page, .home-section) .faq-item[open] summary::after { content: "\2212"; background: var(--cdr-sun); color: var(--cdr-ink); transform: rotate(180deg); }
html[data-cdr] :is(.content-page, .home-section) .faq-item summary h3 { font-size: 17.5px; font-weight: 700; }
html[data-cdr] :is(.content-page, .home-section) .faq-answer { padding: 0 20px 18px; }
html[data-cdr] .faq-item::details-content { block-size: 0; overflow: clip; transition: block-size .28s var(--cdr-ease), content-visibility .28s allow-discrete; }
html[data-cdr] .faq-item[open]::details-content { block-size: auto; }
html[data-cdr] { interpolate-size: allow-keywords; }
html[data-cdr] :is(.content-page, .home-section) .cta-row { margin: 34px 0 6px; gap: 16px 24px; }

/* ---------- Content pages ---------- */
html[data-cdr] .cdr-pagehead { background: var(--cdr-tint); border-bottom: 2px solid #D5EEF7; padding: 26px 0 30px; }
html[data-cdr] .cdr-pagehead .container { width: 100%; max-width: 1120px; padding-left: 20px; padding-right: 20px; }
html[data-cdr] .cdr-pagehead-grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 40px; align-items: center; }
html[data-cdr] .cdr-pagehead .breadcrumbs { margin: 0 0 16px; font-size: 13.5px; font-weight: 600; }
html[data-cdr] .cdr-pagehead .breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0; padding: 0; }
html[data-cdr] .cdr-pagehead .breadcrumbs li { margin: 0; padding: 0; font-size: 13.5px; line-height: 1.4; }
html[data-cdr] .cdr-pagehead .breadcrumbs li + li::before { content: "\203A"; color: #7b8794; margin-right: 8px; }
html[data-cdr] .cdr-pagehead .breadcrumbs a { color: var(--cdr-link); }
/* Added while porting (16 November 2026): a link in the lead sits outside .inner-page here and fell back to the
   legacy teal of common.min.css, 2.4:1 on the tinted band (the contact page's lead has two). */
html[data-cdr] .cdr-pagehead .page-head .lead a { color: var(--cdr-link); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
html[data-cdr] .cdr-pagehead .breadcrumbs [aria-current="page"] { color: #4b5563; }
html[data-cdr] .cdr-tag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 13px 6px 11px; border-radius: 12px 12px 12px 4px; background: var(--cdr-g); color: var(--cdr-navy); font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
html[data-cdr] .cdr-pagehead .page-head { margin: 0; }
html[data-cdr] .cdr-pagehead .page-head h1, html[data-cdr] .ip-title h1 { margin: 0 0 14px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -.025em; color: var(--cdr-ink); text-wrap: balance; }
html[data-cdr] .cdr-pagehead .page-head .lead { margin: 0; max-width: 680px; font-size: 18px; line-height: 1.6; color: #1c1c22; }
html[data-cdr] .cdr-pagehead .last-reviewed, html[data-cdr] .cdr-pagehead .byline { margin: 12px 0 0; font-size: 13.5px; line-height: 1.5; color: #5a5a66; }
html[data-cdr] .cdr-pagehead .byline + .last-reviewed { margin-top: 0; }
html[data-cdr] .cdr-scene-head { width: 250px; max-width: 100%; }
@media (max-width: 899px) {
  html[data-cdr] .cdr-pagehead { padding: 14px 0 18px; }
  html[data-cdr] .cdr-pagehead .breadcrumbs { margin-bottom: 10px; }
  html[data-cdr] .cdr-tag { margin-bottom: 10px; }
  html[data-cdr] .cdr-pagehead .page-head h1 { font-size: clamp(25px, 7vw, 34px); margin-bottom: 8px; }
  html[data-cdr] .cdr-pagehead-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  html[data-cdr] .cdr-pagehead-art { display: none; }
  html[data-cdr] .cdr-pagehead .page-head .lead { font-size: 16.5px; }
}
html[data-cdr] .content-page { padding: 34px 0 84px; }
html[data-cdr] .content-page .container, html[data-cdr] .inner-page:not(.content-page) .container { width: 100%; max-width: 880px; padding-left: 20px; padding-right: 20px; }
html[data-cdr] .content-page h2 { margin: 2.1em 0 .6em; font-size: clamp(24px, 2.6vw, 31px); line-height: 1.18; font-weight: 800; letter-spacing: -.02em; }
html[data-cdr] .content-page > .container > h2:first-child { margin-top: .4em; }
html[data-cdr] .content-page h3 { font-weight: 800; letter-spacing: -.01em; }
html[data-cdr] .content-page p, html[data-cdr] .content-page li { font-size: 17px; line-height: 1.68; color: #1c1c22; }
/* A note is a speech bubble */
html[data-cdr] .content-page .note { position: relative; margin: 26px 0 30px; padding: 18px 20px; background: #FFF6DC; border: 2px solid var(--cdr-ink); border-left-width: 2px; border-radius: 20px 20px 20px 6px; }
html[data-cdr] .content-page .guide-list > li { padding: 22px 24px; border: 2px solid var(--cdr-line); border-radius: var(--cdr-r); transition: border-color .2s, transform .2s var(--cdr-ease); }
@media (hover: hover) { html[data-cdr] .content-page .guide-list > li:hover { border-color: var(--cdr-ink); transform: translateY(-2px); } }
html[data-cdr] .content-page .guide-list h3 { font-size: 21px; }
/* Comparison tables */
html[data-cdr] .compare-wrap { margin: 0 0 1.8em; border: 2px solid var(--cdr-ink); border-radius: 18px; overflow-x: auto; }
html[data-cdr] .compare { border-top: 0; font-size: 15.5px; }
html[data-cdr] .compare caption { padding: 12px 14px 10px; font-weight: 600; }
html[data-cdr] .compare th, html[data-cdr] .compare td { border-color: var(--cdr-line); padding: 12px 14px; }
html[data-cdr] .compare tr > :first-child { border-left-width: 0; }
html[data-cdr] .compare tr > :last-child { border-right-width: 0; }
html[data-cdr] .compare tbody tr:last-child > * { border-bottom-width: 0; }
html[data-cdr] .compare thead th { background: var(--cdr-ink); color: #fff; font-weight: 800; border-color: var(--cdr-ink); }
html[data-cdr] .compare thead th:nth-child(2), html[data-cdr] .compare tbody td:nth-child(2) { background: #E9F8FD; color: var(--cdr-ink); }
html[data-cdr] .compare thead th:nth-child(2) { background: var(--cdr-g); color: var(--cdr-navy); }
html[data-cdr] .compare tbody th { background: #fff; font-weight: 700; }
html[data-cdr] .content-page .sources li { font-size: 15px; }

/* Landing pages: the page head sits above the start panel */
html[data-cdr] .cdr-pagehead + .chat-host { padding-top: 34px; }
@media (max-width: 899px) { html[data-cdr] .cdr-pagehead + .chat-host { padding-top: 20px; } }
html[data-cdr] .cdr-landing .cdr-console { max-width: 760px; margin-left: auto; margin-right: auto; }
html[data-cdr] .content-page .page-head.cdr-lead { margin: 0 0 34px; }
html[data-cdr] .content-page .page-head.cdr-lead .lead { font-size: 18.5px; line-height: 1.6; color: #1c1c22; }
html[data-cdr] .cdr-landing + .content-page { padding-top: 4px; }
html[data-cdr] .cdr-landing .cdr-proof { justify-content: center; }
html[data-cdr] .cdr-landing .chat-host-links { text-align: center; }
@media (max-width: 1079px) { html[data-cdr] .cdr-landing .cdr-console { margin-top: 0; } html[data-cdr] .cdr-landing .cdr-scene-peek { display: none; } }

/* ---------- Legal pages: same reading system, not one word changed ---------- */
html[data-cdr] .inner-page:not(.content-page) { padding: 0 0 84px; }
html[data-cdr] .inner-page .ip-title { margin: 0 0 34px; padding: 34px 0 30px; position: relative; }
html[data-cdr] .inner-page .ip-title::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; background: var(--cdr-tint); border-bottom: 2px solid #D5EEF7; z-index: 0; }
html[data-cdr] .inner-page .ip-title > * { position: relative; z-index: 1; }
html[data-cdr] .inner-page .ip-content { font-size: 17px; line-height: 1.68; color: #1c1c22; }
html[data-cdr] .inner-page h2.ipc-sub-title, html[data-cdr] .inner-page .ipc-sub-title { font-weight: 800; letter-spacing: -.01em; color: var(--cdr-ink); }
html[data-cdr] .inner-page .ip-notification { border-radius: 16px; }
html[data-cdr] .inner-page .table-wrap { border-radius: 14px; }

/* ---------- Contact ---------- */
html[data-cdr] #main-contact-form .form-control { height: 52px; padding: 0 16px; border: 2px solid #C9D6DE; border-radius: 14px; box-shadow: none; font-size: 16px; color: var(--cdr-ink); background-color: #fff; transition: border-color .15s; }
html[data-cdr] #main-contact-form textarea.form-control { height: auto; min-height: 150px; padding: 14px 16px; }
html[data-cdr] #main-contact-form select.form-control { height: 52px; }
html[data-cdr] #main-contact-form .form-control:focus { border-color: var(--cdr-ink); outline: 0; box-shadow: 4px 4px 0 var(--cdr-blue); }
html[data-cdr] #main-contact-form .form-group__lbl { font-size: 14px; font-weight: 700; color: var(--cdr-ink); }
html[data-cdr] #main-contact-form .btn-primary { margin-top: 22px; }

/* ---------- 404 ---------- */
html[data-cdr] .content-page.error-page { padding-top: 46px; }
html[data-cdr] .content-page.error-page .error-code { font-size: clamp(88px, 16vw, 150px); font-weight: 900; letter-spacing: -.04em; color: var(--cdr-ink); text-shadow: 6px 6px 0 var(--cdr-blue); }
html[data-cdr] .error-page .cdr-scene-head { margin: 0 auto 8px; width: 240px; }
html[data-cdr] .error-page h1 { font-weight: 800; letter-spacing: -.02em; }

/* ---------- Footer ---------- */
html[data-cdr] .cdr-signoff { background: #fff; border-top: 2px solid var(--cdr-line); padding: 54px 0 0; text-align: center; overflow: hidden; }
html[data-cdr] .cdr-signoff .container { width: 100%; max-width: 1120px; padding-left: 20px; padding-right: 20px; }
html[data-cdr] .cdr-signoff-line { margin: 0 0 22px; font-size: clamp(34px, 6vw, 68px); line-height: 1; font-weight: 900; letter-spacing: -.03em; text-transform: uppercase; color: var(--cdr-ink); }
html[data-cdr] .cdr-scene-foot { width: 280px; max-width: 70%; margin: 30px auto -6px; }
html[data-cdr] .site-footer { background: #0b0b0d; padding: 44px 0 26px; }
html[data-cdr] .site-footer .container { width: 100%; max-width: 1120px; padding-left: 20px; padding-right: 20px; }
html[data-cdr] .footer-heading { color: var(--cdr-teal); letter-spacing: .16em; font-weight: 800; }
html[data-cdr] .site-footer .footer-group a { display: inline-block; padding: 2px 0; font-weight: 500; }
html[data-cdr] .site-footer .footer-group a:hover, html[data-cdr] .site-footer .footer-group a:focus { color: var(--cdr-teal); }
html[data-cdr] .site-footer .footer-bottom { border-top-color: #26262c; }
html[data-cdr] .cdr-footline { margin: 0 0 6px !important; font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
@media (max-width: 991px) { html[data-cdr] .site-footer { padding-bottom: 96px; } }

/* ---------- Manifesto page ---------- */
html[data-cdr] .cdr-manifesto { padding: 0 0 84px; }
html[data-cdr] .cdr-manifesto .container { width: 100%; max-width: 860px; padding-left: 20px; padding-right: 20px; }
html[data-cdr] .cdr-manifesto-hero { background: var(--cdr-gh); padding: 56px 0 60px; margin: 0 0 54px; }
html[data-cdr] .cdr-manifesto-hero .breadcrumbs { margin: 0 0 22px; font-size: 13.5px; font-weight: 700; }
html[data-cdr] .cdr-manifesto-hero .breadcrumbs ol { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
html[data-cdr] .cdr-manifesto-hero .breadcrumbs li { margin: 0; padding: 0; font-size: 13.5px; }
html[data-cdr] .cdr-manifesto-hero .breadcrumbs li + li::before { content: "\203A"; margin-right: 8px; }
html[data-cdr] .cdr-manifesto-hero .breadcrumbs a, html[data-cdr] .cdr-manifesto-hero .breadcrumbs span { color: var(--cdr-navy); }
html[data-cdr] .cdr-manifesto-hero h1 { margin: 0 0 18px; font-size: clamp(40px, 8vw, 96px); line-height: .96; font-weight: 900; letter-spacing: -.035em; text-transform: uppercase; color: var(--cdr-ink); }
html[data-cdr] .cdr-manifesto-hero h1 span { display: block; }
html[data-cdr] .cdr-manifesto-hero h1 span:nth-child(2) { color: #fff; text-shadow: 3px 3px 0 var(--cdr-ink); }
html[data-cdr] .cdr-manifesto-hero .lead { max-width: 640px; margin: 0; font-size: 20px; line-height: 1.5; font-weight: 600; color: var(--cdr-ink); }
html[data-cdr] .cdr-manifesto h2 { margin: 1.9em 0 .5em; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.08; font-weight: 900; letter-spacing: -.025em; text-transform: uppercase; }
html[data-cdr] .cdr-manifesto p { font-size: 19px; line-height: 1.66; color: #1c1c22; margin: 0 0 1em; }
html[data-cdr] .cdr-manifesto .cdr-big { font-size: clamp(22px, 2.8vw, 30px); line-height: 1.32; font-weight: 800; letter-spacing: -.015em; color: var(--cdr-ink); }
html[data-cdr] .cdr-manifesto .cdr-floor { margin: 30px 0; padding: 30px 30px 26px; background: var(--cdr-dark); border-radius: 30px; }
html[data-cdr] .cdr-manifesto .cdr-floor h2 { margin-top: 0; color: #fff; }
html[data-cdr] .cdr-manifesto .cdr-floor p { color: #e9e9f0; }
html[data-cdr] .cdr-manifesto .cdr-floor a { color: #8fe3ff; }
html[data-cdr] .cdr-manifesto .cdr-rules > li { color: #fff; }
html[data-cdr] .cdr-manifesto .cdr-zero { margin: 22px 0 8px; }
html[data-cdr] .cdr-manifesto .cdr-zero > li { border-color: var(--cdr-line); color: var(--cdr-ink); }
html[data-cdr] .cdr-manifesto .cdr-zero b { background: none; color: var(--cdr-ink); -webkit-background-clip: border-box; background-clip: border-box; text-shadow: 3px 3px 0 var(--cdr-blue); }
@media (max-width: 767px) { html[data-cdr] .cdr-manifesto p { font-size: 17px; } html[data-cdr] .cdr-manifesto-hero { padding: 34px 0 40px; margin-bottom: 34px; } html[data-cdr] .cdr-manifesto .cdr-floor { padding: 24px 18px 20px; border-radius: 24px; } }

/* ---------- Motion ---------- */
@keyframes cdr-beat { 0%, 70%, 100% { transform: scale(.72); opacity: .55; } 35% { transform: scale(1); opacity: 1; } }
@keyframes cdr-bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-7px) rotate(-1.2deg); } }
@keyframes cdr-bob2 { 0%, 100% { transform: translateY(-4px) rotate(1deg); } 50% { transform: translateY(4px) rotate(-.6deg); } }
@keyframes cdr-blink { 0%, 44%, 50%, 100% { transform: scaleY(1); } 47% { transform: scaleY(.08); } }
@keyframes cdr-wave { 0%, 60%, 100% { transform: rotate(0deg); } 70% { transform: rotate(-16deg); } 80% { transform: rotate(10deg); } 90% { transform: rotate(-12deg); } }
@keyframes cdr-pop { 0%, 4% { opacity: 0; transform: scale(.2); } 9% { opacity: 1; transform: scale(1.08); } 12%, 70% { opacity: 1; transform: scale(1); } 78%, 100% { opacity: 0; transform: scale(.85); } }
@keyframes cdr-dot { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }
@keyframes cdr-peek { 0%, 100% { transform: translateY(10px); } 50% { transform: translateY(0); } }
@keyframes cdr-spin { to { transform: rotate(360deg); } }
html[data-cdr] .cdr-c-body { transform-box: fill-box; transform-origin: 50% 100%; animation: cdr-bob 4.6s ease-in-out infinite; }
html[data-cdr] .cdr-bob-b .cdr-c-body { animation: cdr-bob2 5.4s ease-in-out infinite; }
html[data-cdr] .cdr-c-eyes > * { transform-box: fill-box; transform-origin: 50% 50%; animation: cdr-blink 5.2s infinite; }
html[data-cdr] .cdr-c-str .cdr-c-eyes > * { animation-delay: 1.7s; }
html[data-cdr] .cdr-c-arm { transform-box: fill-box; transform-origin: 0% 100%; animation: cdr-wave 4.8s ease-in-out infinite; }
html[data-cdr] .cdr-c-str .cdr-c-arm { transform-origin: 100% 100%; animation-delay: .9s; }
html[data-cdr] .cdr-pop { opacity: 0; animation: cdr-pop 9s var(--cdr-ease) infinite; }
html[data-cdr] .cdr-pop-2 { animation-delay: 1.5s; } html[data-cdr] .cdr-pop-3 { animation-delay: 3s; }
html[data-cdr] .cdr-dot { animation: cdr-dot 1.2s ease-in-out infinite; } html[data-cdr] .cdr-dot-1 { animation-delay: .15s; } html[data-cdr] .cdr-dot-2 { animation-delay: .3s; }
html[data-cdr] .cdr-sp { transform-box: fill-box; transform-origin: center; }
html[data-cdr] .cdr-sp-1, html[data-cdr] .cdr-sp-2 { animation: cdr-beat 1.6s ease-in-out infinite; } html[data-cdr] .cdr-sp-2 { animation-delay: .22s; }
html[data-cdr] .cdr-sp-3, html[data-cdr] .cdr-sp-5 { animation: cdr-spin 14s linear infinite; }
html[data-cdr] .cdr-peek-a .cdr-c-body { animation: cdr-peek 3.8s ease-in-out infinite; } html[data-cdr] .cdr-peek-b .cdr-c-body { animation: cdr-peek 4.4s ease-in-out -1.6s infinite; }
/* nothing moves behind a chat, and the drawings rest while the page is hidden */
html[data-cdr].cd-in-chat .cdr-scene *, html[data-cdr][data-cdr-paused] .cdr-scene * { animation-play-state: paused !important; }
/* during a chat only the applet is reachable inside the hero */
html[data-cdr].cd-in-chat .cdr-hero-copy > :not(.cdr-console), html[data-cdr].cd-in-chat .cdr-hero-art, html[data-cdr].cd-in-chat .cdr-pagehead, html[data-cdr].cd-in-chat .cdr-signoff, html[data-cdr].cd-in-chat .cdr-sticky { visibility: hidden; }

/* Reveal on scroll: only below the fold, only with JavaScript, only when motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  html[data-cdr][data-cdr-js] [data-cdr-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--cdr-ease), transform .5s var(--cdr-ease); transition-delay: calc(var(--cdr-i, 0) * 70ms); }
  html[data-cdr][data-cdr-js] [data-cdr-reveal].cdr-in { opacity: 1; transform: none; }
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-cdr] *, html[data-cdr] *::before, html[data-cdr] *::after { animation: none !important; transition: none !important; }
  html[data-cdr] .cdr-pop { opacity: 1; }
}
@media print { html[data-cdr] .cdr-sticky, html[data-cdr] .cdr-nav-cta, html[data-cdr] .cdr-signoff, html[data-cdr] .cdr-hero-art { display: none !important; } }
