:root {
    --hl-brand-50:  #eaf2ff;
    --hl-brand-100: #d3e3ff;
    --hl-brand-300: #6ea4f5;
    --hl-brand-500: #044ecf;
    --hl-brand-600: #0a3fb1;
    --hl-brand-700: #102f86;
    --hl-brand-900: #061a4d;
    --hl-accent:    #f5c451;
    --hl-accent-soft: #fff3ce;
    --hl-danger:    #e02d3c;
    --hl-success:   #1c7a3d;
    --hl-ink-50:    #f5f8fd;
    --hl-ink-100:   #e6ecf5;
    --hl-ink-300:   #c5cee0;
    --hl-ink-500:   #697490;
    --hl-ink-700:   #2c3756;
    --hl-ink-900:   #0a1130;
}

html, body {
    background: #fff;
    color: var(--hl-ink-900);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--hl-brand-500); text-decoration: none; }
a:hover { color: var(--hl-brand-600); }

.text-brand   { color: var(--hl-brand-500); }
.text-accent  { color: var(--hl-accent); }
.text-ink-500 { color: var(--hl-ink-500) !important; }
.text-ink-700 { color: var(--hl-ink-700) !important; }
.text-ink-900 { color: var(--hl-ink-900) !important; }
.bg-ink-50    { background-color: var(--hl-ink-50); }
.bg-ink-900   { background-color: var(--hl-ink-900); }

/* ----------------------------------------------------------------------------
   Buttons
---------------------------------------------------------------------------- */

.btn-brand {
    background: var(--hl-brand-500);
    color: #fff;
    border: 1px solid var(--hl-brand-500);
    font-weight: 600;
    box-shadow: 0 8px 20px -8px rgba(4, 78, 207, 0.45);
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn-brand:hover, .btn-brand:focus {
    background: var(--hl-brand-600);
    border-color: var(--hl-brand-600);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px -10px rgba(4, 78, 207, 0.55);
}
.btn-brand:active { transform: translateY(0); }

.btn-outline-brand {
    color: var(--hl-brand-500);
    border-color: var(--hl-brand-100);
    font-weight: 600;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(4px);
}
.btn-outline-brand:hover {
    background: var(--hl-brand-50);
    color: var(--hl-brand-700);
    border-color: var(--hl-brand-300);
}

/* ----------------------------------------------------------------------------
   Navbar
---------------------------------------------------------------------------- */

.hl-navbar {
    background: rgba(255,255,255,0.86);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--hl-ink-100);
    position: sticky; top: 0; z-index: 1020;
}
.hl-logo-dot {
    width: 12px; height: 12px;
    background: var(--hl-brand-500);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-shadow: 0 0 0 4px rgba(4, 78, 207, 0.15);
}

/* ----------------------------------------------------------------------------
   Brand lockup (navbar) — gradient mark + stacked HATZALAH / LIVE wordmark.
   Mirrors the favicon and the Figma navbar; replaces the legacy `.hl-logo-dot`
   single-dot mark on the home/admin/onboarding navbars.
---------------------------------------------------------------------------- */

.hl-brand            { gap: 10px !important; text-decoration: none; }
.hl-brand:hover      { text-decoration: none; }

.hl-brand-mark {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px -8px rgba(37, 99, 235, 0.55);
    flex: 0 0 auto;
}
.hl-brand-mark svg {
    width: 18px; height: 18px;
}

.hl-brand-wordmark {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}
.hl-brand-name {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #2563eb;
    line-height: 1;
}
.hl-brand-sub {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.35em;
    color: #94a3b8;
    line-height: 1;
    margin-top: 3px;
}

/* ----------------------------------------------------------------------------
   Live indicator (pulsing red dot)
---------------------------------------------------------------------------- */

.hl-live-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--hl-danger); display: inline-block;
    box-shadow: 0 0 0 0 rgba(224, 45, 60, 0.55);
    animation: hl-pulse 1.6s infinite;
}
@keyframes hl-pulse {
    0%   { box-shadow: 0 0 0 0   rgba(224, 45, 60, 0.6); }
    70%  { box-shadow: 0 0 0 10px rgba(224, 45, 60, 0);   }
    100% { box-shadow: 0 0 0 0   rgba(224, 45, 60, 0);   }
}

/* ----------------------------------------------------------------------------
   Hero
---------------------------------------------------------------------------- */

.hl-hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 84px;
    background:
      radial-gradient(900px 480px at 88% -8%, rgba(4,78,207,0.18), transparent 60%),
      radial-gradient(700px 360px at -10% 110%, rgba(245,196,81,0.30), transparent 70%),
      radial-gradient(600px 300px at 50% 120%, rgba(4,78,207,0.10), transparent 70%),
      linear-gradient(180deg, #fff 0%, var(--hl-ink-50) 100%);
    border-bottom: 1px solid var(--hl-ink-100);
}
.hl-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(10,17,48,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(10,17,48,0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(800px 460px at 30% 30%, #000 40%, transparent 75%);
    -webkit-mask-image: radial-gradient(800px 460px at 30% 30%, #000 40%, transparent 75%);
    pointer-events: none;
}
.hl-hero > .container { position: relative; z-index: 1; }

.hl-hero h1 {
    font-size: clamp(2.6rem, 5.5vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -0.022em;
    line-height: 1.02;
}
.hl-hero h1 .hl-grad {
    background: linear-gradient(135deg, var(--hl-brand-500) 0%, var(--hl-brand-700) 60%, var(--hl-accent) 130%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hl-hero .lead {
    font-size: 1.18rem;
    color: var(--hl-ink-500);
    max-width: 620px;
    line-height: 1.55;
}

.hl-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--hl-ink-100);
    color: var(--hl-ink-700);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    box-shadow: 0 6px 18px -10px rgba(10,17,48,0.18);
}
.hl-eyebrow b { color: var(--hl-brand-500); font-weight: 700; }

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--hl-brand-500);
}

/* ----------------------------------------------------------------------------
   Live dispatch card (hero right side)
---------------------------------------------------------------------------- */

.hl-dispatch {
    position: relative;
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--hl-ink-100);
    box-shadow:
      0 30px 60px -30px rgba(10,17,48,0.30),
      0 12px 32px -16px rgba(4,78,207,0.18);
    transform: rotate(-1deg);
    transition: transform .25s ease;
}
.hl-dispatch:hover { transform: rotate(0deg) translateY(-4px); }
.hl-dispatch::after {
    content: "";
    position: absolute;
    inset: -10px -10px auto auto;
    width: 80px; height: 80px;
    background: var(--hl-accent);
    border-radius: 50%;
    filter: blur(28px);
    opacity: 0.55;
    z-index: -1;
}
.hl-dispatch-head {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--hl-ink-100);
    font-size: 13px;
}
.hl-dispatch-body { padding: 18px; }
.hl-mini-map {
    height: 96px;
    border-radius: 10px;
    margin: 10px 0 14px;
    background:
      radial-gradient(circle at 30% 40%, rgba(4,78,207,0.15), transparent 50%),
      radial-gradient(circle at 70% 60%, rgba(245,196,81,0.20), transparent 50%),
      linear-gradient(135deg, var(--hl-ink-50), #fff),
      repeating-linear-gradient(45deg, rgba(105,116,144,0.10) 0 2px, transparent 2px 14px);
    border: 1px dashed var(--hl-ink-100);
    position: relative;
}
.hl-mini-map .pin {
    position: absolute; top: 38%; left: 28%;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--hl-danger);
    box-shadow: 0 0 0 4px rgba(224,45,60,0.18), 0 0 0 8px rgba(224,45,60,0.08);
    animation: hl-pulse 1.6s infinite;
}
.hl-mini-map .hospital {
    position: absolute; top: 56%; left: 64%;
    width: 18px; height: 18px; border-radius: 4px;
    background: var(--hl-brand-500);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800;
    box-shadow: 0 4px 10px -4px rgba(4,78,207,0.6);
}
.hl-mini-map .route {
    position: absolute;
    top: 45%; left: 35%;
    width: 32%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--hl-brand-500) 0 6px, transparent 6px 12px);
    transform: rotate(20deg);
    transform-origin: left center;
    border-radius: 2px;
}

.hl-stats-row { display: flex; justify-content: space-between; gap: 8px; }
.hl-stat-mini { font-size: 12px; color: var(--hl-ink-500); }
.hl-stat-mini b { display: block; font-size: 16px; color: var(--hl-ink-900); font-weight: 700; }

.hl-avatars { display: flex; align-items: center; }
.hl-avatars .av {
    width: 28px; height: 28px; border-radius: 50%;
    border: 2px solid #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; color: #fff;
    margin-right: -8px;
}
.hl-avatars .av:nth-child(1) { background: #044ecf; }
.hl-avatars .av:nth-child(2) { background: #1c7a3d; }
.hl-avatars .av:nth-child(3) { background: #946400; }
.hl-avatars .av:nth-child(4) { background: #102f86; }
.hl-avatars .more {
    margin-left: 4px; font-size: 12px; font-weight: 600; color: var(--hl-ink-500);
}

/* Floating ETA chip */
.hl-eta {
    position: absolute;
    left: -18px; bottom: 18%;
    background: var(--hl-ink-900);
    color: #fff;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 13px;
    box-shadow: 0 14px 30px -12px rgba(10,17,48,0.6);
    transform: rotate(2deg);
}
.hl-eta b { color: var(--hl-accent); font-weight: 800; font-size: 18px; display: block; line-height: 1; }

/* ----------------------------------------------------------------------------
   Trust strip
---------------------------------------------------------------------------- */

.hl-trust {
    background: #fff;
    border-top: 1px solid var(--hl-ink-100);
    border-bottom: 1px solid var(--hl-ink-100);
    padding: 32px 0;
}
.hl-trust .label {
    font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--hl-ink-500); font-weight: 700;
}
.hl-trust .agency {
    font-weight: 700;
    color: var(--hl-ink-700);
    letter-spacing: -0.01em;
    opacity: 0.85;
}
.hl-trust .agency::before {
    content: "";
    display: inline-block;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--hl-brand-500);
    margin-right: 8px;
    vertical-align: middle;
}

/* Uploaded agency logos */
.hl-logo-row { row-gap: 18px !important; }
.hl-logo {
    max-height: 64px;
    max-width: 240px;
    width: auto;
    height: auto;
    object-fit: contain;
    /* No grayscale / opacity dampening — show logos in their original colors. */
    transition: transform .2s ease;
}
.hl-logo:hover {
    transform: translateY(-2px) scale(1.04);
}
a:has(> .hl-logo) { display: inline-flex; }

/* Text fallback for when a logo image fails to load. */
.hl-logo-fallback {
    display: inline-flex;
    align-items: center;
    height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--hl-ink-50);
    border: 1px solid var(--hl-ink-100);
    font-weight: 700;
    color: var(--hl-ink-700);
    letter-spacing: -0.01em;
}
.hl-logo-fallback::before {
    content: "";
    display: inline-block;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--hl-brand-500);
    margin-right: 10px;
}

/* Staggered slide-in: each logo eases in from the left in sequence.
   We animate the row's direct children (which can be either an <a> wrapper
   or a bare <img>), so the slide-in happens once per item. */
.hl-logo-row > * {
    animation: hl-logo-slide-in 650ms cubic-bezier(.22, .61, .36, 1) both;
}
.hl-logo-row > *:nth-child(1)  { animation-delay:   0ms; }
.hl-logo-row > *:nth-child(2)  { animation-delay:  90ms; }
.hl-logo-row > *:nth-child(3)  { animation-delay: 180ms; }
.hl-logo-row > *:nth-child(4)  { animation-delay: 270ms; }
.hl-logo-row > *:nth-child(5)  { animation-delay: 360ms; }
.hl-logo-row > *:nth-child(6)  { animation-delay: 450ms; }
.hl-logo-row > *:nth-child(7)  { animation-delay: 540ms; }
.hl-logo-row > *:nth-child(8)  { animation-delay: 630ms; }
.hl-logo-row > *:nth-child(9)  { animation-delay: 720ms; }
.hl-logo-row > *:nth-child(10) { animation-delay: 810ms; }

