/* Final homepage-only visual adjustments for the supplied references. */

/* ==========================================================================
   THE COREAL STANDARD: photo background, badge label, original cards laid out 3 per row.
   ========================================================================== */
html body.home-page .standard-section {
    position: relative !important;
    isolation: isolate !important;
    height: auto !important;
    min-height: calc(100svh - var(--nav-h) - var(--bar-h)) !important;
    display: flex !important;
    align-items: center !important;
    padding: 36px 0 !important;
    overflow: hidden !important;
    /* Photo in its natural colours; only a faint white fade at the top keeps the heading readable. */
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, .25) 28%, rgba(255, 255, 255, 0) 50%),
        url('/assets/standard-bg-tower.jpg') center / cover no-repeat !important;
    color: #0e0f12 !important;
}
/* Show ~70% of the photo's height: the photo is 3:2, so 70% of it is 15:7.
   Position 30% keeps sky behind the heading and puts the towers behind/below the cards. */
@media (min-width: 901px) {
    html body.home-page .standard-section {
        aspect-ratio: 15 / 6 !important; /* ~60% of the photo's height (was 15 / 7) — less empty space below the cards */
        /* min-height auto + overflow visible let the section grow past 15:7 when the cards need more room */
        min-height: auto !important;
        overflow: visible !important;
        background-position: center, center 30% !important;
        /* heading sits in the sky, above the towers */
        align-items: flex-start !important;
        padding-top: clamp(28px, 3vw, 64px) !important;
    }
}
html body.home-page .standard-section::before,
html body.home-page .standard-section::after,
html body.home-page .standard-section .section-center::before,
html body.home-page .standard-section .section-center::after { content: none !important; display: none !important; }
html body.home-page .standard-section .section-center {
    width: min(1180px, calc(100% - 48px)) !important;
    text-align: center !important;
}

/* "THE COREAL STANDARD" badge (same style as the How It Works badge) */
html body.home-page .standard-section .standard-eyebrow {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: auto !important;
    margin: 0 auto !important;
    padding: 7px 16px !important;
    border: 1px solid #d5dbff !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #f3f5ff, #e9edff) !important;
    box-shadow: 0 6px 18px rgba(31, 60, 255, .12) !important;
    color: #1f3cff !important;
    font: 700 12px/1 Inter, sans-serif !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
}
html body.home-page .standard-section .standard-eyebrow::before,
html body.home-page .standard-section .standard-eyebrow::after { content: none !important; display: none !important; }
html body.home-page .standard-section .standard-eyebrow i {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #1f3cff !important;
    box-shadow: 0 0 8px rgba(31, 60, 255, .5) !important;
}
html body.home-page .standard-section h2 {
    margin: 16px 0 0 !important;
    color: #0e0f12 !important;
    font-size: clamp(30px, 3vw, 40px) !important;
    line-height: 1.12 !important;
}
html body.home-page .standard-section .section-center > p {
    max-width: 640px !important;
    margin: 10px auto 0 !important;
    color: #1f2937 !important;
    font: 500 15px/1.5 Inter, sans-serif !important;
    text-shadow: 0 0 12px rgba(255, 255, 255, .9), 0 0 4px rgba(255, 255, 255, .9) !important;
}
html body.home-page .standard-section h2 { text-shadow: 0 0 18px rgba(255, 255, 255, .85) !important; }

/* 6 cards, 3 per row */
html body.home-page .standard-section .standard-layout {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin-top: 30px !important;
}
html body.home-page .standard-section .standard-visual { display: none !important; }
html body.home-page .standard-section .standard-layout .principles {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
    grid-auto-rows: auto !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
}
/* White cards, 3 per row: a little taller, with a larger badge, clear type and a hover accent. */
html body.home-page .standard-section .standard-layout .principle {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    min-height: 150px !important;
    margin: 0 !important;
    padding: 22px 24px 22px !important;
    overflow: hidden !important;
    border: 1px solid #eef0f5 !important;
    border-radius: 20px !important;
    background: #fff !important;
    color: #0e0f12 !important;
    text-align: left !important;
    box-shadow: 0 14px 34px rgba(8, 18, 48, .22) !important;
    transition: transform .3s ease, box-shadow .3s ease !important;
}
/* accent bar along the top edge, slides in on hover */
html body.home-page .standard-section .standard-layout .principle::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 4px !important;
    background: linear-gradient(90deg, #1f3cff, #7c93ff) !important;
    transform: scaleX(0) !important;
    transform-origin: left !important;
    transition: transform .35s ease !important;
}
html body.home-page .standard-section .standard-layout .principle:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 22px 44px rgba(8, 18, 48, .30) !important;
}
html body.home-page .standard-section .standard-layout .principle:hover::after { transform: scaleX(1) !important; }
html body.home-page .standard-section .standard-layout .principle > b {
    display: grid !important;
    place-items: center !important;
    flex: 0 0 40px !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 0 16px !important;
    border-radius: 50% !important;
    background: #0e0f12 !important;
    color: #fff !important;
    font: 800 16px/1 Manrope, Inter, sans-serif !important;
    transition: background .3s ease !important;
}
html body.home-page .standard-section .standard-layout .principle:hover > b { background: #1f3cff !important; }
html body.home-page .standard-section .standard-layout .principle h3 {
    margin: 0 0 6px !important;
    color: #0e0f12 !important;
    font: 700 17px/1.3 Inter, sans-serif !important;
    letter-spacing: -.2px !important;
}
html body.home-page .standard-section .standard-layout .principle p {
    margin: 0 !important;
    color: #5b6475 !important;
    font: 400 13px/1.55 Inter, sans-serif !important;
}
@media (max-width: 900px) {
    html body.home-page .standard-section .standard-layout .principles { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; }
}
@media (max-width: 560px) {
    html body.home-page .standard-section { padding: 44px 0 !important; }
    html body.home-page .standard-section .standard-layout .principles { grid-template-columns: 1fr !important; }
}

/* THE COREAL FILM: keep the player compact and give the advertising area more height. */
html body.home-page .home-film {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}

html body.home-page .home-film .film-content > .film-frame {
    width: min(420px, 64vw) !important;
    height: min(315px, 34vh) !important;
    margin-top: 14px !important;
}

html body.home-page .film-overlay .film-play {
    width: 32px !important;
    height: 32px !important;
}

html body.home-page .film-overlay .film-play svg {
    width: 13px !important;
    height: 13px !important;
}

html body.home-page .home-film .ad-slider,
html body.home-page .home-film .ad-slider-track {
    height: 190px !important;
}

html body.home-page .home-film .ad-slide {
    height: 190px !important;
    min-height: 190px !important;
    border-radius: 28px !important;
    font-size: 18px !important;
}

/* ==========================================================================
   HOW IT WORKS: badge eyebrow, 4 step cards in one row, 5-card auto-scrolling strip.
   ========================================================================== */
html body.home-page .how-section {
    display: flex !important;
    align-items: center !important;
    min-height: calc(100svh - var(--nav-h) - var(--bar-h)) !important;
    box-sizing: border-box !important;
    padding: 14px 0 !important;
    /* at least one screen tall, but grows on short screens instead of clipping */
    height: auto !important;
    overflow: hidden !important;
}

html body.home-page .how-section .section-center {
    position: relative !important;
    width: min(1180px, calc(100% - 48px)) !important;
}

html body.home-page .how-section .section-center::before,
html body.home-page .how-section .section-center::after {
    content: none !important;
    display: none !important;
}

/* "HOW IT WORKS" badge */
html body.home-page .how-section .how-eyebrow {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: auto !important;
    margin: 0 auto !important;
    padding: 7px 16px !important;
    border: 1px solid #d5dbff !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #f3f5ff, #e9edff) !important;
    box-shadow: 0 6px 18px rgba(31, 60, 255, .12) !important;
    color: #1f3cff !important;
    font: 700 12px/1 Inter, sans-serif !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
}
html body.home-page .how-section .how-eyebrow::before,
html body.home-page .how-section .how-eyebrow::after { content: none !important; display: none !important; }
html body.home-page .how-section .how-eyebrow i {
    position: relative !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #1f3cff !important;
}
html body.home-page .how-section .how-eyebrow i::after {
    content: "" !important;
    position: absolute !important;
    inset: -4px !important;
    border-radius: 50% !important;
    background: rgba(31, 60, 255, .25) !important;
    animation: how-pulse 1.8s ease-out infinite !important;
}
@keyframes how-pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

html body.home-page .how-section h2 {
    font-size: clamp(30px, 3vw, 38px) !important;
    line-height: 1.08 !important;
    margin-top: 14px !important;
}

html body.home-page .how-section .section-center > p {
    margin-top: 8px !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
}

/* 4 step cards in one row */
html body.home-page .how-section .how-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
    margin-top: 26px !important;
    align-items: stretch !important;
}

