/* 1.9.4 homepage and pricing (work in both the classic and 2026 designs, light and dark) */
.cm-home-hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.1; max-width: 18ch; margin: 0 auto 16px; text-wrap: balance; }
.cm-home-hero h2 { font-size: clamp(1.05rem, 2.2vw, 1.3rem); font-weight: 400; max-width: 46ch; margin: 0 auto 24px; line-height: 1.5; text-wrap: balance; }
.cm-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 24px; }
.cm-hero-actions .btn-get-started { margin: 0 !important; }
.cm-btn-ghost { display: inline-flex; align-items: center; gap: 6px; padding: 10px 22px; border-radius: 999px; border: 1px solid var(--border-strong, #d4d4d8); color: var(--text, #09090b) !important; background: transparent; font-weight: 500; }
.cm-btn-ghost:hover { background: var(--bg-hover, #f0f0f2); text-decoration: none; }
.cm-btn-ghost:focus-visible, .cm-plan-cta:focus-visible { outline: 2px solid var(--primary, #6366f1); outline-offset: 2px; }
.cm-home-section { padding: 64px 0; }
.cm-feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.cm-feature { border: 1px solid var(--border, #e4e4e7); border-radius: 14px; padding: 20px; background: var(--bg-elevated, #fff); min-width: 0; }
.cm-feature i { font-size: 26px; color: var(--primary, #6366f1); }
.cm-feature h3 { font-size: 1.05rem; margin: 10px 0 6px; }
.cm-feature p { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--text-secondary, #52525b); }
.cm-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; align-items: stretch; max-width: 1040px; margin: 0 auto; }
.cm-plan { position: relative; display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--border, #e4e4e7); border-radius: 16px; padding: 24px; background: var(--bg-elevated, #fff); min-width: 0; }
.cm-plan.is-highlighted { border-color: var(--primary, #6366f1); box-shadow: 0 0 0 1px var(--primary, #6366f1); }
.cm-plan-badge { position: absolute; top: -11px; left: 24px; background: var(--primary, #6366f1); color: #fff; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; }
.cm-plan-name { font-size: 1.2rem; margin: 0; }
.cm-plan-desc { margin: 0; color: var(--text-secondary, #52525b); font-size: .95rem; }
.cm-plan-price { margin: 6px 0; color: var(--text, #09090b); font-variant-numeric: tabular-nums; }
.cm-plan-amount { font-size: 2rem; font-weight: 700; letter-spacing: -.02em; }
.cm-plan-amount.is-text { font-size: 1.15rem; font-weight: 600; }
.cm-plan-unit, .cm-plan-annual { color: var(--text-secondary, #52525b); font-size: .9rem; }
.cm-plan-save { color: #047857; font-weight: 600; }
html[data-theme="dark"] .cm-plan-save { color: #34d399; }
.cm-plan-features { list-style: none; padding: 0; margin: 4px 0 12px; display: flex; flex-direction: column; gap: 6px; }
.cm-plan-features li { display: flex; gap: 8px; align-items: flex-start; font-size: .95rem; color: var(--text-secondary, #52525b); }
.cm-plan-features i { color: var(--primary, #6366f1); font-size: 18px; line-height: 1.3; }
.cm-plan-cta { margin-top: auto; display: block; text-align: center; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--border-strong, #d4d4d8); color: var(--text, #09090b) !important; font-weight: 500; }
.cm-plan-cta:hover { background: var(--bg-hover, #f0f0f2); text-decoration: none; }
.cm-plan-cta.is-primary { background: var(--cta-bg, #09090b); color: var(--cta-text, #fff) !important; border-color: transparent; }
.cm-pricing-intro { font-size: 1.1rem; margin-bottom: 32px; }
.cm-review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.cm-review { margin: 0; border: 1px solid var(--border, #e4e4e7); border-radius: 14px; padding: 20px; background: var(--bg-elevated, #fff); }
.cm-review blockquote { margin: 0 0 12px; font-size: 1rem; line-height: 1.6; color: var(--text, #09090b); }
.cm-review figcaption { display: flex; flex-direction: column; font-size: .9rem; color: var(--text-secondary, #52525b); }
@media (max-width: 575px) { .cm-home-section { padding: 40px 0; } .cm-plan { padding: 20px; } }

/* the light logo on the dark theme (1.9.4) */
.cm-logo-dark { display: none; }
html[data-theme="dark"] .logo .cm-logo-dark { display: inline; }
html[data-theme="dark"] .logo .has-dark-logo .cm-logo-light { display: none; }
/* 1.9.9 the hero is always dark: its second button is light on it, and the lines above keep their space */
#home.cm-home-hero h1 { margin: 0 auto 16px !important; }
#home.cm-home-hero h2 { margin: 0 auto 28px !important; line-height: 1.45 !important; }
#home.cm-home-hero .cm-btn-ghost { color: #fafafa !important; border-color: rgba(250, 250, 250, .55); background: rgba(250, 250, 250, .04); }
#home.cm-home-hero .cm-btn-ghost:hover { background: rgba(250, 250, 250, .12); color: #fff !important; }

/* 1.9.10 the homepage's picture of a call, drawn with real-looking people (see hero-call.blade.php) */

/* 1.9.10 the site's AI host: a small bubble that opens a short welcome clip (always labelled AI) */
.cm-host { position: fixed; left: 16px; bottom: 16px; z-index: 990; font-family: inherit; }
.cm-host-bubble { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 0; border-radius: 999px; background: #fff; color: #09090b; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .06); cursor: pointer; text-align: left; max-width: calc(100vw - 32px); }
.cm-host-bubble:focus-visible { outline: 2px solid #6366f1; outline-offset: 2px; }
.cm-host-face { position: relative; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex: 0 0 52px; background: #e4e4e7; }
.cm-host-face img { width: 100%; height: 100%; object-fit: cover; }
.cm-host-face::after { content: ''; position: absolute; right: 2px; bottom: 2px; width: 18px; height: 18px; border-radius: 50%; background: #6366f1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: 0 0 0 2px #fff; }
.cm-host-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.cm-host-text strong { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-host-text small { font-size: 11.5px; color: #52525b; }
.cm-host-hide { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: #27272a; color: #fff; font-size: 13px; line-height: 22px; text-align: center; cursor: pointer; padding: 0; }
.cm-host-panel { width: min(440px, calc(100vw - 32px)); border-radius: 16px; overflow: hidden; background: #09090b; color: #fff; box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .55); }
.cm-host-panel video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.cm-host-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px 8px 14px; font-size: 12.5px; }
.cm-host-panel-head span { display: inline-flex; align-items: center; gap: 6px; color: #d4d4d8; }
.cm-host-panel-head button { border: 0; background: rgba(255, 255, 255, .1); color: #fff; border-radius: 8px; padding: 4px 10px; font-size: 12.5px; cursor: pointer; }
.cm-host[hidden] { display: none !important; }
@media (prefers-reduced-motion: no-preference) { .cm-host-bubble { animation: cm-host-in .5s ease .8s both; } @keyframes cm-host-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } } }

/* 1.9.12 the "AI presenter" tag (first 5 seconds), captions on/off and "Don't show again" */
.cm-host-stage { position: relative; }
.cm-host-pill { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 3px 9px; border-radius: 999px; background: rgba(9, 9, 11, .72); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .02em; line-height: 1.4; pointer-events: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }
.cm-host-actions { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.cm-host-panel-head button[aria-pressed="false"] { opacity: .55; text-decoration: line-through; }

/* 1.9.12 the headline never slides under the top bar: on a short screen (a laptop at 600-768 pixels
   high, a tablet or phone held sideways) the hero used to be centred in exactly one screen's height,
   so a hero taller than the screen pushed its first lines up behind the fixed top bar. It now starts
   below the bar and grows with its content. */
#home.cm-home-hero { height: auto !important; min-height: 100vh; min-height: 100svh; align-items: flex-start !important; padding-top: calc(64px + clamp(28px, 6vh, 72px)) !important; padding-bottom: 48px; }
#home.cm-home-hero > .container { padding-top: 0 !important; }

/* 1.9.12 premium-first buttons: the trial note under the hero's buttons, and a closing card whose
   button can be seen (it was dark on the dark card) */
#home.cm-home-hero .cm-hero-note { margin: 14px auto 0; font-size: 13px; color: #a1a1aa !important; }
#cta .btn-buy, html.cm-ui #cta .btn-buy { background: #fafafa !important; color: #09090b !important; border: 0; border-radius: 999px; padding: 12px 26px; font-weight: 600; white-space: nowrap; }
#cta .btn-buy:hover, html.cm-ui #cta .btn-buy:hover { background: #e4e4e7 !important; color: #09090b !important; }

/* 1.9.12 the compact footer */
#footer.footer-slim { padding: 0; font-size: 14px; }
#footer.footer-slim .fs-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) minmax(0, 1.1fr); gap: 20px 32px; align-items: start; padding: 32px 0 20px; }
#footer.footer-slim .footer-logo-img { height: 30px; width: auto; }
#footer.footer-slim .fs-contact { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; opacity: .75; }
#footer.footer-slim .fs-links { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 4px; }
#footer.footer-slim .fs-links a { white-space: nowrap; }
#footer.footer-slim .fs-news form { display: flex; gap: 6px; position: relative; }
#footer.footer-slim .fs-news input[type=email] { flex: 1 1 auto; min-width: 0; height: 38px; border-radius: 999px; padding: 0 14px; border: 1px solid rgba(127, 127, 127, .35); background: transparent; color: inherit; }
#footer.footer-slim .fs-news input[type=submit] { height: 38px; border-radius: 999px; padding: 0 16px; border: 0; background: #09090b; color: #fafafa; font-weight: 600; }
html[data-theme="dark"] #footer.footer-slim .fs-news input[type=submit] { background: #fafafa; color: #09090b; }
#footer.footer-slim .fs-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 0 18px; border-top: 1px solid rgba(127, 127, 127, .2); font-size: 12.5px; }
#footer.footer-slim .social-links a { margin-left: 6px; }
@media (max-width: 767px) {
    #footer.footer-slim .fs-top { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 24px; }
    #footer.footer-slim .fs-bottom { justify-content: center; text-align: center; }
}
#home.cm-home-hero .btn-get-started { display: inline-flex; align-items: center; justify-content: center; }
/* 1.9.17 newsletter: the email field and button share a row, the Turnstile check gets its own row
   below (it used to squeeze the field into a small circle); a short heading above */
#footer.footer-slim .fs-news-title { font-weight: 600; font-size: 14px; margin: 2px 0 8px; }
#footer.footer-slim .fs-news form { flex-wrap: wrap; align-items: center; }
#footer.footer-slim .fs-news input[type=email] { flex: 1 1 0%; min-width: 150px; height: 44px; font-size: 15px; }
#footer.footer-slim .fs-news input[type=submit] { flex: 0 0 auto; height: 44px; padding: 0 20px; }
#footer.footer-slim .fs-news form > div:not([aria-hidden]), #footer.footer-slim .fs-news form > .helper-message { flex: 1 1 100%; margin: 4px 0 0; }
#footer.footer-slim .fs-news .cf-turnstile { max-width: 100%; }
#footer.footer-slim .fs-links { row-gap: 10px; }
