/* Homepage only. Content styles are scoped; section headings share one accent. */
.home-modern {
    --hm-ink: #211b35;
    --hm-muted: #777286;
    --hm-purple: #6b39f4;
    --hm-line: #e8e2f1;
    color: var(--hm-ink);
    background: #fff;
    font-size: 15px;
    line-height: 1.75;
    isolation: isolate;
}
.home-modern *, .home-modern *::before, .home-modern *::after { box-sizing: border-box; }
.home-modern .container { max-width: 1320px !important; }
.home-modern h2, .home-modern h3, .home-modern p { margin: 0; color: inherit; }
.home-modern a { text-decoration: none; }
.home-modern button, .home-modern input, .home-modern textarea { font-family: inherit; }
.home-modern a:focus-visible, .home-modern button:focus-visible, .home-modern [role="button"]:focus-visible { outline: 3px solid #9674ff; outline-offset: 5px; }
.home-modern [hidden] { display: none !important; }
.home-modern [id] { scroll-margin-top: 110px; }
.home-modern .hm-section { padding: 90px 0; }
.home-modern .hm-heading h2, .home-modern .home-section-head h2, .home-modern .home-closing-review-head h2 {
    color: var(--hm-ink); font-size: clamp(32px, 3.2vw, 46px); font-weight: 600;
    line-height: 1.18; letter-spacing: -1.8px; margin: 16px 0 20px;
}
.home-modern .hm-heading h2 > span { color: #7953c8; }
.home-modern .hm-heading p, .home-modern .home-section-head p, .home-modern .home-closing-review-head p { color: var(--hm-muted); font-size: 15px; line-height: 1.85; }
.home-modern .hm-eyebrow, .home-modern .home-section-kicker { display: block; padding: 0; background: none; color: #7c61a3; font-size: 10px; font-weight: 600; line-height: 1.5; letter-spacing: 1.7px; text-transform: uppercase; }
.home-modern .hm-eyebrow::before, .home-modern .home-section-kicker::before { display: none; }
.home-modern .hm-heading--center { max-width: 700px; margin: 0 auto 44px; text-align: center; }
.home-modern .hm-heading--center p { max-width: 590px; margin: 0 auto; }
.home-modern .hm-text-link { display: inline-flex; align-items: center; gap: 12px; color: #6232d3; font-size: 12px; font-weight: 500; line-height: 1.6; }
.home-modern .hm-text-link i { font-size: 11px; transition: transform .2s; }
.home-modern .hm-text-link:hover { color: #412284; }
.home-modern .hm-text-link:hover i { transform: translateX(4px); }
.home-modern .hm-logo { display: inline-block; flex-shrink: 0; color: var(--hm-purple); background: currentColor; mask: var(--hm-logo-image) center / contain no-repeat; -webkit-mask: var(--hm-logo-image) center / contain no-repeat; }
.home-modern .hm-logo--primary { --hm-logo-image: url('../images/home-demo/primary.svg'); width: 175px; height: 28px; }
.home-modern .hm-logo--mark { --hm-logo-image: url('../images/home-demo/mark.svg'); width: 42px; height: 42px; }
.home-modern .hm-mini-label { color: #8b7d9f; font-size: 10px; font-weight: 500; }

/* Problem headlines and concise solutions, paired on desktop. */
.home-modern .hm-solutions { background: #f7f5fa; border-top: 1px solid #f0ebf5; border-bottom: 1px solid #f0ebf5; overflow: hidden; overflow: clip; }
.home-modern .hm-solutions .container { max-width: 1180px !important; }
.home-modern .hm-solutions .hm-heading--center { max-width: 820px; margin-bottom: 44px; }
.home-modern .hm-solutions-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 28px; }
.home-modern .hm-solution-card { min-width: 0; padding: 36px; background: #fff; border: 1px solid #eae5f0; border-radius: 22px; box-shadow: 0 8px 24px -18px #39244920; }
.home-modern .hm-solution-top { margin-bottom: 20px; }
.home-modern .hm-solution-top > span { color: #7d7088; font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.home-modern .hm-solution-card h3 { color: #3f334d; font-size: clamp(25px, 2.2vw, 30px); font-weight: 550; line-height: 1.3; letter-spacing: -.85px; margin: 0 0 16px; text-transform: none; }
.home-modern .hm-solution-card h3 > span { color: #7953c8; }
.home-modern .hm-solution-card .hm-solution-answer { color: #6e627c; font-size: 14px; line-height: 1.85; margin: 0; }
.home-modern .hm-solution-card .hm-sync-demo { margin-top: 24px; }
.home-modern .hm-solution-card .hm-color-switch { margin-bottom: 12px; }
.home-modern .hm-solution-card .hm-switch-caption { display: none; }
.home-modern .hm-solutions.is-scroll-linked .hm-solution-card { transform: translate3d(var(--hm-scroll-offset, 0px), 0, 0); }

/* Keep the native-radio color demonstration connected to all three previews. */
.home-modern .hm-sync-demo { --example-color: #6b39f4; --example-tint: #eee6ff; min-width: 0; }
.home-modern .hm-sync-demo:has(input[value="forest"]:checked) { --example-color: #25796b; --example-tint: #e1f1e9; }
.home-modern .hm-sync-demo:has(input[value="terracotta"]:checked) { --example-color: #bb5236; --example-tint: #fbe9e1; }
.home-modern .hm-color-switch { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.home-modern .hm-color-switch legend { float: left; width: auto; margin: 0 7px 0 0; color: #7f6a91; font-size: 10px; line-height: 32px; }
.home-modern .hm-color-switch label { display: grid; place-items: center; position: relative; width: 32px; height: 32px; margin: 0; cursor: pointer; }
.home-modern .hm-color-switch input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.home-modern .hm-color-switch input + span { display: block; width: 24px; height: 24px; border: 3px solid #fcfaff; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px transparent; transition: box-shadow .2s; }
.home-modern .hm-color-switch input:checked + span { box-shadow: 0 0 0 1.5px var(--swatch); }
.home-modern .hm-color-switch input:focus-visible + span { outline: 3px solid #9674ff; outline-offset: 5px; }
.home-modern .hm-switch-caption { margin-left: auto; color: #9a86aa; font-size: 9px; }
.home-modern .hm-switch-caption i { margin-left: 5px; font-size: 8px; }
.home-modern .hm-sync-previews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.home-modern .hm-sync-previews > div { min-width: 0; text-align: center; }
.home-modern .hm-sync-previews > div > span { display: block; margin-top: 9px; color: #9680a4; font-size: 10px; }
.home-modern .hm-sync-scene { height: 108px; border: 1px solid #e5ddec; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #fff; transition: background .35s; }
.home-modern .hm-sync-scene .hm-logo { color: var(--example-color); transition: color .35s; }
.home-modern .hm-sync-scene--mockup { background: var(--example-tint); }
.home-modern .hm-sync-app { width: 54px; height: 54px; border-radius: 14px; background: var(--example-color); display: grid; place-items: center; box-shadow: 0 5px 12px #211b351a; transition: background .35s; }
.home-modern .hm-sync-app .hm-logo { width: 33px; height: 33px; color: #fff; }
.home-modern .hm-sync-scene--export { flex-direction: column; gap: 12px; }
.home-modern .hm-sync-scene--export .hm-logo { width: 80%; max-width: 112px; height: 20px; }
.home-modern .hm-sync-scene--export small { color: #9f8bae; font-size: 7px; }
.home-modern .hm-sync-scene--portal { flex-direction: column; gap: 10px; border-top: 5px solid var(--example-color); transition: border-color .35s; }
.home-modern .hm-sync-scene--portal .hm-logo { width: 28px; height: 28px; }
.home-modern .hm-sync-lines { width: 60px; height: 17px; background: repeating-linear-gradient(180deg, var(--example-tint) 0 4px, transparent 4px 7px); }
.home-modern .hm-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Borderless feedback cards: native horizontal scrolling, enhanced by page scroll. */
.home-modern .hm-section.hm-feedback { padding: 0; }
.home-modern .hm-feedback-stage { padding: 64px 0; }
.home-modern .hm-feedback-viewport { width: 100%; overflow-x: auto; padding: 12px clamp(24px, calc((100vw - 1320px) / 2 + 12px), 160px); scrollbar-width: thin; scrollbar-color: #d6c6e7 transparent; }
.home-modern .hm-feedback-viewport:focus-visible { outline: 2px solid #9674ff; outline-offset: -4px; }
.home-modern .hm-feedback-track { display: flex; align-items: center; gap: clamp(36px, 6vw, 88px); width: max-content; }
.home-modern .hm-quote { display: flex; flex-direction: column; flex: 0 0 clamp(260px, 42vw, 560px); width: clamp(260px, 42vw, 560px); min-width: 0; position: relative; margin: 0; padding: 0; border: 0; background: transparent; }
.home-modern .hm-quote blockquote { margin: 0; padding: 0; border: 0; background: none; font-style: normal; }
.home-modern .hm-quote blockquote::before, .home-modern .hm-quote blockquote::after { display: none; }
.home-modern .hm-quote blockquote p { color: #908c96; font-size: clamp(24px, 2.4vw, 34px); font-weight: 400; line-height: 1.55; letter-spacing: -.8px; }
.home-modern .hm-quote mark { padding: 0; color: #38323f; background: linear-gradient(transparent 76%, #ece3f7 76%, #ece3f7 96%, transparent 96%); font-weight: 500; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.home-modern .hm-feedback.is-scroll-linked .hm-feedback-viewport { scrollbar-width: none; }
.home-modern .hm-feedback.is-scroll-linked .hm-feedback-viewport::-webkit-scrollbar { display: none; }

/* Keep the existing public-work data, links, and tab behavior. */
.home-modern .home-public-reviews-section, .home-modern .home-visual-identities-section { padding: 30px 0 90px; background: #fff; border: 0; }
.home-modern .home-public-reviews-section::before, .home-modern .home-public-reviews-section::after { display: none; }
.home-modern .home-section-head { margin: 0 0 30px; }
.home-modern .home-public-reviews-head { margin: 0 auto 30px; }
.home-modern .home-public-reviews-head > div { max-width: 720px; }
.home-modern .home-heading-gradient { background: none; color: #7953c8; -webkit-text-fill-color: currentColor; }
.home-modern .home-work-tabs { width: fit-content; padding: 5px; gap: 4px; margin: 0 auto 24px; border: 1px solid #e7dff0; border-radius: 999px; background: #f8f4ff; box-shadow: none; }
.home-modern .home-work-tabs button { padding: 10px 19px; border: 1px solid transparent; border-radius: 999px; color: #94809f; background: transparent; font-size: 12px; font-weight: 500; }
.home-modern .home-work-tabs button.is-active { border-color: #e6dcf1; background: #fff; color: #6b39f4; box-shadow: 0 2px 5px #3c1e5a07; }
.home-modern .home-logo-review-grid { gap: 20px; }
.home-modern .home-logo-review-card { padding: 0; border: 1px solid #e8e1f0; border-radius: 19px; box-shadow: 0 8px 20px -16px #48286b33; transition: transform .25s, box-shadow .25s; }
.home-modern .home-logo-review-card:hover { transform: translateY(-4px); box-shadow: 0 16px 25px -18px #48286b44; }
.home-modern .home-logo-review-media { border-radius: 18px; }
.home-modern .home-logo-review-topbar { top: 13px; left: 13px; right: 13px; padding: 0; }
.home-modern .home-logo-score, .home-modern .home-logo-review-verdict { border-radius: 7px; font-size: 10px; }
.home-modern .home-logo-review-link { font-size: 10px; border-radius: 7px; }
.home-modern .home-work-panel-link { margin-top: 24px; }
.home-modern .home-work-panel-link a { color: #7950bb; font-size: 12px; font-weight: 500; }
.home-modern .home-visual-identity { border: 1px solid #e8e1f0; border-radius: 22px; box-shadow: 0 8px 20px -16px #48286b33; }

/* Give the five testimonials a full-width row, with room to read each quote. */
.home-modern .hm-trust { padding: 75px 0 85px; margin-bottom: 50px; background: #fff; overflow: hidden; overflow: clip; }
.home-modern .hm-trust > .container { max-width: none !important; padding-inline: clamp(20px, 3vw, 64px); }
.home-modern .hm-trust::before, .home-modern .hm-trust::after { display: none; }
.home-modern .hm-trust-heading { max-width: 820px; margin: 0 auto 32px; }
.home-modern .hm-trust .home-proof-stat-grid { gap: 18px; max-width: 960px; margin-bottom: 25px; }
.home-modern .hm-trust .home-proof-stat { border-color: #e7dff0; border-radius: 18px; padding: 26px 20px; }
.home-modern .hm-trust .home-proof-stat strong { font-size: 38px; letter-spacing: -1.2px; }
.home-modern .hm-trust .home-proof-stat span { font-size: 12px; font-weight: 400; }
.home-modern .hm-trust .home-testimonial-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; max-width: none; margin: 0 auto; }
.home-modern .hm-trust .home-testimonial-card { min-width: 0; border-color: #e7dff0; border-radius: 18px; padding: 26px; }
.home-modern .hm-trust.is-scroll-linked .home-testimonial-card { transform: translate3d(var(--hm-scroll-offset, 0px), 0, 0); }
.home-modern .hm-trust blockquote { padding: 0; margin: 0; border: 0; background: none; font-style: normal; }
.home-modern .hm-trust blockquote p { font-size: 13px; line-height: 1.85; }
.home-modern .hm-trust .home-testimonial-card > div { align-items: flex-start; flex-direction: column; gap: 4px; font-size: 10px; }
.home-modern .hm-trust .home-testimonial-card > div > small { color: #8b8195; font-size: 9px; }

/* A solid accent for all secondary homepage headings; the hero is unchanged. */
.home-workflow-demo .hwd-heading h2 > span,
.home-core-flow-section h2 .home-heading-gradient,
.home-modern .hm-heading h2 > span,
.home-modern .home-heading-gradient,
.home-modern .home-closing-review-head h2 > span {
    color: #7953c8;
    background: none;
    animation: none;
    -webkit-text-fill-color: currentColor;
}

/* Closing upload retains the existing form and upload behavior. */
.home-modern .home-closing-review-section { padding: 20px 0 100px; border: 0; background: #fff; overflow: visible; }
.home-modern .home-closing-review-section::before { display: none; }
.home-modern .hm-closing-shell { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px 50px; align-items: center; position: relative; isolation: isolate; overflow: hidden; padding: 50px; border: 1px solid #6b39f4; border-radius: 28px; background: #6b39f4; box-shadow: 0 25px 70px -45px #4b22b85c; }
.home-modern .hm-closing-shell::before { content: ""; position: absolute; inset: -35%; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 28% 35%, #6b39f4 0%, transparent 58%), linear-gradient(125deg, #4b22b8 8%, #6b39f4 48%, #4b22b8 92%); animation: hmClosingBrandDrift 18s ease-in-out infinite alternate; }
@keyframes hmClosingBrandDrift {
    from { transform: translate3d(-7%, -4%, 0) rotate(-5deg); }
    to { transform: translate3d(7%, 4%, 0) rotate(5deg); }
}
.home-modern .hm-closing-shell .home-section-kicker { color: #eee6ff; }
.home-modern .home-closing-review-head { margin: 0; max-width: none; text-align: left; }
.home-modern .home-closing-review-head h2 { margin-top: 15px; color: #fff; font-size: clamp(29px, 2.8vw, 40px); }
.home-modern .home-closing-review-head h2 > span { color: #ddd6ff; }
.home-modern .home-closing-review-head p { color: #f3eeff; font-size: 13px; }
.home-modern .home-closing-review-form { width: 100%; margin: 0; min-width: 0; }
.home-modern .home-closing-review-composer { padding: 14px; border: 1px solid #e6dfed; border-radius: 19px; background: #fff; box-shadow: 0 16px 40px -28px #211b3566; }
.home-modern .home-closing-review-dropzone { min-height: 151px; border-color: #d6c4ee; border-radius: 12px; background: #fff; }
.home-modern .home-closing-review-empty strong { color: #695277; font-size: 14px; font-weight: 500; }
.home-modern .home-closing-review-empty > i { display: grid; place-items: center; width: 38px; height: 38px; margin: 0 auto 7px; border: 1px solid #eadef6; border-radius: 11px; background: #f5eeff; color: #9b71ca; font-size: 15px; }
.home-modern .home-closing-review-empty > span { color: #a087b2; font-size: 10px; }
.home-modern .home-closing-review-footer { gap: 12px; }
.home-modern .home-closing-review-footer p { color: #9987a5; font-size: 9px; line-height: 1.5; }
.home-modern .home-closing-review-footer .btn { min-width: 115px; min-height: 42px; padding: 11px 16px; border-radius: 9px; font-size: 11px; }
.home-modern .home-closing-tool-alternatives { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px; margin: 6px 0 0; padding-top: 24px; max-width: none; border-top: 1px solid #ffffff38; }
.home-modern .home-closing-tool-alternatives > span { margin: 0; color: #eee6ff; font-size: 10px; }
.home-modern .home-closing-tool-alternatives > div { display: flex; flex-wrap: wrap; gap: 22px; }
.home-modern .home-closing-tool-alternatives a { min-height: 36px; padding: 0; gap: 7px; border: 0; border-radius: 0; background: none; box-shadow: none; color: #fff; }
.home-modern .home-closing-tool-alternatives a:hover { color: #fff; transform: none; text-decoration: underline; text-underline-offset: 5px; }
.home-modern .home-closing-tool-alternatives a:focus-visible { outline-color: #fff; }
.home-modern .home-closing-tool-alternatives a strong { font-size: 10px; font-weight: 500; }
.home-modern .home-closing-tool-alternatives a i { font-size: 10px; color: inherit; }
.home-modern .home-closing-tool-alternatives a > i:last-child { display: none; }

@media (max-width: 1399px) {
    .home-modern .hm-trust .home-testimonial-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .home-modern .hm-trust .home-testimonial-card { grid-column: span 2; }
    .home-modern .hm-trust .home-testimonial-card:nth-last-child(-n+2) { grid-column: span 3; }
}
@media (max-width: 1199px) {
    .home-modern .hm-switch-caption { display: none; }
    .home-modern .hm-closing-shell { padding: 35px; gap: 24px 30px; }
}
@media (max-width: 991px) {
    .home-modern .hm-trust .home-testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-modern .hm-trust .home-testimonial-card, .home-modern .hm-trust .home-testimonial-card:nth-last-child(-n+2) { grid-column: auto; }
    .home-modern .hm-trust .home-testimonial-card:last-child { grid-column: 1 / -1; }
    .home-modern .hm-trust .home-proof-stat strong { font-size: 33px; }
    .home-modern .hm-section { padding: 65px 0; }
    .home-modern .hm-switch-caption { display: block; }
    .home-modern .hm-closing-shell { grid-template-columns: 1fr; gap: 26px; padding: 34px; }
    .home-modern .home-closing-review-head { max-width: 550px; }
    .home-modern .home-closing-review-head h2 br { display: none; }
    .home-modern .home-closing-review-dropzone { min-height: 145px; }
    .home-modern .home-closing-tool-alternatives { gap: 8px 18px; }
}
@media (max-width: 767px) {
    .home-modern .hm-feedback-stage { padding: 48px 0; }
    .home-modern .hm-solutions-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
    .home-modern .hm-solution-card { padding: 25px; }
    .home-modern .hm-solution-top { margin-bottom: 16px; }
    .home-modern .hm-solution-card h3 { font-size: 26px; }
}
@media (max-width: 575px) {
    .home-modern .hm-trust { margin-bottom: 25px; }
    .home-modern .hm-trust .home-proof-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
    .home-modern .hm-trust .home-proof-stat { padding: 20px 6px; border-radius: 12px; }
    .home-modern .hm-trust .home-proof-stat strong { font-size: clamp(22px, 5.5vw, 29px); letter-spacing: -.7px; }
    .home-modern .hm-trust .home-proof-stat span { font-size: 9px; }
    .home-modern .hm-trust .home-testimonial-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .home-modern .hm-trust .home-testimonial-card { grid-column: 1 / -1; padding: 23px; }
    .home-modern .hm-section { padding: 48px 0; }
    .home-modern .hm-heading--center { margin-bottom: 27px; }
    .home-modern .hm-heading h2, .home-modern .home-section-head h2 { font-size: 31px; letter-spacing: -1.2px; }
    .home-modern .hm-heading p, .home-modern .home-section-head p { font-size: 13px; }
    .home-modern .hm-eyebrow, .home-modern .home-section-kicker { font-size: 9px; letter-spacing: 1.4px; }
    .home-modern .hm-switch-caption { display: none; }
    .home-modern .hm-sync-previews { gap: 8px; }
    .home-modern .hm-sync-scene { height: 86px; border-radius: 9px; }
    .home-modern .hm-sync-app { width: 42px; height: 42px; border-radius: 12px; }
    .home-modern .hm-sync-app .hm-logo { width: 26px; height: 26px; }
    .home-modern .hm-sync-previews > div > span { font-size: 8px; }
    .home-modern .hm-sync-scene--export small { font-size: 6px; }
    .home-modern .hm-sync-lines { width: 44px; }
    .home-modern .home-public-reviews-section, .home-modern .home-visual-identities-section { padding: 20px 0 48px; }
    .home-modern .home-logo-review-grid { gap: 14px; }
    .home-modern .home-work-tabs button { font-size: 11px; padding: 9px 15px; }
    .home-modern .home-closing-review-section { padding: 10px 0 65px; }
    .home-modern .hm-closing-shell { padding: 28px 20px; border-radius: 23px; gap: 23px; }
    .home-modern .home-closing-review-head h2 { font-size: 30px; letter-spacing: -1.2px; }
    .home-modern .home-closing-review-head p { font-size: 12px; }
    .home-modern .home-closing-review-composer { padding: 10px; border-radius: 15px; }
    .home-modern .home-closing-review-dropzone { min-height: 142px; padding: 16px 10px; }
    .home-modern .home-closing-review-footer { flex-direction: column; align-items: stretch; padding-top: 13px; }
    .home-modern .home-closing-review-footer p { text-align: center; }
    .home-modern .home-closing-review-footer .btn { min-height: 44px; }
    .home-modern .home-closing-tool-alternatives { padding-top: 20px; margin: 0; gap: 5px; }
    .home-modern .home-closing-tool-alternatives > div { justify-content: center; gap: 3px 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-modern .hm-feedback.is-scroll-linked .hm-feedback-viewport { scrollbar-width: thin; }
    .home-modern .hm-feedback.is-scroll-linked .hm-feedback-viewport::-webkit-scrollbar { display: block; }
    .home-modern .hm-solutions.is-scroll-linked .hm-solution-card, .home-modern .hm-trust.is-scroll-linked .home-testimonial-card { transform: none !important; }
    .home-modern *, .home-modern *::before, .home-modern *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