html body.home-page .how-section .how-card,
html body.home-page .how-section .how-card.dark {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    height: auto !important;
    min-height: 168px !important;
    padding: 20px 20px 22px !important;
    border: 1px solid #edf0f5 !important;
    border-radius: 22px !important;
    background: #fff !important;
    color: #000 !important;
    text-align: left !important;
    box-shadow: 0 10px 24px rgba(24, 32, 51, .10) !important;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
}
html body.home-page .how-section .how-card:hover {
    transform: translateY(-4px) !important;
    border-color: #d5dbff !important;
    box-shadow: 0 16px 32px rgba(31, 60, 255, .14) !important;
}

html body.home-page .how-section .how-card > span {
    display: inline-grid !important;
    place-items: center !important;
    width: 42px !important;
    height: 42px !important;
    margin: 0 0 14px !important;
    border-radius: 12px !important;
    background: #eef1ff !important;
    color: #1f3cff !important;
    font: 800 16px/1 Manrope, Inter, sans-serif !important;
}

html body.home-page .how-section .how-card h3 {
    margin: 0 0 8px !important;
    color: #0e0f12 !important;
    font: 700 16px/1.3 Manrope, Inter, sans-serif !important;
}

html body.home-page .how-section .how-card p,
html body.home-page .how-section .how-card.dark p {
    margin: 0 !important;
    color: #4d5563 !important;
    font: 400 12.5px/1.5 Inter, sans-serif !important;
}

/* 5-card partner strip: all 5 visible on desktop, scrolling left in an endless loop.
   The track holds the 5 cards twice; moving it by exactly one set's width makes the loop seamless. */
/* Full-bleed: the strip breaks out of the centred 1180px column and spans the
   window width, leaving --how-edge on each side. */
html body.home-page .how-slider {
    --how-gap: 18px;
    --how-per-view: 5;   /* 5 cards across on desktop (the track holds them twice for the endless loop) */
    --how-edge: 40px;
    position: relative !important;
    left: 50% !important;
    width: calc(100vw - 2 * var(--how-edge)) !important;
    max-width: none !important;
    margin-top: 24px !important;
    transform: translateX(-50%) !important;
}
html body.home-page .how-slider-viewport {
    container-type: inline-size !important;
    overflow: hidden !important;
    /* soft fade at both edges so cards glide in/out rather than being cut off */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent) !important;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent) !important;
}
html body.home-page .how-slider-track {
    display: flex !important;
    gap: var(--how-gap) !important;
    width: max-content !important;
    margin: 0 !important;
    padding: 0 var(--how-gap) 0 0 !important;
    list-style: none !important;
    animation: how-strip 24s linear infinite !important;
}
html body.home-page .how-slider:hover .how-slider-track { animation-play-state: paused !important; }
html body.home-page .how-slide {
    flex: 0 0 auto !important;
    width: calc((100cqw - (var(--how-per-view) - 1) * var(--how-gap)) / var(--how-per-view)) !important;
    /* grows with screen height so the one-screen section never clips it */
    height: clamp(100px, 27svh, 200px) !important;
    margin: 0 !important;
    border-radius: 22px !important;
    background: #d9d9d9 !important;
}
@keyframes how-strip { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
    html body.home-page .how-slider-track { animation: none !important; }
    html body.home-page .how-slide[aria-hidden="true"] { display: none !important; }
    html body.home-page .how-section .how-eyebrow i::after { animation: none !important; }
}

/* THE NETWORK: "Ad's Coming Soon" box */
html body.home-page .network-ad {
    position: relative !important;
}

/* Wider "Ad's Coming Soon" box (was capped at 1220px in pages/home/reference-34.css). */
@media (min-width: 561px) {
    html body.home-page .network-ad {
        width: min(1800px, calc(100% - 64px)) !important;
    }
}

/* The ad box also fills the section's remaining HEIGHT (it had a fixed ~213px, leaving an
   empty band below): the section becomes a vertical stack and the box takes the leftover space. */
html body.home-page .network-band {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;               /* was a fixed height on smaller screens, so the box spilled out */
    min-height: calc(100svh - var(--nav-h) - var(--bar-h)) !important;
    padding-bottom: 32px !important;
}
@media (max-width: 900px) {
    html body.home-page .network-band > .network-ad { min-height: 160px !important; }
}
html body.home-page .network-band > .container { flex: 0 0 auto !important; }
html body.home-page .network-band > .network-ad {
    flex: 1 1 auto !important;
    min-height: 220px !important;
    height: auto !important;
    margin-top: 32px !important;
    margin-bottom: 0 !important;
    align-self: center !important;
}

@media (max-width: 1100px) {
    /* Cards wrap onto more rows here, so let the section grow instead of clipping. */
    html body.home-page .how-section {
        height: auto !important;
        overflow: visible !important;
        padding: 48px 0 !important;
    }
    html body.home-page .how-section .how-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }
    html body.home-page .how-section .how-card,
    html body.home-page .how-section .how-card.dark { min-height: 0 !important; }
}

@media (max-width: 900px) {
    html body.home-page .home-film .film-content > .film-frame {
        width: min(380px, 70vw) !important;
        height: min(290px, 30vh) !important;
    }

    html body.home-page .home-film .ad-slider,
    html body.home-page .home-film .ad-slider-track,
    html body.home-page .home-film .ad-slide {
        height: 150px !important;
        min-height: 150px !important;
    }

    html body.home-page .how-section .how-grid { margin-top: 18px !important; }
    html body.home-page .how-slider { --how-per-view: 3; --how-edge: 24px; }
    html body.home-page .how-slide { height: 170px !important; }
}

