/**
 * Nipun India — Modern ed-tech homepage (header, footer, hero, sections)
 * Inspired by contemporary education SaaS landing pages (Dribbble / Behance style)
 */

.hp-modern {
    --hp-brand: #3170de;
    --hp-indigo: #3170de;
    --hp-indigo-dark: #2559b8;
    --hp-violet: #4a88e8;
    --hp-brand-soft: #e8f0fd;
    --hp-brand-soft-2: #d4e4fc;
    --hp-brand-border: #b8cff5;
    --hp-gold: #eaad3a;
    --hp-gold-light: #f4c842;
    --hp-gold-dark: #c9922a;
    --hp-orange: #ea580c;
    --hp-orange-light: #f97316;
    --hp-orange-dark: #c2410c;
    --hp-color-hover-accent: var(--hp-orange);
    --hp-color-hover-accent-dark: var(--hp-orange-dark);
    --hp-gold-soft: #fef9e8;
    --hp-gold-border: #f0d78a;
    --hp-pink: #de3163;
    --hp-pink-light: #f04d7f;
    --hp-pink-dark: #c42552;
    --hp-pink-soft: #fde8f0;
    --hp-pink-border: #f5b8cc;
    --hp-navy: #002443;
    --hp-cyan: #06b6d4;
    --hp-amber: #eaad3a;
    --hp-ink: #0a0a0a;
    --hp-muted: #1a1a1a;
    --hp-text-black: #0a0a0a;
    --hp-border: #e2e8f0;
    --hp-surface: #ffffff;
    --hp-soft: #f8fafc;
    --hp-radius: 16px;
    --hp-radius-lg: 24px;
    --hp-radius-xl: 28px;
    --hp-shadow: 0 24px 48px -12px rgba(49, 112, 222, 0.18);
    --hp-shadow-sm: 0 4px 14px -4px rgba(15, 23, 42, 0.08), 0 12px 28px -8px rgba(15, 23, 42, 0.1);
    --hp-shadow-lg: 0 32px 64px -20px rgba(15, 23, 42, 0.14);
    --hp-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --hp-header-h: 5.125rem;
    --hp-section-y: clamp(3.5rem, 7vw, 5.75rem);
    --hp-edge-x: clamp(1.25rem, 4.5vw, 2.5rem);
    --hp-edge-x-wide: clamp(1.25rem, 5vw, 7.5rem);
    /* Wider layout: reclaim ~half of side margin vs old 1180px cap */
    --hp-container-base: 1180px;
    --hp-container-max: min(1560px, calc((100vw - 2.5rem + var(--hp-container-base)) / 2));
    /* Typography — ManageBac-style (Nunito Sans, roomy sizing, light tracking) */
    --hp-font-sans: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --hp-text-base: 1.125rem;
    --hp-text-lg: 1.28125rem;
    --hp-text-xl: 1.5rem;
    --hp-text-sm: 1.0625rem;
    --hp-tracking-tight: -0.02em;
    --hp-tracking-normal: 0.015em;
    --hp-tracking-wide: 0.06em;
    --hp-tracking-wider: 0.1em;
    font-family: var(--hp-font-sans);
    font-size: var(--hp-text-base);
    line-height: 1.7;
    letter-spacing: var(--hp-tracking-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.hp-modern {
    background: #f8fafc;
    color: var(--hp-ink);
    overflow-x: clip;
}

.hp-modern .container {
    width: 100%;
    max-width: var(--hp-container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--hp-edge-x);
    padding-right: var(--hp-edge-x);
}

@media (max-width: 900px) {
    .hp-modern .container {
        max-width: 100%;
    }
}

.hp-section {
    padding: var(--hp-section-y) 0 !important;
}

.hp-section-tight {
    padding: 2.25rem 0 !important;
}

.hp-modern h1,
.hp-modern h2,
.hp-modern h3,
.hp-modern h4,
.hp-modern .hp-logo-name,
.hp-modern .hp-footer-brand-text strong,
.hp-modern .hp-partners-head h3,
.hp-modern .hp-footer-site-heading,
.hp-modern .hp-footer-site-follow h4 {
    font-family: var(--hp-font-sans);
    letter-spacing: var(--hp-tracking-tight);
}

/* ---- Top scrolling ticker (nipunindia.com style) ---- */
.hp-ticker {
    --hp-ticker-h: 2.125rem;
    position: sticky;
    top: 0;
    z-index: 210;
    width: 100%;
    overflow: hidden;
    padding: 0.5rem 0.875rem;
    background: linear-gradient(90deg, #020024, #004e92, #0072ff);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    font-family: var(--hp-font-sans);
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    font-weight: 500;
    color: #f5f7fa;
}

.hp-ticker-marquee {
    display: block;
    width: 100%;
}

.hp-ticker-marquee strong {
    font-weight: 700;
}

/* ---- Premium page scrollbar ---- */
html.hp-page-root {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--hp-pink) #e8eef5;
}

html.hp-page-root::-webkit-scrollbar {
    width: 11px;
}

html.hp-page-root::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #f1f5f9, #e8eef5);
    border-radius: 999px;
}

html.hp-page-root::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--hp-pink) 0%, var(--hp-pink-light) 55%, var(--hp-pink-dark) 100%);
    border-radius: 999px;
    border: 2px solid #e8eef5;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

html.hp-page-root::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--hp-pink-light) 0%, #f9a8c4 100%);
}

body.hp-modern::-webkit-scrollbar {
    width: 11px;
}

body.hp-modern {
    scrollbar-width: thin;
    scrollbar-color: var(--hp-pink) #e8eef5;
}

/* ---- Header ---- */
.hp-header {
    position: sticky;
    top: var(--hp-ticker-h, 2.125rem);
    z-index: 200;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border-bottom: 1px solid transparent;
    transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hp-header.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--hp-border);
    box-shadow: var(--hp-shadow-sm);
}

.hp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--hp-header-h);
    position: relative;
}

.hp-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
    z-index: 2;
}

.hp-logo-mark {
    width: 3.125rem;
    height: 3.125rem;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--hp-pink) 0%, var(--hp-pink-light) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 8px 20px -6px rgba(49, 112, 222, 0.55);
}

.hp-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
    gap: 0.15rem;
}

.hp-logo-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.01em;
}

.hp-logo-tag {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #000;
    letter-spacing: 0.025em;
    opacity: 0.75;
}

.hp-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--hp-border);
    border-radius: 12px;
    background: var(--hp-surface);
    cursor: pointer;
    z-index: 2;
}

.hp-nav-toggle-bar {
    display: block;
    width: 1.1rem;
    height: 2px;
    margin: 0 auto;
    background: var(--hp-ink);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hp-nav-toggle[aria-expanded="true"] .hp-nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hp-nav-toggle[aria-expanded="true"] .hp-nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.hp-nav-toggle[aria-expanded="true"] .hp-nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hp-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hp-nav-menu {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.hp-nav-link-top {
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.035em;
    color: #000;
    transition: color 0.2s, background 0.2s;
}

.hp-nav-link-top:hover,
.hp-nav-link-top.is-active {
    color: #000;
    background: rgba(0, 0, 0, 0.06);
}

.hp-nav-cluster {
    position: relative;
}

.hp-nav-cluster-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 1rem;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-family: inherit;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.035em;
    color: #000;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
}

.hp-nav-cluster-toggle i {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}

.hp-nav-cluster.is-open .hp-nav-cluster-toggle,
.hp-nav-cluster-toggle:hover {
    color: #000;
    background: rgba(0, 0, 0, 0.06);
}

.hp-nav-cluster.is-open .hp-nav-cluster-toggle i {
    transform: rotate(180deg);
}

.hp-nav-cluster-panel {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 15.5rem;
    padding: 0.5rem;
    background: #fff;
    border: 1px solid var(--hp-border);
    border-radius: 14px;
    box-shadow: var(--hp-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 300;
}

.hp-nav-cluster.is-open .hp-nav-cluster-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hp-nav-sublink {
    display: block;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    transition: background 0.2s;
}

.hp-nav-sublink:hover,
.hp-nav-sublink.is-active {
    background: var(--hp-brand-soft);
}

.hp-nav-sublink-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--hp-ink);
}

.hp-nav-sublink-desc {
    display: block;
    font-size: 0.9375rem;
    color: var(--hp-text-black);
    margin-top: 0.15rem;
    font-weight: 500;
}

.hp-nav-sublink.is-active .hp-nav-sublink-title {
    color: var(--hp-indigo);
}

.hp-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding-left: 0.5rem;
    margin-left: 0.25rem;
    border-left: 1px solid var(--hp-border);
}

.hp-nav-actions .hp-btn-ghost,
.hp-nav-actions .hp-btn-outline-nav {
    font-size: 1.0625rem;
    line-height: 1.5;
    letter-spacing: 0.035em;
    font-weight: 600;
    color: #000 !important;
}

.hp-btn-outline-nav {
    background: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.18) !important;
}

.hp-btn-outline-nav:hover {
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.28) !important;
    color: #000 !important;
}

.hp-nav-actions .hp-btn-ghost {
    border-color: rgba(0, 0, 0, 0.12);
}

.hp-nav-actions .hp-btn-ghost:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000 !important;
}

.hp-nav-actions .hp-btn-nav-sm {
    padding: 0.4rem 0.65rem;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
}

/* Buttons */
.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.5rem;
    padding: 0 1.15rem;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.hp-btn:hover {
    transform: translateY(-1px);
}

.hp-btn-lg {
    min-height: 3.125rem;
    padding: 0 1.65rem;
    font-size: 1.0625rem;
    letter-spacing: 0.025em;
}

.hp-btn-primary {
    position: relative;
    overflow: hidden;
    background: var(--hp-pink);
    color: #fff !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 24px rgba(222, 49, 99, 0.38);
    border: 1px solid rgba(196, 37, 82, 0.25);
}

.hp-btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.22) 50%, transparent 60%);
    transform: translateX(-120%);
    transition: transform 0.55s var(--hp-ease);
    pointer-events: none;
}

.hp-btn-primary:hover::after {
    transform: translateX(120%);
}

.hp-btn-primary:hover {
    background: var(--hp-pink-light);
    box-shadow: 0 12px 28px rgba(222, 49, 99, 0.48);
}

.hp-btn-dark {
    background: var(--hp-ink);
    color: #fff !important;
}

.hp-btn-ghost {
    background: transparent;
    color: var(--hp-ink) !important;
    border-color: var(--hp-border);
}

.hp-btn-ghost:hover {
    background: var(--hp-soft);
}

.hp-btn-outline {
    background: #fff;
    color: var(--hp-navy) !important;
    border-color: var(--hp-gold-border);
}

.hp-btn-outline:hover {
    background: var(--hp-gold-soft);
    border-color: var(--hp-gold);
}