@keyframes hl-logo-slide-in {
    from { opacity: 0; transform: translateX(-28px); }
    to   { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
    .hl-logo-row > * { animation: none !important; }
}

/* ----------------------------------------------------------------------------
   Value-prop band
---------------------------------------------------------------------------- */

.hl-band {
    background: linear-gradient(180deg, #fff, var(--hl-ink-50));
    padding: 56px 0;
}
.hl-band .item h3 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--hl-brand-500), var(--hl-brand-700));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
}
.hl-band .item p {
    color: var(--hl-ink-500); font-size: 0.95rem; margin: 4px 0 0;
}

/* ----------------------------------------------------------------------------
   Feature cards
---------------------------------------------------------------------------- */

.feature-card {
    border: 1px solid var(--hl-ink-100);
    border-radius: 14px;
    padding: 24px;
    background: #fff;
    height: 100%;
    transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: "";
    position: absolute;
    inset: 0 -40% auto auto;
    height: 80px;
    background: radial-gradient(closest-side, rgba(4,78,207,0.10), transparent);
    opacity: 0;
    transition: opacity .2s ease;
}
.feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--hl-brand-100);
    box-shadow: 0 18px 36px -20px rgba(10,17,48,0.18);
}
.feature-card:hover::before { opacity: 1; }
.feature-card .icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--hl-brand-50);
    color: var(--hl-brand-500);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
}
.feature-card .icon svg { width: 22px; height: 22px; }
.feature-card h5 { font-weight: 700; margin: 0 0 6px; }
.feature-card p  { color: var(--hl-ink-500); margin: 0; font-size: 0.95rem; }

/* ----------------------------------------------------------------------------
   Steps (how it works)
---------------------------------------------------------------------------- */

.hl-step {
    position: relative;
    padding: 28px;
    border: 1px solid var(--hl-ink-100);
    border-radius: 14px;
    background: #fff;
    height: 100%;
    transition: transform .15s ease, box-shadow .2s ease;
}
.hl-step:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -20px rgba(10,17,48,0.16); }
.hl-step .step-num {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hl-brand-500), var(--hl-brand-700));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1rem;
    box-shadow: 0 8px 18px -8px rgba(4,78,207,0.45);
    margin-bottom: 14px;
}
.hl-step h5 { font-weight: 700; margin-bottom: 6px; }
.hl-step p  { color: var(--hl-ink-500); margin: 0; }
.hl-step.done::before {
    content: "";
    position: absolute;
    top: 48px; right: -22px;
    width: 24px; height: 2px;
    background: var(--hl-brand-100);
    border-radius: 2px;
}

/* ----------------------------------------------------------------------------
   "Old way vs Hatzalah way" comparison
---------------------------------------------------------------------------- */

.hl-compare-card {
    border: 1px solid var(--hl-ink-100);
    border-radius: 16px;
    padding: 28px;
    background: #fff;
    height: 100%;
}
.hl-compare-card.bad {
    background: linear-gradient(180deg, #fff, #fcf2f3);
    border-color: #f1d2d6;
}
.hl-compare-card.good {
    background: linear-gradient(180deg, #fff, #ecf3ff);
    border-color: var(--hl-brand-100);
    box-shadow: 0 22px 40px -24px rgba(4,78,207,0.25);
}
.hl-compare-card h4 { font-weight: 800; margin: 0 0 14px; }
.hl-compare-card .tag {
    display: inline-block;
    font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px; border-radius: 999px;
    margin-bottom: 8px;
}
.hl-compare-card.bad  .tag { background: #fdecec; color: #a52e2e; }
.hl-compare-card.good .tag { background: var(--hl-brand-50); color: var(--hl-brand-700); }
.hl-compare-card ul { list-style: none; padding: 0; margin: 0; }
.hl-compare-card li {
    padding: 10px 0;
    border-top: 1px solid rgba(10,17,48,0.06);
    display: flex; gap: 10px; align-items: flex-start;
    color: var(--hl-ink-700);
    font-size: 0.95rem;
}
.hl-compare-card li:first-child { border-top: 0; }
.hl-compare-card .mark {
    flex: 0 0 auto;
    width: 20px; height: 20px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 12px;
    margin-top: 2px;
}
.hl-compare-card.bad  .mark { background: #fdecec; color: var(--hl-danger); }
.hl-compare-card.good .mark { background: #e6f5ec; color: var(--hl-success); }

/* ----------------------------------------------------------------------------
   CTA banner
---------------------------------------------------------------------------- */

.hl-cta {
    position: relative;
    background:
      radial-gradient(700px 360px at 90% 0%, rgba(245,196,81,0.30), transparent 60%),
      radial-gradient(800px 400px at -10% 110%, rgba(4,78,207,0.45), transparent 60%),
      linear-gradient(135deg, var(--hl-brand-700), var(--hl-brand-900));
    color: #fff;
    border-radius: 24px;
    padding: 48px 40px;
    overflow: hidden;
}
.hl-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: radial-gradient(600px 300px at 50% 0%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(600px 300px at 50% 0%, #000 30%, transparent 75%);
}
.hl-cta h2 { font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.hl-cta p  { color: rgba(255,255,255,0.78); margin: 8px 0 0; }
.hl-cta .btn-light {
    background: #fff;
    color: var(--hl-brand-700);
    font-weight: 700;
    border: 0;
}
.hl-cta .btn-light:hover { background: var(--hl-brand-50); color: var(--hl-brand-900); }

/* ----------------------------------------------------------------------------
   Form section
---------------------------------------------------------------------------- */

#demo .card {
    border: 1px solid var(--hl-ink-100);
    border-radius: 16px;
    box-shadow: 0 24px 48px -28px rgba(10,17,48,0.20);
}
#demo .form-control { border-color: var(--hl-ink-100); }
#demo .form-control:focus {
    border-color: var(--hl-brand-300);
    box-shadow: 0 0 0 0.2rem rgba(4,78,207,0.18);
}

/* ----------------------------------------------------------------------------
   Form sections (onboarding)
---------------------------------------------------------------------------- */

.hl-form-section {
    border: 1px solid var(--hl-ink-100);
    border-radius: 12px;
    background: #fff;
    margin-bottom: 16px;
}
.hl-form-section > summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 18px;
    font-weight: 600;
    color: var(--hl-ink-900);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hl-form-section > summary::-webkit-details-marker { display: none; }
.hl-form-section[open] > summary { border-bottom: 1px solid var(--hl-ink-100); }
.hl-form-section > .body { padding: 18px; }
.hl-form-section > summary::after {
    content: "▾";
    color: var(--hl-ink-500);
    transition: transform .15s ease;
}
.hl-form-section[open] > summary::after { transform: rotate(180deg); }

/* Section status badge — sits inline in the <summary> next to the title.
   The 'auto' margin-left pushes it to the right so it sits next to the
   chevron added by the ::after rule above. */
.hl-section-badge {
    display: inline-block;
    margin-left: auto;
    margin-right: 12px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.6;
    vertical-align: middle;
}
.hl-section-badge.empty    { background: var(--hl-ink-100); color: var(--hl-ink-500); }
.hl-section-badge.filled   { background: #fff7e6;            color: #b45309; border: 1px solid #fde2b3; }
.hl-section-badge.complete { background: #e8f6ed;            color: #166534; border: 1px solid #bfe5cc; }

/* Make the summary a flex row so the badge can use margin-left:auto. */
.hl-form-section > summary {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* OTP code input */
.hl-otp-input {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 1.6rem;
    text-align: center;
    letter-spacing: 0.4em;
}

/* ----------------------------------------------------------------------------
   Status pills
---------------------------------------------------------------------------- */

.hl-pill {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid;
}
.hl-pill.pending  { background: #fff8e6; color: #946400; border-color: #f7d780; }
.hl-pill.approved { background: #e8f7ed; color: #1c7a3d; border-color: #a3dab7; }
.hl-pill.rejected { background: #fdecec; color: #a52e2e; border-color: #f1b6b6; }
.hl-pill.draft    { background: var(--hl-ink-50); color: var(--hl-ink-700); border-color: var(--hl-ink-100); }
.hl-pill.submitted { background: var(--hl-brand-50); color: var(--hl-brand-700); border-color: var(--hl-brand-100); }

/* ----------------------------------------------------------------------------
   Footer
---------------------------------------------------------------------------- */

.hl-footer {
    border-top: 1px solid var(--hl-ink-100);
    background: var(--hl-ink-50);
}

/* ----------------------------------------------------------------------------
   Reduced motion
---------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .hl-live-dot, .hl-mini-map .pin { animation: none; }
    .hl-dispatch { transform: none; }
}

/* ============================================================================
   HOME PAGE V2 — Figma "Enhance Live Call Design" port.
   All rules in this block are prefixed `hl2-` and are scoped to the new
   home page sections. Existing pages (admin, onboarding, etc.) are untouched.
============================================================================ */

:root {
    --hl2-navy:        #0f2347;
    --hl2-navy2:       #1e3a5f;
    --hl2-blue:        #2563eb;
    --hl2-blue-2:      #1d4ed8;
    --hl2-blue-soft:   #eff6ff;
    --hl2-blue-border: #bfdbfe;
    --hl2-sky:         #0ea5e9;
    --hl2-sky-soft:    #f0f9ff;
    --hl2-sky-border:  #bae6fd;
    --hl2-indigo:      #6366f1;
    --hl2-indigo-soft: #eef2ff;
    --hl2-indigo-border:#c7d2fe;
    --hl2-green:       #10b981;
    --hl2-green-soft:  #ecfdf5;
    --hl2-green-border:#a7f3d0;
    --hl2-amber:       #f97316;
    --hl2-red:         #dc2626;
    --hl2-red-soft:    #fee2e2;
    --hl2-red-border:  #fca5a5;
    --hl2-slate-50:    #f8fafc;
    --hl2-slate-100:   #f1f5f9;
    --hl2-slate-200:   #e2e8f0;
    --hl2-slate-400:   #94a3b8;
    --hl2-slate-500:   #64748b;
    --hl2-slate-600:   #475569;
    --hl2-slate-700:   #334155;
    --hl2-slate-900:   #0f172a;
    --hl2-text:        #0B1220;
    --hl2-muted:       #51607A;
    --hl2-line:        #DCE3F0;
}

/* Use Inter on the new home-page sections without forcing it on the rest of
   the site (preserves the existing -apple-system stack on admin pages, etc.). */
.hl2-hero, .hl2-livedemo, .hl2-features, .hl2-trust, .hl2-stats-band,
.hl2-how, .hl2-testimonials, .hl2-security, .hl2-contact, .hl2-footer {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* ----------------------------------------------------------------------------
   Shared headings + utility chips
---------------------------------------------------------------------------- */

.hl2-h1 {
    font-size: clamp(34px, 5.5vw, 62px);
    font-weight: 900;
    line-height: 1.08;
    color: var(--hl2-navy);
    letter-spacing: -0.03em;
    margin: 0;
}
.hl2-h1-accent { color: var(--hl2-blue); }

.hl2-h2 {
    font-size: clamp(24px, 3.4vw, 40px);
    font-weight: 900;
    color: var(--hl2-navy);
    letter-spacing: -0.025em;
    margin: 0;
}
.hl2-h2-light { color: #fff; }

.hl2-lead {
    font-size: 18px;
    line-height: 1.7;
    color: var(--hl2-slate-600);
    max-width: 560px;
}

.hl2-section-sub {
    color: var(--hl2-slate-500);
    margin: 10px auto 0;
    font-size: 16px;
    max-width: 560px;
}
.hl2-section-sub-dark { color: #94a3b8; }

.hl2-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--hl2-blue);
    text-transform: uppercase;
}

.hl2-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
}
.hl2-pill-badge svg { width: 12px; height: 12px; }
.hl2-pill-blue  { background: var(--hl2-blue-soft);  border: 1px solid var(--hl2-blue-border);  color: var(--hl2-blue-2); }
.hl2-pill-sky   { background: var(--hl2-sky-soft);   border: 1px solid var(--hl2-sky-border);   color: #0284c7; }
.hl2-pill-green { background: var(--hl2-green-soft); border: 1px solid var(--hl2-green-border); color: #15803d; }
.hl2-pill-red   { background: var(--hl2-red-soft);   border: 1px solid var(--hl2-red-border);   color: #991b1b; }

.hl2-blue-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--hl2-blue);
    box-shadow: 0 0 0 0 rgba(37,99,235,0.55);
    animation: hl2-pulse-blue 1.6s infinite;
    display: inline-block;
}
@keyframes hl2-pulse-blue {
    0%   { box-shadow: 0 0 0 0  rgba(37,99,235,0.6); }
    70%  { box-shadow: 0 0 0 6px rgba(37,99,235,0); }
    100% { box-shadow: 0 0 0 0  rgba(37,99,235,0); }
}
.hl2-red-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--hl2-red);
    box-shadow: 0 0 0 0 rgba(220,38,38,0.55);
    animation: hl2-pulse-red 1.4s infinite;
    display: inline-block;
}
@keyframes hl2-pulse-red {
    0%   { box-shadow: 0 0 0 0  rgba(220,38,38,0.6); }
    70%  { box-shadow: 0 0 0 6px rgba(220,38,38,0); }
    100% { box-shadow: 0 0 0 0  rgba(220,38,38,0); }
}
.hl2-amber-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--hl2-amber);
    display: inline-block;
}

/* Buttons */
.hl2-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--hl2-blue), var(--hl2-blue-2));
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -0.005em;
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.38);
    cursor: pointer;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.hl2-btn-primary:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.45);
}
.hl2-btn-primary:active { transform: translateY(0); }
.hl2-btn-primary svg { width: 16px; height: 16px; }

.hl2-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 12px;
    border: 1.5px solid var(--hl2-blue-border);
    background: #fff;
    color: var(--hl2-blue);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: transform .12s ease, background .15s ease,
                border-color .15s ease, box-shadow .15s ease;
}
.hl2-btn-ghost:hover {
    background: var(--hl2-blue-soft);
    border-color: var(--hl2-blue);
    color: var(--hl2-blue-2);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px -12px rgba(37, 99, 235, 0.45);
}
.hl2-btn-ghost:active { transform: translateY(0); }
.hl2-btn-ghost svg { width: 16px; height: 16px; }

/* ----------------------------------------------------------------------------
   HERO
---------------------------------------------------------------------------- */

.hl2-hero {
    padding: 96px 0 80px;
    /* Transparent so the fixed `.hl2-waveform-bg` canvas shows through.
       The intentionally coloured sections below (stats-band navy, how/contact
       slate, footer dark) keep their backgrounds and so naturally mask
       the waveform in those bands. */
    background: transparent;
}

.hl2-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--hl2-blue-soft);
    border: 1px solid var(--hl2-blue-border);
    color: var(--hl2-blue-2);
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 14px;
    font-weight: 600;
}