@media (max-width: 560px) {
    html body.home-page .home-film .film-content > .film-frame {
        width: calc(100vw - 32px) !important;
        height: min(220px, 25vh) !important;
    }

    html body.home-page .home-film .ad-slider,
    html body.home-page .home-film .ad-slider-track,
    html body.home-page .home-film .ad-slide {
        height: 100px !important;
        min-height: 100px !important;
    }

    html body.home-page .how-section .how-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    html body.home-page .how-section .how-card,
    html body.home-page .how-section .how-card.dark { padding: 16px 18px !important; }
    html body.home-page .how-section .how-card > span { width: 36px !important; height: 36px !important; margin-bottom: 10px !important; }

    html body.home-page .how-slider { --how-per-view: 2; --how-edge: 16px; --how-gap: 12px; }
    html body.home-page .how-slide { height: 140px !important; }
}

/* ==========================================================================
   Home page scrolling: native, gentle section snapping.
   Replaces the old script that took over the scroll after 75% of a section and
   locked it for 0.9s. "proximity" only settles onto a section when the user stops
   near its top — it never forces a jump or blocks the wheel/trackpad, and tall
   sections can still be scrolled through freely.
   121px = the home page's fixed nav (77px) + ticker (44px), so sections land just below them.
   ========================================================================== */
html:has(body.home-page) {
    scroll-snap-type: none;
    scroll-padding-top: 121px;
}
html body.home-page main > section,
html body.home-page > .faq-section {
    scroll-snap-align: start !important;
    scroll-snap-stop: normal !important;
    /* scroll-padding-top above already clears the header; the site-wide
       scroll-margin-top (enterprise.css) would add it a second time, so
       "/#how-it-works" landed 141px too high with the section above showing. */
    scroll-margin-top: 0 !important;
}
html body.home-page > .footer { scroll-snap-align: none !important; }
@media (prefers-reduced-motion: reduce) {
    html:has(body.home-page) { scroll-snap-type: none; }
}
/* ==========================================================================
   THE COREAL FILM
   1) Video box has the film's exact 16:9 shape (1920x1080) and shows the whole frame
      (object-fit: contain) — it was 1.625:1 with "cover", which cut the sides off.
   2) Ad cards: 5 cards scrolling left in an endless loop (like How It Works). The track
      holds the 5 cards twice; moving it by exactly one set makes the loop seamless.
   ========================================================================== */
html body.home-page .home-film .film-content > .film-frame {
    width: min(640px, 72vw, calc(38svh * 16 / 9)) !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    background: #000 !important;
}
html body.home-page .home-film .film-content > .film-frame video {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background: #000 !important;
}

html body.home-page .film-frame .film-sound-btn {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: rgba(10, 12, 18, 0.78) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4) !important;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease !important;
    opacity: 0.95 !important;
}
html body.home-page .film-frame .film-sound-btn:hover {
    transform: scale(1.08) !important;
    background: rgba(18, 22, 32, 0.92) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    opacity: 1 !important;
}
html body.home-page .film-frame .film-sound-btn svg {
    display: block !important;
    position: relative !important;
    z-index: 2 !important;
    width: 18px !important;
    height: 18px !important;
    fill: currentColor !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: auto !important;
}
html body.home-page .film-frame .film-sound-btn.is-muted {
    background: rgba(230, 60, 60, 0.28) !important;
    border-color: rgba(255, 100, 100, 0.55) !important;
    color: #ffe6e6 !important;
    animation: soundBtnPulse 2.2s infinite ease-in-out !important;
}
@keyframes soundBtnPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

/* at least one screen tall, but grows on short screens instead of cutting off the cards */
html body.home-page .home-film {
    height: auto !important;
    min-height: calc(100svh - var(--nav-h) - var(--bar-h)) !important;
}
/* Full-bleed: .home-film is already full width, so the ad strip spans it edge to edge,
   leaving --ad-edge on each side (% width excludes the scrollbar, so both sides stay equal). */