.hp-btn-light {
    background: linear-gradient(135deg, var(--hp-gold), var(--hp-gold-light));
    color: var(--hp-navy) !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 22px rgba(234, 173, 58, 0.35);
    border: 1px solid rgba(201, 146, 42, 0.3);
}

/* ---- Hero — cinematic video / slideshow (PowerSchool-style) ---- */
.hp-hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 5.5rem !important;
    border: none !important;
    background: #0f172a !important;
    min-height: min(88vh, 780px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-hero-cinematic {
    min-height: min(92vh, 860px);
    padding: 0 !important;
    align-items: stretch;
}

/* PowerSchool-style text on video (left-aligned, white type) */
.hp-hero-powerschool {
    min-height: min(88vh, 820px);
    padding: 0 !important;
    align-items: stretch;
}

.hp-hero-powerschool.hp-hero-has-video {
    min-height: min(92vh, 880px);
}

/* First hero video — full viewport + story-video typography/layout */
.hp-hero-powerschool.hp-hero-has-video.hp-hero-video-full,
.hp-hero-cinematic.hp-hero-video-full {
    min-height: 100svh;
    min-height: 100dvh;
}

.hp-hero-powerschool.hp-hero-has-video.hp-hero-video-full .hp-hero-container.hp-story-container {
    align-items: flex-end;
    min-height: 100svh;
    min-height: 100dvh;
    padding: 0 0 clamp(4.5rem, 11vh, 7.5rem);
    padding-left: var(--hp-edge-x-wide);
    padding-right: var(--hp-edge-x);
    padding-top: clamp(14rem, 38vh, 22rem);
}

.hp-hero-video-full .hp-hero-media {
    inset: 0;
}

.hp-hero-video-full .hp-hero-video-el {
    object-position: center center;
}

.hp-hero-scrim--powerschool {
    z-index: 3;
    pointer-events: none;
    /* Option A: strong left navy gradient + light full-video dim for readability */
    background:
        linear-gradient(
            90deg,
            rgba(0, 36, 67, 0.94) 0%,
            rgba(0, 36, 67, 0.82) 32%,
            rgba(0, 36, 67, 0.55) 52%,
            rgba(0, 36, 67, 0.22) 72%,
            transparent 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.1) 42%,
            rgba(0, 0, 0, 0.45) 100%
        ),
        rgba(0, 0, 0, 0.18);
}

.hp-hero-powerschool .hp-hero-container,
.hp-hero-powerschool .hp-hero-container--edge {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: min(88vh, 820px);
    padding: clamp(6rem, 14vh, 9rem) 0 clamp(4rem, 10vh, 6rem);
    padding-left: var(--hp-edge-x-wide);
    padding-right: var(--hp-edge-x);
    justify-content: flex-start;
    box-sizing: border-box;
}

.hp-hero-copy {
    width: 45%;
    max-width: 45%;
    flex: 0 0 45%;
    color: #fff;
    text-align: left;
    box-sizing: border-box;
    padding-right: 1.5rem;
}

.hp-hero-kicker {
    margin: 0 0 1.35rem;
    font-size: clamp(0.9375rem, 1.15vw, 1.0625rem);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.45;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55), 0 2px 16px rgba(0, 0, 0, 0.4);
}

.hp-hero-powerschool .hp-hero-copy:not(.hp-story-copy) h1 {
    margin: 0 0 1.5rem;
    font-size: clamp(3.75rem, 8vw, 7rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.45),
        0 6px 32px rgba(0, 0, 0, 0.55);
}

/* ---- First hero video — enterprise premium (Inter scale, cinematic frame) ---- */
.hp-hero-has-video .hp-hero-video-el {
    filter: brightness(0.9) contrast(1.05) saturate(1.06);
    transform: scale(1.03);
    transform-origin: center center;
}

.hp-hero-scrim--premium {
    background:
        linear-gradient(
            102deg,
            rgba(0, 36, 67, 0.93) 0%,
            rgba(0, 36, 67, 0.78) 26%,
            rgba(0, 28, 52, 0.42) 44%,
            rgba(0, 0, 0, 0.08) 58%,
            transparent 68%
        ),
        linear-gradient(0deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.12) 42%, transparent 58%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, transparent 22%);
}

.hp-hero-powerschool.hp-hero-has-video .hp-hero-container--premium {
    align-items: flex-end;
    min-height: min(92vh, 880px);
    padding:
        clamp(7.5rem, 20vh, 13rem)
        var(--hp-edge-x)
        clamp(4.25rem, 9vh, 6.75rem)
        var(--hp-edge-x-wide);
}

.hp-hero-copy--premium {
    width: min(44rem, 52%);
    max-width: 52%;
    flex: 0 0 auto;
    padding: 0 0 0 clamp(1.25rem, 2vw, 1.75rem);
    border-left: 3px solid var(--hp-pink);
    font-family: var(--hp-font-hero);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.hp-hero-copy--premium .hp-hero-kicker {
    margin: 0 0 0.875rem;
    font-family: var(--hp-font-hero);
    font-size: var(--hp-hero-kicker-size);
    font-weight: 600;
    letter-spacing: var(--hp-hero-tracking-kicker);
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: none;
}

.hp-hero-copy--premium h1 {
    margin: 0 0 1.125rem;
    font-family: var(--hp-font-hero);
    font-size: var(--hp-hero-title-size);
    font-weight: 700;
    line-height: var(--hp-hero-leading-title);
    letter-spacing: var(--hp-hero-tracking-title);
    color: #fff;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

.hp-hero-copy--premium .hp-hero-desc {
    margin: 0 0 1.75rem;
    max-width: 34rem;
    font-family: var(--hp-font-hero);
    font-size: var(--hp-hero-desc-size);
    font-weight: 400;
    line-height: var(--hp-hero-leading-body);
    letter-spacing: -0.011em;
    color: rgba(255, 255, 255, 0.86);
    text-shadow: none;
}

.hp-hero-copy--premium .hp-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0 1.65rem;
    font-family: var(--hp-font-hero);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--hp-navy) !important;
    background: #fff !important;
    border: none;
    border-radius: var(--hp-radius-pill);
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hp-hero-copy--premium .hp-hero-cta::after {
    display: none;
}

.hp-hero-copy--premium .hp-hero-cta:hover {
    color: var(--hp-navy) !important;
    background: #f8fafc !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

@media (prefers-reduced-motion: no-preference) {
    .hp-hero-copy--premium .hp-hero-kicker {
        animation: hp-hero-premium-in 0.65s ease 0.08s both;
    }

    .hp-hero-copy--premium h1 {
        animation: hp-hero-premium-in 0.7s ease 0.16s both;
    }

    .hp-hero-copy--premium .hp-hero-desc {
        animation: hp-hero-premium-in 0.7s ease 0.24s both;
    }

    .hp-hero-copy--premium .hp-hero-cta {
        animation: hp-hero-premium-in 0.65s ease 0.34s both;
    }
}

@keyframes hp-hero-premium-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hp-hero-desc {
    margin: 0 0 2.25rem;
    font-size: clamp(1.25rem, 1.9vw, 1.625rem);
    font-weight: 500;
    line-height: 1.65;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.96);
    max-width: 100%;
    text-shadow:
        0 1px 4px rgba(0, 0, 0, 0.5),
        0 2px 20px rgba(0, 0, 0, 0.45);
}

.hp-hero-powerschool .hp-hero-cta {
    font-size: 1.25rem;
    min-height: 3.5rem;
    padding: 0 2rem;
}

.hp-hero-cta {
    box-shadow: 0 8px 28px rgba(222, 49, 99, 0.45);
}

@media (max-width: 640px) {
    .hp-hero-scrim--powerschool {
        background:
            linear-gradient(
                180deg,
                rgba(0, 36, 67, 0.9) 0%,
                rgba(0, 36, 67, 0.75) 45%,
                rgba(0, 36, 67, 0.35) 70%,
                rgba(0, 0, 0, 0.25) 100%
            ),
            rgba(0, 0, 0, 0.25);
    }

    .hp-hero-powerschool .hp-hero-container,
    .hp-hero-powerschool .hp-hero-container--edge {
        padding-top: 5.5rem;
        padding-left: var(--hp-edge-x-wide);
        min-height: min(75vh, 640px);
    }

    .hp-hero-copy {
        width: 92%;
        max-width: 92%;
        flex: 0 0 92%;
    }

    .hp-hero-kicker {
        font-size: 0.8125rem;
        letter-spacing: 0.12em;
    }

    .hp-hero-powerschool .hp-hero-copy:not(.hp-story-copy) h1 {
        font-size: clamp(2.5rem, 9.5vw, 3.5rem);
    }

    .hp-hero-scrim--premium {
        background:
            linear-gradient(
                180deg,
                rgba(0, 36, 67, 0.88) 0%,
                rgba(0, 36, 67, 0.72) 38%,
                rgba(0, 0, 0, 0.35) 72%,
                rgba(0, 0, 0, 0.5) 100%
            );
    }

    .hp-hero-powerschool.hp-hero-has-video.hp-hero-video-full,
    .hp-hero-powerschool.hp-hero-has-video.hp-hero-video-full .hp-hero-container.hp-story-container {
        min-height: 100svh;
        min-height: 100dvh;
    }

    .hp-hero-powerschool.hp-hero-has-video.hp-hero-video-full .hp-hero-container.hp-story-container {
        padding-top: 8.5rem;
        padding-bottom: 3.5rem;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .hp-hero-copy:not(.hp-story-copy) {
        width: 55%;
        max-width: 55%;
        flex: 0 0 55%;
    }
}

.hp-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #0f172a;
}

.hp-hero-video-el {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 2;
}

.hp-hero-has-video .hp-hero-bg-wrap--fallback {
    opacity: 0;
    pointer-events: none;
}

.hp-hero-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #1e293b;
}

.hp-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1s ease, transform 7s ease;
    will-change: opacity, transform;
}

.hp-hero-bg-img.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
    filter: brightness(1.08) saturate(1.06);
}

@keyframes hpHeroKenBurns {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

.hp-hero-cinematic:not(.hp-hero-has-video) .hp-hero-bg-img.is-active {
    animation: hpHeroKenBurns 7s ease-out forwards;
}

.hp-hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 3;
    background:
        radial-gradient(
            ellipse 50% 45% at 50% 44%,
            rgba(15, 23, 42, 0.42) 0%,
            rgba(15, 23, 42, 0.12) 55%,
            transparent 100%
        ),
        linear-gradient(
            180deg,
            rgba(15, 23, 42, 0.2) 0%,
            rgba(15, 23, 42, 0.28) 55%,
            rgba(15, 23, 42, 0.45) 100%
        );
    pointer-events: none;
}

.hp-hero-scrim--cinematic {
    background:
        linear-gradient(105deg, rgba(0, 36, 67, 0.88) 0%, rgba(0, 36, 67, 0.55) 42%, rgba(0, 36, 67, 0.15) 68%, transparent 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 40%, rgba(0, 0, 0, 0.45) 100%);
}

