/* Homepage typography follows the SMS detail page; ribbon rendering stays independent. */
.home-refined { --home-blue: #335cff; --home-title: #0b163f; --home-copy: #606674; --home-line: #e9ecf2; --home-font: "Segoe UI", "PingFang SC", "PingFang TC", "Microsoft YaHei", sans-serif; background: #fff; }
.home-refined main, .home-refined .site-footer { font-family: var(--home-font); -webkit-font-smoothing: antialiased; }
.home-refined main > :not(.reference-hero) .wrap, .home-refined .site-footer > .wrap { width: min(1116px, calc(100% - 64px)); }
.home-refined .reference-stage h1 { font-family: var(--home-font); font-size: 52px; font-weight: 750; line-height: 1.25; letter-spacing: -.035em; margin-bottom: 24px; }
.home-refined .reference-stage .hero-copy > p { max-width: 680px; font-size: 20px; line-height: 1.8; margin-bottom: 32px; }
.home-refined .reference-stage .button { min-height: 48px; padding: 12px 27px; border-radius: 5px; font-size: 15px; font-weight: 600; }
.home-refined .product-stories { margin: 0; padding: 112px 0 80px; border-radius: 0; background: #fff; color: var(--home-title); counter-reset: none; }
.home-refined .section-head { display: block; text-align: center; max-width: 760px; margin: 0 auto 48px; padding: 0; border: 0; }
.home-refined .section-head > div { min-width: 0; }
.home-refined .section-head .eyebrow, .home-refined .home-contact .eyebrow { justify-content: center; color: var(--home-blue); font-size: 14px; font-weight: 600; line-height: 1.6; letter-spacing: .5px; text-transform: none; margin: 0 0 14px; }
.home-refined .section-head .eyebrow::before, .home-refined .home-contact .eyebrow::before { display: none; }
.home-refined .section-head h2, .home-refined .product-stories .section-head h2, .home-refined .home-contact h2 { font-family: inherit; color: var(--home-title); font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1.3; margin: 0 0 22px; text-wrap: balance; }
.home-refined .section-head > p, .home-refined .section-head > div > p { color: var(--home-copy); font-size: 18px; line-height: 1.85; max-width: 640px; margin: 0 auto; padding: 0; text-wrap: balance; }
.home-refined .product-stories .section-head { display: block; margin: 0 auto 48px; padding: 0; border: 0; }
.home-refined .product-stories .section-head > p { max-width: 640px; padding: 0; font-size: 18px; line-height: 1.85; }
.home-refined .product-story { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 96px; padding: 80px 0; border: 0; counter-increment: none; }
.home-refined .product-story + .product-story { border: 0; }
.home-refined .product-stories .section-head + .product-story { padding-top: 48px; }
.home-refined .product-story.reverse { grid-template-columns: 1.08fr 1fr; }
.home-refined .product-story .story-copy { min-width: 0; padding: 0; order: 1; }
.home-refined .product-story .product-art-link { min-width: 0; order: 2; border-radius: 0; }
.home-refined .product-story.reverse .story-copy { order: 2; padding: 0; }
.home-refined .product-story.reverse .product-art-link { order: 1; }
.home-refined .story-copy > .product-entry-link:first-child { display: inline-flex; align-items: center; margin: 0 0 20px; }
.home-refined .story-copy > .product-entry-link:first-child::after { display: none; }
.home-refined .story-copy .eyebrow { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .5px; text-transform: none; line-height: 1.6; color: var(--home-blue); margin: 0; }
.home-refined .story-copy .eyebrow::before { display: none; }
.home-refined .story-copy .product-business-icon { width: 28px; height: 28px; opacity: 1; }
.home-refined .story-copy h2 { font-family: inherit; color: var(--home-title); font-weight: 700; font-size: 40px; line-height: 1.3; letter-spacing: -.03em; max-width: 13em; margin: 0 0 22px; text-wrap: balance; }
.home-refined .story-copy h2 a:hover { color: var(--home-blue); }
.home-refined .home-title-break { display: block; }
.home-refined .story-copy > p { color: var(--home-copy); font-size: 18px; line-height: 1.85; max-width: 475px; margin: 0 0 24px; }
.home-refined .product-highlights { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.home-refined .product-highlights li { display: flex; align-items: baseline; gap: 10px; color: var(--home-copy); font-size: 15px; line-height: 1.7; }
.home-refined .product-highlights li::before { content: "✓"; flex: 0 0 15px; width: 15px; height: 15px; border: 1px solid #9aaaf7; border-radius: 50%; display: inline-grid; place-items: center; font-size: 10px; line-height: 1; color: #506df0; position: relative; top: -1px; }
.home-refined .story-copy .button.secondary { min-height: 44px; padding: 6px 0; gap: 12px; color: var(--home-blue); background: none; border: 0; border-radius: 0; font-size: 15px; font-weight: 600; }
.home-refined .story-copy .button.secondary:hover { color: #2446d5; background: none; border: 0; }
.home-refined .story-copy .button.secondary span[aria-hidden] { font-size: 20px; line-height: 1; }
.home-refined .connection-visual img, .home-refined .product-art-link:hover img { background: none; border: 0; border-radius: 0; box-shadow: none; object-fit: contain; aspect-ratio: 3 / 2; transition: transform .2s ease; }
.home-refined .product-art-link:hover img { transform: translateY(-3px); }
.home-refined .connection-visual figcaption { color: #9099aa; font-size: 10px; letter-spacing: .2px; line-height: 1.5; margin-top: 10px; }
.home-refined .home-use-cases { padding: 96px 0 100px; background: #f7faff url('home-backgrounds/use-cases.svg') center / cover no-repeat; color: var(--home-title); }
.home-refined .use-case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 50px; }
.home-refined .use-case-grid article { min-width: 0; padding: 28px 22px 24px; background: #fffffff5; border: 1px solid #e5ecfa; border-radius: 12px; box-shadow: 0 10px 28px #375eb407; }
.home-refined .use-case-grid h3 { color: var(--home-title); font-size: 20px; line-height: 1.45; font-weight: 650; margin: 0 0 12px; text-wrap: balance; }
.home-refined .use-case-grid p { color: var(--home-copy); font-size: 16px; line-height: 1.85; margin: 0; }
.home-refined .use-case-grid .use-case-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 24px; border-radius: 12px; background: #f1f4ff; color: #7085ee; }
.home-refined .use-case-grid .use-case-icon img { width: 27px; height: 27px; }
.home-refined .home-onboarding { padding: 102px 0 96px; background: #fff; color: var(--home-title); }
.home-refined .onboarding-steps { padding: 0; margin: 54px 0 32px; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; counter-reset: none; }
.home-refined .onboarding-steps > li { min-width: 0; position: relative; padding: 0; }
.home-refined .onboarding-steps .step-number { display: grid; place-items: center; width: 36px; height: 36px; background: #eef2ff; border: 1px solid #e4eaff; border-radius: 50%; color: var(--home-blue); font-size: 12px; margin-bottom: 20px; font-variant-numeric: tabular-nums; }
.home-refined .onboarding-steps > li:not(:last-child)::after { content: ""; position: absolute; top: 18px; left: 56px; right: -36px; border-top: 1px dashed #dce3f6; }
.home-refined .onboarding-steps h3 { color: var(--home-title); font-size: 20px; line-height: 1.45; font-weight: 650; margin: 0 0 12px; }
.home-refined .onboarding-steps p { color: var(--home-copy); font-size: 16px; line-height: 1.85; margin: 0; }
.home-refined .home-onboarding .text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--home-blue); margin-top: 18px; }
.home-refined .home-contact { padding: 24px 0 92px; background: #fff; color: var(--home-title); }
.home-refined .home-contact-inner { padding: 70px 48px; background: #e4ecff url('home-backgrounds/contact.svg') center / cover no-repeat; border: 1px solid #dbe5fc; border-radius: 18px; text-align: center; }
.home-refined .home-contact .eyebrow { color: #4560a8; }
.home-refined .home-contact h2 { font-size: 40px; color: #162858; }
.home-refined .home-contact p { color: #536282; font-size: 18px; line-height: 1.85; max-width: 640px; margin: 0 auto 30px; }
.home-refined .home-contact .actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.home-refined .home-contact .button { min-height: 48px; padding: 12px 27px; border-radius: 5px; background: #335bfa; border-color: #335bfa; color: #fff; font-size: 15px; gap: 12px; box-shadow: 0 6px 18px #335bfa1f; }
.home-refined .home-contact .button:hover { background: #294de0; border-color: #294de0; }
.home-refined .home-contact .button.secondary { color: #3555b2; background: #ffffffb3; border-color: #c6d5f5; box-shadow: none; }
.home-refined .home-contact .button.secondary:hover { background: #fff; border-color: #a8bfed; }
.home-refined .home-contact a:focus-visible { outline-color: #335bfa; outline-offset: 5px; }
.home-refined .site-footer { background: #fff; border-top: 1px solid var(--home-line); padding: 66px 0 0; color: var(--home-copy); }
.home-refined .footer-main { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 52px; }
.home-refined .site-footer .wordmark { width: 124px; height: auto; }
.home-refined .footer-brand p, .home-refined .site-footer p { color: var(--home-copy); font-size: 14px; line-height: 1.85; margin-top: 18px; }
.home-refined .footer-title { color: var(--home-title); font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.home-refined .footer-links { font-size: 14px; gap: 14px; }
.home-refined .footer-links a:hover { color: var(--home-blue); }
.home-refined .footer-bottom { min-height: 68px; padding-block: 24px; border-top-color: var(--home-line); color: #8c95a5; font-size: 12px; }
/* The navigation changes tone only after the protected hero has left view. */
.home-refined.has-light-nav .site-header,
.home-refined.has-light-nav .site-header:has(.nav-links.is-open) { background: #fffffff5; border-bottom: 1px solid #edf0f7; backdrop-filter: blur(16px); color: var(--home-title); }
.home-refined.has-light-nav .site-header .wrap { width: min(1120px, calc(100% - 64px)); }
.home-refined.has-light-nav .site-header .wordmark, .home-refined.has-light-nav .site-header .product-menu > summary .site-ui-icon { filter: none; }
.home-refined.has-light-nav .site-header .nav-links > a, .home-refined.has-light-nav .site-header .product-menu > summary, .home-refined.has-light-nav .site-header .language-switch a { color: #35415c; }
.home-refined.has-light-nav .site-header .nav-links > a:hover, .home-refined.has-light-nav .site-header .product-menu > summary:hover { color: var(--home-blue); }
.home-refined.has-light-nav .site-header .language-switch a[aria-current=true], .home-refined.has-light-nav .site-header .language-switch a:hover { background: #f0f3ff; color: var(--home-blue); }
.home-refined.has-light-nav .site-header .menu-toggle { color: #33405b; border-color: #dce3f0; background: #fff; }
.home-refined.has-light-nav .site-header .product-menu-links { background: #fff; color: #263958; border-color: var(--home-line); }
.home-refined.has-light-nav .site-header .nav-links.is-open { background: #fff; }
.home-refined.has-light-nav .site-header .nav-links.is-open a, .home-refined.has-light-nav .site-header .nav-links.is-open summary { border-top-color: var(--home-line); }
.home-refined.has-light-nav .site-header a:focus-visible, .home-refined.has-light-nav .site-header button:focus-visible, .home-refined.has-light-nav .site-header summary:focus-visible { outline-color: var(--home-blue); }
html[lang=en] .home-refined .story-copy h2 { letter-spacing: -.035em; line-height: 1.3; }
@media (max-width: 1100px) {
 .home-refined .reference-stage h1 { font-size: 46px; }
 .home-refined .reference-stage .hero-copy > p { font-size: 18px; }
 .home-refined .product-story, .home-refined .product-story.reverse { gap: 48px; }
 .home-refined .story-copy h2 { font-size: 36px; }
 .home-refined .use-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
 .home-refined .use-case-grid article { padding-inline: 26px; }
 .home-refined .onboarding-steps { gap: 36px; }
 .home-refined .onboarding-steps > li:not(:last-child)::after { right: -18px; }
 .home-refined .footer-main { gap: 28px; }
}
@media (max-width: 960px) {
 .home-refined .product-story, .home-refined .product-story.reverse { grid-template-columns: 1fr; gap: 40px; max-width: 620px; margin-inline: auto; }
 .home-refined .product-story .story-copy, .home-refined .product-story.reverse .story-copy { order: 1; padding: 0; }
 .home-refined .product-story .product-art-link, .home-refined .product-story.reverse .product-art-link { order: 2; width: 100%; max-width: 620px; margin-inline: auto; }
 .home-refined .story-copy h2, .home-refined .story-copy > p { max-width: none; }
 .home-refined .home-title-break { display: none; }
}
@media (max-width: 760px) {
 .home-refined .reference-stage h1, html[lang=en] .home-refined .reference-stage h1 { font-size: 38px; line-height: 1.25; letter-spacing: -.035em; }
 .home-refined .reference-stage .hero-copy > p { font-size: 17px; line-height: 1.8; }
 .home-refined .reference-stage .button, html[lang=en] .home-refined .reference-stage .button { min-width: 0; min-height: 48px; padding: 12px 20px; font-size: 14px; }
 .home-refined main > :not(.reference-hero) .wrap, .home-refined .site-footer > .wrap { width: calc(100% - 40px); }
 .home-refined .product-stories { padding: 72px 0 56px; }
 .home-refined .section-head { margin-bottom: 32px; }
 .home-refined .product-stories .section-head { margin-bottom: 32px; }
 .home-refined .section-head h2, .home-refined .product-stories .section-head h2 { font-size: 32px; }
 .home-refined .section-head > p, .home-refined .section-head > div > p { font-size: 17px; }
 .home-refined .product-stories .section-head > p { font-size: 17px; }
 .home-refined .product-story, .home-refined .product-story.reverse { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; max-width: 620px; margin-inline: auto; }
 .home-refined .product-story .story-copy, .home-refined .product-story.reverse .story-copy { order: 1; padding: 0; }
 .home-refined .product-story .product-art-link, .home-refined .product-story.reverse .product-art-link { order: 2; }
 .home-refined .story-copy h2 { font-size: 32px; max-width: none; }
 .home-refined .story-copy > p { max-width: none; font-size: 17px; }
 .home-refined .product-highlights { gap: 10px; margin-bottom: 20px; }
 .home-refined .product-highlights li { font-size: 14px; }
 .home-refined .product-art-link { width: 100%; max-width: 620px; margin: 0 auto; }
 .home-refined .home-use-cases { padding: 70px 0; background-color: #f2f6ff; background-size: auto 680px; background-position: left top; }
 .home-refined .use-case-grid { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
 .home-refined .use-case-grid article { padding: 24px 18px; }
 .home-refined .use-case-grid h3 { font-size: 20px; }
 .home-refined .use-case-grid p { font-size: 16px; }
 .home-refined .home-onboarding { padding: 72px 0; }
 .home-refined .onboarding-steps { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
 .home-refined .onboarding-steps > li { padding-left: 56px; }
 .home-refined .onboarding-steps .step-number { position: absolute; left: 0; top: 0; }
 .home-refined .onboarding-steps > li:not(:last-child)::after { top: 48px; bottom: -17px; left: 18px; right: auto; border: 0; border-left: 1px dashed #dce3f6; }
 .home-refined .onboarding-steps h3 { font-size: 20px; }
 .home-refined .onboarding-steps p { font-size: 16px; }
 .home-refined .home-contact { padding: 0 0 64px; }
 .home-refined .home-contact-inner { padding: 48px 24px; background-position: 78% center; }
 .home-refined .home-contact h2 { font-size: 32px; }
 .home-refined .home-contact p { font-size: 17px; }
 .home-refined .footer-main { grid-template-columns: 1fr 1fr; gap: 36px 28px; padding-bottom: 36px; }
 .home-refined .site-footer { padding-top: 48px; }
 .home-refined.has-light-nav .site-header .wrap { width: calc(100% - 40px); }
}
@media (max-width: 480px) {
 .home-refined .reference-stage h1 { font-size: clamp(30px, 7.6vw, 36px); }
 html[lang=en] .home-refined .reference-stage h1 { font-size: clamp(26px, 6.8vw, 30px); }
 .home-refined .reference-stage .hero-copy > p { font-size: 16px; }
 .home-refined .reference-stage .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
 .home-refined .reference-stage .button, html[lang=en] .home-refined .reference-stage .button { padding-inline: 12px; }
 .home-refined .section-head h2, .home-refined .product-stories .section-head h2, .home-refined .story-copy h2, .home-refined .home-contact h2 { font-size: 30px; }
 .home-refined .home-title-break { display: block; }
 .home-refined .story-copy > p, .home-refined .section-head > p, .home-refined .product-stories .section-head > p, .home-refined .home-contact p { font-size: 16px; }
 .home-refined .section-head .eyebrow { font-size: 12px; }
 .home-refined .use-case-grid { grid-template-columns: 1fr; gap: 16px; }
 .home-refined .use-case-grid article { padding: 28px 24px; }
 .home-refined .home-contact-inner { padding: 40px 20px; }
 .home-refined .home-contact .actions { display: grid; grid-template-columns: 1fr; width: 100%; gap: 12px; }
 .home-refined .home-contact .button { width: 100%; padding-inline: 20px; }
 .home-refined .footer-main { column-gap: 20px; }
 .home-refined .footer-brand { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
 .home-refined .connection-visual img { transition: none; }
 .home-refined .product-art-link:hover img { transform: none; }
}
