/* Homepage 2026-10 redesign — body.hv-home only. Navy + Nipun logo accents (orange, blue, green). */
body.hv-home {
    --hv-navy: #0d3a72;
    --hv-navy-deep: #0a2b55;
    --hv-ink: #14233b;
    --hv-text: #3c4b63;
    --hv-muted: #52617a;
    --hv-line: #e3e9f2;
    --hv-soft: #f3f7fc;
    --hv-orange: #f7901e;
    --hv-orange-ink: #8a4a00;
    --hv-orange-soft: #fff1de;
    --hv-blue: #1a6fbf;
    --hv-blue-soft: #e3eefb;
    --hv-green: #2e9d3f;
    --hv-green-ink: #1f5f22;
    --hv-green-soft: #e5f4e3;
    --hv-gold: #ffd28a;
    --hv-display: Manrope, Figtree, "Noto Sans Telugu", system-ui, sans-serif;
    --hv-body: Figtree, "Noto Sans Telugu", system-ui, sans-serif;
    /* One type scale for the whole page (Manrope headings, Figtree body). */
    --hv-fs-xs: 14px;     /* eyebrows, meta labels */
    --hv-fs-sm: 15.5px;   /* captions, trust line, small buttons */
    --hv-fs-base: 17px;   /* body copy, card descriptions */
    --hv-fs-md: 18px;     /* card titles, FAQ questions, buttons */
    --hv-fs-lg: 20px;     /* lead paragraphs, step titles */
    --hv-fs-xl: 22px;     /* h3 / card headings */
    --hv-fs-h2: clamp(30px, 3.6vw, 44px);
    --hv-fs-h1: clamp(38px, 5.2vw, 60px);
    --hv-fs-stat: clamp(36px, 3.4vw, 46px);
    --hv-lh-body: 1.6;
}
body.hv-home main { font-family: var(--hv-body); font-size: var(--hv-fs-base); line-height: var(--hv-lh-body); color: var(--hv-ink); }
body.hv-home main a { text-decoration: none; }
.hv-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.hv-wrap--narrow { max-width: 880px; }
.hv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
.hv-h1 {
    margin: 0;
    font-family: var(--hv-display);
    font-weight: 800;
    font-size: var(--hv-fs-h1);
    line-height: 1.06;
    letter-spacing: -0.025em;
    color: var(--hv-navy);
    text-wrap: balance;
}
.hv-h2 {
    margin: 0;
    font-family: var(--hv-display);
    font-weight: 800;
    font-size: var(--hv-fs-h2);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--hv-navy);
    text-wrap: balance;
}
.hv-h2--light { color: #fff; }
.hv-lead { margin: 0; font-size: var(--hv-fs-lg); line-height: 1.55; color: var(--hv-text); max-width: 600px; }
.hv-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.hv-head p { margin: 0; font-size: var(--hv-fs-md); line-height: 1.55; color: var(--hv-text); }
.hv-head-row { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-end; justify-content: space-between; }
.hv-eyebrow { font-size: var(--hv-fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hv-eyebrow--orange { color: #c96a00; }
.hv-eyebrow--green { color: var(--hv-green-ink); }
.hv-eyebrow--gold { color: var(--hv-gold); }
.hv-pill { align-self: flex-start; font-size: var(--hv-fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.hv-pill--green { color: #2e7d32; background: var(--hv-green-soft); }

/* Buttons */
.hv-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hv-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 26px; border-radius: 12px; font-weight: 700; font-size: var(--hv-fs-md); line-height: 1.2; transition: background .15s ease, border-color .15s ease, transform .08s ease; }
.hv-btn:active { transform: translateY(1px); }
.hv-btn--navy { background: var(--hv-navy); color: #fff !important; }
.hv-btn--navy:hover { background: var(--hv-navy-deep); }
.hv-btn--orange { background: var(--hv-orange); color: #1d1205 !important; }
.hv-btn--orange:hover { background: #e9820f; }
.hv-btn--ghost { background: #fff; border: 1.5px solid #c9d6e8; color: var(--hv-navy) !important; }
.hv-btn--ghost:hover { border-color: var(--hv-navy); }
.hv-btn--sm { min-height: 46px; padding: 11px 20px; font-size: var(--hv-fs-sm); }
.hv-more { margin: 0; }
.hv-more a { font-weight: 700; color: var(--hv-navy); }
.hv-more a:hover { color: #c96a00; }

/* Tones */
.hv-tone--orange { background: var(--hv-orange-soft); color: #c96a00; }
.hv-tone--green { background: var(--hv-green-soft); color: #2e7d32; }
.hv-tone--blue { background: var(--hv-blue-soft); color: var(--hv-navy); }

/* Hero */
.hv-hero { background: var(--hv-soft); border-bottom: 1px solid var(--hv-line); }
.hv-hero-grid { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hv-hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hv-trust { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: var(--hv-fs-sm); color: var(--hv-muted); }
.hv-trust li { display: flex; gap: 7px; align-items: center; }
.hv-trust svg { width: 18px; height: 18px; }
.hv-hero-side { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.hv-hero-card { background: #fff; border: 1px solid #dfe7f2; border-radius: 20px; padding: 22px; box-shadow: 0 24px 48px -28px rgba(13, 58, 114, .45); display: flex; gap: 18px; align-items: center; }
.hv-hero-card img { width: 88px; height: 88px; object-fit: contain; flex-shrink: 0; }
.hv-hero-card div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hv-hero-card strong { font-family: var(--hv-display); font-weight: 800; font-size: var(--hv-fs-xl); line-height: 1.25; color: var(--hv-navy); }
.hv-hero-card span { font-size: var(--hv-fs-sm); line-height: 1.5; color: var(--hv-muted); }
.hv-aud { background: #fff; border: 1px solid #dfe7f2; border-radius: 16px; padding: 15px 18px; display: flex; gap: 16px; align-items: center; transition: border-color .15s ease, box-shadow .15s ease; }
.hv-aud:hover { border-color: #b7c6e0; box-shadow: 0 10px 24px -18px rgba(13, 58, 114, .5); }
.hv-aud-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hv-aud-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.hv-aud-text strong { font-weight: 700; color: var(--hv-ink); font-size: var(--hv-fs-md); line-height: 1.3; }
.hv-aud-text span { font-size: var(--hv-fs-sm); line-height: 1.5; color: var(--hv-muted); }

/* Numbers */
.hv-stats { background: var(--hv-navy); color: #fff; }
.hv-stats-grid { list-style: none; margin-top: 0; margin-bottom: 0; padding-top: 36px; padding-bottom: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 22px; }
.hv-stats-grid li { display: flex; flex-direction: column; gap: 2px; }
.hv-stats-grid strong { font-family: var(--hv-display); font-weight: 800; font-size: var(--hv-fs-stat); line-height: 1.1; color: var(--hv-gold); font-variant-numeric: tabular-nums; }
.hv-stats-grid span:not(.hp-sx-count) { font-size: var(--hv-fs-sm); line-height: 1.45; color: #c9d8ee; }

/* Sections */
.hv-section { background: #fff; padding: 88px 0; }
.hv-section--tight { padding-top: 40px; }
.hv-section--soft { background: var(--hv-soft); border-top: 1px solid var(--hv-line); border-bottom: 1px solid var(--hv-line); }
.hv-section > .hv-wrap { display: flex; flex-direction: column; gap: 36px; }

/* Loop */
.hv-loop-grid { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 48px 64px !important; align-items: center; }
.hv-loop { margin: 0; flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.hv-loop-box { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1 / 1; }
.hv-loop-box svg { display: block; width: 100%; height: 100%; }
.hv-loop-word { font-family: var(--hv-display); font-weight: 800; font-size: 26px; letter-spacing: .04em; fill: #fff; }
.hv-loop-spin { transform-box: view-box; transform-origin: 230px 230px; animation: hvLoopSpin 22s linear infinite; }
.hv-loop-box:hover .hv-loop-spin { animation-play-state: paused; }
@keyframes hvLoopSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hv-loop-spin { animation: none; } }
.hv-loop-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 48%; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.hv-loop-center img { width: 62%; height: auto; }
.hv-loop-center span { font-family: var(--hv-display); font-weight: 800; font-size: var(--hv-fs-xs); letter-spacing: .22em; color: var(--hv-navy); }
.hv-loop-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hv-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.hv-steps li { display: flex; gap: 16px; align-items: flex-start; }
.hv-step-n { width: 44px; height: 44px; border-radius: 12px; font-family: var(--hv-display); font-weight: 800; font-size: var(--hv-fs-lg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hv-steps div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hv-steps strong { font-family: var(--hv-display); font-weight: 800; font-size: var(--hv-fs-lg); line-height: 1.3; color: var(--hv-ink); }
.hv-steps div span { font-size: var(--hv-fs-base); line-height: var(--hv-lh-body); color: var(--hv-muted); }
.hv-loop-foot { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; padding-top: 18px; border-top: 1px solid var(--hv-line); }
.hv-tagline { font-family: var(--hv-display); font-weight: 800; font-size: var(--hv-fs-lg); color: var(--hv-blue); }

/* Modules */
.hv-modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.hv-module { border: 1px solid var(--hv-line); border-radius: 14px; padding: 20px; display: flex; gap: 14px; align-items: flex-start; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.hv-module:hover { border-color: #b7c6e0; box-shadow: 0 12px 26px -20px rgba(13, 58, 114, .55); }
.hv-module-icon { width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--hv-blue-soft); color: var(--hv-navy); }
.hv-module--1 .hv-module-icon { background: var(--hv-orange-soft); color: #c96a00; }
.hv-module--2 .hv-module-icon { background: var(--hv-green-soft); color: #2e7d32; }
.hv-module-icon svg { width: 24px; height: 24px; }
.hv-module-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hv-module-text strong { font-weight: 700; color: var(--hv-ink); font-size: var(--hv-fs-md); line-height: 1.3; }
.hv-module-text span { font-size: var(--hv-fs-sm); line-height: 1.5; color: var(--hv-muted); }

/* Guides */
.hv-seg { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; background: #fff; border: 1px solid #dfe7f2; border-radius: 999px; }
.hv-seg a { padding: 10px 18px; border-radius: 999px; color: var(--hv-ink); font-weight: 600; font-size: var(--hv-fs-sm); }
.hv-seg a:hover { background: var(--hv-soft); }
.hv-seg a.is-active { background: var(--hv-navy); color: #fff; }
.hv-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.hv-guide { background: #fff; border: 1px solid #dfe7f2; border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: border-color .15s ease, box-shadow .15s ease; }
.hv-guide:hover { border-color: #b7c6e0; box-shadow: 0 14px 30px -22px rgba(13, 58, 114, .6); }
.hv-guide-meta { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--hv-navy); }
.hv-cat--parents { color: var(--hv-orange-ink); }
.hv-cat--students { color: var(--hv-green-ink); }
.hv-guide strong { font-family: var(--hv-display); font-weight: 700; font-size: var(--hv-fs-lg); line-height: 1.3; color: var(--hv-ink); }
.hv-guide-desc { font-size: var(--hv-fs-sm); line-height: 1.5; color: var(--hv-muted); }

/* Checklists */
.hv-tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.hv-tip { border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.hv-tip--green { background: var(--hv-green-soft); }
.hv-tip--orange { background: var(--hv-orange-soft); }
.hv-tip--blue { background: var(--hv-blue-soft); }
.hv-tip h3 { margin: 0; font-family: var(--hv-display); font-weight: 800; font-size: var(--hv-fs-xl); line-height: 1.3; color: var(--hv-ink); }
.hv-tip ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: var(--hv-fs-base); line-height: var(--hv-lh-body); color: #2f3e55; }
.hv-tip a { font-weight: 700; margin-top: auto; }
.hv-tip--green a { color: var(--hv-green-ink); }
.hv-tip--orange a { color: var(--hv-orange-ink); }
.hv-tip--blue a { color: var(--hv-navy); }

/* About */
.hv-about { background: var(--hv-navy); color: #fff; padding: 80px 0; }
.hv-about-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.hv-about-copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.hv-about-copy p { margin: 0; font-size: var(--hv-fs-base); line-height: var(--hv-lh-body); color: #c9d8ee; }
.hv-about-contact { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.hv-about-contact a, .hv-link-light { color: var(--hv-gold) !important; font-weight: 700; }
.hv-regs { flex: 1 1 520px; min-width: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.hv-regs div { border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; padding: 16px 18px; background: rgba(255, 255, 255, .06); }
.hv-regs dt { font-size: 13px; color: #c9d8ee; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.hv-regs dd { margin: 4px 0 0; font-size: var(--hv-fs-base); font-weight: 700; color: #fff; overflow-wrap: anywhere; }

/* FAQ */
.hv-faq { display: flex; flex-direction: column; gap: 12px; }
.hv-faq details { border: 1px solid var(--hv-line); border-radius: 14px; padding: 18px 22px; background: #fff; }
.hv-faq summary { cursor: pointer; font-weight: 700; font-size: var(--hv-fs-md); line-height: 1.4; color: var(--hv-ink); }
.hv-faq p { margin: 10px 0 0; font-size: var(--hv-fs-base); color: var(--hv-muted); line-height: var(--hv-lh-body); }

/* Demo band (existing form) — calmer heading to match */
body.hv-home #demo-register .hp-demo-head h2 { font-family: var(--hv-display); font-size: var(--hv-fs-h2); line-height: 1.12; letter-spacing: -0.02em; color: var(--hv-navy); }
body.hv-home #demo-register .hp-demo-lead,
body.hv-home #demo-register .hp-dyn-demo-intro p { font-family: var(--hv-body); font-size: var(--hv-fs-base); line-height: var(--hv-lh-body); }
body.hv-home #demo-register .hp-dyn-demo-intro h2 { font-family: var(--hv-display); font-size: var(--hv-fs-xl); }

@media (max-width: 640px) {
    body.hv-home {
        --hv-fs-sm: 15px;
        --hv-fs-base: 16.5px;
        --hv-fs-md: 17.5px;
        --hv-fs-lg: 19px;
        --hv-fs-xl: 21px;
        --hv-fs-h2: 30px;
        --hv-fs-h1: 36px;
        --hv-fs-stat: 34px;
    }
    .hv-hero-grid { padding-top: 44px; padding-bottom: 48px; gap: 32px; }
    .hv-btn { width: 100%; }
    .hv-loop-word { font-size: 22px; }
    .hv-faq details { padding: 16px 18px; }
    .hv-section { padding: 60px 0; }
    .hv-section--tight { padding-top: 24px; }
    .hv-modules, .hv-guides { grid-template-columns: 1fr; }
    .hv-hero-card { padding: 18px; }
    .hv-hero-card img { width: 64px; height: 64px; }
}

/* Shield the redesign from the older homepage skins (hp-dynamics-ui, hp-structure-polish, …) that
   still load on this page: they paint the first section dark, reset section padding, recolour h2
   and reorder sections. */
html body.hv-home main:not(#hv-x):not(#hv-y):not(#hv-z) { display: block !important; }
html body.hv-home main > section:not(#hv-x):not(#hv-y):not(#hv-z) { order: 0 !important; margin: 0 !important; }
body.hv-home main #home.hv-hero {
    background: #f3f7fc !important;
    background-image: none !important;
    color: var(--hv-ink) !important;
    padding: 0 !important;
    min-height: 0 !important;
}
body.hv-home main #home.hv-hero::before,
body.hv-home main #home.hv-hero::after { content: none !important; display: none !important; }
body.hv-home main #home.hv-hero .hv-h1 { color: var(--hv-navy) !important; -webkit-text-fill-color: var(--hv-navy) !important; background: none !important; }
body.hv-home main #home.hv-hero .hv-lead { color: var(--hv-text) !important; }
html body.hv-home main > section.hv-stats:not(#hv-x):not(#hv-y):not(#hv-z) { padding: 0 !important; background: var(--hv-navy) !important; }
html body.hv-home main > section.hv-section:not(#hv-x):not(#hv-y):not(#hv-z) { padding: 88px 0 !important; }
html body.hv-home main > section.hv-section--tight:not(#hv-x):not(#hv-y):not(#hv-z) { padding-top: 40px !important; }
html body.hv-home main > section.hv-about:not(#hv-x):not(#hv-y):not(#hv-z) { padding: 80px 0 !important; background: var(--hv-navy) !important; }
html body.hv-home main .hv-h2:not(#hv-x):not(#hv-y):not(#hv-z) { color: var(--hv-navy) !important; font-size: var(--hv-fs-h2) !important; line-height: 1.12 !important; }
html body.hv-home main .hv-h1:not(#hv-x):not(#hv-y):not(#hv-z) { font-size: var(--hv-fs-h1) !important; line-height: 1.06 !important; }
html body.hv-home main .hv-h2--light:not(#hv-x):not(#hv-y):not(#hv-z) { color: #fff !important; }
@media (max-width: 640px) {
    html body.hv-home main > section.hv-section:not(#hv-x):not(#hv-y):not(#hv-z) { padding: 60px 0 !important; }
    html body.hv-home main > section.hv-section--tight:not(#hv-x):not(#hv-y):not(#hv-z) { padding-top: 24px !important; }
}
html body.hv-home #about-nipun h2.hv-h2--light:not(#hv-x):not(#hv-y):not(#hv-z) { color: #fff !important; -webkit-text-fill-color: #fff !important; background: none !important; }

/* Font families: older skins (home-classy, home-dynamics-ui) force "Segoe UI" on headings and copy with
   !important. Re-assert the one pair used on this page — Figtree body, Manrope display — at a higher
   specificity so the type scale above actually renders in those faces. */
html body.hv-home main:not(#hv-x):not(#hv-y):not(#hv-z),
html body.hv-home main :is(p, li, dd, dt, summary, a, strong, span:not([class*="fa"]), label, input, select, textarea, button):not(#hv-x):not(#hv-y):not(#hv-z) {
    font-family: var(--hv-body) !important;
}
html body.hv-home main :is(.hv-h1, .hv-h2, .hv-tip h3, .hv-steps strong, .hv-guide strong, .hv-hero-card strong, .hv-tagline, .hv-stats-grid strong, .hv-step-n, .hv-loop-center span, #demo-register .hp-demo-head h2, #demo-register .hp-dyn-demo-intro h2):not(#hv-x):not(#hv-y):not(#hv-z) {
    font-family: var(--hv-display) !important;
}
html body.hv-home main :is(.hv-h1, .hv-h2):not(#hv-x):not(#hv-y):not(#hv-z) { font-weight: 800 !important; letter-spacing: -0.02em !important; }