.hp-hero-container {
    position: relative;
    z-index: 4;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: inherit;
    padding-bottom: 4rem;
}

.hp-hero-cinematic .hp-hero-container {
    justify-content: flex-start;
    align-items: center;
    padding: clamp(5.5rem, 12vh, 8rem) 0 clamp(4rem, 8vh, 6rem);
    min-height: min(92vh, 860px);
}

.hp-hero-overlay {
    max-width: 40rem;
    text-align: left;
    color: #fff;
    padding: 0 0.5rem;
}

.hp-hero-cinematic .hp-hero-simple,
.hp-hero-text-backdrop {
    display: none;
}

.hp-hero-sound-toggle {
    position: absolute;
    right: 1.5rem;
    bottom: 1.75rem;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(0, 36, 67, 0.65);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hp-hero-sound-toggle:hover {
    background: rgba(0, 36, 67, 0.85);
    transform: translateY(-2px);
}

.hp-hero-text-backdrop {
    max-width: 46rem;
    margin: 0 auto;
    padding: clamp(1.75rem, 4vw, 2.85rem) clamp(1.35rem, 3vw, 2.65rem);
    border-radius: var(--hp-radius-xl);
    background: linear-gradient(155deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.58) 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 32px 72px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

.hp-hero-simple {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto;
    padding: 0;
    color: #fff;
}

.hp-hero-overlay .hp-hero-lead {
    max-width: 36rem;
    margin-left: 0;
    margin-right: 0;
}

.hp-hero-overlay .hp-hero-actions {
    justify-content: flex-start;
}

.hp-hero-overlay .hp-hero-tags {
    justify-content: flex-start;
}

.hp-hero-cinematic .hp-hero-simple h1,
.hp-hero-cinematic .hp-hero-overlay h1 {
    font-size: clamp(2.5rem, 5.2vw, 3rem) !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    text-align: left;
}

.hp-hero-cinematic .hp-hero-overlay .hp-hero-lead {
    font-size: clamp(1.125rem, 2.1vw, 1.3125rem) !important;
    line-height: 1.65 !important;
    letter-spacing: 0.01em !important;
    text-align: left;
}

.hp-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    background: rgba(222, 49, 99, 0.45);
    border: 1px solid rgba(240, 77, 127, 0.55);
    box-shadow: 0 0 24px rgba(222, 49, 99, 0.28);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: var(--hp-tracking-wider);
    text-transform: uppercase;
}

.hp-hero-highlight {
    background: linear-gradient(120deg, #ffffff 0%, #f9a8c4 35%, var(--hp-pink-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.hp-hero-simple .hp-hero-lead {
    font-size: clamp(1.125rem, 2.2vw, 1.3125rem) !important;
    color: rgba(255, 255, 255, 0.92) !important;
    max-width: 38rem;
    margin: 0 auto 1.75rem !important;
    line-height: 1.65 !important;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

.hp-hero-simple .hp-hero-lead strong {
    color: #fff;
    font-weight: 700;
}

.hp-hero-simple .hp-hero-actions {
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hp-btn-hero-light {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(6px);
}

.hp-btn-hero-light:hover {
    background: rgba(255, 255, 255, 0.25) !important;
}

.hp-hero-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
}

.hp-hero-tags li {
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hp-hero.hero h1,
.hp-hero .hp-hero-simple h1,
.hp-hero-simple h1 {
    font-size: clamp(2.5rem, 5vw, 3rem) !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    color: #fff !important;
    margin-bottom: 1.1rem !important;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55), 0 4px 32px rgba(0, 0, 0, 0.4);
}

.hp-hero .hp-hero-lead,
.hp-hero.hero p {
    color: rgba(255, 255, 255, 0.95) !important;
}

.hp-hero-controls {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hp-hero-controls .hp-hero-dots {
    position: static;
    transform: none;
}

.hp-hero-controls .hp-hero-arrow {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.hp-hero-controls .hp-hero-dot {
    background: rgba(255, 255, 255, 0.4);
}

.hp-hero-controls .hp-hero-dot.is-active {
    background: #fff;
}

.hp-hero-slide-strip {
    position: absolute;
    bottom: 5.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 0.55rem;
    padding: 0.45rem;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: min(96vw, 42rem);
    overflow-x: auto;
    scrollbar-width: thin;
}

.hp-hero-slide-thumb {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem;
    border: 2px solid transparent;
    border-radius: 0.65rem;
    background: transparent;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.72;
}

.hp-hero-slide-thumb:hover,
.hp-hero-slide-thumb:focus-visible {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.45);
    outline: none;
}

.hp-hero-slide-thumb.is-active {
    opacity: 1;
    border-color: #fff;
    transform: translateY(-2px);
}

.hp-hero-slide-thumb img {
    display: block;
    width: 4.5rem;
    height: 2.6rem;
    object-fit: cover;
    border-radius: 0.4rem;
}

.hp-hero-slide-thumb-label {
    font-size: 0.62rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    max-width: 4.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640px) {
    .hp-hero-slide-strip {
        display: none;
    }

    .hp-hero-container {
        padding-bottom: 3.5rem;
    }

    .hp-hero-cinematic .hp-hero-container {
        justify-content: center;
        padding-top: 5.5rem;
    }

    .hp-hero-overlay,
    .hp-hero-cinematic .hp-hero-overlay h1,
    .hp-hero-cinematic .hp-hero-overlay .hp-hero-lead {
        text-align: center;
        max-width: 100%;
    }

    .hp-hero-overlay .hp-hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hp-hero-overlay .hp-hero-actions,
    .hp-hero-overlay .hp-hero-tags {
        justify-content: center;
    }

    .hp-hero-sound-toggle {
        right: 1rem;
        bottom: 1rem;
        font-size: 0.75rem;
    }
}

.hp-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.9rem;
    margin-bottom: 1.25rem;
    background: #fff;
    border: 1px solid var(--hp-brand-soft-2);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--hp-indigo);
    box-shadow: var(--hp-shadow-sm);
}


/* Hero slider */
.hp-hero-slider {
    position: relative;
    padding: 0.5rem;
    border-radius: var(--hp-radius-lg);
    background: linear-gradient(145deg, var(--hp-brand-soft-2) 0%, #cffafe 50%, #fef3c7 100%);
    box-shadow: var(--hp-shadow);
}

.hp-hero-slides {
    position: relative;
    border-radius: calc(var(--hp-radius-lg) - 6px);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #1e293b;
}

.hp-hero-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 0.65s ease;
    pointer-events: none;
}

.hp-hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.hp-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none !important;
    border-radius: 0 !important;
}

.hp-slide-caption {
    position: absolute;
    left: 0.85rem;
    bottom: 0.85rem;
    z-index: 2;
    margin: 0;
}

.hp-slide-caption span {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

.hp-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--hp-ink);
    box-shadow: var(--hp-shadow-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.hp-hero-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.05);
}

.hp-hero-prev { left: 0.65rem; }
.hp-hero-next { right: 0.65rem; }

.hp-hero-dots {
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 0.4rem;
}

.hp-hero-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: width 0.25s, background 0.25s;
}

.hp-hero-dot.is-active {
    width: 1.35rem;
    border-radius: 999px;
    background: #fff;
}

.hp-hero-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--hp-shadow-sm);
    border: 1px solid var(--hp-border);
    font-size: 0.78rem;
}

.hp-hero-float i {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    background: var(--hp-brand-soft);
    color: var(--hp-indigo);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-hero-float strong {
    display: block;
    color: var(--hp-ink);
    font-size: 0.9rem;
}

.hp-hero-float span {
    color: var(--hp-muted);
    font-weight: 600;
}

.hp-hero-float-a {
    top: 8%;
    right: -0.5rem;
}

.hp-hero-float-b {
    bottom: 12%;
    left: -0.75rem;
}

/* ---- Stats (floating card below hero) ---- */
.hp-stats {
    padding: 0 0 3rem !important;
    border: none !important;
    background: transparent !important;
    margin-top: -3.5rem;
    position: relative;
    z-index: 5;
}

.hp-stats .container {
    position: relative;
    background: #fff;
    border-radius: var(--hp-radius-xl);
    box-shadow: var(--hp-shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 1.65rem 1.35rem;
    overflow: hidden;
}

.hp-stats .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--hp-pink), var(--hp-gold-light), var(--hp-indigo));
}

.hp-stats-grid {
    gap: 1.25rem !important;
}

.hp-stat-card {
    border: none !important;
    border-radius: var(--hp-radius) !important;
    padding: 1.35rem 1.25rem !important;
    background: #fff !important;
    box-shadow: var(--hp-shadow-sm) !important;
    text-align: left !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hp-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hp-shadow) !important;
}

.hp-stat-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--hp-gold-soft), #fff);
    color: var(--hp-gold-dark);
    border: 1px solid var(--hp-gold-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.hp-stat-card h3 {
    font-size: 1.875rem !important;
    font-weight: 700 !important;
    color: var(--hp-ink) !important;
    letter-spacing: -0.02em;
}

.hp-stat-card p {
    font-size: 0.9375rem !important;
    letter-spacing: 0.015em;
    color: var(--hp-muted) !important;
}

/* ---- Section polish ---- */
.hp-modern .kicker {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--hp-pink-soft);
    color: var(--hp-pink-dark) !important;
    border: 1px solid var(--hp-pink-border);
    border-radius: 999px;
    font-size: 0.9375rem !important;
    font-weight: 700;
    letter-spacing: var(--hp-tracking-wider) !important;
    text-transform: uppercase;
    margin-bottom: 0.95rem;
    box-shadow: var(--hp-shadow-sm);
}

.hp-modern .section-head {
    margin-bottom: 3rem !important;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hp-modern .section-head h2 {
    font-size: clamp(2rem, 3.6vw, 2.75rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
    margin-bottom: 0.85rem !important;
    line-height: 1.2 !important;
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: currentColor !important;
    color: #0a0a0a;
}

/* Split headings: full words black, then full words pink — no per-letter gradient */
.hp-heading-dark {
    color: #0a0a0a !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
}

.hp-heading-pink {
    color: var(--hp-pink) !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
}

.hp-heading-light {
    color: #fff !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
}

.hp-partners-head .hp-heading-pink,
.hp-partners-head .hp-heading-dark {
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
}

.hp-modern .section-head.left h2,
.hp-modern .hp-inside-head h2,
.hp-modern .partner-reg-copy h2 {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: inherit;
}

.hp-inside-head h2 {
    color: #fff !important;
}

.partner-reg-copy h2 {
    color: var(--hp-navy) !important;
}

.hp-heading-gold,
.hp-text-gradient,
.hp-modern .hp-footer-site-heading {
    background: linear-gradient(135deg, var(--hp-pink) 0%, var(--hp-pink-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hp-modern .section-head p {
    font-size: var(--hp-text-lg);
    line-height: 1.65;
    letter-spacing: 0.01em;
    color: var(--hp-text-black);
    font-weight: 500;
}

.hp-two-col {
    gap: 3.5rem !important;
    align-items: center;
}

.hp-check-list li {
    margin-bottom: 0.55rem;
    font-size: var(--hp-text-base);
    color: var(--hp-text-black);
}

/* Audience cards */
.hp-audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.hp-audience-card {
    background: #fff;
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius-lg);
    padding: 1.55rem;
    box-shadow: var(--hp-shadow-sm);
    transition: transform 0.3s var(--hp-ease), box-shadow 0.3s var(--hp-ease), border-color 0.3s ease;
}

.hp-audience-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hp-shadow);
    border-color: var(--hp-brand-border);
}

.hp-audience-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--hp-gold-soft), #fff);
    color: var(--hp-gold-dark);
    border: 1px solid var(--hp-gold-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.hp-audience-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--hp-ink);
}

