/* Medspire marketing site — hand-written, no build step. Brand tokens are overridden per request from Settings. */
:root { --brand: #0f766e; --brand-dark: #115e59; --brand-light: #ccfbf1; --accent: #f59e0b; --ink: #0f172a; --ink-2: #475569; --ink-3: #94a3b8; --line: #e2e8f0; --bg: #ffffff; --bg-2: #f8fafc; --radius: 12px; --wrap: 1120px; --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif; }
* { box-sizing: border-box; } [hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 17px; }
img, video { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; } a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); } h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); } h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
code { background: var(--bg-2); padding: .1em .35em; border-radius: 4px; font-size: .9em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; } .prose { max-width: 720px; margin-left: auto; margin-right: auto; } .wide { max-width: var(--wrap); }
.prose h2 { margin-top: 1.6em; } .prose ul, .prose ol { padding-left: 1.3em; } .prose li { margin: .25em 0; } .prose blockquote { border-left: 4px solid var(--brand-light); margin: 1em 0; padding: .25em 1em; color: var(--ink-2); }
.prose table { border-collapse: collapse; width: 100%; } .prose td, .prose th { border: 1px solid var(--line); padding: .5em .75em; text-align: left; }
.center { text-align: center; } .muted { color: var(--ink-2); } .small { font-size: .9rem; } .mono { font-family: ui-monospace, Consolas, monospace; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--brand); margin-bottom: .6em; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 46em; }
.section-h { text-align: center; margin-bottom: 1.2em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .5em 1em; border-radius: 6px; z-index: 100; } .skip:focus { left: 8px; }