/* Hero micro-demo card */
/* Incoming-call card — direct port of IncomingCallAnimation.tsx
   (HatzalahLive_IncomingCallAlertAnimation v1.0.0). Container is the
   demo card itself: solid #F3F7FF base, #D9E4FF border, soft blue shadow.
   The dramatic outer shadow from the LandingPage hero card is preserved. */
.hl2-microdemo {
    position: relative;
    background: #F3F7FF;
    border: 1px solid #D9E4FF;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
      0 30px 60px -30px rgba(15, 35, 71, 0.30),
      0 12px 32px -16px rgba(37, 99, 235, 0.18),
      0 8px 24px rgba(37, 99, 235, 0.08);
}

/* Live stats strip */
.hl2-livestats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 768px) {
    .hl2-livestats { grid-template-columns: repeat(4, 1fr); }
}
.hl2-livestat {
    background: #fff;
    border: 1px solid var(--hl2-slate-200);
    border-radius: 14px;
    padding: 18px 12px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
.hl2-livestat-value { font-size: 26px; font-weight: 900; line-height: 1; }
.hl2-livestat-label {
    margin-top: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--hl2-slate-400);
}

/* ----------------------------------------------------------------------------
   LIVE DEMO — simulated dispatch console
---------------------------------------------------------------------------- */

.hl2-livedemo {
    padding: 80px 0;
    background: transparent;
}

.hl2-panel {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(15, 35, 71, 0.15);
    box-shadow: 0 30px 70px rgba(15, 35, 71, 0.22);
}
.hl2-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Allow the meta strip ("12 units on duty · 3 active calls · clock") to
       wrap under the title on narrow screens so phone users see exactly the
       same data desktop users see, just stacked. */
    flex-wrap: wrap;
    row-gap: 8px;
    padding: 14px 18px;
    background: linear-gradient(135deg, var(--hl2-navy), var(--hl2-navy2));
    color: #fff;
}
.hl2-panel-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}
@media (min-width: 992px) {
    .hl2-panel-grid {
        grid-template-columns: 1fr 1.4fr 1fr;
    }
}
.hl2-panel-col {
    padding: 18px;
    border-top: 1px solid var(--hl2-slate-200);
}
@media (min-width: 992px) {
    .hl2-panel-col { border-top: 0; }
    .hl2-panel-col + .hl2-panel-col { border-left: 1px solid var(--hl2-slate-200); }
}
.hl2-panel-col-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--hl2-slate-400);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.hl2-panel-col-map { background: var(--hl2-slate-50); }

.hl2-call-row {
    border: 1px solid var(--hl2-slate-200);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
    background: #fff;
    transition: border-color .15s ease;
}
.hl2-call-row:hover { border-color: var(--hl2-blue-border); }
.hl2-call-row.hl2-active {
    border-color: var(--hl2-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.hl2-call-addr { font-size: 14px; font-weight: 700; color: var(--hl2-navy); }

.hl2-mini-pill {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border: 1px solid;
    line-height: 1.6;
}
.hl2-mini-pill-red    { background: #fee2e2; color: #991b1b; border-color: #fecaca; }
.hl2-mini-pill-amber  { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.hl2-mini-pill-blue   { background: var(--hl2-blue-soft); color: var(--hl2-blue-2); border-color: var(--hl2-blue-border); }
.hl2-mini-pill-green  { background: var(--hl2-green-soft); color: #065f46; border-color: var(--hl2-green-border); }
.hl2-mini-pill-slate  { background: var(--hl2-slate-100); color: var(--hl2-slate-600); border-color: var(--hl2-slate-200); }

.hl2-map {
    position: relative;
    height: 180px;
    border-radius: 12px;
    border: 1px dashed var(--hl2-slate-200);
    background:
      radial-gradient(circle at 30% 40%, rgba(37,99,235,0.16), transparent 50%),
      radial-gradient(circle at 70% 60%, rgba(245,196,81,0.20), transparent 50%),
      linear-gradient(135deg, #fff, var(--hl2-slate-50)),
      repeating-linear-gradient(45deg, rgba(105,116,144,0.10) 0 2px, transparent 2px 14px);
}
.hl2-map-pin {
    position: absolute; top: 38%; left: 28%;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--hl2-red);
    box-shadow: 0 0 0 4px rgba(220,38,38,0.18), 0 0 0 8px rgba(220,38,38,0.08);
    animation: hl2-pulse-red 1.6s infinite;
}
.hl2-map-hospital {
    position: absolute; top: 56%; left: 64%;
    width: 22px; height: 22px; border-radius: 5px;
    background: var(--hl2-blue);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800;
    box-shadow: 0 4px 10px -4px rgba(37,99,235,0.6);
}
.hl2-map-route {
    position: absolute;
    top: 46%; left: 36%;
    width: 32%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--hl2-blue) 0 6px, transparent 6px 12px);
    transform: rotate(20deg);
    transform-origin: left center;
    border-radius: 2px;
}
.hl2-map-unit {
    position: absolute;
    width: 22px; height: 22px; border-radius: 50%;
    background: #fff;
    color: var(--hl2-navy);
    border: 2px solid var(--hl2-blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800;
    box-shadow: 0 6px 12px -6px rgba(15,35,71,0.4);
}
.hl2-map-unit-1 { top: 22%; left: 58%; }
.hl2-map-unit-2 { top: 70%; left: 38%; }

.hl2-stats-row { display: flex; justify-content: space-between; gap: 8px; }
.hl2-stat-mini { font-size: 12px; color: var(--hl2-slate-500); }
.hl2-stat-mini b { display: block; font-size: 16px; color: var(--hl2-navy); font-weight: 800; }

.hl2-avatars { display: flex; align-items: center; }
.hl2-avatars .av {
    width: 30px; height: 30px; border-radius: 50%;
    border: 2px solid #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800; color: #fff;
    margin-right: -8px;
}
.hl2-avatars .av-more { background: var(--hl2-slate-400); color: #fff; }

.hl2-feed {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 280px;
    overflow-y: auto;
}
.hl2-feed-item {
    display: flex; gap: 10px; align-items: baseline;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--hl2-slate-50);
    border: 1px solid var(--hl2-slate-200);
    font-size: 12px;
    color: var(--hl2-slate-700);
}
.hl2-feed-item.alert {
    background: #fff5f5;
    border-color: var(--hl2-red-border);
    color: #7f1d1d;
}
.hl2-feed-item .time { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--hl2-slate-400); }
.hl2-feed-item .ch   { font-weight: 800; color: var(--hl2-blue); letter-spacing: 0.04em; }
.hl2-feed-item .text { flex: 1; }

/* ----------------------------------------------------------------------------
   FEATURES
---------------------------------------------------------------------------- */

.hl2-features {
    padding: 80px 0;
    background: transparent;
}
.hl2-feature {
    height: 100%;
    border: 1px solid var(--hl2-slate-200);
    border-radius: 16px;
    padding: 22px;
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.hl2-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -16px rgba(15, 35, 71, 0.18);
}
.hl2-feature-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
}
.hl2-feature-icon svg { width: 22px; height: 22px; }
.hl2-feature-title {
    font-weight: 800;
    font-size: 14px;
    color: var(--hl2-navy);
    margin-bottom: 6px;
    letter-spacing: -0.005em;
}
.hl2-feature-desc {
    font-size: 13px;
    color: var(--hl2-slate-500);
    line-height: 1.65;
}

.hl2-feature-blue   { border-color: var(--hl2-blue-border);   }
.hl2-feature-blue   .hl2-feature-icon { background: var(--hl2-blue-soft);   color: var(--hl2-blue); }
.hl2-feature-sky    { border-color: var(--hl2-sky-border);    }
.hl2-feature-sky    .hl2-feature-icon { background: var(--hl2-sky-soft);    color: var(--hl2-sky); }
.hl2-feature-indigo { border-color: var(--hl2-indigo-border); }
.hl2-feature-indigo .hl2-feature-icon { background: var(--hl2-indigo-soft); color: var(--hl2-indigo); }
.hl2-feature-green  { border-color: var(--hl2-green-border);  }
.hl2-feature-green  .hl2-feature-icon { background: var(--hl2-green-soft);  color: var(--hl2-green); }

/* ----------------------------------------------------------------------------
   TRUSTED BY LEADING AGENCIES
---------------------------------------------------------------------------- */

.hl2-trust {
    padding: 56px 0;
    background: transparent;
    border-top: 1px solid var(--hl-ink-100, #e6ecf5);
    border-bottom: 1px solid var(--hl-ink-100, #e6ecf5);
}
.hl2-trust-eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--hl-ink-500, #697490);
    font-weight: 700;
}

/* Uploaded logos (when admin has added some via /Admin/Logos) */
.hl2-logo-row { row-gap: 18px; }
.hl2-logo {
    max-height: 64px;
    max-width: 240px;
    object-fit: contain;
    transition: transform .2s ease;
}
.hl2-logo:hover { transform: translateY(-2px) scale(1.04); }
.hl2-logo-fallback {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: #f5f8fd;
    border: 1px solid #e6ecf5;
    font-weight: 700;
    color: #2c3756;
    letter-spacing: -0.01em;
}
.hl2-logo-fallback::before {
    content: "";
    display: inline-block;
    width: 8px; height: 8px; border-radius: 50%;
    background: #044ecf;
    margin-right: 10px;
}

/* Default agency pill list (when no uploaded logos exist) */
.hl2-agency-pills { gap: 12px 14px; }
.hl2-agency-pill {
    display: inline-flex;
    align-items: center;
    background: #f5f8fd;
    border: 1px solid #e6ecf5;
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #2c3756;
    letter-spacing: -0.01em;
    transition: transform .15s ease;
    animation: hl2-pill-fall 700ms cubic-bezier(.22,.61,.36,1) both;
}
.hl2-agency-pill:hover { transform: translateY(-2px) scale(1.03); }
.hl2-agency-pill .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #044ecf;
    margin-right: 10px;
    display: inline-block;
}
.hl2-agency-pills > .hl2-agency-pill:nth-child(1) { animation-delay:   0ms; }
.hl2-agency-pills > .hl2-agency-pill:nth-child(2) { animation-delay:  90ms; }
.hl2-agency-pills > .hl2-agency-pill:nth-child(3) { animation-delay: 180ms; }
.hl2-agency-pills > .hl2-agency-pill:nth-child(4) { animation-delay: 270ms; }
.hl2-agency-pills > .hl2-agency-pill:nth-child(5) { animation-delay: 360ms; }
.hl2-agency-pills > .hl2-agency-pill:nth-child(6) { animation-delay: 450ms; }

.hl2-live-in {
    font-size: 13px;
    color: var(--hl-ink-500, #697490);
    font-weight: 600;
}
.hl2-live-in span { color: #044ecf; font-weight: 700; }

/* ----------------------------------------------------------------------------
   STATS BAND (dark navy)
---------------------------------------------------------------------------- */

.hl2-stats-band {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--hl2-navy) 0%, var(--hl2-navy2) 100%);
    color: #fff;
}
.hl2-bigstat {
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 900;
    line-height: 1;
    color: #93c5fd;
}
.hl2-bigstat-label {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #94a3b8;
}

/* ----------------------------------------------------------------------------
   HOW IT WORKS
---------------------------------------------------------------------------- */

.hl2-how {
    padding: 80px 0;
    background: var(--hl2-slate-50);
}
.hl2-step {
    position: relative;
    background: #fff;
    border: 1px solid var(--hl2-slate-200);
    border-radius: 16px;
    padding: 36px 24px 24px;
    text-align: center;
    height: 100%;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    transition: transform .15s ease, box-shadow .15s ease;
}
.hl2-step:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -20px rgba(15,35,71,0.16); }
.hl2-step-num {
    position: absolute;
    top: -16px; left: 50%; transform: translateX(-50%);
    width: 32px; height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hl2-blue), var(--hl2-blue-2));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 13px;
    box-shadow: 0 6px 16px -6px rgba(37,99,235,0.5);
}
.hl2-step-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--hl2-blue-soft);
    display: flex; align-items: center; justify-content: center;
    margin: 8px auto 16px;
}
.hl2-step-icon svg { width: 22px; height: 22px; }
.hl2-step-title {
    font-weight: 800;
    font-size: 15px;
    color: var(--hl2-navy);
    margin-bottom: 8px;
}
.hl2-step-desc {
    font-size: 13px;
    color: var(--hl2-slate-500);
    line-height: 1.7;
}