.hp-audience-card p {
    font-size: 0.9rem;
    color: var(--hp-muted);
    line-height: 1.6;
    margin: 0;
}

.hp-audience-need {
    margin-bottom: 0.5rem !important;
}

.hp-audience-get {
    color: var(--hp-ink) !important;
}

.hp-section-sub {
    font-size: 1rem;
    color: var(--hp-muted);
    margin-top: 0.35rem;
}

/* Problems — premium resource cards (image + black type) */
.hp-problems {
    background: #f4f6f8;
}

.hp-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.hp-resource-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.35s var(--hp-ease), box-shadow 0.35s var(--hp-ease);
}

.hp-resource-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 4px 8px rgba(15, 23, 42, 0.06),
        0 16px 40px rgba(15, 23, 42, 0.1);
}

.hp-resource-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8eef3;
}

.hp-resource-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--hp-ease);
}

.hp-resource-card:hover .hp-resource-card-media img {
    transform: scale(1.04);
}

.hp-resource-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.65rem 1.75rem 1.85rem;
}

.hp-resource-kicker {
    margin: 0 0 0.75rem;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hp-text-black);
    line-height: 1.35;
}

.hp-resource-card-body h3 {
    margin: 0 0 1.1rem;
    font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    font-size: clamp(1.35rem, 2vw, 1.5rem);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.01em;
    color: #003d52;
}

.hp-resource-problem-label,
.hp-resource-solve-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.4rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hp-resource-problem-label {
    color: #b42318;
    font-family: var(--hp-font-sans);
}

.hp-resource-problem-label i {
    display: none;
}

.hp-resource-problem-text {
    margin: 0 0 1.25rem;
    font-family: var(--hp-font-sans);
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.65;
    letter-spacing: 0.01em;
    color: var(--hp-text-black);
}

.hp-resource-solve-label {
    margin-top: auto;
    padding-top: 0.35rem;
    margin-bottom: 0.5rem;
    font-family: var(--hp-font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #003d52;
}

.hp-resource-solve-label i {
    display: none;
}

.hp-resource-solve-text {
    margin: 0;
    font-family: var(--hp-font-sans);
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.65;
    letter-spacing: 0.01em;
    color: var(--hp-text-black);
}

/* ---- Modules — Fedena-style (https://fedena.com/) ---- */
.hp-modules--fedena {
    --hp-fedena-bg-top: #001a33;
    --hp-fedena-bg-mid: #002b49;
    --hp-fedena-bg-bottom: #003d5c;
    --hp-fedena-accent: #e54b3c;
    --hp-fedena-card-title: #003d52;
    --hp-fedena-card-text: #1a1a1a;
}

.hp-modules.hp-modules--fedena {
    width: 100%;
    max-width: none;
    padding: clamp(4.5rem, 9vw, 6rem) 0 clamp(4rem, 8vw, 5.5rem) !important;
    margin: 0;
    border: none;
    background: linear-gradient(180deg, var(--hp-fedena-bg-top) 0%, var(--hp-fedena-bg-mid) 48%, var(--hp-fedena-bg-bottom) 100%);
    color: #fff;
}

.hp-modules-wrap {
    width: 100%;
    max-width: min(1320px, calc(100vw - 2.5rem));
    margin: 0 auto;
    padding: 0 clamp(1rem, 2.5vw, 2rem);
    box-sizing: border-box;
}

.hp-modules-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    align-items: stretch;
}

.hp-modules-intro {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    align-self: start;
    padding: 0.5rem 2rem 0 0;
}

.hp-modules-intro h2 {
    margin: 0 0 1.25rem;
    font-family: var(--hp-font-sans);
    font-size: clamp(2.125rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: #fff;
}

.hp-modules-accent {
    color: var(--hp-fedena-accent);
    display: inline;
}

.hp-modules-tagline {
    margin: 0;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.92);
    max-width: 20rem;
}

.hp-module-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    min-height: 21.5rem;
    padding: clamp(2.25rem, 3.5vw, 2.85rem) clamp(1.5rem, 2.2vw, 2rem) clamp(2rem, 3vw, 2.35rem);
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow:
        0 2px 4px rgba(0, 20, 40, 0.08),
        0 14px 36px rgba(0, 15, 35, 0.16);
    transition: transform 0.28s var(--hp-ease), box-shadow 0.28s var(--hp-ease);
}

.hp-module-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 8px 12px rgba(0, 0, 0, 0.08),
        0 20px 44px rgba(0, 0, 0, 0.18);
}

.hp-module-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 0 1.5rem;
    color: var(--hp-fedena-accent);
}

.hp-module-icon .hp-mod-svg {
    display: block;
    width: clamp(3rem, 5vw, 3.5rem);
    height: clamp(3rem, 5vw, 3.5rem);
    flex-shrink: 0;
}

.hp-module-card h3 {
    margin: 0 0 0.85rem;
    font-family: var(--hp-font-sans);
    font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
    color: var(--hp-fedena-card-title);
}

.hp-module-card p {
    margin: 0 0 1.65rem;
    flex: 1;
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.65;
    letter-spacing: 0.01em;
    color: var(--hp-fedena-card-text);
    max-width: 18.5rem;
}

.hp-module-link {
    margin-top: auto;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--hp-fedena-accent);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.hp-module-link:hover {
    color: var(--hp-color-hover-accent);
    text-decoration: none;
}

.hp-module-arrow {
    display: inline-block;
    margin-left: 0.15rem;
    transition: transform 0.2s ease;
}

.hp-module-link:hover .hp-module-arrow {
    transform: translateX(3px);
}

.hp-modules-cta {
    margin: 2.75rem 0 0;
    text-align: center;
}

.hp-modules-cta-count {
    margin: 0;
    font-size: clamp(2.75rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #fff;
}

.hp-modules-cta-text {
    margin: 0.65rem 0 1.35rem;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.01em;
}

.hp-modules-cta-btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    text-decoration: none;
    background: var(--hp-fedena-accent);
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(229, 75, 60, 0.35);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hp-modules-cta-btn:hover {
    color: #fff;
    background: #cf3f32;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(229, 75, 60, 0.45);
}

/* Row1: 2 right | Row2–3: 4 each | Row4: 2 left */
.hp-module-card--slot-1 { grid-column: 3; grid-row: 1; }
.hp-module-card--slot-2 { grid-column: 4; grid-row: 1; }
.hp-module-card--slot-3 { grid-column: 1; grid-row: 2; }
.hp-module-card--slot-4 { grid-column: 2; grid-row: 2; }
.hp-module-card--slot-5 { grid-column: 3; grid-row: 2; }
.hp-module-card--slot-6 { grid-column: 4; grid-row: 2; }
.hp-module-card--slot-7 { grid-column: 1; grid-row: 3; }
.hp-module-card--slot-8 { grid-column: 2; grid-row: 3; }
.hp-module-card--slot-9 { grid-column: 3; grid-row: 3; }
.hp-module-card--slot-10 { grid-column: 4; grid-row: 3; }
.hp-module-card--slot-11 { grid-column: 1; grid-row: 4; }
.hp-module-card--slot-12 { grid-column: 2; grid-row: 4; }

@media (max-width: 1100px) {
    .hp-modules-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-modules-intro {
        grid-column: 1 / -1;
        grid-row: auto;
        padding: 0 0 1.5rem;
        text-align: center;
    }

    .hp-modules-tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .hp-module-card--slot-1,
    .hp-module-card--slot-2,
    .hp-module-card--slot-3,
    .hp-module-card--slot-4,
    .hp-module-card--slot-5,
    .hp-module-card--slot-6,
    .hp-module-card--slot-7,
    .hp-module-card--slot-8,
    .hp-module-card--slot-9,
    .hp-module-card--slot-10,
    .hp-module-card--slot-11,
    .hp-module-card--slot-12 {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 520px) {
    .hp-modules-grid {
        grid-template-columns: 1fr;
    }

    .hp-module-card {
        min-height: 0;
    }
}

/* ---- Mobile app — Fedena-style promo ---- */
.hp-mobile-app {
    --hp-app-bg: #e84c3d;
    --hp-app-bg-deep: #d94335;
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 !important;
    overflow: hidden;
    background-color: var(--hp-app-bg);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%23ffffff' fill-opacity='0.07'%3E%3Cpath d='M18 78h12v8H18zm44-52h8v12h-8zm28 36a8 8 0 1 1 0-16 8 8 0 0 1 0 16zM30 28h10v10H30z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 120px 120px;
}

.hp-mobile-app-inner {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(300px, 1.05fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    max-width: min(1200px, calc(100vw - 2.5rem));
    margin: 0 auto;
    padding: clamp(3.5rem, 7vw, 5rem) clamp(1.25rem, 3vw, 2rem);
    box-sizing: border-box;
}

.hp-mobile-app-phones {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-phone {
    position: absolute;
    width: clamp(200px, 28vw, 260px);
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.28));
}

.hp-phone--back {
    left: 4%;
    top: 8%;
    transform: rotate(-8deg) scale(0.92);
    z-index: 1;
    opacity: 0.95;
}

.hp-phone--front {
    right: 6%;
    bottom: 0;
    z-index: 2;
}

.hp-phone-bezel {
    background: #1a1a1a;
    border-radius: 32px;
    padding: 10px 8px 14px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.hp-phone-bezel::before {
    content: "";
    display: block;
    width: 36%;
    height: 5px;
    margin: 0 auto 8px;
    background: #333;
    border-radius: 4px;
}

.hp-phone-screen {
    background: #f5f7fa;
    border-radius: 22px;
    overflow: hidden;
    min-height: 340px;
    padding: 14px 12px 16px;
    font-family: var(--hp-font-sans);
    font-size: 0.7rem;
    color: #334155;
}

.hp-phone-screen-title {
    margin: 0 0 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
}

.hp-phone-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.hp-phone-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e84c3d, #f59e0b);
}

.hp-phone-user {
    font-weight: 600;
    font-size: 0.72rem;
    color: #0f172a;
}

.hp-phone-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hp-phone-menu li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 8px;
    margin-bottom: 4px;
    background: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.68rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.hp-phone-menu i {
    width: 22px;
    text-align: center;
    font-size: 0.75rem;
    color: var(--hp-app-bg);
}

.hp-phone-screen--attendance .hp-phone-chart {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 14px;
}

.hp-phone-chart-ring {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 10px solid #e2e8f0;
    border-top-color: var(--hp-app-bg);
    border-right-color: var(--hp-app-bg);
    box-sizing: border-box;
}

.hp-phone-chart-val {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--hp-app-bg);
}

.hp-phone-mini-rows {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hp-phone-mini-rows li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 4px;
    border-bottom: 1px solid #e2e8f0;
}

.hp-phone-mini-rows span {
    display: block;
    height: 8px;
    border-radius: 4px;
    background: #cbd5e1;
}

.hp-phone-mini-rows span:first-child {
    width: 55%;
}

.hp-phone-mini-rows span:last-child {
    width: 28%;
}

.hp-mobile-app-copy {
    color: #fff;
}

.hp-mobile-app-copy h2 {
    margin: 0 0 1rem;
    font-family: var(--hp-font-sans);
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #fff;
}

.hp-mobile-app-lead {
    margin: 0 0 0.75rem;
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    font-weight: 600;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.98);
}