/* buttons */
.btn { display: inline-block; padding: .65em 1.2em; border-radius: 8px; font-weight: 600; border: 1.5px solid transparent; cursor: pointer; font-size: 1rem; line-height: 1.2; background: var(--bg-2); color: var(--ink); font-family: inherit; }
.btn:hover { text-decoration: none; filter: brightness(.96); }
.btn-primary { background: var(--brand); color: #fff; } .btn-accent { background: var(--accent); color: #1f1300; }
.btn-ghost { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand); } .btn-outline-light { background: transparent; border-color: #fff; color: #fff; }
.btn-lg { padding: .85em 1.5em; font-size: 1.05rem; } .btn-sm { padding: .4em .8em; font-size: .9rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.actions { display: flex; gap: .75em; flex-wrap: wrap; margin-top: 1.4em; }
button.link { background: none; border: 0; color: var(--brand); cursor: pointer; font: inherit; padding: 0 .25em; } button.link.danger, .btn.danger { color: #b91c1c; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1em; }
.brand { display: inline-flex; align-items: center; gap: .55em; font-weight: 800; font-size: 1.15rem; color: var(--ink); } .brand:hover { text-decoration: none; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--brand); color: #fff; font-weight: 900; }
.site-nav { display: flex; gap: 1.4em; align-items: center; } .site-nav a { color: var(--ink); font-weight: 500; } .site-nav .btn { color: #fff; }
.nav-admin { color: var(--ink-3) !important; font-size: .9rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: .45em .8em; font: inherit; }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 1em 20px; gap: .9em; }
  body.nav-open .site-nav { display: flex; }
}

/* blocks */
.block { padding: 56px 0; } .block + .block { padding-top: 0; }
.block-hero { padding: 0; } .block-hero + .block { padding-top: 56px; }
.block-ctaBand { padding: 0; }
h1:focus { outline: none; }
.hero { padding: 72px 0; } .hero-brand { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; } .hero-brand .eyebrow, .hero-brand .lead { color: rgba(255,255,255,.85); }
.hero-dark { background: var(--ink); color: #fff; } .hero-dark .lead { color: #cbd5e1; }
.hero-brand .btn-primary { background: #fff; color: var(--brand); } .hero-brand .btn-ghost { border-color: #fff; color: #fff; }
.hero-grid { display: grid; gap: 2.5em; align-items: center; } .has-image .hero-grid { grid-template-columns: 1.1fr 1fr; }
.hero-image img { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(15,23,42,.18); }
@media (max-width: 820px) { .has-image .hero-grid { grid-template-columns: 1fr; } .hero { padding: 48px 0; } }
.cards { display: grid; gap: 1.25em; } .cards-3 { grid-template-columns: repeat(3, 1fr); } .cards-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 560px) { .cards-3, .cards-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4em; display: flex; flex-direction: column; gap: .35em; }
.card p { margin: 0; color: var(--ink-2); } .card h3, .card h2 { margin: 0; font-size: 1.15rem; } .card .icon { font-size: 1.6rem; }
.card-link { color: var(--ink); transition: transform .15s, box-shadow .15s; } .card-link:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(15,23,42,.08); border-color: var(--brand-light); }
.card-sm { padding: 1em; } .card-sm h3 { font-size: 1rem; } .card-sm p { font-size: .92rem; }
.card-img { border-radius: 8px; margin: -0.6em -0.6em .4em; width: calc(100% + 1.2em); max-width: none; aspect-ratio: 16/9; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1em; text-align: center; }
.stat strong { display: block; font-size: 2.4rem; color: var(--brand); line-height: 1.1; } .stat span { color: var(--ink-2); }
.shot { display: grid; grid-template-columns: 2fr 3fr; gap: 2.5em; align-items: center; } .shot-left { grid-template-columns: 3fr 2fr; } .shot-left .shot-img { order: -1; }
@media (max-width: 820px) { .shot, .shot-left { grid-template-columns: 1fr; } .shot-left .shot-img { order: 0; } }
.shot-img { margin: 0; } .shot-img img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(15,23,42,.1); } .shot-img figcaption { color: var(--ink-3); font-size: .9rem; margin-top: .5em; }
.shot-placeholder { aspect-ratio: 16/10; border-radius: var(--radius); background: repeating-linear-gradient(45deg, var(--bg-2), var(--bg-2) 10px, #fff 10px, #fff 20px); border: 1px dashed var(--line); display: grid; place-items: center; color: var(--ink-3); }
.video-frame { aspect-ratio: 16/9; } .video-frame iframe { width: 100%; height: 100%; border: 0; border-radius: var(--radius); }
.testimonial { max-width: 760px; margin: 0 auto; text-align: center; font-size: 1.35rem; font-style: italic; color: var(--ink); } .testimonial footer { display: flex; align-items: center; justify-content: center; gap: .6em; font-size: 1rem; font-style: normal; color: var(--ink-2); margin-top: .5em; } .testimonial img { border-radius: 50%; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5em; align-items: center; filter: grayscale(1); opacity: .75; } .logo-row img { max-height: 44px; width: auto; }
.table-wrap { overflow-x: auto; } .compare { width: 100%; border-collapse: collapse; } .compare th, .compare td { padding: .7em .9em; border-bottom: 1px solid var(--line); text-align: left; } .compare thead th { color: var(--ink-2); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; } .compare td.yes { color: var(--brand); font-weight: 700; } .compare td.no { color: var(--ink-3); }
.faq { border-bottom: 1px solid var(--line); padding: .6em 0; } .faq summary { cursor: pointer; font-weight: 600; } .faq div { padding: .4em 0 .2em; color: var(--ink-2); }
.cta-band { background: var(--brand); color: #fff; padding: 64px 0; text-align: center; } .cta-band h2 { color: #fff; } .cta-band p { color: rgba(255,255,255,.85); font-size: 1.1rem; } .cta-band .actions { justify-content: center; }
.pricing .card.featured { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-light); } .price { font-size: 2rem; font-weight: 800; color: var(--ink); margin: .2em 0; } .price small { font-size: .95rem; color: var(--ink-2); font-weight: 500; } .pricing ul { padding-left: 1.2em; margin: .5em 0 1em; color: var(--ink-2); flex: 1; }
.block-form .narrow { margin: 0 auto; }

/* forms */
.site-form label { display: block; font-weight: 600; margin: .9em 0 .3em; font-size: .95rem; }
.site-form input:not([type=checkbox]), .site-form textarea, .site-form select { width: 100%; padding: .65em .8em; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; background: #fff; }
.site-form input:focus, .site-form textarea:focus, .site-form select:focus { outline: 2px solid var(--brand-light); border-color: var(--brand); }
.site-form .check { display: flex; gap: .6em; align-items: flex-start; font-weight: 500; } .site-form .check input { margin-top: .3em; }
.site-form .btn { margin-top: 1.2em; } .hp { position: absolute; left: -9999px; }
.notice { padding: .9em 1.1em; border-radius: 8px; margin: 1em 0; } .notice-ok { background: var(--brand-light); color: var(--brand-dark); } .notice-err { background: #fee2e2; color: #991b1b; }
.search-form { display: flex; gap: .6em; margin: 1em 0 1.5em; } .search-form input { flex: 1; padding: .7em .9em; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; }
.results { list-style: none; padding: 0; } .results li { padding: .9em 0; border-bottom: 1px solid var(--line); } .results a { font-weight: 600; font-size: 1.1rem; } .results p { margin: .2em 0 0; color: var(--ink-2); }
.login { max-width: 420px; }

/* news & product */
.pills { display: flex; gap: .5em; flex-wrap: wrap; margin: 1em 0 1.5em; } .pills a { padding: .35em .9em; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); font-size: .9rem; } .pills a.on { background: var(--brand); color: #fff; border-color: var(--brand); } .pills a:hover { text-decoration: none; border-color: var(--brand); }
.pager { display: flex; gap: .4em; margin-top: 1.5em; } .pager a { padding: .3em .7em; border: 1px solid var(--line); border-radius: 6px; } .pager a.on { background: var(--brand); color: #fff; }
.article-hero, .module-hero { border-radius: var(--radius); margin: 1em 0 1.5em; } .module-hero { border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(15,23,42,.1); }
.tags .tag { display: inline-block; background: var(--bg-2); border-radius: 999px; padding: .2em .7em; margin-right: .4em; font-size: .85rem; color: var(--ink-2); }
.prevnext { display: flex; justify-content: space-between; gap: 1em; margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--line); }
.preview-bar { background: var(--accent); color: #1f1300; text-align: center; padding: .5em 1em; font-size: .95rem; }

/* footer */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); margin-top: 48px; padding: 48px 0 24px; color: var(--ink-2); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2em; } @media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid a, .footer-grid span { display: block; margin: .3em 0; color: var(--ink-2); } .footer-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: .6em; }
.social { display: flex; gap: 1em; margin-top: .6em; } .social a { display: inline; }
.footer-legal { display: flex; gap: 1.5em; flex-wrap: wrap; margin-top: 2.5em; padding-top: 1em; border-top: 1px solid var(--line); font-size: .85rem; } .footer-legal a { color: var(--ink-2); }

/* campaign (chrome-less) */
.campaign-bar { padding: 1em 20px; } .campaign-foot { padding: 2em 20px; text-align: center; }

/* consent */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 520px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 60px rgba(15,23,42,.2); padding: 1em 1.2em; z-index: 60; font-size: .95rem; }
.consent p { margin: 0 0 .8em; } .consent-actions { display: flex; gap: .6em; }

/* live demo panel */
.demo { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 60px rgba(15,23,42,.08); overflow: hidden; margin-top: 1.5em; }
.demo-tabs { display: flex; flex-wrap: wrap; gap: .2em; padding: .6em .8em 0; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.demo-tabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: .6em .9em; font: inherit; font-weight: 600; color: var(--ink-2); cursor: pointer; } .demo-tabs button.on { color: var(--brand); border-bottom-color: var(--brand); }
.demo-search { display: flex; gap: .5em; padding: .9em 1em 0; } .demo-search input { flex: 1; padding: .55em .8em; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; }
.demo-body { padding: 1em; min-height: 220px; transition: opacity .2s; } .demo-body.is-loading { opacity: .5; }
.demo-note { margin: 0 0 .6em; color: var(--ink-2); font-size: .95rem; }
.demo-table { width: 100%; border-collapse: collapse; font-size: .92rem; } .demo-table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); padding: .4em .6em; border-bottom: 1px solid var(--line); } .demo-table td { padding: .5em .6em; border-bottom: 1px solid var(--line); white-space: nowrap; } .demo-table td.bedmap { letter-spacing: .1em; color: var(--brand); font-size: .8rem; white-space: normal; }
.demo-asleep { text-align: center; padding: 2em 1em; color: var(--ink-2); }
.demo-foot { padding: .6em 1em .9em; margin: 0; border-top: 1px solid var(--line); background: var(--bg-2); }
.hero-video video { width: 100%; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(15,23,42,.25); display: block; background: #000; }

/* the logo (shared with the HMIS, img/brand) */
.brand-img { height: 40px; width: auto; display: block; }
.site-footer .brand-img { height: 34px; }
@media (max-width: 575px) { .brand-img { height: 32px; } }

/* ===== v2 overhaul: icons, animation, banners ===== */
.ico { display: inline-block; vertical-align: -0.2em; flex: none; } .ico-wrap { display: inline-flex; line-height: 0; }
.announce { background: linear-gradient(90deg, var(--brand-dark), var(--brand)); color: #fff; text-align: center; padding: .5em 16px; font-size: .92rem; } .announce a { color: #fff; font-weight: 600; } .announce-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: .6em; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(245,158,11,.7); } 70% { box-shadow: 0 0 0 9px rgba(245,158,11,0); } 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); } }
.site-header { backdrop-filter: saturate(1.4) blur(8px); background: rgba(255,255,255,.92); transition: box-shadow .2s; } .site-header.scrolled { box-shadow: 0 6px 24px rgba(15,23,42,.08); }
.site-nav { gap: .2em; } .site-nav .nav-link { display: inline-flex; align-items: center; gap: .4em; padding: .5em .7em; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: .96rem; } .site-nav .nav-link:hover { background: var(--bg-2); text-decoration: none; color: var(--brand); } .site-nav .nav-link .ico { color: var(--brand); }
.site-nav .nav-cta { margin-left: .5em; display: inline-flex; gap: .45em; align-items: center; } .site-nav .nav-cta .ico { color: #fff; }
.chev { transition: transform .2s; } .nav-dd.open .chev { transform: rotate(180deg); }
.nav-dd { position: relative; } .dd-panel { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px rgba(15,23,42,.18); padding: .5em; z-index: 70; animation: ddin .16s ease-out; }
@keyframes ddin { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nav-dd.open > .dd-panel, .nav-dd:hover > .dd-panel, .nav-dd:focus-within > .dd-panel { display: block; }
.dd-panel a { display: flex; gap: .7em; align-items: flex-start; padding: .6em .7em; border-radius: 10px; color: var(--ink); } .dd-panel a:hover { background: var(--bg-2); text-decoration: none; }
.dd-panel strong { display: block; font-size: .95rem; } .dd-panel small { display: block; color: var(--ink-2); font-size: .8rem; line-height: 1.3; margin-top: .1em; }
.dd-ico { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--brand-light); color: var(--brand-dark); flex: none; }
.nav-mega .dd-panel { width: min(760px, 92vw); left: 50%; transform: translateX(-35%); padding: .8em; } .nav-mega .dd-panel { animation: none; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .1em; } .mega-foot { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: .5em; padding: .5em .7em 0; } .mega-foot a { padding: .3em 0; color: var(--brand); font-weight: 600; font-size: .92rem; } .mega-foot a:hover { background: none; text-decoration: underline; }
@media (max-width: 1000px) { .site-nav .nav-link { padding: .5em .5em; font-size: .9rem; } }
@media (max-width: 820px) {
  .site-nav { max-height: calc(100vh - 68px); overflow: auto; align-items: stretch; }
  .dd-panel, .nav-mega .dd-panel { position: static; display: none; box-shadow: none; border: 0; transform: none; width: auto; padding: 0 0 0 1em; animation: none; } .nav-dd:hover > .dd-panel { display: none; } .nav-dd.open > .dd-panel { display: block; }
  .mega-grid { grid-template-columns: 1fr; } .dd-panel small { display: none; } .site-nav .nav-cta { margin: .4em 0 0; justify-content: center; }
}

/* reveal & stagger */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); } .js .reveal.in { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; } .js .reveal.in .stagger > *, .js .stagger.in > * { opacity: 1; transform: none; }
.stagger > *:nth-child(1) { transition-delay: .05s; } .stagger > *:nth-child(2) { transition-delay: .13s; } .stagger > *:nth-child(3) { transition-delay: .21s; } .stagger > *:nth-child(4) { transition-delay: .29s; } .stagger > *:nth-child(5) { transition-delay: .37s; } .stagger > *:nth-child(6) { transition-delay: .45s; } .stagger > *:nth-child(n+7) { transition-delay: .5s; }
.card-link:hover .card-tile, .icard:hover .card-tile { transform: scale(1.08) rotate(-4deg); }
.card-tile { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(135deg, var(--brand-light), #fff); color: var(--brand-dark); border: 1px solid var(--brand-light); transition: transform .25s; margin-bottom: .4em; }
.card-img + .card-tile { margin-top: .2em; }
.icard { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.4em; transition: transform .2s, box-shadow .2s, border-color .2s; color: var(--ink); display: block; } .icard h3 { font-size: 1.1rem; margin: 0 0 .3em; } .icard p { margin: 0; color: var(--ink-2); font-size: .96rem; }
a.icard:hover { text-decoration: none; transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,23,42,.1); border-color: var(--brand); } .sub-lead { text-align: center; max-width: 46em; margin: -.6em auto 1.6em; color: var(--ink-2); }
.cards-2 { grid-template-columns: repeat(2, 1fr); } @media (max-width: 560px) { .cards-2 { grid-template-columns: 1fr; } }

/* hero carousel */
.hcar { position: relative; color: #fff; overflow: hidden; background: #062e2b; isolation: isolate; }
.hcar-bg { position: absolute; inset: -20%; z-index: -1; background: radial-gradient(60% 60% at 15% 20%, rgba(45,212,191,.45), transparent 60%), radial-gradient(50% 50% at 90% 80%, rgba(245,158,11,.28), transparent 60%), linear-gradient(135deg, #0f766e, #042f2e 70%); animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(-2%, -1%, 0) scale(1); } to { transform: translate3d(2%, 2%, 0) scale(1.06); } }
.hcar-stage { position: relative; min-height: 560px; } .hcar-slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5em; align-items: center; max-width: var(--wrap); margin: 0 auto; padding: 56px 20px 80px; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.hcar-slide.on { opacity: 1; visibility: visible; position: relative; } .hcar-slide:not(.on) { pointer-events: none; }
.hcar-slide .eyebrow { color: #5eead4; display: inline-flex; align-items: center; gap: .5em; } .hcar-copy h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: .4em; } .hcar-copy p { color: rgba(255,255,255,.88); font-size: 1.15rem; max-width: 34em; }
.hcar-slide.on .hcar-copy > * { animation: slidein .8s cubic-bezier(.2,.7,.2,1) both; } .hcar-slide.on .hcar-copy > *:nth-child(2) { animation-delay: .08s; } .hcar-slide.on .hcar-copy > *:nth-child(3) { animation-delay: .16s; } .hcar-slide.on .hcar-copy > *:nth-child(4) { animation-delay: .24s; } .hcar-slide.on .hcar-copy > *:nth-child(5) { animation-delay: .32s; }
@keyframes slidein { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.hcar .btn-primary { background: var(--accent); color: #1f1300; } .hcar .btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; } .hcar .btn-ghost:hover { background: rgba(255,255,255,.12); }
.hcar-shot { perspective: 1400px; } .shot-frame { position: relative; border-radius: 14px; background: #0b1220; padding: 30px 8px 8px; box-shadow: 0 40px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.1); transform: rotateY(-7deg) rotateX(3deg); transition: transform .6s; animation: floaty 6s ease-in-out infinite; }
.shot-frame::before { content: ""; position: absolute; left: 12px; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: #ef4444; box-shadow: 16px 0 0 #f59e0b, 32px 0 0 #22c55e; } .shot-frame img { display: block; border-radius: 6px; width: 100%; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.hcar-slide.on .shot-frame { animation: shotin .9s cubic-bezier(.2,.7,.2,1) both, floaty 6s ease-in-out 1s infinite; } @keyframes shotin { from { opacity: 0; transform: rotateY(-22deg) translateX(60px) scale(.94); } to { opacity: 1; transform: rotateY(-7deg) rotateX(3deg); } }
.chips { list-style: none; padding: 0; margin: 1.2em 0 0; display: flex; flex-wrap: wrap; gap: .5em; } .chips li { display: inline-flex; align-items: center; gap: .4em; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); padding: .3em .8em; border-radius: 999px; font-size: .88rem; }
.hcar-ctl { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; justify-content: center; align-items: center; gap: .8em; }
.hcar-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.1); color: #fff; cursor: pointer; display: grid; place-items: center; font: inherit; } .hcar-btn:hover { background: rgba(255,255,255,.25); }
.hcar-dots { display: flex; gap: .5em; } .hcar-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; transition: width .3s, background .3s; } .hcar-dots button.on { width: 30px; background: var(--accent); }
@media (max-width: 860px) { .hcar-stage { min-height: 0; } .hcar-slide { grid-template-columns: 1fr; padding: 36px 20px 90px; gap: 1.4em; } .hcar-slide:not(.on) { display: none; } .shot-frame { transform: none; animation: none; } .hcar-slide.on .shot-frame { animation: none; } }

/* chip marquee */
.chipstrip { padding: 22px 0 !important; background: var(--bg-2); border-block: 1px solid var(--line); } .chipstrip h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); text-align: center; margin-bottom: .8em; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 0; animation: marq 45s linear infinite; } .marquee:hover .marquee-track { animation-play-state: paused; } .marquee-track ul { display: flex; gap: .7em; list-style: none; margin: 0; padding: 0 .35em; }
.marquee-track li { display: inline-flex; align-items: center; gap: .5em; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .45em 1em; white-space: nowrap; font-weight: 600; font-size: .92rem; } .marquee-track li .ico { color: var(--brand); }
@keyframes marq { to { transform: translateX(-50%); } }

/* feature bands */
.block-featureBand { padding: 0 !important; } .band { padding: 72px 0; } .band-light { background: #fff; } .band-tint { background: linear-gradient(180deg, var(--bg-2), #ecfdf5); } .band-brand { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; } .band-dark { background: #0b1220; color: #fff; }
.band-brand .eyebrow, .band-dark .eyebrow { color: #5eead4; } .band-brand .band-text, .band-dark .band-text, .band-brand li, .band-dark li { color: rgba(255,255,255,.88); } .band-brand a:not(.btn), .band-dark a:not(.btn) { color: #fff; text-decoration: underline; }
.band-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3em; align-items: center; } .band-left .band-shot { order: -1; } .band-grid.no-img { grid-template-columns: 1fr; max-width: 760px; }
.band-ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--brand-light); color: var(--brand-dark); margin-bottom: .8em; } .band-brand .band-ico, .band-dark .band-ico { background: rgba(255,255,255,.14); color: #fff; }
.band-text { color: var(--ink-2); font-size: 1.08rem; }
.ticks { list-style: none; padding: 0; margin: 1em 0; } .ticks li { position: relative; padding: .3em 0 .3em 2em; } .ticks li::before { content: none; }
.band-shot { margin: 0; } .band-shot img { border-radius: 14px; box-shadow: 0 30px 60px rgba(15,23,42,.22); border: 1px solid rgba(148,163,184,.3); transition: transform .5s; } .band-shot:hover img { transform: scale(1.02) translateY(-4px); } .band-shot figcaption { font-size: .85rem; color: var(--ink-3); margin-top: .6em; }
@media (max-width: 860px) { .band { padding: 48px 0; } .band-grid { grid-template-columns: 1fr; gap: 1.6em; } .band-left .band-shot { order: 0; } }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2em; counter-reset: s; } .steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.4em; }
.step-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: .6em; } .steps h3 { margin: 0 0 .3em; font-size: 1.08rem; } .steps p { margin: 0; color: var(--ink-2); font-size: .96rem; }

/* stats & hero polish */
.stat strong { font-variant-numeric: tabular-nums; background: linear-gradient(135deg, var(--brand), #14b8a6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-band { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); position: relative; overflow: hidden; } .cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: rgba(255,255,255,.08); }
.btn { transition: transform .15s, box-shadow .15s, filter .15s; } .btn-primary:hover, .btn-accent:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,118,110,.3); }

/* dark footer */
.site-footer { background: #0b1220; color: #94a3b8; border-top: 0; } .site-footer .brand-img { height: 34px; } .site-footer .muted { color: #94a3b8; } .footer-grid a, .footer-grid span { color: #cbd5e1; } .footer-grid a { display: flex; align-items: center; gap: .55em; } .footer-grid a:hover { color: #fff; } .footer-grid a .ico { color: #5eead4; } .footer-h { color: #64748b; }
.footer-legal { border-top-color: #1e293b; } .footer-legal a { color: #94a3b8; } .social a { display: inline; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; } .js .reveal, .js .stagger > * { opacity: 1; transform: none; } .marquee-track { animation: none; } }

/* v2 fixes */
.block-heroCarousel { padding: 0 !important; } .block-heroCarousel + .block { padding-top: 56px; }
.site-nav .nav-link, .site-nav .nav-cta { white-space: nowrap; } .site-header .wrap { max-width: 1240px; }
.site-nav .nav-cta { padding: .55em 1em; }
.dd-panel small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hcar-btn .flip, .hcar-btn svg.flip { transform: scaleX(-1); }
.hcar-btn.on { background: var(--accent); color: #1f1300; }
@media (max-width: 1100px) { .site-nav .nav-link .ico:not(.chev) { display: none; } }

.ticks li { display: flex; gap: .7em; align-items: flex-start; padding: .3em 0; } .ticks li svg { flex: none; width: 1.35em; height: 1.35em; margin-top: .15em; padding: .22em; border-radius: 50%; background: var(--brand); color: #fff; stroke-width: 3.2; } .band-brand .ticks li svg, .band-dark .ticks li svg { background: #14b8a6; }
.block-featureBand + .block { padding-top: 56px; } .block-featureBand + .block-featureBand { padding-top: 0; }
.hero-dark .eyebrow { color: #5eead4; }

/* videos, calculator, whatsapp, lang switch */
.vids { display: grid; gap: 1.4em; margin: 1.2em 0; } .vids-1 { grid-template-columns: minmax(0, 880px); justify-content: center; } .vids-2 { grid-template-columns: repeat(2, 1fr); } .vids-3 { grid-template-columns: repeat(3, 1fr); }
.vid { margin: 0; } .vid video { width: 100%; display: block; border-radius: 14px; background: #000; box-shadow: 0 20px 50px rgba(15,23,42,.18); aspect-ratio: 16/9; } .vid figcaption { padding: .7em .2em 0; }
@media (max-width: 860px) { .vids-2, .vids-3 { grid-template-columns: 1fr; } }
.pcalc { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.6em; box-shadow: 0 20px 50px rgba(15,23,42,.08); } .pcalc label { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; } .pcalc output { font-size: 2rem; font-weight: 800; color: var(--brand); }
.pcalc input[type=range] { width: 100%; accent-color: var(--brand); margin: .8em 0 1.2em; height: 28px; } .pcalc-res { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; text-align: center; background: var(--bg-2); border-radius: 12px; padding: 1em; } .pcalc-res strong { display: block; font-size: 1.5rem; } .pcalc .btn { margin-top: .6em; }
@media (max-width: 560px) { .pcalc-res { grid-template-columns: 1fr; } }
.wa-fab { position: fixed; right: 18px; bottom: 18px; z-index: 55; display: inline-flex; align-items: center; gap: .5em; background: #25d366; color: #fff; padding: .7em 1.1em; border-radius: 999px; font-weight: 700; box-shadow: 0 10px 30px rgba(0,0,0,.25); } .wa-fab:hover { text-decoration: none; filter: brightness(.95); color: #fff; } @media (max-width: 560px) { .wa-fab span { display: none; } .wa-fab { padding: .85em; } }
.lang-switch { display: inline-flex; gap: .2em; margin-left: .4em; } .lang-switch a { padding: .25em .55em; border-radius: 6px; font-size: .85rem; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line); } .lang-switch a.on { background: var(--brand); color: #fff; border-color: var(--brand); } .lang-switch a:hover { text-decoration: none; border-color: var(--brand); }
:lang(hi), [lang=hi] { font-family: "Noto Sans Devanagari", "Nirmala UI", "Mangal", var(--font); } :lang(gu), [lang=gu] { font-family: "Noto Sans Gujarati", "Nirmala UI", "Shruti", var(--font); }
html[lang=hi] body, html[lang=gu] body { line-height: 1.7; }

/* ===== v4: sticky demo bar, call-back panel, instant form confirmation ===== */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: center; gap: .8em; padding: .6em 1em; background: #0b1220; color: #e2e8f0; box-shadow: 0 -8px 30px rgba(0,0,0,.25); transform: translateY(110%); transition: transform .35s ease; }
.sticky-cta.on { transform: none; } .sticky-cta[hidden] { display: none; }
.sticky-cta-text { font-weight: 600; } .sticky-cta .btn { padding: .5em 1.1em; } .sticky-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
body.has-sticky .wa-fab { bottom: 78px; }
@media (max-width: 640px) { .sticky-cta-text { display: none; } .sticky-cta .btn { flex: 1; text-align: center; } }
.cb-panel { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; background: rgba(2,6,23,.55); padding: 1em; } .cb-panel[hidden] { display: none; }
.cb-card { position: relative; background: #fff; border-radius: 14px; padding: 1.6em; width: min(440px, 100%); max-height: 92vh; overflow: auto; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.cb-card h2 { margin: 0 0 .3em; font-size: 1.35rem; } .cb-close { position: absolute; right: .6em; top: .4em; border: 0; background: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--ink-2); }
.site-form.is-sending button[type=submit] { opacity: .6; pointer-events: none; }
@media print { .sticky-cta, .cb-panel { display: none !important; } }

/* ===== v7: readable logo, language dropdown, 3-row footer ===== */
.site-header .brand { flex: none; } .site-header .brand-img { height: 38px; width: auto; max-width: none; min-width: 190px; }
.site-header .wrap { gap: .6em; } .site-nav { flex: 1 1 auto; justify-content: flex-end; min-width: 0; }
.lang-dd .lang-btn { background: none; border: 1px solid var(--line); cursor: pointer; font: inherit; font-size: .9rem; font-weight: 600; padding: .4em .6em; margin-left: .3em; }
.lang-dd .dd-panel { left: auto; right: 0; min-width: 150px; } .lang-dd .dd-panel a.on { background: var(--brand-light); color: var(--brand-dark); }
@media (max-width: 1180px) { .site-header .brand-img { min-width: 160px; height: 34px; } .site-nav .nav-link { padding: .5em .45em; font-size: .9rem; } .site-nav .nav-cta { padding: .5em .8em; } }
@media (max-width: 820px) { .lang-dd .dd-panel { right: auto; } }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2em; padding-bottom: 1.4em; } .footer-top .footer-contact a { display: flex; align-items: center; gap: .55em; margin: .3em 0; }
.footer-links { border-top: 1px solid #1e293b; padding-top: 1.2em; padding-bottom: 1.4em; } .footer-links .footer-h { margin: 0 0 .7em; }
.footer-links nav { display: flex; flex-wrap: wrap; gap: .5em 1.6em; } .footer-links nav a { display: inline-flex; align-items: center; gap: .5em; color: #cbd5e1; margin: 0; } .footer-links nav a:hover { color: #fff; text-decoration: none; } .footer-links nav a .ico { color: #5eead4; }
@media (max-width: 720px) { .footer-top { grid-template-columns: 1fr; } .footer-links nav { gap: .6em 1.2em; } }
/* hero image banners on inner pages */
.hero.has-image .hero-image img { width: 100%; height: auto; border: 1px solid rgba(255,255,255,.15); }
.hero.has-image.hero-light .hero-image img { border-color: var(--line); }
.footer-top .footer-contact a { color: #cbd5e1; } .footer-top .footer-contact a:hover { color: #fff; }

/* ===== v8: Ask us assistant ===== */
.ask-fab { position: fixed; left: 18px; bottom: 18px; z-index: 55; display: inline-flex; align-items: center; gap: .5em; background: #0f172a; color: #fff; border: 0; padding: .7em 1.1em; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.25); } .ask-fab:hover { filter: brightness(1.15); }
body.has-sticky .ask-fab { bottom: 78px; } @media (max-width: 560px) { .ask-fab span { display: none; } .ask-fab { padding: .85em; } }
.ask-panel { position: fixed; left: 18px; bottom: 76px; z-index: 70; width: min(380px, calc(100vw - 36px)); max-height: min(560px, 76vh); display: flex; flex-direction: column; background: #fff; border-radius: 16px; box-shadow: 0 24px 70px rgba(0,0,0,.35); overflow: hidden; } .ask-panel[hidden] { display: none; }
.ask-head { display: flex; justify-content: space-between; align-items: center; padding: .8em 1em; background: #0f172a; color: #fff; } .ask-x { background: none; border: 0; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.ask-log { flex: 1; min-height: 0; overflow: auto; padding: .9em; display: flex; flex-direction: column; gap: .6em; min-height: 120px; }
.ask-msg { max-width: 88%; padding: .6em .8em; border-radius: 12px; font-size: .94rem; line-height: 1.45; } .ask-msg p { margin: 0; } .ask-bot { background: var(--bg-2, #f1f5f9); align-self: flex-start; } .ask-me { background: var(--brand); color: #fff; align-self: flex-end; }
.ask-link { display: inline-block; margin-top: .5em; font-weight: 700; } .ask-cb { margin-top: .6em; padding: .4em .9em; }
.ask-chips { display: flex; flex-wrap: wrap; gap: .4em; padding: 0 .9em .6em; } .ask-chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .3em .75em; font: inherit; font-size: .85rem; cursor: pointer; } .ask-chip:hover { border-color: var(--brand); color: var(--brand); }
.ask-form { display: flex; gap: .5em; padding: .7em .9em; border-top: 1px solid var(--line); } .ask-form input { flex: 1; min-width: 0; padding: .55em .7em; border: 1px solid var(--line); border-radius: 8px; font: inherit; } .ask-form .btn { padding: .5em 1em; }
@media print { .ask-fab, .ask-panel { display: none !important; } }

/* v10: dismissible announcement, calmer phone layout, clearer video captions */
.announce { position: relative; } .announce[hidden] { display: none; } .announce-x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; opacity: .8; padding: .2em .5em; } .announce-x:hover { opacity: 1; }
body.ask-open [data-sticky], body.form-active [data-sticky] { display: none !important; }
.vid figcaption strong { display: block; font-size: 1.05rem; }
.who-grid .icon-item, .who-grid a { text-decoration: none; }
.hcar .actions .btn-outline-light { border-color: transparent; text-decoration: underline; text-underline-offset: 4px; background: none; }
@media (max-width: 720px) {
  .hcar .chips { display: none; }
  .stats { grid-template-columns: 1fr 1fr; gap: .6em; } .stat strong { font-size: 1.7rem; } .stat span { font-size: .85rem; }
  .vids .vid:nth-child(n+2) { display: none; }
  .band .band-shot { display: none; }
  .band .ticks li:nth-child(n+3) { display: none; }
  .announce { padding-right: 36px; text-align: left; font-size: .85rem; }
}

.footer-addr { white-space: pre-line; display: block; margin-top: .4em; }