html body.home-page .home-film .ad-slider {
    --ad-gap: 16px;
    --ad-per-view: 4;
    --ad-edge: 24px;
    width: calc(100% - 2 * var(--ad-edge)) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    container-type: inline-size !important;
    overflow: hidden !important;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent) !important;
    mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent) !important;
}
html body.home-page .home-film .ad-slider-track {
    display: flex !important;
    grid-template-columns: none !important;
    gap: var(--ad-gap) !important;
    width: max-content !important;
    margin: 0 !important;
    padding: 0 var(--ad-gap) 0 0 !important;
    animation: ad-strip 30s linear infinite !important;
}
html body.home-page .home-film .ad-slider:hover .ad-slider-track { animation-play-state: paused !important; }
html body.home-page .home-film .ad-slide {
    flex: 0 0 auto !important;
    width: calc((100cqw - (var(--ad-per-view) - 1) * var(--ad-gap)) / var(--ad-per-view)) !important;
    animation: none !important;       /* old per-card pulse animation */
    transform: none !important;
    opacity: 1 !important;
}
@keyframes ad-strip { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 900px) {
    html body.home-page .home-film .film-content > .film-frame { width: min(560px, 84vw) !important; }
    html body.home-page .home-film .ad-slider { --ad-per-view: 2; }
}
@media (max-width: 560px) {
    html body.home-page .home-film .film-content > .film-frame { width: calc(100vw - 32px) !important; }
    html body.home-page .home-film .ad-slider { --ad-per-view: 2; --ad-gap: 12px; --ad-edge: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    html body.home-page .home-film .ad-slider-track { animation: none !important; }
    html body.home-page .home-film .ad-slide[aria-hidden="true"] { display: none !important; }
}
/* Autoplaying film has no control bar; a click reveals it — show a hand cursor as the hint. */
html body.home-page .home-film .film-content > .film-frame video:not([controls]) { cursor: pointer !important; }
/* ===== Hero copy: longer space-types sentence + map-colour highlights ===== */
/* "In Every Pin Code." in the North-zone map blue. */
html body.home-page .home-hero h1 strong.hero-pin-highlight {
    color: #a9c1f6 !important;
    -webkit-text-fill-color: #a9c1f6 !important;
}
/* Dynamic Hero Tagline matching India Map zone colors (Orange, Green, Blue, Orange). */
html body.home-page .home-hero .hero-content > p b.hero-agreement-highlight {
    display: inline !important;
    margin-top: 0 !important;
    color: var(--tagline-color, #ff8c00) !important;
    -webkit-text-fill-color: var(--tagline-color, #ff8c00) !important;
    font-weight: 700 !important;
    transition: opacity 0.25s ease, color 0.4s ease, -webkit-text-fill-color 0.4s ease !important;
}
/* Wide screens used to force the old two-line sentence onto one line (nowrap);
   the longer list must wrap, at the same width as the search bar under it. */
@media (min-width: 1340px) {
    html body.home-page .home-hero .hero-content > p {
        white-space: normal !important;
        width: 700px !important;
        margin-left: calc(50% - 157px) !important;   /* same left edge as the heading */
        margin-right: auto !important;
    }
}
/* The longer hero sentence adds ~2 lines; tighten the gaps below the heading so the
   stats row (750+ / 1.75M / …) still fits on a 1366×768 laptop screen. */
@media (min-width: 1081px) {
    html body.home-page .home-hero .hero-content > p { margin-top: 44px !important; }
    html body.home-page .home-hero .hero-content > p b.hero-agreement-highlight { margin-top: 2px !important; }
    html body.home-page .home-hero .hero-content > .hero-search { margin-top: 30px !important; }
    html body.home-page .home-hero .hero-actions { margin-top: 30px !important; }
}
/* Hero sentence in white, with the tagline continuing on the same line (no break). */
html body.home-page.home-page .home-hero .hero-content > p { color: #ffffff !important; }
html body.home-page.home-page .home-hero .hero-content > p b.hero-agreement-highlight {
    display: inline !important;
    margin-top: 0 !important;
}
/* Gentle glow pulse on hero tagline matching zone glow, keeping color vibrant. */
html body.home-page .home-hero .hero-content > p b.hero-agreement-highlight {
    animation: hero-agreement-blink 2.4s ease-in-out infinite;
}
@keyframes hero-agreement-blink {
    0%, 100% { opacity: 1; text-shadow: 0 0 12px var(--tagline-glow, rgba(255, 140, 0, .55)); }
    50%      { opacity: 0.9; text-shadow: 0 0 4px var(--tagline-glow, rgba(255, 140, 0, .3)); }
}
@media (prefers-reduced-motion: reduce) {
    html body.home-page .home-hero .hero-content > p b.hero-agreement-highlight { animation: none; }
}

/* ===== COREAL Film section: content starts at the top (no empty band above the heading),
   the video takes the freed height (wider box, still 16:9), and a little more air above the ad cards. ===== */
html body.home-page .home-film {
    justify-content: flex-start !important;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}
@media (min-width: 901px) {
    /* Wider 16:9 video (was ~576px). With the 160px ad cards, the whole section fits one 1080p screen. */
    html body.home-page .home-film .film-content > .film-frame {
        width: min(760px, 80vw) !important;
        margin-top: 16px !important;
    }
    html body.home-page .home-film .ad-slider,
    html body.home-page .home-film .ad-slider-track,
    html body.home-page .home-film .ad-slide {
        height: 160px !important;
        min-height: 160px !important;
    }
}
html body.home-page .home-film .ad-slider { margin-top: 28px !important; }

/* "Ads Coming Soon" cards: animated network globe (coreal-home.js) behind the label. */
html body.home-page .home-film .ad-slide {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
}
html body.home-page .home-film .ad-slide .ad-globe {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
    pointer-events: none !important;
}
html body.home-page .home-film .ad-slide .ad-slide-label {
    position: relative !important;
    z-index: 1 !important;
    padding: 6px 14px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .82) !important;   /* keeps the text readable over the globe lines */
    box-shadow: 0 0 18px 8px rgba(255, 255, 255, .7) !important;
}
/* COREAL logo (same image as the header) in place of the "Ads Coming Soon" text. */
html body.home-page .home-film .ad-slide img.ad-slide-logo {
    display: block !important;
    width: min(190px, 58%) !important;
    height: auto !important;
    padding: 10px 16px !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, .85) !important;
    box-shadow: 0 0 22px 10px rgba(255, 255, 255, .75) !important;
    box-sizing: content-box !important;
}

/* Network globe + COREAL logo on the other placeholder cards too (network "Ads" box, How It Works strip).
   The grey placeholders become white cards like the Film ad cards. */
html body.home-page .has-card-globe {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    border: 1px solid #e6e9f2 !important;
    box-shadow: 0 10px 28px rgba(15, 25, 60, .10) !important;
}
html body.home-page .has-card-globe .ad-globe {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
    pointer-events: none !important;
}
html body.home-page .has-card-globe img.ad-slide-logo {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    width: min(190px, 58%) !important;
    height: auto !important;
    padding: 10px 16px !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, .85) !important;
    box-shadow: 0 0 22px 10px rgba(255, 255, 255, .75) !important;
    box-sizing: content-box !important;
}
/* The big network box gets a larger logo. */
html body.home-page .network-ad.has-card-globe img.ad-slide-logo { width: min(300px, 50%) !important; }
/* How It Works strip: plain light-grey card — no border, shadow or glow; just the globe and logo. */
html body.home-page .how-slide.has-card-globe {
    background: #f3f4f6 !important;
    border: 0 !important;
    box-shadow: none !important;
}
html body.home-page .how-slide.has-card-globe img.ad-slide-logo {
    padding: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

/* Solutions section: a little more space between the two rows of cards. */
html body.home-page .solutions-band .solution-grid { row-gap: 22px !important; }

/* ==========================================================================
   COREAL Standard + FAQ: each fills exactly one screen below the fixed header
   (nav + ticker = 121px) on every device, with the content centred in it.
   Before, the Standard section followed the photo's 15:6 shape (too short on
   tall screens, so the FAQ peeked in) and the FAQ content overflowed its box
   on shorter laptop screens (its heading was cut off).
   ========================================================================== */
@media (min-width: 901px) {
    html body.home-page .standard-section,
    html body.home-page .faq-section {
        aspect-ratio: auto !important;
        height: auto !important;
        min-height: calc(100vh - 121px) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding-top: 28px !important;
        padding-bottom: 28px !important;
        overflow: visible !important;
    }
    /* Photo fills the whole section; the towers stay in view behind the cards. */
    html body.home-page .standard-section { background-position: center, center 35% !important; }
    html body.home-page .standard-section > .section-center,
    html body.home-page .faq-section > .faq-content { width: min(1180px, calc(100% - 48px)) !important; margin: 0 auto !important; }
    html body.home-page .faq-section > .faq-content { width: min(900px, calc(100% - 48px)) !important; }
}
/* Shorter laptop screens (e.g. 1366×768, 1280×720): tighten the spacing so everything still fits one screen. */
@media (min-width: 901px) and (max-height: 820px) {
    html body.home-page .standard-section .standard-layout { margin-top: 18px !important; }
    html body.home-page .standard-section .standard-layout .principles { gap: 14px !important; }
    html body.home-page .standard-section .standard-layout .principle { min-height: 0 !important; padding: 16px 20px !important; }
    html body.home-page .standard-section .standard-layout .principle > b { width: 34px !important; height: 34px !important; flex-basis: 34px !important; margin-bottom: 10px !important; }
    html body.home-page .standard-section h2 { font-size: clamp(26px, 2.6vw, 34px) !important; }

    html body.home-page .faq-section h2 { font-size: clamp(28px, 3vw, 38px) !important; margin-bottom: 4px !important; }
    html body.home-page .faq-section .faq-content > p { margin-bottom: 10px !important; }
    html body.home-page .faq-section .faq-list { margin-top: 8px !important; gap: 10px !important; }
    html body.home-page .faq-section .faq-list details { margin: 0 !important; min-height: 0 !important; height: auto !important; }
    html body.home-page .faq-section .faq-list summary { min-height: 0 !important; height: auto !important; padding-top: 12px !important; padding-bottom: 12px !important; line-height: 1.4 !important; }
}
/* Very short screens (e.g. 1280×720): a little tighter again. */
@media (min-width: 901px) and (max-height: 700px) {
    html body.home-page .faq-section { padding-top: 18px !important; padding-bottom: 18px !important; }
    html body.home-page .faq-section h2 { font-size: 28px !important; }
    html body.home-page .faq-section .faq-list { gap: 8px !important; }
    html body.home-page .faq-section .faq-list summary { padding-top: 9px !important; padding-bottom: 9px !important; }
}

/* ==========================================================================
   Full-screen section scrolling (desktop / laptop):
   one wheel or trackpad scroll moves to the next section and it settles to fill
   the screen below the header. Done natively by the browser (smooth, no JS
   scroll-jacking); keyboard, scrollbar and anchor links keep working.
   - mandatory + stop:always: always lands on a section, never skips one.
   - A section taller than the screen (e.g. the Film section on a small laptop)
     can still be scrolled through before moving on.
   - The footer snaps to the bottom of the page.
   Phones/tablets and "reduce motion" users keep free scrolling.
   ========================================================================== */
@media (min-width: 901px) and (min-height: 600px) and (hover: hover) and (pointer: fine) {
    html:has(body.home-page) {
        scroll-snap-type: none;
        scroll-behavior: smooth;
    }
    html body.home-page main > section,
    html body.home-page > .faq-section {
        scroll-snap-align: start !important;
        scroll-snap-stop: always !important;
    }
    html body.home-page > .footer {
        scroll-snap-align: end !important;
        scroll-snap-stop: always !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    html:has(body.home-page) { scroll-snap-type: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   RESPONSIVE PASS
   ========================================================================== */
/* ---- Home hero, 1081–1339px (small laptops, Nest Hub Max, iPad Pro landscape):
   keep the desktop side-by-side layout (map left, copy right) instead of the stacked
   phone layout, with the headline/map scaled to the width so everything — pill,
   headline, text, search, buttons and the stats row — fits on one screen. ---- */
@media (min-width: 1081px) and (max-width: 1339px) {
    html body.home-page .home-hero {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        min-height: 100vh !important;
        padding-top: calc(121px + 22px) !important;
        padding-bottom: 26px !important;
    }
    html body.home-page .home-hero .hero-map {
        position: absolute !important;
        inset: auto !important;
        left: 0 !important;
        top: calc(121px + 16px) !important;
        bottom: 118px !important;
        width: 45% !important;
        height: auto !important;
        margin: 0 !important;
        order: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    html body.home-page #india-network-map { width: 100% !important; height: 100% !important; }
    html body.home-page #india-network-map .inm-svg { width: 100% !important; height: 100% !important; max-height: none !important; }
    html body.home-page .home-hero .hero-content {
        position: relative !important;
        z-index: 1 !important;
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: calc(100% - 64px) !important;
        max-width: none !important;
        margin: 0 auto !important;
    }
    html body.home-page .home-hero .hero-content > .home-kicker,
    html body.home-page .home-hero .hero-content > h1,
    html body.home-page .home-hero .hero-content > p,
    html body.home-page .home-hero .hero-content > .hero-search,
    html body.home-page .home-hero .hero-content > .hero-actions {
        width: auto !important;
        max-width: none !important;
        margin-left: 47% !important;
        margin-right: 0 !important;
        text-align: left !important;
        white-space: normal !important;
    }
    html body.home-page .home-hero .hero-content > .home-kicker { align-self: flex-start !important; margin-bottom: 18px !important; }
    html body.home-page .home-hero h1 {
        margin-top: 0 !important;
        font-size: clamp(44px, 4.3vw, 58px) !important;
        line-height: 1.08 !important;
    }
    html body.home-page .home-hero h1 strong {
        margin-top: 6px !important;
        font-size: clamp(46px, 4.5vw, 60px) !important;
        line-height: 1.08 !important;
    }
    html body.home-page .home-hero .hero-content > p { margin-top: 20px !important; font-size: 15px !important; line-height: 1.6 !important; }
    html body.home-page .home-hero .hero-content > .hero-search { margin-top: 22px !important; }
    html body.home-page .home-hero .hero-actions { margin-top: 20px !important; justify-content: flex-start !important; flex-wrap: wrap !important; }
    /* reference-34.css nudges the copy 50px right and the stats 50px up for wide screens;
       at these widths that pushed the copy off the right edge and the stats onto the buttons. */
    html body.home-page .home-hero .hero-content { transform: none !important; }
    html body.home-page .home-hero .hero-stats { transform: none !important; margin-top: auto !important; padding-top: 24px !important; }
}
/* Short screens in that range (1280×720, 1366×768 at 125% scaling ≈ 1093×614): tighter
   spacing and type so the buttons and stats row still fit on the first screen. */
@media (min-width: 1081px) and (max-width: 1339px) and (max-height: 760px) {
    html body.home-page .home-hero { padding-top: calc(121px + 12px) !important; padding-bottom: 16px !important; }
    html body.home-page .home-hero .hero-content > .home-kicker { margin-bottom: 4px !important; }
    html body.home-page .home-hero h1 { font-size: clamp(36px, 3.5vw, 46px) !important; }
    html body.home-page .home-hero h1 strong { margin-top: 2px !important; font-size: clamp(38px, 3.7vw, 48px) !important; }
    html body.home-page .home-hero .hero-content > p { margin-top: 12px !important; font-size: 14px !important; line-height: 1.55 !important; }
    html body.home-page .home-hero .hero-content > .hero-search { margin-top: 14px !important; }
    html body.home-page .home-hero .hero-actions { margin-top: 14px !important; }
    html body.home-page .home-hero .hero-stats { padding-top: 14px !important; }
    html body.home-page .home-hero .hero-stats strong { font-size: 32px !important; line-height: 1.1 !important; }
    html body.home-page .home-hero .hero-map { top: calc(121px + 10px) !important; bottom: 90px !important; }
}
/* Wider laptops with short windows (1366×768 in a browser ≈ 1366×657, 1440×900 at 125%,
   1536×864 with toolbars): the hero is a fixed ~820px tall, so the stats row fell below the
   first screen. Tighten the vertical rhythm so the whole hero fits. */
@media (min-width: 1340px) and (max-height: 780px) {
    html body.home-page .home-hero { padding-top: calc(121px + 12px) !important; }
    html body.home-page .home-hero h1 { margin-top: -14px !important; font-size: clamp(46px, 3.7vw, 62px) !important; line-height: 1.05 !important; }
    html body.home-page .home-hero h1 strong { margin-top: 8px !important; font-size: clamp(48px, 3.9vw, 64px) !important; line-height: 1.05 !important; }
    html body.home-page .home-hero .hero-content > p { margin-top: 18px !important; }
    html body.home-page .home-hero .hero-content > .hero-search { margin-top: 18px !important; }
    html body.home-page .home-hero .hero-actions { margin-top: 18px !important; }
    html body.home-page .home-hero .hero-stats { margin-top: 18px !important; transform: none !important; }
}
@media (min-width: 1081px) and (max-width: 1339px) and (max-height: 640px) {
    html body.home-page .home-hero { padding-top: calc(121px + 8px) !important; }
    html body.home-page .home-hero h1 { font-size: 34px !important; }
    html body.home-page .home-hero h1 strong { font-size: 36px !important; }
    html body.home-page .home-hero .hero-content > p { margin-top: 10px !important; font-size: 13.5px !important; line-height: 1.5 !important; }
    html body.home-page .home-hero .hero-content > .hero-search { margin-top: 12px !important; }
    html body.home-page .home-hero .hero-actions { margin-top: 12px !important; }
    html body.home-page .home-hero .hero-stats strong { font-size: 28px !important; }
}

/* ---- Film section: the video sizes itself to the screen height as well as the width, so the
   heading, video and ad cards always fit one screen (the cards were cut off on 800px-tall screens).
   ~400px = heading block + gaps + ad cards + padding. ---- */
@media (min-width: 901px) {
    html body.home-page .home-film .film-content > .film-frame {
        width: min(760px, 80vw, max(420px, calc((100vh - 121px - 400px) * 16 / 9))) !important;
    }
}
@media (min-width: 901px) and (max-height: 820px) {
    html body.home-page .home-film .ad-slider,
    html body.home-page .home-film .ad-slider-track,
    html body.home-page .home-film .ad-slide { height: 130px !important; min-height: 130px !important; }
    html body.home-page .home-film .ad-slider { margin-top: 20px !important; }
    html body.home-page .home-film .film-content > .film-frame {
        width: min(760px, 80vw, max(380px, calc((100vh - 121px - 350px) * 16 / 9))) !important;
    }
}

/* ---- Solutions section: content centred in its one-screen section (it sat at the top
   with an empty band below on tall screens). ---- */
@media (min-width: 901px) {
    html body.home-page .solutions-band {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        min-height: calc(100vh - 121px) !important;
        padding-top: 48px !important;
        padding-bottom: 56px !important;
    }
}

/* ---- Phones & tablets (≤1080px): no section may cut off its own content.
   Older rules locked several home sections to exactly one screen height with
   overflow:hidden, which hid the hero's buttons and stats on phones (and clipped
   long sections). Here every section grows with its content, is at least one
   screen tall, and only clips sideways (for the full-bleed card strips). ---- */
@media (max-width: 1080px) {
    html body.home-page main > section,
    html body.home-page > .faq-section {
        height: auto !important;
        max-height: none !important;
        min-height: calc(100svh - 121px) !important;
        overflow-x: clip !important;
        overflow-y: visible !important;
    }
    html body.home-page main > section.home-hero { min-height: 100svh !important; padding-bottom: 32px !important; }
    /* Network sphere behind the headline/search (map sits above it in this stacked layout):
       centred (the script draws it at 60% of the canvas width, hence left:-10%), softer so the
       text stays readable, and no longer cut in half at the right edge. */
    html body.home-page .home-hero .home-network-canvas {
        top: auto !important;
        bottom: 4% !important;
        left: -10% !important;
        right: auto !important;
        width: 100% !important;
        height: 62% !important;
        opacity: .45 !important;
        pointer-events: none !important;
    }
    html body.home-page .home-hero .hero-actions { margin-top: 18px !important; margin-bottom: 0 !important; }
    html body.home-page .home-hero .hero-stats { position: relative !important; margin-top: 28px !important; }
}
/* Phones: hero buttons stacked full-width (their 18px labels overflowed the old 142px/184px
   buttons), and the four stats in a tidy 2 × 2 grid below them. */
@media (max-width: 600px) {
    html body.home-page .home-hero .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        width: min(340px, calc(100% - 32px)) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    html body.home-page .home-hero .hero-actions .btn {
        width: 100% !important;
        height: 48px !important;
        overflow: hidden !important;
        white-space: nowrap !important;
    }
    /* The label is drawn by ::before; keep the real text at size 0 so it isn't shown twice. */
    html body.home-page .home-hero .hero-actions .btn { font-size: 0 !important; }
    html body.home-page .home-hero .hero-actions .btn .arrow { display: none !important; }
    html body.home-page .home-hero .hero-actions .btn::before { font-size: 16px !important; line-height: 1 !important; }
    html body.home-page .home-hero .hero-stats {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 22px 12px !important;
        width: min(340px, calc(100% - 32px)) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    html body.home-page .home-hero .hero-stats > div { min-width: 0 !important; }
    html body.home-page .home-hero .hero-stats strong { font-size: 28px !important; line-height: 1.1 !important; }
}
/* Phones/tablets: the stats row was pulled up 50px (a desktop offset), overlapping the buttons. */
@media (max-width: 1080px) {
    html body.home-page .home-hero .hero-stats { transform: none !important; }
}
/* Phones: Solution cards two per row and compact (a single column of tall cards was ~2000px of scrolling). */
@media (max-width: 600px) {
    html body.home-page .solutions-band .solution-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    html body.home-page .solutions-band .solution-card {
        min-height: 0 !important;
        height: auto !important;
        padding: 24px 16px !important;
    }
    html body.home-page .solutions-band .solution-card h3 { font-size: 18px !important; margin: 12px 0 6px !important; }
    html body.home-page .solutions-band .solution-card p { font-size: 14px !important; line-height: 1.5 !important; }
    html body.home-page .solutions-band .solution-icon { width: 44px !important; height: 44px !important; }
}

/* ---- Tablets (601–1080px, stacked hero: map above the copy): centre the copy under the
   map (it was pushed to the right), single button labels, stats in one row. ---- */
@media (min-width: 601px) and (max-width: 1080px) {
    html body.home-page .home-hero .hero-content > .home-kicker,
    html body.home-page .home-hero .hero-content > h1,
    html body.home-page .home-hero .hero-content > p,
    html body.home-page .home-hero .hero-content > .hero-search,
    html body.home-page .home-hero .hero-content > .hero-actions {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
        white-space: normal !important;
    }
    html body.home-page .home-hero .hero-content { align-items: center !important; text-align: center !important; }
    html body.home-page .home-hero .hero-content > p { width: min(680px, 100%) !important; max-width: none !important; }
    html body.home-page .home-hero .hero-content > .hero-search { width: min(620px, 100%) !important; }
    html body.home-page .home-hero .hero-actions { justify-content: center !important; flex-wrap: wrap !important; gap: 14px !important; }
    html body.home-page .home-hero .hero-actions .btn { width: 220px !important; height: 48px !important; font-size: 0 !important; white-space: nowrap !important; }
    html body.home-page .home-hero .hero-actions .btn .arrow { display: none !important; }
    html body.home-page .home-hero .hero-actions .btn::before { font-size: 17px !important; line-height: 1 !important; }
    html body.home-page .home-hero .hero-stats {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        width: min(760px, 100%) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: left !important;
    }
    html body.home-page .home-hero .hero-stats > div { min-width: 0 !important; }
}
/* Network stat cards: 5 × 193px + gaps needs 1085px, so on 901–1200px screens (iPad landscape,
   small laptops) the first and last cards were cut off. Let them share the available width. */
@media (min-width: 901px) and (max-width: 1200px) {
    html body.home-page .network-band .network-metrics {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 12px !important;
        width: 100% !important;
    }
    html body.home-page .network-band .network-metrics > div {
        width: auto !important;
        min-width: 0 !important;
        padding: 22px 14px !important;
        height: auto !important;
    }
}

/* ---- COREAL Standard cards: letter badge on the left, title + description beside it
   (was stacked badge → title → text), so each card is about half as tall. ---- */
html body.home-page .standard-section .standard-layout .principles .principle {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    column-gap: 16px !important;
    row-gap: 4px !important;
    align-items: start !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 20px 22px !important;
}
html body.home-page .standard-section .standard-layout .principles .principle > b {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
    width: 44px !important;
    height: 44px !important;
    flex: none !important;
    margin: 0 !important;
}
html body.home-page .standard-section .standard-layout .principles .principle > h3 {
    grid-column: 2 !important;
    grid-row: 1 !important;
    margin: 0 !important;
    align-self: end !important;
}
html body.home-page .standard-section .standard-layout .principles .principle > p {
    grid-column: 2 !important;
    grid-row: 2 !important;
    margin: 0 !important;
    align-self: start !important;
}
/* Phones: slightly smaller badge and padding; cards stay one per row. */
@media (max-width: 600px) {
    html body.home-page .standard-section .standard-layout .principles .principle {
        grid-template-columns: 38px minmax(0, 1fr) !important;
        column-gap: 14px !important;
        padding: 16px 16px !important;
    }
    html body.home-page .standard-section .standard-layout .principles .principle > b { width: 38px !important; height: 38px !important; }
}

/* ---- Film ad cards: light-grey card (like the How It Works strip), no glow, and the
   "One Location, Multiple Options" tagline under the COREAL logo. ---- */
html body.home-page .home-film .ad-slide.has-card-globe {
    background: #f3f4f6 !important;
    border: 0 !important;
    box-shadow: none !important;
}
html body.home-page .home-film .ad-slide .ad-slide-lockup {
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    width: min(220px, 70%) !important;
}
html body.home-page .home-film .ad-slide .ad-slide-lockup img.ad-slide-logo {
    width: 100% !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
}
html body.home-page .home-film .ad-slide .ad-slide-tagline {
    display: inline-block !important;
    padding: 5px 12px !important;
    border-radius: 999px !important;
    background: #e8ecff !important;   /* solid so the globe lines behind never cross the text */
    color: #1f3cff !important;
    font: 600 12px/1.2 Inter, sans-serif !important;
    letter-spacing: .02em !important;
    white-space: nowrap !important;
}
/* Short screens and phones: smaller lockup so it fits the shorter cards. */
@media (max-height: 820px), (max-width: 600px) {
    html body.home-page .home-film .ad-slide .ad-slide-lockup { gap: 6px !important; width: min(170px, 72%) !important; }
    html body.home-page .home-film .ad-slide .ad-slide-tagline { font-size: 10.5px !important; padding: 4px 10px !important; }
}
@media (max-width: 600px) {
    html body.home-page .home-film .ad-slide .ad-slide-lockup { width: 86% !important; gap: 5px !important; }
    html body.home-page .home-film .ad-slide .ad-slide-lockup img.ad-slide-logo { width: 78% !important; }
    html body.home-page .home-film .ad-slide .ad-slide-tagline {
        white-space: normal !important;
        text-align: center !important;
        max-width: 100% !important;
        font-size: 9.5px !important;
        line-height: 1.25 !important;
        padding: 3px 8px !important;
        border-radius: 8px !important;
    }
    html body.home-page .home-film .ad-slider,
    html body.home-page .home-film .ad-slider-track,
    html body.home-page .home-film .ad-slide { height: 120px !important; min-height: 120px !important; }
}
/* ==========================================================================
   Card lockup (COREAL logo + "One Location, Multiple Options") — shared by the
   Film ad cards and the How It Works cards. Both use the same light grey card
   (#f3f4f6); the tagline is in the map's North-zone blue (#4f7de0) on a patch
   of the card grey so the globe lines never cross the letters.
   ========================================================================== */
html body.home-page.home-page .home-film .ad-slide.has-card-globe,
html body.home-page.home-page .how-slide.has-card-globe {
    background: #f3f4f6 !important;
    border: 0 !important;
    box-shadow: none !important;
}
html body.home-page.home-page .has-card-globe .ad-slide-lockup {
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    width: min(220px, 72%) !important;
}
html body.home-page.home-page .has-card-globe .ad-slide-lockup img.ad-slide-logo {
    width: 100% !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
}
html body.home-page.home-page .has-card-globe .ad-slide-tagline {
    display: inline-block !important;
    max-width: 100% !important;
    padding: 3px 10px !important;
    border-radius: 999px !important;
    background: #f3f4f6 !important;
    color: #4f7de0 !important;
    font: 600 12px/1.25 Inter, sans-serif !important;
    letter-spacing: .03em !important;
    text-align: center !important;
    white-space: nowrap !important;
}
/* Shorter cards (short laptop screens) and narrow cards (tablets/phones): smaller lockup, tagline may wrap. */
@media (max-height: 820px), (max-width: 1100px) {
    html body.home-page.home-page .has-card-globe .ad-slide-lockup { gap: 5px !important; width: min(180px, 80%) !important; }
    html body.home-page.home-page .has-card-globe .ad-slide-tagline { font-size: 10.5px !important; }
}
@media (max-width: 600px) {
    html body.home-page.home-page .has-card-globe .ad-slide-lockup img.ad-slide-logo { width: 78% !important; }
    html body.home-page.home-page .has-card-globe .ad-slide-tagline {
        white-space: normal !important;
        font-size: 9.5px !important;
        padding: 2px 6px !important;
        border-radius: 8px !important;
    }
}
/* Film ad cards only: a visible grey card, and the tagline in the logo's black
   (the How It Works cards keep their own colours). Selector is more specific than the shared lockup rules. */
html body.home-page.home-page.home-page .home-film .ad-slide.has-card-globe { background: #e5e7eb !important; }
html body.home-page.home-page.home-page .home-film .has-card-globe .ad-slide-tagline {
    background: #e5e7eb !important;
    color: #000 !important;
}
/* How It Works cards: tagline in the logo's black too (same as the Film ad cards). */
html body.home-page.home-page.home-page .how-slide.has-card-globe .ad-slide-tagline { color: #000 !important; }
/* Our Network card: same logo + black tagline lockup, sized up for the big card (white card, so a white patch behind the tagline). */
html body.home-page.home-page.home-page .network-ad.has-card-globe .ad-slide-lockup { width: min(320px, 55%) !important; gap: 12px !important; }
html body.home-page.home-page.home-page .network-ad.has-card-globe .ad-slide-tagline {
    background: #fff !important;
    color: #000 !important;
    font-size: 15px !important;
    padding: 4px 14px !important;
    white-space: nowrap !important;
}
@media (max-width: 600px) {
    html body.home-page.home-page.home-page .network-ad.has-card-globe .ad-slide-lockup { width: 75% !important; }
    html body.home-page.home-page.home-page .network-ad.has-card-globe .ad-slide-tagline { font-size: 12px !important; white-space: normal !important; }
}

/* ---- Our Network stat cards (28 States, 750+ Cities, …): fluid on every screen below desktop.
   They were fixed at 193px each, so on phones the second column ran off the right edge.
   Tablets: 3 + 2 centred. Phones: 2 per row, the 5th card centred on its own row. ---- */
@media (max-width: 900px) {
    html body.home-page.home-page .network-band .network-metrics {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 14px !important;
        width: min(640px, calc(100% - 32px)) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        grid-template-columns: none !important;
    }
    html body.home-page.home-page .network-band .network-metrics > div {
        flex: 0 1 calc((100% - 28px) / 3) !important;
        width: auto !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 18px 16px !important;
        box-sizing: border-box !important;
    }
}
@media (max-width: 600px) {
    html body.home-page.home-page .network-band .network-metrics { gap: 12px !important; width: calc(100% - 32px) !important; }
    html body.home-page.home-page .network-band .network-metrics > div {
        flex-basis: calc((100% - 12px) / 2) !important;
        padding: 16px 14px !important;
        border-radius: 20px !important;
    }
    html body.home-page.home-page .network-band .network-metrics b { font-size: 24px !important; }
    html body.home-page.home-page .network-band .network-metrics small { font-size: 12px !important; line-height: 1.4 !important; }
}
@media (max-width: 600px) {
    html body.home-page.home-page .network-band .network-metrics > div,
    html body.home-page.home-page .network-band .network-metrics > div * { white-space: normal !important; overflow-wrap: anywhere !important; }
    html body.home-page.home-page .network-band .network-metrics > div { padding: 16px 12px !important; }
    html body.home-page.home-page .network-band .network-metrics b { font-size: 22px !important; }
}
@media (max-width: 600px) {
    html body.home-page.home-page .network-band .network-metrics > div > * { max-width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
    html body.home-page.home-page .network-band .network-metrics > div { overflow: hidden !important; }
}

/* ==========================================================================
   COREAL Standard: heading, six cards and the sliding COREAL ad strip (same as
   How It Works) fill the one-screen section. Gaps, card padding and strip height
   scale with the screen height, so there is no large empty band below the strip
   on tall screens; whatever space is left is split evenly above and below.
   ========================================================================== */
@media (min-width: 901px) {
    html body.home-page.home-page .standard-section {
        justify-content: center !important;
        padding-top: clamp(16px, 3vh, 48px) !important;
        padding-bottom: clamp(16px, 3vh, 48px) !important;
    }
    /* Wider content column: the six cards end about 180px in from each edge on a 1920px screen;
       on smaller laptops only the column's own 48px side padding remains
       (1656px wide minus 2 × 48px padding = a 1560px card grid). */
    html body.home-page.home-page .standard-section > .section-center { width: min(1656px, 100%) !important; max-width: none !important; }
    html body.home-page.home-page .standard-section .standard-layout { margin-top: clamp(18px, 4vh, 60px) !important; }
    html body.home-page.home-page .standard-section .standard-layout .principles { gap: clamp(14px, 2.2vh, 30px) !important; }
    html body.home-page.home-page .standard-section .standard-layout .principles .principle { padding: clamp(14px, 2.6vh, 38px) 22px !important; }
    html body.home-page.home-page .standard-section .standard-slider { margin-top: clamp(18px, 4vh, 60px) !important; }
    /* Strip runs almost edge to edge (48px in from each side); 6 medium-size cards across
       (the track holds 6 cards twice, so the -50% loop stays seamless). */
    html body.home-page.home-page .standard-section .standard-slider { --how-per-view: 6; --how-edge: 48px; }
    html body.home-page.home-page .standard-section .how-slide { height: clamp(110px, 21vh, 250px) !important; }
}
/* Short laptop screens (1366×768, 1280×720): shorter strip so everything fits one screen. */
@media (min-width: 901px) and (max-height: 740px) {
    html body.home-page.home-page .standard-section .how-slide { height: 19vh !important; }
}

/* ==========================================================================
   USER FEEDBACK FIXES
   1. COREAL Standard section: heading centred, the six principle cards made
      narrower and all the same height.
   2. Ad / logo strips: the COREAL logo shrunk so it sits fully inside its card.
   ========================================================================== */

/* 1a. Narrower, centred content column so the six cards no longer run almost
       edge to edge (was min(1656px, 100%)); heading, cards and strip all align. */
@media (min-width: 901px) {
    html body.home-page.home-page.home-page .standard-section > .section-center {
        width: min(1180px, calc(100% - 48px)) !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* 1b. Centre the header trio (badge, heading, sub-text) on every screen. */
html body.home-page.home-page.home-page .standard-section .section-center { text-align: center !important; }
html body.home-page.home-page.home-page .standard-section .section-center > .standard-eyebrow {
    margin-left: auto !important;
    margin-right: auto !important;
}
html body.home-page.home-page.home-page .standard-section .section-center > h2,
html body.home-page.home-page.home-page .standard-section .section-center > p {
    width: auto !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    float: none !important;
}

/* 1c. All six principle cards the same height (both grid rows equal to the tallest). */
html body.home-page.home-page.home-page .standard-section .standard-layout .principles {
    grid-auto-rows: 1fr !important;
    align-items: stretch !important;
}
html body.home-page.home-page.home-page .standard-section .standard-layout .principle {
    height: 100% !important;
    min-height: 0 !important;
}

/* 2. Strip ad cards (film / how-it-works / standard): the network sphere is drawn as a
      clean, uncut circle whose size tracks the card's SMALLER side. Size the COREAL logo,
      the gap and the tagline in container-query units (1cqmin = 1% of the card's smaller
      side) so the whole lockup stays INSIDE that circle on every screen — phones, laptops,
      large monitors and TVs alike. The clamp() bounds keep it sensible on very small / very
      large cards and act as a fallback where container units are unsupported.
      Each card is made a size container for this; the large "Our Network" box is left out
      (it keeps its own, more specific sizing and already fits). */
html body.home-page.home-page.home-page .home-film .ad-slide.has-card-globe,
html body.home-page.home-page.home-page .how-slide.has-card-globe {
    container-type: size !important;
}
html body.home-page.home-page.home-page .home-film .ad-slide.has-card-globe .ad-slide-lockup,
html body.home-page.home-page.home-page .how-slide.has-card-globe .ad-slide-lockup {
    width: clamp(70px, 58cqmin, 150px) !important;
    gap: clamp(2px, 2.4cqmin, 7px) !important;
}
/* Tagline: reduced and allowed to wrap so the long line fits within the circle. */
html body.home-page.home-page.home-page .home-film .ad-slide.has-card-globe .ad-slide-tagline,
html body.home-page.home-page.home-page .how-slide.has-card-globe .ad-slide-tagline {
    max-width: 100% !important;
    padding: 1px 6px !important;
    font-size: clamp(6.5px, 5cqmin, 11px) !important;
    line-height: 1.15 !important;
    white-space: normal !important;
}

/* Network metrics: keep "Associate Partners" together — it drops below "175K+" as one line
   instead of splitting "Associate" / "Partners" across two lines. */
html body.home-page .network-metrics .metric-label-nowrap { white-space: nowrap; }

/* Nudge stats row right so 750+ doesn't overlap Vishakhapatnam on certain displays */
html body.home-page .home-hero .hero-stats { padding-left: 30px !important; }