.hp-mobile-app-platform {
    margin: 0 0 1.25rem;
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}

.hp-mobile-app-desc {
    margin: 0 0 1.75rem;
    max-width: 34rem;
    font-size: clamp(0.9375rem, 1.2vw, 1.05rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
}

.hp-mobile-app-btn {
    display: inline-block;
    padding: 0.9rem 1.75rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--hp-app-bg);
    text-decoration: none;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hp-mobile-app-btn:hover {
    color: var(--hp-app-bg-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.hp-mobile-app-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
}

.hp-mobile-app-portal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
}

.hp-mobile-app-portal-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hp-mobile-app-portal-link:hover {
    color: #fff;
}

.hp-mobile-app-dots {
    height: 28px;
    background-color: #fff;
    background-image: radial-gradient(circle, #d1d5db 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    background-position: center;
}

/* ---- Startup India brand band — between mobile app & story video ---- */
.hp-startup-india-band {
    position: relative;
    width: 100%;
    margin: 0;
    padding: clamp(2.75rem, 6vw, 4.25rem) clamp(1rem, 3vw, 2rem) clamp(3rem, 6.5vw, 4.75rem);
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 48%, #f1f5f9 100%);
    box-sizing: border-box;
}

.hp-startup-india-band::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        #ff9933 0%,
        #ff9933 33.33%,
        #ffffff 33.33%,
        #ffffff 66.66%,
        #138808 66.66%,
        #138808 100%
    );
}

.hp-startup-india-band-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    box-sizing: border-box;
}

.hp-startup-india-figure {
    margin: 0;
    padding: clamp(0.65rem, 1.5vw, 1rem);
    background: #fff;
    border-radius: clamp(14px, 2vw, 20px);
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 10px 36px rgba(15, 23, 42, 0.08),
        0 28px 64px rgba(15, 23, 42, 0.06);
}

.hp-startup-india-banner {
    display: block;
    width: 100%;
    height: auto;
    border-radius: clamp(10px, 1.5vw, 16px);
}

@media (max-width: 640px) {
    .hp-startup-india-band {
        padding-top: 2rem;
        padding-bottom: 2.25rem;
    }

    .hp-startup-india-figure {
        padding: 0.5rem;
        border-radius: 12px;
        box-shadow:
            0 1px 2px rgba(15, 23, 42, 0.05),
            0 8px 24px rgba(15, 23, 42, 0.08);
    }

    .hp-startup-india-banner {
        border-radius: 8px;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .hp-startup-india-band-inner {
        width: min(960px, 100%);
    }
}

@media (min-width: 1281px) {
    .hp-startup-india-band {
        padding-top: 3.5rem;
        padding-bottom: 5rem;
    }
}

@media (max-width: 900px) {
    .hp-mobile-app-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hp-mobile-app-phones {
        min-height: 340px;
        margin-bottom: 0.5rem;
    }

    .hp-phone--back {
        left: 12%;
    }

    .hp-phone--front {
        right: 12%;
    }

    .hp-mobile-app-desc {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 520px) {
    .hp-mobile-app-phones {
        min-height: 300px;
    }

    .hp-phone {
        width: 190px;
    }

    .hp-phone-screen {
        min-height: 300px;
    }

    .hp-phone--back {
        left: 0;
    }

    .hp-phone--front {
        right: 0;
    }
}

/* ---- Story video — PowerSchool-style, below mobile app (text lower on frame) ---- */
.hp-story-video {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 !important;
    overflow: hidden;
    border: none;
    min-height: min(78vh, 760px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #0f172a;
}

.hp-story-video--has-video {
    min-height: min(82vh, 800px);
}

.hp-story-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #0f172a;
}

.hp-story-video-el,
.hp-story-fallback-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hp-story-scrim {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hp-story-container {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: min(78vh, 760px);
    padding: 0 0 clamp(4.5rem, 11vh, 7.5rem);
    padding-left: var(--hp-edge-x-wide);
    padding-right: var(--hp-edge-x);
    padding-top: clamp(14rem, 38vh, 22rem);
    box-sizing: border-box;
}

.hp-story-copy {
    width: min(52rem, 58%);
    max-width: 58%;
    flex: 0 0 auto;
}

.hp-story-copy .hp-hero-kicker {
    margin-bottom: 1.35rem;
    font-size: clamp(1rem, 1.35vw, 1.1875rem);
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.65),
        0 2px 14px rgba(0, 0, 0, 0.5);
}

.hp-story-copy h1,
.hp-story-copy h2,
.hp-story-copy h1 .hp-heading-light,
.hp-story-copy h1 .hp-heading-pink,
.hp-story-copy h2 .hp-heading-light,
.hp-story-copy h2 .hp-heading-pink {
    margin: 0 0 1.5rem;
    font-family: var(--hp-font-sans);
    font-size: clamp(3.75rem, 8.5vw, 7rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.028em;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: none !important;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.65),
        0 2px 10px rgba(0, 0, 0, 0.55),
        0 8px 36px rgba(0, 0, 0, 0.6);
}

.hp-story-copy .hp-story-desc,
.hp-story-copy .hp-hero-desc {
    margin-bottom: 2.25rem;
    max-width: 40rem;
    font-size: clamp(1.375rem, 2.15vw, 1.875rem);
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.01em;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.65),
        0 2px 16px rgba(0, 0, 0, 0.5);
}

.hp-story-watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.5rem 0.85rem 1.65rem;
    font-family: var(--hp-font-sans);
    font-size: 1.0625rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hp-story-watch-btn:hover {
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.hp-story-watch-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #0f172a;
    color: #fff;
    font-size: 0.7rem;
}

.hp-story-sound-toggle {
    z-index: 5;
}

@media (max-width: 900px) {
    .hp-story-container {
        padding-top: clamp(10rem, 32vh, 16rem);
        padding-left: var(--hp-edge-x-wide);
    }

    .hp-hero-powerschool.hp-hero-has-video.hp-hero-video-full .hp-hero-container.hp-story-container {
        padding-top: clamp(10rem, 32vh, 16rem);
    }

    .hp-story-copy {
        width: 92%;
        max-width: 92%;
    }

    .hp-story-copy h1,
    .hp-story-copy h2,
    .hp-story-copy h1 .hp-heading-light,
    .hp-story-copy h1 .hp-heading-pink,
    .hp-story-copy h2 .hp-heading-light,
    .hp-story-copy h2 .hp-heading-pink {
        font-size: clamp(2.75rem, 9.5vw, 4.25rem);
    }

    .hp-story-copy .hp-story-desc,
    .hp-story-copy .hp-hero-desc {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
    }
}

@media (max-width: 640px) {
    .hp-story-video,
    .hp-story-video--has-video {
        min-height: min(70vh, 620px);
    }

    .hp-story-container {
        min-height: min(70vh, 620px);
        padding-top: 8.5rem;
        padding-bottom: 3.5rem;
    }
}

/* Legacy aliases (other sections) */
.hp-problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

/* Feature problem/solution cards */
.hp-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
}

.hp-feature-card {
    background: #fff;
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius-lg);
    padding: 1.35rem;
    box-shadow: var(--hp-shadow-sm);
    transition: transform 0.3s var(--hp-ease), box-shadow 0.3s var(--hp-ease);
}

.hp-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hp-shadow);
}

.hp-feature-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.hp-feature-head i {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    background: var(--hp-gold-soft);
    color: var(--hp-gold-dark);
    border: 1px solid var(--hp-gold-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hp-feature-head h3 {
    font-size: 1rem;
    margin: 0;
    color: var(--hp-ink);
}

.hp-problem-mini {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0.6rem;
    background: #fff7ed;
    border-radius: 8px;
    border-left: 3px solid #f59e0b;
}

.hp-solve-mini {
    font-size: 0.88rem;
    color: var(--hp-ink);
    line-height: 1.5;
    margin: 0;
    padding: 0.5rem 0.6rem;
    background: #ecfdf5;
    border-radius: 8px;
    border-left: 3px solid #10b981;
}

.hp-problem-mini strong,
.hp-solve-mini strong {
    font-weight: 800;
}

/* Also works with — integration cards */
.hp-connect-section {
    background: linear-gradient(180deg, #fafbff 0%, #fff 100%);
}

.hp-connect-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.hp-connect-card {
    background: linear-gradient(180deg, #fff 0%, #fafcff 100%);
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius-lg);
    padding: 1.65rem 1.4rem;
    text-align: center;
    box-shadow: var(--hp-shadow-sm);
    transition: transform 0.3s var(--hp-ease), box-shadow 0.3s var(--hp-ease), border-color 0.3s ease;
}

.hp-connect-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(49, 112, 222, 0.2);
    border-color: var(--hp-brand-border);
}

.hp-connect-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
}

.hp-connect-icon--green {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 8px 20px -6px rgba(34, 197, 94, 0.5);
}

.hp-connect-icon--blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 8px 20px -6px rgba(59, 130, 246, 0.45);
}