/* ----------------------------------------------------------------------------
   TESTIMONIALS
---------------------------------------------------------------------------- */

.hl2-testimonials {
    padding: 80px 0;
    background: transparent;
}
.hl2-quote {
    background: var(--hl2-slate-50);
    border: 1px solid var(--hl2-slate-200);
    border-radius: 16px;
    padding: 28px;
    height: 100%;
}
.hl2-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 14px;
    color: var(--hl2-amber);
}
.hl2-stars svg { width: 16px; height: 16px; }
.hl2-quote-text {
    font-size: 15px;
    color: var(--hl2-slate-700);
    line-height: 1.75;
    margin: 0 0 20px;
    font-style: italic;
}
.hl2-quote-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hl2-blue), var(--hl2-blue-2));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 800;
    flex: 0 0 auto;
}
.hl2-quote-name { font-weight: 700; font-size: 13px; color: var(--hl2-navy); }
.hl2-quote-role { font-size: 12px; color: var(--hl2-slate-400); }

/* ----------------------------------------------------------------------------
   SECURITY
---------------------------------------------------------------------------- */

.hl2-security {
    padding: 80px 0;
    background: transparent;
}
.hl2-sec-card {
    text-align: center;
    background: var(--hl2-slate-50);
    border: 1px solid var(--hl2-slate-200);
    border-radius: 14px;
    padding: 22px 14px;
    height: 100%;
}
.hl2-sec-icon {
    width: 40px; height: 40px;
    margin: 0 auto 12px;
    background: var(--hl2-blue-soft);
    color: var(--hl2-blue);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
.hl2-sec-icon svg { width: 18px; height: 18px; }
.hl2-sec-label {
    font-size: 13px;
    font-weight: 800;
    color: var(--hl2-navy);
    margin-bottom: 4px;
}
.hl2-sec-desc {
    font-size: 11px;
    color: var(--hl2-slate-500);
    line-height: 1.5;
}
.hl2-sec-foot {
    font-size: 11px;
    color: var(--hl2-slate-400);
    margin: 0;
}

/* ----------------------------------------------------------------------------
   CONTACT / DEMO REQUEST FORM
   New 3-column layout with animated stat rail + animated wave background.
---------------------------------------------------------------------------- */

.hl2-contact {
    padding: 80px 0;
    background: #F6F8FC;
    position: relative;
    overflow: hidden;
}

/* Animated wave background -------------------------------------------------- */
.hl2-contact-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.hl2-contact-bg-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.hl2-contact-bg-glow {
    position: absolute;
    left: 72%;
    top: 18%;
    width: 24%;
    height: 30%;
    background: radial-gradient(ellipse, rgba(141, 181, 255, 0.16) 0%, transparent 70%);
    filter: blur(80px);
}

/* The 3-column grid: copy / stat rail / form. Mobile collapses to 1 column.
   Desktop uses the same proportions as the Figma: 520px / 180px / 1fr. */
.hl2-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}
@media (min-width: 992px) {
    .hl2-contact-grid {
        grid-template-columns: 520px 180px 1fr;
        gap: 48px;
    }
}

.hl2-contact-copy { min-width: 0; }
.hl2-contact-form-col { min-width: 0; }

