/* Public landing page: restrained color, clear hierarchy, responsive layout. */
:root {
    --home-bg: var(--bg-color, #f5f7fb);
    --home-ink: var(--text-color, #15213a);
    --home-surface: color-mix(in srgb, var(--home-bg) 96%, var(--home-ink));
    --home-surface-soft: color-mix(in srgb, var(--home-bg) 98%, var(--home-ink));
    --home-muted: color-mix(in srgb, var(--home-ink) 64%, var(--home-bg));
    --home-line: color-mix(in srgb, var(--home-ink) 14%, transparent);
    --home-blue: var(--accent-color, #315ce8);
    --home-blue-dark: color-mix(in srgb, var(--home-blue) 82%, var(--home-ink));
    --home-violet: #7051e8;
    --home-gold: #efac42;
    --home-shadow: 0 18px 50px rgba(31, 47, 78, .1);
}

:root[data-bs-theme="dark"], body[data-bs-theme="dark"] {
    --home-bg: var(--bg-color, #0d1422);
    --home-ink: var(--text-color, #f2f5fc);
    --home-surface: color-mix(in srgb, var(--home-bg) 91%, var(--home-ink));
    --home-surface-soft: color-mix(in srgb, var(--home-bg) 97%, var(--home-ink));
    --home-muted: color-mix(in srgb, var(--home-ink) 68%, var(--home-bg));
    --home-line: color-mix(in srgb, var(--home-ink) 14%, transparent);
    --home-blue: var(--accent-color, #7191ff);
    --home-blue-dark: color-mix(in srgb, var(--home-blue) 82%, var(--home-ink));
    --home-violet: #ad91ff;
    --home-gold: #ffc86b;
    --home-shadow: 0 20px 60px rgba(0, 0, 0, .22);
}

html { scroll-padding-top: 88px; }
body { color: var(--home-ink); background: var(--home-bg); }
.home-landing { color: var(--home-ink); background: var(--home-bg); overflow: clip; }
.home-landing p { color: var(--home-muted); }
.home-landing h1, .home-landing h2, .home-landing h3 { color: var(--home-ink); }
.home-landing section[id] { scroll-margin-top: 92px; }
.home-landing > section { background-color: var(--home-bg); }
.home-landing a:focus-visible, #mainNavbar a:focus-visible, #mainNavbar button:focus-visible,
.home-landing summary:focus-visible, .home-carousel__control:focus-visible {
    outline: 3px solid var(--home-gold); outline-offset: 3px;
}

/* Navigation */
#mainNavbar.home-header {
    min-height: 78px; padding-block: 10px !important;
    background: color-mix(in srgb, var(--home-bg) 92%, transparent);
    border-bottom: 1px solid var(--home-line); backdrop-filter: blur(18px);
}
#mainNavbar.home-header.scrolled { background: color-mix(in srgb, var(--home-bg) 96%, transparent); box-shadow: 0 8px 30px rgba(17, 31, 55, .08); }
#mainNavbar.home-header .container { max-width: 1280px; }
#mainNavbar .navbar-brand img { display: block; width: auto; height: 49px; }
#mainNavbar.home-header .nav-link { padding: 10px 12px; color: var(--home-muted); font-size: .92rem; font-weight: 650; }
#mainNavbar.home-header .nav-link:hover, #mainNavbar.home-header .nav-link.active { color: var(--home-blue); }
#mainNavbar.home-header .nav-link::after { bottom: 3px; background: var(--home-blue); }
#mainNavbar.home-header .home-nav-login { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 9px; padding: 9px 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; color: #fff; background: linear-gradient(135deg, #315ce8, #5144d8); box-shadow: 0 8px 20px rgba(49, 92, 232, .24); font-weight: 750; text-decoration: none !important; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
#mainNavbar.home-header .home-nav-login::after { content: "→"; font-size: 1.15em; line-height: 1; transition: transform .18s ease; }
#mainNavbar.home-header .home-nav-login:hover { color: #fff; background: linear-gradient(135deg, #244fda, #4235c3); box-shadow: 0 12px 26px rgba(49, 92, 232, .34); text-decoration: none !important; transform: translateY(-1px); }
#mainNavbar.home-header .home-nav-login:hover::after { transform: translateX(3px); }
#mainNavbar.home-header .navbar-toggler { border-color: var(--home-line); color: var(--home-ink); }
#mainNavbar.home-header .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(49, 92, 232, .18); }
#mainNavbar.home-header .navbar-toggler-icon { filter: var(--home-toggler-filter, none); }
:root[data-bs-theme="dark"] #mainNavbar.home-header .navbar-toggler-icon,
body[data-bs-theme="dark"] #mainNavbar.home-header .navbar-toggler-icon { filter: invert(1); }

/* Shared section headings and buttons */
.home-kicker { margin: 0 0 12px !important; color: var(--home-blue) !important; font-size: .75rem; font-weight: 800; letter-spacing: .15em; line-height: 1.4; }
.home-section-heading { max-width: 770px; margin: 0 auto 34px; text-align: center; }
.home-section-heading h2 { margin: 0 auto 12px; font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 760; letter-spacing: -.045em; line-height: 1.12; }
.home-section-heading > p:last-child { max-width: 710px; margin: 0 auto; font-size: 1.02rem; line-height: 1.75; }
.home-section-heading--compact { margin-bottom: 30px; }
.home-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 0 19px; border: 1px solid transparent; border-radius: 12px; font-weight: 750; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.home-button:hover { transform: translateY(-2px); }
.home-button--primary { color: #fff; background: var(--home-blue); box-shadow: 0 10px 24px rgba(49, 92, 232, .2); }
.home-button--primary:hover { color: #fff; background: var(--home-blue-dark); box-shadow: 0 14px 30px rgba(49, 92, 232, .28); }
.home-button--secondary { color: var(--home-ink); background: var(--home-surface); border-color: var(--home-line); }
.home-button--secondary:hover { color: var(--home-blue); border-color: var(--home-blue); }
.home-text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--home-blue); font-weight: 750; text-decoration: none; }
.home-text-link:hover { color: var(--home-blue-dark); text-decoration: underline; text-underline-offset: 4px; }

/* First screen */
.home-hero {
    position: relative; min-height: min(820px, 100svh); display: flex; align-items: center;
    padding: 132px 0 74px; isolation: isolate;
    background: radial-gradient(ellipse at 4% 4%, rgba(83, 120, 238, .12), transparent 37%),
                radial-gradient(ellipse at 92% 12%, rgba(238, 172, 66, .12), transparent 28%), var(--home-bg);
}
.home-hero::before { position: absolute; z-index: -1; top: 11%; right: -9%; width: min(46vw, 650px); aspect-ratio: 1; border: 1px solid rgba(88, 119, 204, .1); border-radius: 50%; content: ""; box-shadow: 0 0 0 48px rgba(88, 119, 204, .025), 0 0 0 96px rgba(88, 119, 204, .02); }
.home-hero .container { max-width: 1240px; }
.home-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px !important; color: var(--home-muted) !important; font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.home-eyebrow > span { width: 9px; height: 9px; border-radius: 50%; background: #24b47e; box-shadow: 0 0 0 5px rgba(36, 180, 126, .12); }
.home-eyebrow b { color: var(--home-blue); }
.home-hero h1 { max-width: 770px; margin: 0 0 21px; font-size: clamp(2.7rem, 5.7vw, 5rem); font-weight: 820; letter-spacing: -.065em; line-height: .99; }
.home-hero h1 span { color: var(--home-blue); }
.home-hero__lead { max-width: 650px; margin: 0 0 27px !important; font-size: clamp(1.03rem, 1.4vw, 1.19rem); line-height: 1.75; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-member-link { margin: 18px 0 0 !important; font-size: .92rem; }
.home-member-link a { margin-left: 4px; color: var(--home-blue); font-weight: 750; text-decoration: none; }
.home-member-link a:hover { text-decoration: underline; text-underline-offset: 3px; }
.home-member-link i { margin-left: 4px; font-size: .75em; }
.home-disclosure { display: flex; max-width: 620px; align-items: flex-start; gap: 9px; margin: 19px 0 0 !important; font-size: .83rem; line-height: 1.6; }
.home-disclosure i { margin-top: 4px; color: var(--home-blue); }
.home-intro-card { position: relative; overflow: hidden; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--home-line); border-radius: 24px; background: var(--home-surface); box-shadow: var(--home-shadow); }
.home-intro-card::after { position: absolute; top: -95px; right: -74px; width: 210px; height: 210px; border-radius: 50%; background: radial-gradient(circle, rgba(49, 92, 232, .16), transparent 70%); content: ""; pointer-events: none; }
.home-intro-card__top { display: flex; align-items: center; gap: 10px; margin-bottom: 23px; color: var(--home-blue); font-size: .72rem; font-weight: 850; letter-spacing: .13em; }
.home-intro-card__mark { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(140deg, var(--home-blue), var(--home-violet)); font-size: 1rem; }
.home-intro-card h2 { position: relative; z-index: 1; margin: 0 0 8px; font-size: 1.6rem; font-weight: 780; letter-spacing: -.04em; }
.home-intro-card > p { position: relative; z-index: 1; margin: 0 0 22px; font-size: .94rem; }
.home-intro-step { position: relative; z-index: 1; display: grid; grid-template-columns: 35px 1fr 20px; align-items: center; gap: 13px; padding: 15px 0; border-top: 1px solid var(--home-line); color: var(--home-ink); text-decoration: none; }
.home-intro-step > span:first-child { color: var(--home-blue); font-size: .78rem; font-weight: 850; }
.home-intro-step b, .home-intro-step small { display: block; }
.home-intro-step b { margin-bottom: 3px; font-size: .94rem; }
.home-intro-step small { color: var(--home-muted); font-size: .82rem; line-height: 1.45; }
.home-intro-step > i { color: var(--home-blue); font-size: .86rem; transition: transform .18s ease; }
.home-intro-step:hover { color: var(--home-blue); }
.home-intro-step:hover > i { transform: translateX(3px); }
.home-intro-card__footer { display: flex; align-items: center; gap: 8px; margin-top: 7px; padding-top: 14px; border-top: 1px solid var(--home-line); color: var(--home-muted); font-size: .78rem; }
.home-intro-card__footer i { color: #22a476; }

/* Optional database-managed updates */
.home-highlights { padding: 12px 0 64px; background: var(--home-bg); }
.home-highlights[hidden], .home-carousel__controls[hidden] { display: none !important; }
.home-highlights .container { width: 100%; max-width: none; padding-inline: clamp(20px, 5vw, 88px); }
.home-highlights__heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.home-highlights__heading h2 { margin: 0; font-size: 1.45rem; font-weight: 760; letter-spacing: -.035em; }
.home-highlights__heading > span { color: var(--home-muted); font-size: .82rem; }
.home-highlights__heading .home-kicker { margin-bottom: 5px !important; }
.home-carousel { position: relative; overflow: hidden; border: 1px solid var(--home-line); border-radius: 18px; background: var(--home-surface); box-shadow: 0 12px 34px rgba(31, 47, 78, .07); }
#heroCarousel, #heroCarousel .carousel-inner, #heroCarousel .carousel-item { height: auto !important; min-height: 245px; }
#heroCarousel img { height: clamp(280px, 32vw, 460px) !important; object-fit: cover !important; }
.home-carousel .carousel-inner { min-height: 245px; }
.home-carousel .carousel-item { position: relative; min-height: 245px; }
.home-carousel .carousel-item > img { display: block; width: 100%; height: clamp(280px, 32vw, 460px); object-fit: cover; }
.home-carousel .carousel-item::after { position: absolute; inset: 32% 0 0; background: linear-gradient(0deg, rgba(10, 20, 39, .82), transparent); content: ""; }
.home-highlight-caption { position: absolute; z-index: 2; right: 7%; bottom: 28px; left: 7%; color: #fff; }
.home-highlight-caption span { color: #d9e4ff; font-size: .68rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.home-highlight-caption h3 { max-width: 800px; margin: 6px 0 3px; color: #fff; font-size: clamp(1.2rem, 2.4vw, 2rem); font-weight: 780; }
.home-highlight-caption p { max-width: 720px; margin: 0; color: rgba(255,255,255,.86); font-size: .95rem; }
.home-carousel__controls { position: absolute; z-index: 4; right: 18px; bottom: 18px; display: flex; gap: 8px; }
.home-carousel__control { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: #fff; background: rgba(14, 25, 46, .7); cursor: pointer; }
.home-carousel__control:hover { color: #fff; background: var(--home-blue); }

/* Step cards and content sections */
.home-steps, .home-about, .home-products, .home-model, .home-incentives, .home-faq { padding: clamp(68px, 8vw, 110px) 0; }
.home-steps, .home-model, .home-incentives { background: var(--home-bg); }
.home-step-card, .home-feature-card { position: relative; height: 100%; padding: 27px; border: 1px solid var(--home-line); border-radius: 18px; background: var(--home-surface); box-shadow: 0 8px 24px rgba(31, 47, 78, .04); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.home-step-card:hover, .home-feature-card:hover { transform: translateY(-4px); border-color: rgba(49, 92, 232, .35); box-shadow: var(--home-shadow); }
.home-step-card__number { position: absolute; top: 20px; right: 21px; color: var(--home-muted); font-size: .76rem; font-weight: 800; }
.home-step-card__icon, .home-feature-card__icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 21px; border-radius: 15px; color: var(--home-blue); background: rgba(49, 92, 232, .1); font-size: 1.15rem; }
.home-step-card h3, .home-feature-card h3 { margin: 0 0 9px; font-size: 1.1rem; font-weight: 760; letter-spacing: -.02em; }
.home-step-card p, .home-feature-card p { min-height: 52px; margin: 0 0 17px; font-size: .92rem; line-height: 1.65; }
.home-step-card > a { display: inline-flex; align-items: center; gap: 8px; color: var(--home-blue); font-size: .9rem; font-weight: 750; text-decoration: none; }
.home-step-card > a i { transition: transform .18s ease; }
.home-step-card > a:hover i { transform: translateX(4px); }
.home-about { background: var(--home-bg); }
.home-about .home-section-heading { max-width: 850px; }
.home-feature-card__icon--violet { color: var(--home-violet); background: rgba(112, 81, 232, .12); }
.home-feature-card__icon--gold { color: #b77c18; background: rgba(239, 172, 66, .16); }
.home-about__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px; margin-top: 30px; }

/* Business areas */
.business-opportunities { padding: clamp(68px, 8vw, 105px) 0 !important; color: var(--home-ink); background: var(--home-bg); }
.business-opportunities__intro { max-width: 780px; }
.business-eyebrow { color: var(--home-blue) !important; font-size: .75rem; font-weight: 850; letter-spacing: .15em; }
.business-opportunities__intro h2 { margin-bottom: 12px !important; color: var(--home-ink); font-size: clamp(1.9rem, 3.5vw, 2.8rem) !important; letter-spacing: -.045em; }
.business-opportunities__intro > p:last-child { color: var(--home-muted); font-size: 1.02rem; }
.business-opportunity-card { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--home-line); border-radius: 17px; background: var(--home-surface); box-shadow: 0 8px 24px rgba(31, 47, 78, .04); transition: transform .2s ease, box-shadow .2s ease; }
.business-opportunity-card:hover { transform: translateY(-4px); box-shadow: var(--home-shadow); }
.business-opportunity-card__icon { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 14px; border-radius: 13px; color: var(--home-blue); background: rgba(49, 92, 232, .1); font-size: 1.08rem; }
.business-opportunity-card h3 { margin: 0 0 7px; color: var(--home-ink); font-size: 1rem; font-weight: 760; }
.business-opportunity-card p { flex: 1; margin: 0 0 12px; color: var(--home-muted); font-size: .87rem; line-height: 1.55; }
.business-opportunity-card a { display: inline-flex; align-items: center; gap: 7px; color: var(--home-blue); font-size: .85rem; font-weight: 750; text-decoration: none; }
.business-opportunities__support { border: 1px solid var(--home-line); border-radius: 17px !important; background: var(--home-surface-soft); }
.business-opportunities__support h3 { color: var(--home-ink); }
.business-opportunities__support p { color: var(--home-muted); }
.business-opportunities__support .btn { border-radius: 10px; font-weight: 750; }

/* Product catalog */
#product.home-products { padding: clamp(68px, 8vw, 105px) 0; background: var(--home-bg); }
#product .home-section-heading h2 { margin-bottom: 12px; }
.home-products .container { max-width: 1240px; }
.home-products .product-search { max-width: 620px; margin-bottom: 26px !important; }
.home-products .product-search .input-group { overflow: hidden; border: 1px solid var(--home-line); border-radius: 13px; background: var(--home-surface); box-shadow: 0 8px 22px rgba(31, 47, 78, .05); }
.home-products .product-search .input-group-text, .home-products .product-search .form-control { border: 0; color: var(--home-ink); background: var(--home-surface); box-shadow: none; }
.home-products .product-search .form-control { min-height: 54px; }
.home-products .product-search .input-group:focus-within { outline: 3px solid rgba(49, 92, 232, .19); border-color: var(--home-blue); }
.home-products .product-search .btn { margin: 6px; border-radius: 9px; }
.home-products #productSearchStatus { color: var(--home-muted) !important; }
.home-products #ProductList { align-items: stretch; }
.home-products .product-card { height: 100%; padding: 0; overflow: hidden; border: 1px solid var(--home-line) !important; border-radius: 18px !important; color: var(--home-ink); background: var(--home-surface) !important; box-shadow: 0 8px 24px rgba(31, 47, 78, .05); transition: transform .2s ease, box-shadow .2s ease; }
.home-products .product-card:hover { transform: translateY(-5px); box-shadow: var(--home-shadow); }
.home-products .image-wrapper { height: 220px; margin: 12px 12px 0; border-radius: 12px; background: var(--home-surface-soft); }
.home-products .image-wrapper img { max-width: 100%; max-height: 100%; padding: 16px !important; }
.home-products .product-details { padding: 19px !important; }
.home-products .product-title { color: var(--home-ink); font-size: 1rem; line-height: 1.4; }
.home-products .product-details p { color: var(--home-muted) !important; }
.home-products .product-card .btn { min-height: 44px; border-radius: 10px; color: #fff; background: #1a9b6d; font-size: .9rem; }
.home-products .product-card .btn:hover { background: #147b57; }
.home-products #ProductList > [hidden] { display: none !important; }
.home-empty-state { max-width: 560px; margin: 20px auto 0; padding: 32px; border: 1px dashed var(--home-line); border-radius: 18px; text-align: center; background: var(--home-surface); }
.home-empty-state > i { display: grid; width: 52px; height: 52px; place-items: center; margin: 0 auto 15px; border-radius: 16px; color: var(--home-blue); background: rgba(49, 92, 232, .1); font-size: 1.25rem; }
.home-empty-state h3 { margin: 0 0 7px; font-size: 1.1rem; font-weight: 760; }
.home-empty-state p { margin: 0 0 13px; font-size: .9rem; }

/* Business model */
.home-model { position: relative; overflow: hidden; }
.home-model::before { position: absolute; top: -170px; right: -120px; width: 450px; height: 450px; border: 1px solid rgba(49, 92, 232, .1); border-radius: 50%; content: ""; box-shadow: 0 0 0 45px rgba(49, 92, 232, .025), 0 0 0 90px rgba(49, 92, 232, .02); }
.home-model .container { position: relative; }
.home-model h2 { margin: 0 0 16px; font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 790; letter-spacing: -.05em; line-height: 1.08; }
.home-model__lead { margin-bottom: 24px !important; font-size: 1.02rem; line-height: 1.75; }
.home-model-steps { overflow: hidden; border: 1px solid var(--home-line); border-radius: 20px; background: var(--home-surface); box-shadow: var(--home-shadow); }
.home-model-steps article { display: grid; grid-template-columns: 42px 1fr 36px; align-items: start; gap: 15px; padding: 23px 24px; border-bottom: 1px solid var(--home-line); }
.home-model-steps article:last-child { border-bottom: 0; }
.home-model-steps article > span { color: var(--home-blue); font-size: .82rem; font-weight: 850; }
.home-model-steps h3 { margin: 0 0 5px; font-size: 1rem; font-weight: 760; }
.home-model-steps p { margin: 0; font-size: .9rem; line-height: 1.6; }
.home-model-steps article > i { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; color: var(--home-blue); background: rgba(49, 92, 232, .1); }

/* Incentive overview, FAQ and contact */
#IncomeTypesModel.home-incentives { position: relative; padding: clamp(68px, 8vw, 105px) 0; background: var(--home-bg) !important; }
#IncomeTypesModel::before { display: none; }
.home-incentive-grid { --bs-gutter-y: 1rem; }
.home-incentives .incentive-card { height: 100%; padding: 23px; border: 1px solid var(--home-line); border-radius: 17px; color: var(--home-ink); background: var(--home-surface); box-shadow: 0 8px 24px rgba(31, 47, 78, .04); transition: transform .2s ease, box-shadow .2s ease; }
.home-incentives .incentive-card:hover { transform: translateY(-4px); box-shadow: var(--home-shadow); }
.home-incentives .icon-wrapper { display: grid; width: 45px; height: 45px; place-items: center; margin-inline: auto; border-radius: 14px; color: var(--home-blue); background: rgba(49, 92, 232, .1); font-size: 1.15rem; }
.home-incentives .card-title { margin-bottom: 8px; color: var(--home-ink); font-size: .98rem; }
.home-incentives .card-text { margin: 0; color: var(--home-muted); font-size: .87rem; line-height: 1.6; }
.home-incentives .plan-detail-note { margin-top: 24px !important; padding: clamp(20px, 3vw, 30px) !important; border: 1px solid rgba(239, 172, 66, .36); border-radius: 18px !important; color: var(--home-ink); background: color-mix(in srgb, var(--home-gold) 10%, var(--home-surface)); }
.home-incentives .plan-detail-note h3 { color: var(--home-ink); }
.home-incentives .plan-detail-note p { color: var(--home-muted); }
.home-faq { background: var(--home-bg); }
.home-faq__list { max-width: 850px; margin: auto; border-top: 1px solid var(--home-line); }
.home-faq__list details { border-bottom: 1px solid var(--home-line); }
.home-faq__list summary { position: relative; padding: 20px 42px 20px 4px; color: var(--home-ink); font-weight: 740; cursor: pointer; list-style: none; }
.home-faq__list summary::-webkit-details-marker { display: none; }
.home-faq__list summary::after { position: absolute; top: 17px; right: 7px; display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: var(--home-blue); background: rgba(49, 92, 232, .1); content: "+"; font-size: 1.15rem; }
.home-faq__list details[open] summary::after { content: "−"; }
.home-faq__list details p { max-width: 760px; margin: -4px 0 20px; font-size: .94rem; line-height: 1.7; }
.home-faq__more { margin: 25px 0 0 !important; text-align: center; font-size: .94rem; }
.home-faq__more a { color: var(--home-blue); font-weight: 750; text-decoration: none; }
.home-contact { padding: clamp(60px, 7vw, 90px) 0; background: var(--home-bg); }
.home-contact-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); overflow: hidden; border: 1px solid var(--home-line); border-radius: 24px; background: var(--home-surface); box-shadow: var(--home-shadow); }
.home-contact-card__intro { padding: clamp(28px, 5vw, 54px); color: #fff; background: linear-gradient(145deg, #244ecb, #503fbb); }
.home-contact-card__intro .home-kicker { color: #dbe4ff !important; }
.home-contact-card__intro h2 { max-width: 430px; margin: 0 0 13px; color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 790; letter-spacing: -.05em; line-height: 1.06; }
.home-contact-card__intro p:not(.home-kicker) { max-width: 460px; margin: 0 0 24px; color: rgba(255,255,255,.83); line-height: 1.7; }
.home-button--light { color: #244ecb; background: #fff; }
.home-button--light:hover { color: #173ca9; background: #f1f4ff; }
.home-contact-card__details { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: clamp(24px, 4vw, 42px); }
.home-contact-link { display: grid; grid-template-columns: 45px 1fr; align-items: center; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--home-line); color: var(--home-ink); text-decoration: none; }
.home-contact-link:last-child { border-bottom: 0; }
.home-contact-link > span:first-child { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 13px; color: var(--home-blue); background: rgba(49, 92, 232, .1); }
.home-contact-link small, .home-contact-link b { display: block; }
.home-contact-link small { margin-bottom: 3px; color: var(--home-muted); font-size: .67rem; font-weight: 850; letter-spacing: .12em; }
.home-contact-link b { color: var(--home-ink); font-size: .92rem; line-height: 1.5; overflow-wrap: anywhere; }
a.home-contact-link:hover b { color: var(--home-blue); }

/* Appearance swatches are real buttons so keyboard and touch users can select them. */
.settings-panel .theme-option {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--home-line);
    color: var(--home-ink);
    font: inherit;
}
.settings-panel .theme-option:focus-visible { outline: 3px solid var(--home-blue); outline-offset: 2px; }

/* Compact mobile and reduced-motion behavior */
@media (max-width: 991.98px) {
    #mainNavbar.home-header { min-height: 70px; }
    #mainNavbar.home-header .navbar-collapse { margin-top: 10px; padding: 12px 15px; border: 1px solid var(--home-line); border-radius: 14px; background: var(--home-surface); box-shadow: var(--home-shadow); }
    #mainNavbar.home-header .nav-link { padding: 10px 5px; font-size: 1rem; }
    #mainNavbar.home-header .nav-item.ms-lg-3 { margin-top: 6px; }
    #mainNavbar.home-header .home-nav-login { display: inline-flex; }
    .home-hero { min-height: auto; padding: 116px 0 58px; }
    .home-hero::before { top: 22%; right: -22%; width: 62vw; }
    .home-intro-card { max-width: 660px; }
}
@media (max-width: 767.98px) {
    html { scroll-padding-top: 72px; }
    .home-hero { padding-top: 105px; }
    .home-hero h1 { font-size: clamp(2.45rem, 10vw, 3.65rem); }
    .home-hero__actions { align-items: stretch; flex-direction: column; }
    .home-hero__actions .home-button { width: 100%; }
    .home-eyebrow { align-items: flex-start; flex-wrap: wrap; font-size: .67rem; }
    .home-intro-card { padding: 23px 20px; border-radius: 19px; }
    .home-highlights { padding-bottom: 42px; }
    .home-highlights__heading { align-items: flex-start; flex-direction: column; gap: 5px; }
    #heroCarousel img, .home-carousel .carousel-item > img { height: 245px !important; }
    .home-highlight-caption { right: 20px; bottom: 20px; left: 20px; padding-right: 80px; }
    .home-highlight-caption h3 { font-size: 1.2rem; }
    .home-highlight-caption p { font-size: .85rem; }
    .home-carousel__controls { right: 12px; bottom: 12px; }
    .home-carousel__control { width: 36px; height: 36px; }
    .home-step-card, .home-feature-card { padding: 22px; }
    .home-step-card p, .home-feature-card p { min-height: 0; }
    .home-model-steps article { grid-template-columns: 30px 1fr 30px; gap: 10px; padding: 19px 16px; }
    .home-model-steps article > i { width: 30px; height: 30px; }
    .home-contact-card { grid-template-columns: 1fr; border-radius: 20px; }
    .home-contact-card__details { gap: 0; }
    .business-opportunities__support { align-items: stretch !important; }
}
@media (max-width: 420px) {
    #mainNavbar .navbar-brand img { height: 42px; }
    .home-intro-card__footer { flex-wrap: wrap; }
    .home-model-steps article { grid-template-columns: 27px 1fr; }
    .home-model-steps article > i { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    .home-landing *, .home-landing *::before, .home-landing *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