.hp-connect-icon--violet {
    background: linear-gradient(135deg, #4a88e8, #3170de);
    box-shadow: 0 8px 20px -6px rgba(49, 112, 222, 0.45);
}

.hp-connect-icon--amber {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 8px 20px -6px rgba(245, 158, 11, 0.45);
}

.hp-connect-icon--teal {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    box-shadow: 0 8px 20px -6px rgba(20, 184, 166, 0.45);
}

.hp-connect-icon--indigo {
    background: linear-gradient(135deg, #4a88e8, #3170de);
    box-shadow: 0 8px 20px -6px rgba(49, 112, 222, 0.45);
}

.hp-connect-card h3 {
    font-size: 1.05rem;
    color: var(--hp-ink);
    margin-bottom: 0.35rem;
}

.hp-connect-card p {
    font-size: 0.88rem;
    color: var(--hp-muted);
    line-height: 1.5;
    margin: 0;
}

.hp-modern .module-card {
    border: 1px solid var(--hp-border) !important;
    border-radius: var(--hp-radius) !important;
    padding: 1.5rem !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hp-modern .module-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hp-shadow-sm);
    border-color: var(--hp-brand-border) !important;
}

.hp-modern .module-card i {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--hp-brand-soft), var(--hp-brand-soft-2));
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem !important;
    color: var(--hp-indigo) !important;
    font-size: 1.1rem !important;
}

.hp-modern .btn-primary {
    background: var(--hp-pink) !important;
    color: #fff !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    border: 1px solid rgba(196, 37, 82, 0.2) !important;
    box-shadow: 0 8px 24px rgba(222, 49, 99, 0.35) !important;
}

.hp-modern .alt-section {
    background: var(--hp-soft) !important;
    border: none !important;
}

.hp-modern .demo-form,
.hp-modern .partner-reg-form {
    border-radius: var(--hp-radius) !important;
    box-shadow: var(--hp-shadow-sm);
    border-color: var(--hp-border) !important;
}

.hp-modern .affiliate-card,
.hp-modern .policy-card,
.hp-modern .process-card {
    border-radius: var(--hp-radius) !important;
    border-color: var(--hp-border) !important;
    box-shadow: var(--hp-shadow-sm);
    transition: transform 0.2s ease;
}

.hp-modern .affiliate-card:hover,
.hp-modern .policy-card:hover {
    transform: translateY(-4px);
}

.hp-modern .gallery-tile {
    border-radius: var(--hp-radius) !important;
    overflow: hidden;
    box-shadow: var(--hp-shadow-sm);
}

/* ---- Footer ---- */
.hp-footer {
    margin-top: 2rem;
    background: #0b1020;
    color: #cbd5e1;
}

.hp-footer-cta {
    background: linear-gradient(135deg, #002443 0%, #3170de 45%, #2559b8 100%);
    padding: 3rem 0;
}

.hp-footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.hp-footer-cta-copy h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.hp-footer-cta-copy p {
    color: var(--hp-brand-soft-2);
    max-width: 28rem;
    font-size: 1rem;
}

.hp-footer-main {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    padding: 3.5rem 0 2.5rem;
}

.hp-footer-about {
    margin: 1rem 0 1.25rem;
    font-size: 0.92rem;
    line-height: 1.65;
    color: #94a3b8;
    max-width: 22rem;
}

.hp-logo-footer .hp-logo-mark {
    background: linear-gradient(135deg, #3170de, #4a88e8);
}

.hp-logo-footer .hp-logo-name {
    color: #fff;
}

.hp-logo-footer .hp-logo-tag {
    color: #94a3b8;
}

.hp-footer-social {
    display: flex;
    gap: 0.5rem;
}

.hp-footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.hp-footer-social a:hover {
    background: var(--hp-indigo);
    color: #fff;
    transform: translateY(-2px);
}

.hp-footer-col h4 {
    color: #f8fafc;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.15rem;
}

.hp-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hp-footer-col li {
    margin-bottom: 0.65rem;
}

.hp-footer-col a {
    color: #94a3b8;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s;
}

.hp-footer-col a:hover {
    color: #fff;
}

.hp-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.hp-footer-contact i {
    color: var(--hp-indigo);
    margin-top: 0.2rem;
    width: 1rem;
    text-align: center;
}

.hp-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 0 1.75rem;
}

.hp-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #64748b;
}

.hp-footer-legal {
    display: flex;
    gap: 1.25rem;
}

.hp-footer-legal a {
    color: #94a3b8;
    font-weight: 600;
}

.hp-footer-legal a:hover {
    color: #fff;
}

/* ---- Partners logo scroll (same as nipunindia.com) ---- */
.hp-partners {
    padding: 4rem 0;
    background: #f9fafb;
    overflow: hidden;
}

.hp-partners-head {
    text-align: center;
    margin: 0 auto 3rem;
}

.hp-partners-head h3 {
    font-family: 'Nunito Sans', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
    color: #002443;
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: #002443 !important;
}

@media (min-width: 1024px) {
    .hp-partners-head h3 {
        font-size: 1.875rem;
    }
}

.hp-partners-head p {
    margin: 0;
    font-size: 1rem;
    color: #4b5563;
}

.hp-partners-scroll-wrap {
    position: relative;
}

.hp-partners-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 5rem;
    z-index: 2;
    pointer-events: none;
}

.hp-partners-fade--left {
    left: 0;
    background: linear-gradient(90deg, #f9fafb, transparent);
}

.hp-partners-fade--right {
    right: 0;
    background: linear-gradient(270deg, #f9fafb, transparent);
}

.hp-partners-scroll-container {
    overflow: hidden;
    width: 100%;
}

.hp-partners-scroll {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
    animation: hp-partners-scroll 30s linear infinite;
}

.hp-partners-scroll:hover {
    animation-play-state: paused;
}

@keyframes hp-partners-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hp-partners-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-partners-logo img {
    display: block;
    width: auto !important;
    height: 4rem !important;
    max-width: none !important;
    max-height: 4rem !important;
    min-width: 0 !important;
    min-height: 0 !important;
    object-fit: contain;
    object-position: center center;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.hp-partners-logo img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

@media (min-width: 768px) {
    .hp-partners-logo img {
        height: 5rem !important;
        max-height: 5rem !important;
    }
}

@media (max-width: 767px) {
    .hp-partners-scroll {
        gap: 2rem;
    }

    .hp-partners-logo img {
        height: 3rem !important;
        max-height: 3rem !important;
    }
}

/* ---- White footer (nipunindia.com style) ---- */
.hp-footer-site {
    background: #fff;
    color: #374151;
    border-top: 1px solid #e5e7eb;
}

.hp-footer-site-main {
    padding: 4rem 0 3rem;
}

.hp-footer-site-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr 1fr;
    gap: 2.5rem;
}

.hp-footer-brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: inherit;
    margin-bottom: 1.25rem;
}

.hp-footer-brand-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    background: var(--hp-pink);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 8px 20px rgba(234, 173, 58, 0.35);
}

.hp-footer-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.hp-footer-brand-text strong {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--hp-navy);
    letter-spacing: -0.02em;
}

.hp-footer-brand-text small {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--hp-muted);
    margin-top: 0.15rem;
}

.hp-footer-site-about {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #4b5563;
    margin: 0 0 1.25rem;
    max-width: 22rem;
}

.hp-footer-site-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hp-footer-site-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #374151;
}

.hp-footer-contact-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    background: var(--hp-pink-soft);
    color: var(--hp-pink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.hp-footer-site-contact a {
    color: #374151;
    font-weight: 500;
}

.hp-footer-site-contact a:hover {
    color: var(--hp-color-hover-accent);
}

.hp-footer-site-heading {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 1.15rem;
}

.hp-footer-site-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hp-footer-site-col li {
    margin-bottom: 0.55rem;
}

.hp-footer-site-col a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #374151;
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hp-footer-site-col a i {
    font-size: 0.55rem;
    color: var(--hp-orange-light);
    transition: color 0.2s ease, transform 0.2s ease;
}

.hp-footer-site-col a:hover {
    color: var(--hp-color-hover-accent);
}

.hp-footer-site-col a:hover i {
    color: var(--hp-color-hover-accent-dark);
    transform: translateX(3px);
}

.hp-footer-site-bar {
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

.hp-footer-site-bar-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem 0;
}

.hp-footer-site-copy {
    margin: 0;
    font-size: 0.88rem;
    color: #4b5563;
}

.hp-footer-site-copy a {
    color: var(--hp-navy);
    font-weight: 600;
}

.hp-footer-site-copy a:hover {
    color: var(--hp-color-hover-accent);
}

.hp-footer-site-follow {
    text-align: center;
}

.hp-footer-site-follow h4 {
    margin: 0 0 0.85rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--hp-navy);
}

.hp-footer-site-social {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
}

.hp-social-btn {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 36, 67, 0.15);
}

.hp-social-btn:hover {
    transform: scale(1.08);
    opacity: 0.92;
}

.hp-social-btn--navy {
    background: var(--hp-navy);
}

.hp-social-btn--gold {
    background: var(--hp-pink);
}

.hp-footer-site-legal {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    font-size: 0.88rem;
}

.hp-footer-site-legal a {
    color: #4b5563;
    font-weight: 500;
}

.hp-footer-site-legal a:hover {
    color: var(--hp-color-hover-accent);
}

.hp-floating-actions {
    position: fixed;
    right: 1rem;
    bottom: 1.5rem;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hp-fab {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.35rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.hp-fab:hover {
    transform: scale(1.08);
}

.hp-fab--whatsapp {
    background: #25d366;
}

.hp-fab--call {
    background: var(--hp-pink);
}

/* Hide legacy header/footer rules bleed */
.hp-modern .gov-strip,
.hp-modern .green-ribbon,
.hp-modern .brand-band {
    display: none !important;
}

.hp-modern .site-footer:not(.hp-footer) {
    display: none;
}

/* Skip link */
.hp-modern .skip-link:focus {
    background: var(--hp-indigo);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .hp-footer-site-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hp-footer-site-brand {
        grid-column: 1 / -1;
    }

    .hp-footer-site-bar-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hp-footer-site-legal {
        justify-content: center;
    }

    .hp-footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .hp-footer-brand-col {
        grid-column: 1 / -1;
    }

    .hp-hero-float-a { right: 0; }
    .hp-hero-float-b { left: 0; }

    .hp-audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-connect-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hp-nav-toggle {
        display: flex;
    }

    .hp-nav {
        display: none;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem;
        background: #fff;
        border: 1px solid var(--hp-border);
        border-radius: var(--hp-radius);
        box-shadow: var(--hp-shadow);
        max-height: min(85vh, 32rem);
        overflow-y: auto;
    }

    .hp-nav.open {
        display: flex;
    }

    .hp-nav-menu {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.25rem;
    }

    .hp-nav-link-top {
        width: 100%;
        text-align: left;
        border-radius: 10px;
    }

    .hp-nav-cluster {
        width: 100%;
    }

    .hp-nav-cluster-toggle {
        width: 100%;
        justify-content: space-between;
        border-radius: 10px;
    }

    .hp-nav-cluster-panel {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0.25rem 0 0.5rem 0.75rem;
        display: none;
        min-width: 0;
    }

    .hp-nav-cluster.is-open .hp-nav-cluster-panel {
        display: block;
    }

    .hp-nav-actions {
        flex-direction: column;
        width: 100%;
        margin-top: 0.75rem;
        padding: 0.75rem 0 0 0;
        border-left: none;
        border-top: 1px solid var(--hp-border);
    }

    .hp-nav-actions .hp-btn {
        width: 100%;
        min-height: 2.75rem;
    }

    .hp-ticker {
        --hp-ticker-h: 1.875rem;
        font-size: 0.75rem;
        padding: 0.375rem 0.625rem;
    }

    .hp-ticker-marquee {
        scrollamount: 4;
    }

    .hp-hero {
        padding-top: 3rem !important;
        padding-bottom: 5rem !important;
        min-height: min(85vh, 640px);
    }

    .hp-audience-grid {
        grid-template-columns: 1fr;
    }

    .hp-hero-controls {
        bottom: 1rem;
    }

    .hp-connect-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hp-footer-cta-inner {
        text-align: center;
        justify-content: center;
    }

    .hp-footer-cta-actions .hp-btn {
        width: 100%;
    }

    .hp-footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 2.5rem;
    }

    .hp-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .hp-hero-trust {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hp-hero-actions .hp-btn {
        flex: 1 1 100%;
    }

    .hp-hero-arrow {
        width: 2.15rem;
        height: 2.15rem;
        font-size: 0.75rem;
    }
}

/* ---- Trust bar ---- */
.hp-trust-bar {
    padding: 1.5rem 0 2rem;
    border-bottom: 1px solid var(--hp-border);
    background: #fff;
}

.hp-trust-bar-inner {
    text-align: center;
}

.hp-trust-bar-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hp-muted);
    margin-bottom: 1rem;
}