/* Eyebrow color variant for this section (brighter blue, matches Figma). */
.hl2-eyebrow-blue { color: #2563FF; }

.hl2-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}
.hl2-bullets li {
    font-size: 14px;
    color: #5D6B86;
    line-height: 1.6;
    padding: 6px 0 6px 18px;
    position: relative;
}
.hl2-bullets li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--hl2-blue);
    font-weight: 700;
}
.hl2-secure-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5D6B86;
    font-size: 13px;
}
.hl2-secure-row svg { width: 14px; height: 14px; color: #16a34a; }

/* Stat rail (desktop = vertical column; mobile = 3-up grid) ----------------- */
.hl2-stat-rail {
    flex-direction: column;
    gap: 14px;
}
.hl2-stat-rail-mobile {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.hl2-stat-card {
    background: #FFFFFF;
    border: 1px solid #DCE3F0;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 16px 40px rgba(16, 46, 99, 0.12);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.hl2-stat-card-in { opacity: 1; transform: translateY(0); }

@media (min-width: 768px) {
    .hl2-stat-card { padding: 20px; }
}

.hl2-stat-label {
    font-size: 10px;
    color: #5D6B86;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.04em;
}
.hl2-stat-value {
    font-size: 24px;
    font-weight: 800;
    color: #2563FF;
    line-height: 1;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
@media (min-width: 768px) {
    .hl2-stat-value { font-size: 30px; }
}
.hl2-stat-prefix, .hl2-stat-suffix { display: inline; }
.hl2-stat-num    { display: inline; }
.hl2-stat-sub {
    font-size: 11px;
    color: #5D6B86;
    font-weight: 500;
    line-height: 1.4;
}

/* Form card ---------------------------------------------------------------- */
.hl2-form-card {
    background: #fff;
    border: 1px solid #DCE3F0;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 16px 40px rgba(16, 46, 99, 0.12);
}
.hl2-form-section {
    font-size: 13px;
    font-weight: 700;
    color: #0B1220;
    margin-bottom: 14px;
    letter-spacing: -0.005em;
}
.hl2-label {
    font-size: 13px;
    font-weight: 600;
    color: #0B1220;
    margin-bottom: 6px;
    display: block;
}
.hl2-input {
    width: 100%;
    background: #fff;
    border: 1px solid #DCE3F0;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    color: #0B1220;
    font-family: inherit;
    transition: border-color .15s ease, box-shadow .15s ease;
    outline: none;
}
.hl2-input:focus {
    border-color: #2563FF;
    box-shadow: 0 0 0 3px rgba(37, 99, 255, 0.18);
}
.hl2-textarea { resize: vertical; min-height: 110px; }

.hl2-form-foot {
    font-size: 12px;
    color: #5D6B86;
    text-align: center;
    margin: 0;
}

/* Reduced-motion: keep counters visible without intro/animation. */
@media (prefers-reduced-motion: reduce) {
    .hl2-stat-card { opacity: 1; transform: none; transition: none; }
}

/* ----------------------------------------------------------------------------
   DARK FOOTER
---------------------------------------------------------------------------- */

.hl2-footer {
    background: #0a1220;
    border-top: 1px solid #1a2d4a;
    color: #94a3b8;
    padding: 40px 0 28px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
.hl2-footer-mark {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--hl2-blue), var(--hl2-blue-2));
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
}
.hl2-footer-mark svg { width: 15px; height: 15px; }
.hl2-footer-brand {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #93c5fd;
    line-height: 1;
}
.hl2-footer-sub {
    font-size: 9px;
    color: #475569;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-top: 4px;
}
.hl2-footer-blurb {
    font-size: 12px;
    color: #475569;
    line-height: 1.7;
    margin: 0;
    max-width: 280px;
}
.hl2-footer-col-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 14px;
}
.hl2-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hl2-footer-links a {
    font-size: 13px;
    color: #475569;
    text-decoration: none;
    transition: color .15s ease;
}
.hl2-footer-links a:hover { color: #cbd5e1; }

.hl2-footer-bottom {
    border-top: 1px solid #1a2d4a;
    padding-top: 20px;
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.hl2-footer-bottom p {
    font-size: 12px;
    color: #334155;
    margin: 0;
}
.hl2-footer-bottom a {
    font-size: 12px;
    color: #93c5fd;
    text-decoration: none;
    transition: color .15s ease;
}
.hl2-footer-bottom a:hover { color: #bfdbfe; }

/* ============================================================================
   Marquee — generic single-line auto-scroller used for the trust-logo strip
   and the testimonials row. Track width is `max-content`, content is rendered
   twice, and the animation slides the track by exactly -50 % so the loop is
   seamless. Pauses on hover/focus, fades at both edges via mask-image.
   Speed scales naturally with content width: longer track = faster pixel/sec
   (we keep duration fixed). For more agencies, reduce duration to taste.
============================================================================ */

.hl2-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* edge fades */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.hl2-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    margin: 0;
    padding: 0;
    list-style: none;
    animation: hl2-marquee 50s linear infinite;
    will-change: transform;
}

.hl2-marquee:hover .hl2-marquee-track,
.hl2-marquee:focus-within .hl2-marquee-track {
    animation-play-state: paused;
}

.hl2-marquee-item {
    flex: 0 0 auto;
    list-style: none;
}

@keyframes hl2-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Tracks that hold logos — tighter gap, vertically centred chips. */
.hl2-marquee-track--logos {
    gap: 18px;
    padding: 6px 0;
}
/* Suppress the one-off fall animation on agency pills inside the marquee
   (the pills should appear settled and stable, not drop in). */
.hl2-marquee .hl2-agency-pill { animation: none; transition: none; }
/* Logos already positioned in the marquee shouldn't have transition lift. */
.hl2-marquee .hl2-logo { transition: none; }

/* Tracks that hold testimonial cards — wider gap to breathe. */
.hl2-marquee-track--reviews {
    gap: 24px;
    padding: 10px 0 18px;     /* room for the card shadow */
    animation-duration: 75s;  /* slower because each card is wide */
}

/* Tracks that hold integration-partner cards — medium gap, faster cycle
   because the cards are smaller than the review cards. */
.hl2-marquee-track--integrations {
    gap: 24px;
    padding: 12px 0 16px;
    animation-duration: 32s;
}

/* "Proudly Integrating with" section — light strip between Stats and How It
   Works. Background is white over the page's waveform; thin top/bottom
   borders match the trust-strip styling. */
.hl2-integrations {
    position: relative;
    z-index: 1;
    padding: 56px 0 48px;
    background: #ffffff;
    border-top: 1px solid #e6ecf5;
    border-bottom: 1px solid #e6ecf5;
}

/* Each partner sits in its own white card with a subtle border + shadow,
   matching the IntegrationsMarquee design from Figma (LogoCard). */
.hl2-integration-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 72px;
    padding: 0 20px;
    background: #fff;
    border: 1px solid #e8edf6;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(15, 35, 71, 0.06);
    user-select: none;
}
.hl2-integration-card img {
    max-height: 36px;
    max-width: 130px;
    object-fit: contain;
    filter: grayscale(0.2);
}
.hl2-integration-card--text {
    font-size: 15px;
    font-weight: 700;
    color: #2c3756;
    letter-spacing: -0.01em;
}
@media (max-width: 575.98px) {
    .hl2-integration-card { min-width: 150px; height: 64px; padding: 0 16px; }
    .hl2-integration-card img { max-height: 30px; max-width: 110px; }
}

/* Slim review card variant tuned for the marquee row. Same look as
   .hl2-quote but constrained to a fixed width so the row reads cleanly. */
.hl2-quote-mq {
    width: 360px;
    height: auto;
    background: #fff;
    border: 1px solid var(--hl2-slate-200);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(15, 35, 71, 0.06);
}
.hl2-quote-mq .hl2-quote-text {
    /* clamp to 4 lines so all cards are roughly the same height */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.65;
}
@media (max-width: 575.98px) {
    .hl2-quote-mq { width: 280px; padding: 20px; }
}

/* "Live in: ..." caption beneath the trust marquee. */
.hl2-trust-livein {
    font-size: 13px;
    color: #697490;
    font-weight: 600;
}
.hl2-trust-livein span {
    color: #044ecf;
    font-weight: 700;
}

/* ============================================================================
   Full-page waveform background canvas — fixed behind all content.
   Red sound-wave bars mirrored above/below a centre axis. Drawn by JS.
============================================================================ */

.hl2-waveform-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* All page-content sections must sit above the canvas. */
.hl2-hero, .hl2-livedemo, .hl2-features, .hl2-trust, .hl2-stats-band,
.hl2-how, .hl2-testimonials, .hl2-security, .hl2-contact, .hl2-footer {
    position: relative;
    z-index: 1;
}

/* ============================================================================
   Incoming-call animation — port of IncomingCallAnimation.tsx
   ─ Status overlay cycles green → yellow → red (multiply blend, 9 s loop)
   ─ Phone handset lifts off the dock (-24 px) and rocks (-8°, +7°, -5°, +4°)
     during the first third of each 9 s cycle, then rests
   ─ Pickup glow opacity oscillates 0.25 → 0.50 → 0.22 over the same cycle
   ─ Four SVG sound-wave arcs pulse outward on a 1.2 s loop
     (inner pair from scale 0.80 → 1.20, outer pair from 0.82 → 1.26),
     all sharing the phone-centre transform-origin so they emanate outward
============================================================================ */

/* 1. Status-colour cycle overlay — sits absolutely over the whole card */
.hl2-call-status {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: multiply;
    border-radius: inherit;
    animation: hl2-call-status 9s linear infinite;
}
@keyframes hl2-call-status {
    0%      { background-color: rgba(34,197,94,0.14);  } /* green */
    33.33%  { background-color: rgba(34,197,94,0.14);  } /* green hold */
    35.56%  { background-color: rgba(250,204,21,0.14); } /* yellow */
    66.67%  { background-color: rgba(250,204,21,0.14); } /* yellow hold */
    68.89%  { background-color: rgba(239,68,68,0.14);  } /* red */
    100%    { background-color: rgba(239,68,68,0.14);  } /* red hold → loop */
}

/* 2. Phone stage — fixed-height container, the SVG / dock / handset all
   position absolutely inside it. Height matches the spec viewBox (200 px). */
.hl2-call-stage {
    position: relative;
    height: 200px;
    overflow: visible;
    z-index: 2;
}

/* SVG arcs — full-stage overlay; each path's transform-origin is the phone
   centre (50%, 31% of the viewBox) so scale animations emanate outward. */
.hl2-call-arcs {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}
.hl2-call-arc {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    transform-box: view-box;
    transform-origin: 50% 31%;
    animation-duration: 1.2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-out;
}
.hl2-call-arc.inner { stroke: rgba(58, 123, 255, 0.34); animation-name: hl2-call-arc-inner; }
.hl2-call-arc.outer { stroke: rgba(58, 123, 255, 0.22); animation-name: hl2-call-arc-outer; animation-delay: 0.22s; }

@keyframes hl2-call-arc-inner {
    0%   { transform: scale(0.80); opacity: 0.55; }
    100% { transform: scale(1.20); opacity: 0; }
}
@keyframes hl2-call-arc-outer {
    0%   { transform: scale(0.82); opacity: 0.45; }
    100% { transform: scale(1.26); opacity: 0; }
}

/* Pickup glow — soft blue halo behind the handset. */
.hl2-call-glow {
    position: absolute;
    width: 106px; height: 106px;
    left: 50%;
    top: 62px; /* phone-centre y */
    transform: translate(-50%, -50%);
    background: rgba(58, 123, 255, 0.12);
    filter: blur(18px);
    border-radius: 50%;
    pointer-events: none;
    animation: hl2-call-glow 9s ease-in-out infinite;
}
@keyframes hl2-call-glow {
    0%    { opacity: 0.25; }
    13.3% { opacity: 0.50; }
    26.7% { opacity: 0.28; }
    33.3% { opacity: 0.22; }
    100%  { opacity: 0.22; }
}

/* Static dock / cradle — the handset rests on top of this. */
.hl2-call-dock {
    position: absolute;
    width: 102px; height: 44px;
    left: 50%;
    top: 142px; /* base y per spec */
    transform: translateX(-50%);
    background: #2F6BFF;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(47, 107, 255, 0.22);
}
.hl2-call-dock-plate {
    position: absolute;
    width: 70px; height: 18px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.16);
    border-radius: 10px;
}

/* Animated handset — sits at the phone centre, lifts + rocks. */
.hl2-call-handset {
    position: absolute;
    width: 74px; height: 74px;
    left: 50%;
    top: 62px;
    transform: translate(-50%, -50%);
    background: #3A7BFF;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 22px rgba(58, 123, 255, 0.22);
    animation: hl2-call-handset 9s ease-in-out infinite;
    will-change: transform;
}
.hl2-call-handset svg { width: 30px; height: 30px; stroke: #fff; stroke-width: 2.5; }

/* Combined translate + rotate keyframes derived from the spec's HANDSET_Y
   and HANDSET_R curves — active 0–33 %, then rests 33–100 %. The
   `translate(-50%, -50%)` baseline is preserved so the phone stays centred. */
@keyframes hl2-call-handset {
    0%    { transform: translate(-50%, -50%) translateY(0)    rotate(0deg); }
    7.8%  { transform: translate(-50%, -50%) translateY(-15px) rotate(-8deg); }
    15.6% { transform: translate(-50%, -50%) translateY(-23px) rotate(7deg); }
    17.8% { transform: translate(-50%, -50%) translateY(-24px) rotate(5deg); }
    23.3% { transform: translate(-50%, -50%) translateY(-22px) rotate(-5deg); }
    26.7% { transform: translate(-50%, -50%) translateY(-18px) rotate(0deg); }
    31.1% { transform: translate(-50%, -50%) translateY(-9px)  rotate(4deg); }
    33.3% { transform: translate(-50%, -50%) translateY(0)    rotate(0deg); }
    100%  { transform: translate(-50%, -50%) translateY(0)    rotate(0deg); }
}

/* 3. Copy block beneath the stage — title + 3 bulleted steps. */
.hl2-call-copy {
    position: relative;
    z-index: 2;
    padding: 4px 32px 16px;
    text-align: center;
}
.hl2-call-copy h3 {
    font-size: 18px;
    font-weight: 700;
    color: #12284C;
    margin: 0 0 10px;
    letter-spacing: -0.005em;
}
.hl2-call-copy > div {
    font-size: 14px;
    font-weight: 500;
    color: #637699;
    line-height: 24px;
}

/* 4. Footer strip */
.hl2-call-foot {
    position: relative;
    z-index: 2;
    background: #F7FAFF;
    border-top: 1px solid #E5EEFF;
    padding: 10px 0;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #5E7396;
}

/* ============================================================================
   Agency logo pills — fall-down entrance (drop from above) instead of slide-in.
============================================================================ */

@keyframes hl2-pill-fall {
    0%   { opacity: 0; transform: translateY(-32px) scale(0.92); }
    60%  { opacity: 1; transform: translateY(6px) scale(1); }
    80%  { transform: translateY(-2px); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ----------------------------------------------------------------------------
   Reduced motion
---------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .hl2-blue-dot, .hl2-red-dot, .hl2-map-pin {
        animation: none !important;
    }
    .hl2-agency-pill { animation: none !important; }
    .hl2-call-status, .hl2-call-handset, .hl2-call-glow, .hl2-call-arc {
        animation: none !important;
    }
    .hl2-waveform-bg { display: none; }

    /* Marquee: stop scrolling and let the row sit still. The duplicate
       (aria-hidden) half remains visually but harmless without animation. */
    .hl2-marquee-track { animation: none !important; transform: none !important; }
}

/* ============================================================================
   ADMIN PORTAL — Same visual language as the redesigned home page.
   Soft canvas, Inter font, deep card shadow, brand blue (#2563FF), and the
   bullet-precise palette/borders from the latest Figma.

   Reused on:
     - Admin/Index   (demo requests dashboard)
     - Admin/Logos   (manage logos)
     - Admin/Login   (admin sign-in)
============================================================================ */

.hl2-admin-page {
    background: #F6F8FC;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    color: #0B1220;
    min-height: calc(100vh - 64px); /* leave room for the layout navbar */
    padding: 32px 0 56px;
}

.hl2-admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header bar at the top of every admin page ------------------------------- */
.hl2-admin-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}
.hl2-admin-header-text { min-width: 0; }
.hl2-admin-title {
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 800;
    color: #0B1220;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 8px 0 6px;
}
.hl2-admin-sub {
    font-size: 14px;
    color: #5D6B86;
    margin: 0;
    line-height: 1.55;
}
.hl2-admin-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

/* Surface: white card with the deep Figma shadow + cool gray border ------- */
.hl2-admin-card {
    background: #fff;
    border: 1px solid #DCE3F0;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(16, 46, 99, 0.08);
    overflow: hidden;
}
.hl2-admin-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #EEF1F8;
    font-weight: 700;
    color: #0B1220;
    font-size: 14px;
    background: #fff;
}
.hl2-admin-card-header .hl2-admin-card-meta {
    font-size: 12px;
    color: #5D6B86;
    font-weight: 500;
}
.hl2-admin-card-body { padding: 20px; }

/* Stat tiles (mini) — used in the Admin/Index header ---------------------- */
.hl2-admin-stat {
    background: #fff;
    border: 1px solid #DCE3F0;
    border-radius: 14px;
    padding: 10px 16px;
    text-align: center;
    min-width: 84px;
    box-shadow: 0 6px 18px rgba(16, 46, 99, 0.06);
}
.hl2-admin-stat-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #5D6B86;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.hl2-admin-stat-value {
    font-size: 22px;
    font-weight: 800;
    color: #2563FF;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

/* Pill nav (filter tabs) -------------------------------------------------- */
.hl2-admin-tabs {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid #DCE3F0;
    border-radius: 999px;
    padding: 4px;
    gap: 2px;
    margin-bottom: 16px;
    box-shadow: 0 6px 18px rgba(16, 46, 99, 0.05);
}
.hl2-admin-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #5D6B86;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
    white-space: nowrap;
}
.hl2-admin-tab:hover { color: #0B1220; background: #F5F8FD; text-decoration: none; }
.hl2-admin-tab.active {
    background: #2563FF;
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 255, 0.25);
}
.hl2-admin-tab.active:hover { color: #fff; background: #1D4ED8; }
.hl2-admin-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 6px;
    font-size: 11px;
    border-radius: 999px;
    background: #EEF2FB;
    color: #5D6B86;
    font-weight: 700;
}
.hl2-admin-tab.active .hl2-admin-tab-count {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

/* Buttons (admin variants) ------------------------------------------------ */
.hl2-admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .1s ease, box-shadow .15s ease;
    text-decoration: none;
    white-space: nowrap;
    font-family: inherit;
}
.hl2-admin-btn:active { transform: translateY(0.5px); }
.hl2-admin-btn-primary {
    background: #2563FF;
    color: #fff;
    border-color: #2563FF;
    box-shadow: 0 4px 12px rgba(37, 99, 255, 0.25);
}
.hl2-admin-btn-primary:hover {
    background: #1D4ED8;
    border-color: #1D4ED8;
    color: #fff;
    text-decoration: none;
}
.hl2-admin-btn-outline {
    background: #fff;
    color: #0B1220;
    border-color: #DCE3F0;
}
.hl2-admin-btn-outline:hover {
    background: #F5F8FD;
    border-color: #C9D4EA;
    color: #0B1220;
    text-decoration: none;
}
.hl2-admin-btn-ghost {
    background: transparent;
    color: #5D6B86;
    border-color: transparent;
}
.hl2-admin-btn-ghost:hover {
    background: #F5F8FD;
    color: #0B1220;
    text-decoration: none;
}
.hl2-admin-btn-danger-outline {
    background: #fff;
    color: #B91C1C;
    border-color: #FECACA;
}
.hl2-admin-btn-danger-outline:hover {
    background: #FEF2F2;
    color: #991B1B;
    border-color: #FCA5A5;
    text-decoration: none;
}
.hl2-admin-btn-sm { padding: 6px 10px; font-size: 12px; border-radius: 8px; }

/* Inputs (admin variants) ------------------------------------------------- */
.hl2-admin-input,
.hl2-admin-select,
.hl2-admin-textarea {
    width: 100%;
    background: #fff;
    border: 1px solid #DCE3F0;
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 14px;
    color: #0B1220;
    font-family: inherit;
    transition: border-color .15s ease, box-shadow .15s ease;
    outline: none;
}
.hl2-admin-input:focus,
.hl2-admin-select:focus,
.hl2-admin-textarea:focus {
    border-color: #2563FF;
    box-shadow: 0 0 0 3px rgba(37, 99, 255, 0.18);
}
.hl2-admin-textarea { resize: vertical; min-height: 96px; }
.hl2-admin-label {
    font-size: 13px;
    font-weight: 600;
    color: #0B1220;
    display: block;
    margin-bottom: 6px;
}
.hl2-admin-help {
    font-size: 12px;
    color: #5D6B86;
    margin-top: 6px;
}

/* Tables ------------------------------------------------------------------- */
.hl2-admin-table-wrap { width: 100%; overflow-x: auto; }
.hl2-admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
    color: #0B1220;
}
.hl2-admin-table thead th {
    text-align: left;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5D6B86;
    background: #F8FAFD;
    padding: 12px 16px;
    border-bottom: 1px solid #EEF1F8;
    white-space: nowrap;
}
.hl2-admin-table thead th.text-end { text-align: right; }
.hl2-admin-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #EEF1F8;
    vertical-align: top;
    font-size: 13px;
    color: #0B1220;
}
.hl2-admin-table tbody tr:last-child td { border-bottom: 0; }
.hl2-admin-table tbody tr:hover td { background: #FAFCFF; }
.hl2-admin-table .text-end { text-align: right; }
.hl2-admin-table .hl2-admin-cell-strong { font-weight: 700; color: #0B1220; }
.hl2-admin-table .hl2-admin-cell-muted  { font-size: 12px; color: #5D6B86; }
.hl2-admin-table .hl2-admin-cell-mono   { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; color: #5D6B86; white-space: nowrap; }

.hl2-admin-empty {
    padding: 56px 20px;
    text-align: center;
    color: #5D6B86;
    font-size: 14px;
}

/* Status pills (Figma colorways) ----------------------------------------- */
.hl2-admin-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: capitalize;
    border: 1px solid transparent;
    line-height: 1.4;
}
.hl2-admin-pill::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.85;
}
.hl2-admin-pill.pending     { background: #FFF7E6; color: #9A6700; border-color: #FBE3A2; }
.hl2-admin-pill.approved    { background: #ECFDF5; color: #047857; border-color: #A7F3D0; }
.hl2-admin-pill.rejected    { background: #FEF2F2; color: #B91C1C; border-color: #FECACA; }
.hl2-admin-pill.joined      { background: #EEF2FF; color: #3730A3; border-color: #C7D2FE; }
.hl2-admin-pill.draft       { background: #F1F5F9; color: #475569; border-color: #E2E8F0; }
.hl2-admin-pill.submitted   { background: #EFF6FF; color: #1D4ED8; border-color: #BFDBFE; }
.hl2-admin-pill.muted       { background: #F1F5F9; color: #5D6B86; border-color: #E2E8F0; }
.hl2-admin-pill.empty       { background: #F1F5F9; color: #5D6B86; border-color: #E2E8F0; }
.hl2-admin-pill.filled      { background: #FFF7E6; color: #9A6700; border-color: #FBE3A2; }
.hl2-admin-pill.complete    { background: #ECFDF5; color: #047857; border-color: #A7F3D0; }
.hl2-admin-pill.needs-more  { background: #FEF3C7; color: #B45309; border-color: #FDE68A; }
.hl2-admin-pill.review-pending  { background: #F1F5F9; color: #5D6B86; border-color: #E2E8F0; }
.hl2-admin-pill.review-approved { background: #ECFDF5; color: #047857; border-color: #A7F3D0; }

/* Demo-request rows that have been promoted to "Joined" stay visible in
   the demo board but are visually de-emphasized. Used by admin/Index.cshtml
   when the All filter would otherwise mix joined rows back in. */
.hl2-admin-row-muted {
    background: #F8FAFC;
    color: #94A3B8;
}
.hl2-admin-row-muted a, .hl2-admin-row-muted .hl2-admin-cell-strong {
    color: #94A3B8 !important;
}

/* Per-section admin review block on AgencyDetails. A subtle highlighted
   panel inside each section card so the admin's controls are obviously
   separate from the agency's data. */
.hl2-admin-review {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    background: #F8FAFC;
}
.hl2-admin-review-head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.hl2-admin-review-head strong {
    color: #0B1220;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.hl2-admin-review-meta {
    font-size: 12px;
    color: #5D6B86;
}
.hl2-admin-review form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}
.hl2-admin-review .hl2-admin-review-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.hl2-admin-review select, .hl2-admin-review textarea {
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    padding: 8px 10px;
    font: inherit;
    background: #FFF;
    width: 100%;
    box-sizing: border-box;
}
.hl2-admin-review select { width: auto; min-width: 220px; }
.hl2-admin-review textarea { min-height: 60px; resize: vertical; }
.hl2-admin-review-note-display {
    margin-top: 6px;
    padding: 8px 10px;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-radius: 8px;
    color: #92400E;
    font-size: 13px;
    white-space: pre-wrap;
}

/* On the agency-facing onboarding form, surface the admin's review
   verdict + note for each section so the agency knows what's still
   needed. Mirrors the admin review styles but more compact. */
.hl-section-review {
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
}
.hl-section-review.approved {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
}
.hl-section-review.needs-more {
    background: #FEF3C7;
    border: 1px solid #FDE68A;
    color: #92400E;
}
.hl-section-review .label {
    font-weight: 700;
    margin-right: 6px;
}
.hl-section-review .note {
    margin-top: 4px;
    white-space: pre-wrap;
}

/* ─── Agency Details (admin drill-down) ─────────────────────────────── */

/* Two-column layout: status sidebar + main scrollable content. Drops to
   a single column on tablets so the side rail doesn't crush the data. */
.hl2-admin-details {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}
@media (max-width: 1024px) { .hl2-admin-details { grid-template-columns: 1fr; } }

.hl2-admin-details-side {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
@media (max-width: 1024px) { .hl2-admin-details-side { position: static; } }

.hl2-admin-details-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0; /* let children shrink inside the grid track */
}

/* TOC list of sections (with status pill on each row). */
.hl2-admin-toc {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px;
}
.hl2-admin-toc a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    color: #0B1220;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.15s ease;
}
.hl2-admin-toc a:hover { background: #F5F8FD; text-decoration: none; }

/* Card body padding helper for the agency-details cards that don't use a
   table — keeps the content inset matching the table cell padding. */
.hl2-admin-card-pad { padding: 18px 20px 22px; }

/* Definition-list grid for "label : value" pairs in section cards. */
.hl2-admin-dl {
    display: grid;
    grid-template-columns: 200px 1fr;
    row-gap: 10px;
    column-gap: 16px;
    margin: 0;
}
@media (max-width: 640px) { .hl2-admin-dl { grid-template-columns: 1fr; row-gap: 4px; } }
.hl2-admin-dl dt {
    font-size: 12px;
    font-weight: 600;
    color: #5D6B86;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    align-self: start;
    padding-top: 2px;
}
.hl2-admin-dl dd {
    margin: 0;
    color: #0B1220;
    font-size: 14px;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}
.hl2-admin-dl dd.empty { color: #94A3B8; font-style: italic; }
@media (max-width: 640px) {
    .hl2-admin-dl dd { padding-bottom: 6px; border-bottom: 1px solid #F1F5F9; }
    .hl2-admin-dl dd:last-child { border-bottom: 0; }
}

/* Free-form text blocks (notes, messages) — preserve newlines. */
.hl2-admin-pre {
    white-space: pre-wrap;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    color: #0B1220;
    max-height: 320px;
    overflow: auto;
    margin: 0;
}

/* Section header inside a card — title + status pill on the right. */
.hl2-admin-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.hl2-admin-section-head h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #0B1220;
}

/* "anchor" target for the TOC links — offsets sticky-header overlap. */
.hl2-admin-anchor { scroll-margin-top: 24px; }

/* Logo manager: row in the "current logos" list -------------------------- */
.hl2-admin-logo-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid #EEF1F8;
    flex-wrap: wrap;
}
.hl2-admin-logo-row:last-child { border-bottom: 0; }
.hl2-admin-logo-thumb {
    width: 80px;
    height: 48px;
    background: #F5F8FD;
    border: 1px solid #DCE3F0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.hl2-admin-logo-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hl2-admin-logo-name {
    flex-grow: 1;
    min-width: 140px;
    font-weight: 700;
    color: #0B1220;
    font-size: 13px;
}
.hl2-admin-logo-link {
    font-size: 12px;
    color: #5D6B86;
    margin-top: 2px;
    word-break: break-all;
}
.hl2-admin-logo-link a { color: #2563FF; text-decoration: none; }
.hl2-admin-logo-link a:hover { text-decoration: underline; }

.hl2-admin-order-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hl2-admin-order-form input[type=number] {
    width: 78px;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid #DCE3F0;
    font-size: 12px;
    color: #0B1220;
    background: #fff;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.hl2-admin-order-form input[type=number]:focus {
    border-color: #2563FF;
    box-shadow: 0 0 0 3px rgba(37, 99, 255, 0.18);
}

/* Login card (Admin/Login) ---------------------------------------------- */
.hl2-admin-login-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 64px);
    padding: 40px 16px;
    background: #F6F8FC;
}
.hl2-admin-login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border: 1px solid #DCE3F0;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(16, 46, 99, 0.12);
    padding: 32px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
.hl2-admin-login-card h2 {
    font-size: 22px;
    font-weight: 800;
    color: #0B1220;
    letter-spacing: -0.01em;
    margin: 12px 0 4px;
}
.hl2-admin-login-card .hl2-admin-login-sub {
    font-size: 13px;
    color: #5D6B86;
    margin: 0 0 22px;
}
.hl2-admin-login-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563FF, #1D4ED8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(37, 99, 255, 0.25);
}

/* Inline preview frame for the trust strip preview on Admin/Logos -------- */
.hl2-admin-preview {
    background: #fff;
    border: 1px solid #DCE3F0;
    border-radius: 14px;
    padding: 18px;
}
.hl2-admin-preview-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #5D6B86;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Reduced motion: keep things still */
@media (prefers-reduced-motion: reduce) {
    .hl2-admin-btn { transition: none; }
}

/* ============================================================================
   SUB-PAGES (Pages/* — Features, About, Privacy, etc.)
   Shared design language built on top of the home page's `hl2-*` tokens so
   every marketing/legal page feels like part of the same site.
============================================================================ */

/* ---- Apply Inter to every sub-page section, matching the home page. ---- */
.hl2-pagehero, .hl2-pagecta, .hl2-content, .hl2-legal,
.hl2-stat-grid, .hl2-postgrid, .hl2-rolelist, .hl2-factgrid,
.hl2-callout, .hl2-twocol, .hl2-platforms, .hl2-press,
.hl2-mock, .hl2-perks {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* ---- PageHero ---------------------------------------------------------- */
.hl2-pagehero {
    position: relative;
    padding: 96px 0 64px;
    background:
      radial-gradient(900px 480px at 50% -8%, rgba(37,99,235,0.10), transparent 60%),
      radial-gradient(700px 360px at -10% 110%, rgba(245,196,81,0.18), transparent 70%),
      linear-gradient(180deg, #fff 0%, var(--hl2-slate-50) 100%);
    border-bottom: 1px solid var(--hl2-slate-200);
    overflow: hidden;
}
.hl2-pagehero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(10,17,48,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(10,17,48,0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(900px 460px at 50% 30%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(900px 460px at 50% 30%, #000 30%, transparent 75%);
    pointer-events: none;
}
.hl2-pagehero > .container { position: relative; z-index: 1; }
.hl2-pagehero .hl2-h1 { margin-top: 12px; }
.hl2-pagehero .hl2-lead { margin-left: auto; margin-right: auto; max-width: 640px; }

@media (max-width: 575px) {
    .hl2-pagehero { padding: 72px 0 48px; }
}

/* ---- Generic content section (white & slate alternating) --------------- */
.hl2-content {
    padding: 80px 0;
}
.hl2-content--alt {
    background: var(--hl2-slate-50);
}
.hl2-content--navy {
    background: linear-gradient(135deg, var(--hl2-navy) 0%, var(--hl2-navy2) 100%);
    color: #fff;
}
.hl2-content--navy .hl2-h2 { color: #fff; }
.hl2-content--navy .hl2-section-sub { color: #94a3b8; }

.hl2-content-head { text-align: center; margin-bottom: 44px; }
.hl2-content-head .hl2-pill-badge { margin-bottom: 12px; }
.hl2-content-head .hl2-h2 { margin-top: 4px; }
.hl2-content-head .hl2-section-sub { margin: 12px auto 0; max-width: 620px; }

/* ---- 4-up stat grid (e.g. About → "By the numbers") -------------------- */
.hl2-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
@media (min-width: 768px) {
    .hl2-stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.hl2-stat-tile {
    background: #fff;
    border: 1px solid var(--hl2-slate-200);
    border-radius: 16px;
    padding: 22px 18px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.hl2-stat-tile-value {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 900;
    color: var(--hl2-blue);
    line-height: 1;
    letter-spacing: -0.02em;
}
.hl2-stat-tile-label {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--hl2-slate-500);
    line-height: 1.4;
}
.hl2-content--navy .hl2-stat-tile {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
    color: #fff;
}
.hl2-content--navy .hl2-stat-tile-value { color: #93c5fd; }
.hl2-content--navy .hl2-stat-tile-label { color: #94a3b8; }

/* ---- Two-column "feature explainer" rows (image / text) ---------------- */
.hl2-twocol {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}
@media (min-width: 992px) {
    .hl2-twocol { grid-template-columns: 1fr 1fr; gap: 56px; }
    .hl2-twocol--reverse > :first-child { order: 2; }
}
.hl2-twocol-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hl2-blue);
}
.hl2-twocol h3 {
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 900;
    color: var(--hl2-navy);
    letter-spacing: -0.02em;
    margin: 8px 0 14px;
}
.hl2-twocol p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--hl2-slate-600);
}

/* ---- Callout / mock cards used in product pages ------------------------ */
.hl2-mock {
    background: #fff;
    border: 1px solid var(--hl2-slate-200);
    border-radius: 18px;
    padding: 0;
    box-shadow:
      0 30px 60px -30px rgba(15, 35, 71, 0.30),
      0 12px 32px -16px rgba(37, 99, 235, 0.18);
    overflow: hidden;
}
.hl2-mock-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 18px;
    background: var(--hl2-slate-50);
    border-bottom: 1px solid var(--hl2-slate-200);
    font-size: 12px;
    color: var(--hl2-slate-500);
}
.hl2-mock-head strong { color: var(--hl2-navy); font-weight: 700; }
.hl2-mock-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}
.hl2-mock-cell {
    padding: 18px;
    border-right: 1px solid var(--hl2-slate-200);
    border-bottom: 1px solid var(--hl2-slate-200);
}
.hl2-mock-cell:nth-child(2n) { border-right: 0; }
.hl2-mock-cell:nth-last-child(-n+2) { border-bottom: 0; }
.hl2-mock-cell-label { font-size: 11px; color: var(--hl2-slate-500); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.hl2-mock-cell-value { font-size: 26px; font-weight: 900; color: var(--hl2-navy); margin-top: 6px; letter-spacing: -0.01em; }
.hl2-mock-cell-delta { font-size: 11px; color: var(--hl2-green); font-weight: 700; margin-top: 4px; }

/* Phone mock used on Mobile App page */
.hl2-phonemock {
    width: 100%; max-width: 320px; margin: 0 auto;
    background: #fff;
    border: 1px solid var(--hl2-slate-200);
    border-radius: 36px;
    padding: 8px;
    box-shadow:
      0 30px 60px -30px rgba(15, 35, 71, 0.30),
      0 12px 32px -16px rgba(37, 99, 235, 0.18);
}
.hl2-phonemock-screen {
    background: #0f172a;
    border-radius: 28px;
    color: #fff;
    padding: 18px;
}
.hl2-phonemock-status {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 11px; color: #94a3b8;
}
.hl2-phonemock-card {
    margin-top: 16px;
    background: rgba(220, 38, 38, 0.12);
    border: 1px solid rgba(252, 165, 165, 0.4);
    border-radius: 16px;
    padding: 16px;
}
.hl2-phonemock-card-eyebrow {
    font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
    color: #fca5a5; display: inline-flex; align-items: center; gap: 6px;
}
.hl2-phonemock-card-eyebrow .dot {
    width: 6px; height: 6px; background: #f87171; border-radius: 50%;
    animation: hl2-pulse-red 1.4s infinite;
}
.hl2-phonemock-card-title { font-size: 18px; font-weight: 800; margin-top: 10px; letter-spacing: -0.01em; }
.hl2-phonemock-card-addr  { font-size: 13px; color: #cbd5e1; margin-top: 4px; }
.hl2-phonemock-card-cross { font-size: 11px; color: #94a3b8; margin-top: 2px; }
.hl2-phonemock-eta {
    margin-top: 14px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 8px 12px;
    display: flex; align-items: center; justify-content: space-between;
    font-size: 12px;
}
.hl2-phonemock-eta b { color: #6ee7b7; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; }
.hl2-phonemock-actions {
    margin-top: 12px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.hl2-phonemock-actions .pri {
    background: var(--hl2-green); color: #fff;
    border-radius: 12px; padding: 10px 12px;
    font-size: 13px; font-weight: 700; text-align: center;
}
.hl2-phonemock-actions .sec {
    background: rgba(255,255,255,0.10); color: #fff;
    border-radius: 12px; padding: 10px 12px;
    font-size: 13px; font-weight: 700; text-align: center;
}

/* ---- Status workflow list (Features page right column) ---------------- */
.hl2-statuslist {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.hl2-statuslist li {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--hl2-slate-200);
    border-radius: 10px;
    font-size: 13px;
}
.hl2-statuslist li .left { display: flex; align-items: center; gap: 10px; }
.hl2-statuslist li .num { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--hl2-slate-400); }
.hl2-statuslist li .name { font-weight: 700; color: var(--hl2-navy); }
.hl2-statuslist li .meta { color: var(--hl2-slate-400); font-size: 11px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* ---- Integration category card (Integrations page) -------------------- */
.hl2-intcat {
    background: #fff;
    border: 1px solid var(--hl2-slate-200);
    border-radius: 16px;
    padding: 22px;
}
.hl2-intcat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.hl2-intcat-head .icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: var(--hl2-blue-soft); color: var(--hl2-blue);
    display: flex; align-items: center; justify-content: center;
}
.hl2-intcat-head .icon svg { width: 20px; height: 20px; }
.hl2-intcat-head h3 { font-size: 16px; font-weight: 800; color: var(--hl2-navy); margin: 0; letter-spacing: -0.005em; }

.hl2-intcat-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 576px) { .hl2-intcat-grid { grid-template-columns: 1fr 1fr; } }
.hl2-intcat-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px;
    border: 1px solid var(--hl2-slate-200);
    border-radius: 12px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.hl2-intcat-item:hover { border-color: var(--hl2-blue-border); box-shadow: 0 2px 12px rgba(37, 99, 235, 0.08); }
.hl2-intcat-item .badge-mono {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--hl2-blue-soft); color: var(--hl2-blue);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px; font-weight: 700;
    flex: 0 0 auto;
}
.hl2-intcat-item .meta { min-width: 0; }
.hl2-intcat-item .name { font-size: 13px; font-weight: 700; color: var(--hl2-navy); }
.hl2-intcat-item .desc { font-size: 12px; color: var(--hl2-slate-500); }

/* ---- Platforms row (Mobile App) --------------------------------------- */
.hl2-platforms {
    display: grid; gap: 14px;
    grid-template-columns: 1fr;
    max-width: 720px; margin: 0 auto;
}
@media (min-width: 576px) { .hl2-platforms { grid-template-columns: 1fr 1fr; } }
.hl2-platform-card {
    display: flex; align-items: center; gap: 14px;
    background: #fff;
    border: 1px solid var(--hl2-slate-200);
    border-radius: 16px;
    padding: 18px;
}
.hl2-platform-card .icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--hl2-blue-soft); color: var(--hl2-blue);
    display: inline-flex; align-items: center; justify-content: center;
}
.hl2-platform-card .icon svg { width: 24px; height: 24px; }
.hl2-platform-card .name { font-size: 16px; font-weight: 800; color: var(--hl2-navy); }
.hl2-platform-card .desc { font-size: 13px; color: var(--hl2-slate-500); }

/* ---- Perks grid (Careers) -------------------------------------------- */
.hl2-perks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 576px) { .hl2-perks { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .hl2-perks { grid-template-columns: repeat(3, 1fr); } }

/* ---- Role / opening list (Careers) ----------------------------------- */
.hl2-rolelist {
    background: #fff;
    border: 1px solid var(--hl2-slate-200);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}
.hl2-rolelist-team {
    font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
    color: var(--hl2-slate-500); text-transform: uppercase;
    padding: 14px 22px;
    background: var(--hl2-slate-50);
    border-bottom: 1px solid var(--hl2-slate-200);
}
.hl2-roleitem {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--hl2-slate-200);
    color: var(--hl2-navy);
    text-decoration: none;
    transition: background .15s ease;
}
.hl2-roleitem:last-child { border-bottom: 0; }
.hl2-roleitem:hover { background: var(--hl2-slate-50); color: var(--hl2-navy); text-decoration: none; }
.hl2-roleitem .left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.hl2-roleitem .icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--hl2-blue-soft); color: var(--hl2-blue);
    display: none;
}
@media (min-width: 576px) {
    .hl2-roleitem .icon {
        display: inline-flex; align-items: center; justify-content: center;
    }
}
.hl2-roleitem .icon svg { width: 18px; height: 18px; }
.hl2-roleitem .title { font-size: 15px; font-weight: 700; }
.hl2-roleitem .meta {
    font-size: 12px; color: var(--hl2-slate-500); margin-top: 4px;
    display: flex; flex-wrap: wrap; gap: 4px 12px;
}
.hl2-roleitem .arrow { color: var(--hl2-slate-400); flex: 0 0 auto; }
.hl2-roleitem .arrow svg { width: 16px; height: 16px; }
.hl2-roleitem:hover .arrow { color: var(--hl2-blue); }

/* ---- Blog (Blog page) ------------------------------------------------- */
.hl2-postgrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 576px) { .hl2-postgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .hl2-postgrid { grid-template-columns: 1fr 1fr 1fr; } }

.hl2-postcard {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--hl2-slate-200);
    border-radius: 16px;
    padding: 22px;
    text-decoration: none;
    color: inherit;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    height: 100%;
}
.hl2-postcard:hover {
    transform: translateY(-2px);
    border-color: var(--hl2-blue-border);
    box-shadow: 0 12px 28px -16px rgba(15, 35, 71, 0.18);
    color: inherit; text-decoration: none;
}
.hl2-postcard-cat {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--hl2-blue-soft);
    color: var(--hl2-blue);
    border: 1px solid var(--hl2-blue-border);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
    width: fit-content;
}
.hl2-postcard h3 {
    font-size: 16px; font-weight: 800; letter-spacing: -0.01em;
    color: var(--hl2-navy);
    margin: 12px 0 8px;
}
.hl2-postcard p {
    font-size: 13px; color: var(--hl2-slate-500); line-height: 1.6;
    flex: 1; margin: 0;
}
.hl2-postcard-foot {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 18px;
    font-size: 12px; color: var(--hl2-slate-400);
}

/* Featured (top) post on the blog index */
.hl2-postfeatured {
    display: grid;
    grid-template-columns: 1fr;
    background: #fff;
    border: 1px solid var(--hl2-slate-200);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px -20px rgba(15, 35, 71, 0.2);
    margin-bottom: 36px;
}
@media (min-width: 992px) {
    .hl2-postfeatured { grid-template-columns: 1.1fr 1.4fr; }
}
.hl2-postfeatured-banner {
    background: linear-gradient(135deg, var(--hl2-blue) 0%, var(--hl2-blue-2) 60%, var(--hl2-navy) 100%);
    color: #fff;
    padding: 36px;
    position: relative;
    min-height: 220px;
}
.hl2-postfeatured-banner::before {
    content: ""; position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(800px 460px at 30% 30%, #000 40%, transparent 75%);
    -webkit-mask-image: radial-gradient(800px 460px at 30% 30%, #000 40%, transparent 75%);
}
.hl2-postfeatured-banner > * { position: relative; }
.hl2-postfeatured-banner .pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
}
.hl2-postfeatured-banner .brand { font-size: 24px; font-weight: 900; margin-top: 18px; letter-spacing: -0.01em; }
.hl2-postfeatured-banner .meta  { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 6px; }
.hl2-postfeatured-body { padding: 36px; }
.hl2-postfeatured-body h2 {
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 900; letter-spacing: -0.02em; color: var(--hl2-navy);
    margin: 14px 0 12px;
}
.hl2-postfeatured-body p { font-size: 15px; color: var(--hl2-slate-600); line-height: 1.7; margin: 0; }
.hl2-postfeatured-body .read {
    margin-top: 20px;
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--hl2-blue); font-weight: 800; text-decoration: none;
    font-size: 14px;
}
.hl2-postfeatured-body .read:hover { color: var(--hl2-blue-2); }
.hl2-postfeatured-body .read svg { width: 14px; height: 14px; }

/* ---- Press (fact + release + media) ---------------------------------- */
.hl2-press-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
@media (min-width: 992px) { .hl2-press-grid { grid-template-columns: 1.4fr 1fr; gap: 56px; } }

.hl2-releases {
    background: #fff;
    border: 1px solid var(--hl2-slate-200);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}
.hl2-release {
    padding: 22px;
    border-bottom: 1px solid var(--hl2-slate-200);
}
.hl2-release:last-child { border-bottom: 0; }
.hl2-release .date { font-size: 12px; color: var(--hl2-slate-500); }
.hl2-release h3 { font-size: 16px; font-weight: 800; color: var(--hl2-navy); margin: 6px 0 8px; letter-spacing: -0.005em; }
.hl2-release p { font-size: 14px; color: var(--hl2-slate-600); line-height: 1.65; margin: 0; }
.hl2-release a {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 12px;
    font-size: 13px; font-weight: 700; color: var(--hl2-blue); text-decoration: none;
}
.hl2-release a:hover { color: var(--hl2-blue-2); }

.hl2-factcard {
    background: #fff;
    border: 1px solid var(--hl2-slate-200);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}
.hl2-factcard + .hl2-factcard { margin-top: 16px; }
.hl2-factcard h3 { font-size: 16px; font-weight: 800; color: var(--hl2-navy); margin: 8px 0 4px; }
.hl2-factcard p { font-size: 13px; color: var(--hl2-slate-500); margin: 0; }
.hl2-factlist { list-style: none; padding: 0; margin: 0; }
.hl2-factlist li {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--hl2-slate-200);
    font-size: 13px;
}
.hl2-factlist li:last-child { border-bottom: 0; }
.hl2-factlist li .k { color: var(--hl2-slate-500); }
.hl2-factlist li .v { font-weight: 700; color: var(--hl2-navy); }

.hl2-coverage {
    background: #fff;
    border: 1px solid var(--hl2-slate-200);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}
.hl2-coverage-row {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
    padding: 22px;
    border-bottom: 1px solid var(--hl2-slate-200);
}
.hl2-coverage-row:last-child { border-bottom: 0; }
.hl2-coverage-row .meta { font-size: 12px; color: var(--hl2-slate-500); display: flex; gap: 10px; }
.hl2-coverage-row .meta .outlet { font-weight: 700; color: var(--hl2-navy); }
.hl2-coverage-row h3 { font-size: 15px; font-weight: 700; color: var(--hl2-navy); margin: 6px 0 0; }

/* ---- Callout box (HIPAA disclaimer, Security report) ------------------ */
.hl2-callout {
    background: #fff;
    border: 1px solid var(--hl2-slate-200);
    border-radius: 18px;
    padding: 32px;
    max-width: 820px;
    margin: 0 auto;
    box-shadow: 0 8px 24px -16px rgba(15, 35, 71, 0.18);
}
.hl2-callout h2 { font-size: 22px; font-weight: 900; color: var(--hl2-navy); margin: 12px 0 14px; letter-spacing: -0.01em; }
.hl2-callout p { font-size: 14px; color: var(--hl2-slate-600); line-height: 1.7; margin: 0 0 12px; }
.hl2-callout p:last-child { margin-bottom: 0; }
.hl2-callout a { color: var(--hl2-blue); font-weight: 700; }
.hl2-callout a:hover { color: var(--hl2-blue-2); }

/* ---- Safeguards / checked-list cards (HIPAA, Security) --------------- */
.hl2-checklist {
    background: #fff;
    border: 1px solid var(--hl2-slate-200);
    border-radius: 16px;
    padding: 22px;
    height: 100%;
}
.hl2-checklist h3 { font-size: 15px; font-weight: 800; color: var(--hl2-navy); margin: 0 0 14px; letter-spacing: -0.005em; }
.hl2-checklist ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hl2-checklist li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 13px; color: var(--hl2-slate-700); line-height: 1.55;
}
.hl2-checklist li::before {
    content: "";
    width: 16px; height: 16px;
    margin-top: 2px;
    flex: 0 0 auto;
    background-color: var(--hl2-blue);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---- PageCta (closing demo CTA) -------------------------------------- */
.hl2-pagecta {
    padding: 80px 0;
    background: var(--hl2-slate-50);
}
.hl2-pagecta-card {
    background: linear-gradient(135deg, var(--hl2-navy) 0%, var(--hl2-navy2) 100%);
    color: #fff;
    border-radius: 24px;
    padding: 56px 32px;
    text-align: center;
    box-shadow: 0 30px 60px -30px rgba(15, 35, 71, 0.45);
}
.hl2-pagecta-sub {
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto 24px;
}
.hl2-btn-ghost-on-dark {
    background: rgba(255,255,255,0.06);
    border-color: rgba(147, 197, 253, 0.4);
    color: #93c5fd;
}
.hl2-btn-ghost-on-dark:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(147, 197, 253, 0.7);
    color: #bfdbfe;
}

/* ---- Legal layout ---------------------------------------------------- */
.hl2-legal { padding: 64px 0 96px; background: #fff; }
.hl2-legal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 992px) {
    .hl2-legal-grid { grid-template-columns: 260px 1fr; gap: 56px; }
}
.hl2-legal-toc { position: relative; }
@media (min-width: 992px) {
    .hl2-legal-toc { position: sticky; top: 96px; align-self: start; }
}
.hl2-legal-toc-card {
    background: #fff;
    border: 1px solid var(--hl2-slate-200);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}
.hl2-legal-toc-title {
    font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--hl2-slate-500);
    margin-bottom: 12px;
}
.hl2-legal-toc-card ol { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hl2-legal-toc-card a {
    display: flex; gap: 10px;
    color: var(--hl2-slate-600);
    font-size: 13px;
    text-decoration: none;
    line-height: 1.4;
    transition: color .15s ease;
}
.hl2-legal-toc-card a:hover { color: var(--hl2-navy); }
.hl2-legal-toc-num {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    color: var(--hl2-slate-400);
    font-size: 11px;
    flex: 0 0 auto;
    padding-top: 1px;
}
.hl2-legal-updated {
    margin-top: 14px; padding: 0 4px;
    font-size: 11px; color: var(--hl2-slate-500);
}
.hl2-legal-updated strong { color: var(--hl2-navy); }

.hl2-legal-body { min-width: 0; }
.hl2-legal-intro { margin-bottom: 32px; }
.hl2-legal-intro p { font-size: 16px; color: var(--hl2-slate-700); line-height: 1.7; }

.hl2-legal-section { padding: 36px 0; border-top: 1px solid var(--hl2-slate-200); scroll-margin-top: 96px; }
.hl2-legal-section:first-child { border-top: 0; padding-top: 0; }
.hl2-legal-section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.hl2-legal-section-num {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    color: var(--hl2-blue);
    font-size: 12px; font-weight: 700;
}
.hl2-legal-section-title {
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--hl2-navy);
    margin: 0;
}
.hl2-legal-section-body p,
.hl2-legal-section-body li {
    font-size: 15px; color: var(--hl2-slate-700); line-height: 1.75;
}
.hl2-legal-section-body p { margin: 0 0 14px; }
.hl2-legal-section-body p:last-child { margin-bottom: 0; }
.hl2-legal-section-body ul,
.hl2-legal-section-body ol { padding-left: 22px; margin: 0 0 14px; }
.hl2-legal-section-body ul li,
.hl2-legal-section-body ol li { margin-bottom: 6px; }
.hl2-legal-section-body h3 {
    font-size: 16px; font-weight: 800; color: var(--hl2-navy);
    margin: 22px 0 8px; letter-spacing: -0.005em;
}
.hl2-legal-section-body a { color: var(--hl2-blue); font-weight: 600; }
.hl2-legal-section-body a:hover { color: var(--hl2-blue-2); text-decoration: underline; }
.hl2-legal-section-body strong { color: var(--hl2-navy); font-weight: 700; }

/* ============================================================================
   NAVBAR DROPDOWN — Product / Company menus added to the layout navbar.
   Keep visual weight light so it slots into the existing `.hl-navbar` style.
============================================================================ */

.hl-navdrop { position: relative; }
.hl-navdrop > .nav-link {
    display: inline-flex; align-items: center; gap: 4px;
    cursor: pointer;
}
.hl-navdrop > .nav-link svg {
    width: 12px; height: 12px;
    transition: transform .15s ease;
}
.hl-navdrop:hover > .nav-link svg,
.hl-navdrop:focus-within > .nav-link svg {
    transform: rotate(180deg);
}

.hl-navdrop-menu {
    position: absolute;
    top: 100%; left: 0;
    min-width: 280px;
    background: #fff;
    border: 1px solid #e6ecf5;
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 16px 40px rgba(16, 46, 99, 0.12);
    visibility: hidden;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
    z-index: 1100;
    list-style: none;
    margin: 4px 0 0;
}
.hl-navdrop:hover .hl-navdrop-menu,
.hl-navdrop:focus-within .hl-navdrop-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .15s ease, transform .15s ease, visibility 0s linear 0s;
}
.hl-navdrop-menu li { list-style: none; }
.hl-navdrop-link {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background .12s ease;
}
.hl-navdrop-link:hover, .hl-navdrop-link:focus {
    background: var(--hl2-slate-50);
    text-decoration: none;
    color: inherit;
}
.hl-navdrop-link .title {
    font-size: 13px; font-weight: 700; color: var(--hl2-navy);
    line-height: 1.2;
}
.hl-navdrop-link .desc {
    font-size: 12px; color: var(--hl2-slate-500);
    margin-top: 2px;
    line-height: 1.4;
}

/* On mobile (collapsed navbar) the menu becomes inline, not floating. */
@media (max-width: 767.98px) {
    .hl-navdrop-menu {
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        box-shadow: none;
        border: 0;
        padding: 4px 0 8px 12px;
        min-width: 0;
        background: transparent;
    }
    .hl-navdrop > .nav-link svg { display: none; }
}