.hp-trust-logos {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    padding: 0;
    margin: 0;
}

.hp-trust-logos li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: var(--hp-soft);
    border: 1px solid var(--hp-border);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--hp-ink);
}

.hp-trust-logos i {
    color: var(--hp-gold-dark);
}

/* ---- Feature photo ---- */
.hp-feature-photo {
    position: relative;
    border-radius: var(--hp-radius-lg);
    overflow: hidden;
    box-shadow: var(--hp-shadow);
}

.hp-feature-photo img {
    border: none !important;
    border-radius: 0 !important;
    width: 100%;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.hp-feature-photo-badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--hp-indigo-dark);
    box-shadow: var(--hp-shadow-sm);
}

.hp-feature-photo-badge i {
    color: #10b981;
}

/* ---- Gallery masonry ---- */
.hp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 1rem;
}

.hp-gallery-item {
    position: relative;
    margin: 0;
    border-radius: var(--hp-radius);
    overflow: hidden;
    box-shadow: var(--hp-shadow-sm);
    grid-row: span 1;
}

.hp-gallery-item--wide {
    grid-column: span 2;
}

.hp-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.hp-gallery-item:hover img {
    transform: scale(1.04);
}

.hp-gallery-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem 0.85rem 0.75rem;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.75));
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    border: none;
    text-align: left;
}

.hp-gallery-credit {
    margin-top: 1.25rem;
    text-align: center;
    font-size: 0.82rem;
    color: var(--hp-muted);
}

.hp-gallery-credit a {
    color: var(--hp-indigo);
    font-weight: 600;
    transition: color 0.2s ease;
}

.hp-gallery-credit a:hover {
    color: var(--hp-color-hover-accent);
}

/* ---- Reviews — corporate testimonial grid ---- */
.hp-reviews {
    position: relative;
    overflow: hidden;
    padding: clamp(4.5rem, 9vw, 6.5rem) 0 !important;
    background: #fafbfc;
    border: none;
}

.hp-reviews-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 45% at 100% 0%, rgba(222, 49, 99, 0.05), transparent 55%),
        radial-gradient(ellipse 50% 40% at 0% 100%, rgba(49, 112, 222, 0.06), transparent 50%);
}

.hp-reviews-container {
    position: relative;
    z-index: 1;
}

.hp-reviews-head {
    max-width: 40rem;
    margin: 0 auto 3.25rem;
    text-align: center;
}

.hp-reviews-kicker {
    display: inline-block;
    margin: 0 0 1.1rem;
    padding: 0.45rem 1.1rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hp-pink-dark);
    background: linear-gradient(180deg, #fff 0%, var(--hp-pink-soft) 100%);
    border: 1px solid var(--hp-pink-border);
    border-radius: 999px;
    box-shadow: 0 2px 12px rgba(222, 49, 99, 0.08);
}

.hp-reviews-head h2 {
    margin: 0 0 1.1rem;
    font-family: var(--hp-font-sans);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: currentColor !important;
    color: #0a0a0a;
}

.hp-reviews-brand,
.hp-reviews-head .hp-heading-pink {
    color: var(--hp-pink) !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
}

.hp-reviews-lead {
    margin: 0 auto;
    max-width: 34rem;
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.65;
    color: var(--hp-muted);
}

.hp-reviews-grids {
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.hp-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.hp-reviews-grid--second {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hp-review-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: clamp(1.65rem, 2.5vw, 2rem);
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 18px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 10px 32px -8px rgba(15, 23, 42, 0.08);
    transition:
        transform 0.35s var(--hp-ease),
        box-shadow 0.35s var(--hp-ease),
        border-color 0.35s var(--hp-ease);
}

.hp-review-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, var(--hp-brand), var(--hp-pink));
    opacity: 0.85;
}

.hp-review-card:hover {
    transform: translateY(-5px);
    border-color: #d4e4fc;
    box-shadow:
        0 4px 8px rgba(15, 23, 42, 0.05),
        0 20px 44px -10px rgba(49, 112, 222, 0.14);
}

.hp-review-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
    flex-wrap: wrap;
}

.hp-review-stars {
    display: flex;
    gap: 0.2rem;
    font-size: 0.8rem;
    color: #f59e0b;
}

.hp-review-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #059669;
}

.hp-review-verified i {
    font-size: 0.75rem;
}

.hp-review-quote {
    position: relative;
    margin: 0 0 1.5rem;
    padding: 0 0 0 0.15rem;
    flex: 1;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: 0.01em;
    color: #334155;
    border: none;
}

.hp-review-quote::before {
    content: "\201C";
    display: block;
    margin-bottom: 0.35rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1;
    color: #c7d9f5;
}

.hp-review-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: auto;
    padding-top: 1.15rem;
    border-top: 1px solid #eef2f6;
}

.hp-review-author img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #e2e8f0, 0 4px 12px rgba(15, 23, 42, 0.1);
    flex-shrink: 0;
}

.hp-review-author-meta cite {
    display: block;
    font-style: normal;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--hp-navy);
}

.hp-review-role {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--hp-muted);
}

@media (max-width: 960px) {
    .hp-reviews-grid,
    .hp-reviews-grid--second {
        grid-template-columns: 1fr;
        max-width: 26rem;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .hp-review-card {
        animation: hpReviewIn 0.65s var(--hp-ease) backwards;
    }

    .hp-reviews-grid--top .hp-review-card:nth-child(2) {
        animation-delay: 0.07s;
    }

    .hp-reviews-grid--top .hp-review-card:nth-child(3) {
        animation-delay: 0.14s;
    }

    .hp-reviews-grid--second .hp-review-card:nth-child(1) {
        animation-delay: 0.21s;
    }

    .hp-reviews-grid--second .hp-review-card:nth-child(2) {
        animation-delay: 0.28s;
    }
}

@keyframes hpReviewIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Footer v3 ---- */
.hp-footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hp-btn-whatsapp {
    background: #25d366 !important;
    color: #fff !important;
    box-shadow: 0 10px 24px -8px rgba(37, 211, 102, 0.5);
}

.hp-footer-badges {
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hp-footer-badges-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 2rem;
    padding: 1.15rem 0;
}

.hp-footer-badges-inner span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
}

.hp-footer-badges-inner i {
    color: #818cf8;
}

.hp-footer-main {
    grid-template-columns: 1.35fr 0.9fr 0.9fr 1fr 1.15fr;
}

.hp-footer-newsletter p {
    font-size: 0.88rem;
    color: #94a3b8;
    margin-bottom: 0.85rem;
    line-height: 1.5;
}

.hp-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hp-newsletter-form input {
    width: 100%;
    min-height: 2.75rem;
    padding: 0 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
}

.hp-newsletter-form input::placeholder {
    color: #64748b;
}

.hp-newsletter-form input:focus {
    outline: none;
    border-color: #818cf8;
}

.hp-newsletter-form .hp-btn {
    width: 100%;
}

.hp-fab-whatsapp {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 150;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 12px 28px -6px rgba(37, 211, 102, 0.55);
    transition: transform 0.2s ease;
}

.hp-fab-whatsapp:hover {
    transform: scale(1.06);
    color: #fff;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1200px) {
    .hp-footer-main {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .hp-footer-brand-col,
    .hp-footer-newsletter {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1024px) {
    .hp-problem-grid,
    .hp-resource-grid,
    .hp-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .hp-gallery-item--wide {
        grid-column: span 2;
    }

}

@media (max-width: 640px) {
    .hp-problem-grid,
    .hp-resource-grid,
    .hp-feature-grid {
        grid-template-columns: 1fr;
    }

    .hp-resource-card-body h3 {
        font-size: 1.25rem;
    }

    .hp-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .hp-gallery-item--wide {
        grid-column: span 1;
    }

    .hp-footer-badges-inner {
        gap: 0.75rem 1.25rem;
    }
}

/* ---- Premium polish ---- */
.hp-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 40% at 85% 15%, rgba(244, 200, 66, 0.15), transparent 65%),
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(49, 112, 222, 0.1), transparent 70%);
}

.hp-hero-tags li {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hp-hero-slide-strip {
    border-radius: 1.15rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.hp-trust-bar {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.hp-trust-logos li {
    background: #fff;
    box-shadow: var(--hp-shadow-sm);
    transition: transform 0.25s var(--hp-ease), border-color 0.25s ease;
}

.hp-trust-logos li:hover {
    transform: translateY(-2px);
    border-color: var(--hp-brand-border);
}

.hp-modern main > .section.alt-section,
.hp-modern main > .hp-section.hp-audience {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
}

.hp-modern .demo-form,
.hp-modern .partner-reg-form {
    border: 1px solid var(--hp-border) !important;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.hp-modern .demo-form:focus-within,
.hp-modern .partner-reg-form:focus-within {
    border-color: var(--hp-brand-border) !important;
    box-shadow: 0 0 0 4px rgba(49, 112, 222, 0.12);
}

.hp-modern input:focus,
.hp-modern select:focus,
.hp-modern textarea:focus {
    border-color: var(--hp-indigo) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(49, 112, 222, 0.15);
}

.hp-gallery-item {
    border-radius: var(--hp-radius-lg);
    box-shadow: var(--hp-shadow-sm);
}

.hp-gallery-item:hover {
    box-shadow: var(--hp-shadow);
}

.hp-reveal {
    opacity: 1;
    transform: none;
}

.hp-logo-mark {
    border-radius: 16px;
}

.hp-nav-cluster-panel {
    border-radius: var(--hp-radius);
    box-shadow: var(--hp-shadow-lg);
}

.hp-stat-card {
    position: relative;
    overflow: hidden;
}

.hp-stat-card::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--hp-pink), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hp-stat-card:hover::after {
    opacity: 1;
}


@media (prefers-reduced-motion: reduce) {
    .hp-hero-bg-img {
        transition: opacity 0.3s ease;
    }

    .hp-hero-bg-img.is-active {
        transform: none;
        filter: none;
    }

    .hp-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hp-fab-whatsapp,
    .hp-floating-actions .hp-fab,
    .hp-partners-scroll {
        animation: none;
    }

    .hp-partners-scroll {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .hp-btn-primary::after {
        display: none;
    }
}

/* ===== Homepage typography polish — larger type, near-black body copy ===== */
.hp-modern .policy-card p,
.hp-modern .policy-card h3,
.hp-modern .affiliate-card p,
.hp-modern .affiliate-card h3,
.hp-modern .process-card p,
.hp-modern .demo-form label,
.hp-modern .demo-form input,
.hp-modern .demo-form select,
.hp-modern .demo-form textarea,
.hp-modern .demo-note.is-success {
    color: #15803d !important;
    font-weight: 700;
}

.hp-modern .demo-note.is-error {
    color: #c62828 !important;
}

.hp-modern .demo-note,
.hp-modern .partner-reg-copy p,
.hp-modern .partner-reg-points li,
.hp-modern .hp-prose p,
.hp-modern .bullet-list li,
.hp-modern .text-sm,
.hp-modern .hp-gallery-credit,
.hp-modern .hp-trust-title,
.hp-modern .hp-trust-map-label,
.hp-modern .hp-trust-logo-name,
.hp-modern .hp-modules-tagline,
.hp-modern .hp-modules-footnote,
.hp-modern .hp-mobile-app-desc,
.hp-modern .hp-mobile-app-lead,
.hp-modern .hp-mobile-app-platform,
.hp-modern .hp-review-quote,
.hp-modern .hp-review-role,
.hp-modern .hp-reviews-lead,
.hp-modern .hp-partners-head p,
.hp-modern .hp-footer-about,
.hp-modern .hp-contact-card p {
    color: var(--hp-text-black);
}

.hp-modern .policy-card p,
.hp-modern .affiliate-card p,
.hp-modern .process-card p,
.hp-modern .partner-reg-copy p,
.hp-modern .hp-prose p,
.hp-modern .bullet-list li {
    font-size: var(--hp-text-base);
    line-height: 1.65;
    font-weight: 500;
}

.hp-modern .policy-card h3,
.hp-modern .affiliate-card h3 {
    font-size: 1.2rem;
    color: var(--hp-navy);
}

.hp-modern .demo-form label {
    font-size: var(--hp-text-sm);
    font-weight: 700;
}

.hp-modern .demo-form input,
.hp-modern .demo-form select,
.hp-modern .demo-form textarea {
    font-size: var(--hp-text-base);
}

.hp-modern .hp-trust-title {
    font-size: clamp(1.5rem, 2.6vw, 2.125rem);
}

.hp-modern .hp-trust-map-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--hp-text-black);
}

.hp-modern .hp-trust-logo-name {
    font-size: 0.8125rem;
}

.hp-modern .hp-modules-tagline {
    font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
    max-width: 24rem;
}

.hp-modern .hp-modules-footnote,
.hp-modern .hp-modules-cta-text {
    font-size: 1.125rem;
}

.hp-modern .hp-mobile-app-desc {
    font-size: clamp(1rem, 1.4vw, 1.125rem);
}

.hp-modern .hp-review-quote {
    font-size: 1.0625rem;
    color: var(--hp-text-black);
}

.hp-modern .hp-review-role {
    font-size: 0.9375rem;
    color: var(--hp-text-black);
}

.hp-modern .hp-reviews-lead {
    font-size: clamp(1.1rem, 1.6vw, 1.28125rem);
}

.hp-modern .hp-stat-card p {
    font-size: var(--hp-text-base) !important;
    color: var(--hp-text-black) !important;
}

.hp-modern .hp-btn {
    font-size: 1.0625rem;
}

.hp-modern .hp-btn-lg,
.hp-modern .hp-hero-cta {
    font-size: 1.1875rem;
}

.hp-modern .hp-logo-tag {
    font-size: 0.9375rem;
    color: var(--hp-text-black);
}

/* ===== Final enterprise polish — laptop / desktop / mobile ===== */
html.hp-page-root {
    overflow-x: clip;
    text-size-adjust: 100%;
}

.hp-modern img:not(.hp-partners-logo img),
.hp-modern video {
    max-width: 100%;
    height: auto;
}

.hp-modern .section-head h2,
.hp-modern .hp-reviews-head h2,
.hp-modern .hp-partners-head h3 {
    text-wrap: balance;
}

.hp-modern :focus-visible {
    outline: 2px solid var(--hp-brand);
    outline-offset: 3px;
}

.hp-modern ::selection {
    background: rgba(49, 112, 222, 0.18);
    color: var(--hp-ink);
}

/* Softer, agency-grade hovers — not “template bounce” */
.hp-resource-card:hover,
.hp-modern .affiliate-card:hover,
.hp-modern .policy-card:hover,
.hp-gallery-item:hover {
    transform: translateY(-3px);
}

.hp-resource-card {
    transition: transform 0.28s var(--hp-ease), box-shadow 0.28s var(--hp-ease);
}

.hp-logo-mark {
    box-shadow: 0 6px 16px -6px rgba(222, 49, 99, 0.35);
}

/* No staggered review pop-in on load (reads as AI template) */
.hp-review-card {
    animation: none !important;
}

/* Scroll reveal: desktop/tablet only, subtle */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
    .hp-reveal {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity 0.55s var(--hp-ease), transform 0.55s var(--hp-ease);
    }

    .hp-reveal.is-visible {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 900px) {
    .hp-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Mobile menu — lock scroll, full-width panel */
body.hp-nav-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .hp-header-inner {
        flex-wrap: nowrap;
    }

    .hp-nav.open {
        position: fixed;
        top: calc(var(--hp-ticker-h, 2.125rem) + var(--hp-header-h) + 0.35rem);
        left: var(--hp-edge-x);
        right: var(--hp-edge-x);
        z-index: 220;
        max-height: calc(100dvh - var(--hp-header-h) - var(--hp-ticker-h, 2.125rem) - 1.5rem);
        -webkit-overflow-scrolling: touch;
    }

    .hp-nav-link-top,
    .hp-nav-cluster-toggle,
    .hp-nav-actions .hp-btn {
        min-height: 2.75rem;
    }

    .hp-hero-powerschool .hp-hero-container,
    .hp-hero-powerschool .hp-hero-container--edge {
        padding-left: var(--hp-edge-x);
        padding-right: var(--hp-edge-x);
        min-height: min(82vh, 720px);
    }

    .hp-hero-copy {
        width: 100%;
        max-width: 100%;
        flex: 1 1 auto;
        padding-right: 0;
    }

    .hp-story-container {
        padding-left: var(--hp-edge-x);
        padding-right: var(--hp-edge-x);
    }

    .hp-story-copy {
        width: 100%;
        max-width: 100%;
    }

    .hp-modern .section-head {
        text-align: center;
    }

    .hp-modern .section-head.left {
        text-align: left;
    }

    .hp-reviews-head {
        padding: 0 var(--hp-edge-x);
    }

    .hp-floating-actions {
        right: max(1rem, env(safe-area-inset-right, 0px));
        bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    }

    .hp-fab {
        width: 3.25rem;
        height: 3.25rem;
    }

    /* 16px+ inputs — no iOS zoom jump */
    .hp-modern input,
    .hp-modern select,
    .hp-modern textarea {
        font-size: max(1rem, var(--hp-text-base));
    }
}

/* Tablet / laptop (768–1280) */
@media (min-width: 641px) and (max-width: 1280px) {
    .hp-hero-powerschool .hp-hero-copy:not(.hp-story-copy) h1 {
        font-size: clamp(3rem, 6.5vw, 5rem);
    }

    .hp-hero-copy {
        width: min(52%, 36rem);
        max-width: 52%;
        flex: 0 1 52%;
    }

    .hp-modules-intro {
        padding: 2rem 1.75rem;
    }
}

/* Large desktop — comfortable line length */
@media (min-width: 1281px) {
    .hp-edge-x-wide,
    .hp-hero-powerschool .hp-hero-container--edge,
    .hp-story-container {
        --hp-edge-x-wide: max(3rem, 7.5rem);
    }

    .hp-modern .section-head p,
    .hp-reviews-lead {
        max-width: 42rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hp-modern .section-head.left p {
        margin-left: 0;
        margin-right: 0;
    }
}

/* WhatsApp FAB — calm shadow, no pulsing glow */
.hp-fab-whatsapp {
    animation: none !important;
}

.hp-floating-actions .hp-fab--whatsapp {
    box-shadow: 0 10px 24px -8px rgba(37, 211, 102, 0.45);
}

.hp-fab-whatsapp:hover,
.hp-floating-actions .hp-fab:hover {
    transform: scale(1.04);
}

/* Partners marquee — smooth on all viewports */
.hp-partners-scroll {
    animation-timing-function: linear;
}

@media (max-width: 640px) {
    :root {
        --hp-header-h: 4.5rem;
    }

    .hp-logo-mark {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.15rem;
    }

    .hp-logo-name {
        font-size: 1.25rem;
    }

    .hp-section {
        padding: clamp(2.75rem, 8vw, 3.5rem) 0 !important;
    }

    .hp-reviews {
        padding: clamp(3rem, 8vw, 4rem) 0 !important;
    }

    .hp-partners-head {
        text-align: center;
        padding: 0 var(--hp-edge-x);
    }

    .hp-footer-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

@media (min-width: 1024px) and (max-width: 1440px) {
    .hp-modern .container {
        padding-left: clamp(1.5rem, 3vw, 2.25rem);
        padding-right: clamp(1.5rem, 3vw, 2.25rem);
    }
}

/* Link hover accent — orange (replaces legacy gold/yellow on footer + homepage) */
.hp-footer-site-col a:hover,
.hp-footer-site-col a:hover i,
.hp-footer-site-contact a:hover,
.hp-footer-site-copy a:hover,
.hp-footer-site-legal a:hover {
    color: var(--hp-color-hover-accent);
}

.hp-footer-site-col a:hover i {
    color: var(--hp-color-hover-accent-dark);
}

.hp-modern main > section:not(.hp-hero):not(.hp-mobile-app):not(.hp-story-video) a[href]:not([class*="hp-btn"]):not(.hp-nav-link):hover {
    color: var(--hp-color-hover-accent);
}
