/* Movate-inspired enterprise marketing theme — colors aligned to logo (logo.png) */
:root {
    /* Logo-derived palette: “Edu” blue, “Vidh” green, icon squares (yellow / pink / teal / icon blue) */
    --brand-word-blue: #005c94;
    --brand-green: #10a356;
    --brand-icon-blue: #4a67e2;
    --brand-yellow: #ffce00;
    --brand-pink: #ff1493;
    --brand-teal: #3dc594;

    --bg: #050508;
    --bg-elevated: #0a1628;
    --bg-soft: #0d2840;
    --border: rgba(255, 255, 255, 0.1);
    --text: #f0f7ff;
    --muted: rgba(240, 247, 255, 0.74);
    --faint: rgba(240, 247, 255, 0.52);
    /* Primary UI gradient: icon blue → brand green (matches mark + wordmark) */
    --accent: #4a67e2;
    --accent-2: #10a356;
    --danger: #fb7185;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
    --container: 1160px;
    --font: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    --nav-chrome-bg: rgba(5, 5, 8, 0.72);
    --nav-chrome-blur: blur(14px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: radial-gradient(1200px 700px at 20% -10%, rgba(74, 103, 226, 0.14), transparent 55%),
        radial-gradient(900px 600px at 90% 0%, rgba(0, 92, 148, 0.16), transparent 52%),
        radial-gradient(700px 500px at 50% 100%, rgba(16, 163, 86, 0.08), transparent 50%),
        var(--bg);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

/* Masthead: topbar + main header (sticky together) */
.masthead {
    position: sticky;
    top: 0;
    z-index: 60;
}

/* Top utility bar */
.topbar {
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
    color: var(--muted);
    font-size: 13px;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    flex-wrap: wrap;
}

.topbar__tagline {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-weight: 600;
}

.topbar__dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    flex: 0 0 auto;
}

.topbar__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
}

.topbar__social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.topbar__social a {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.topbar__social a:hover {
    transform: translateY(-1px);
    color: var(--text);
    border-color: rgba(74, 103, 226, 0.35);
    background: rgba(74, 103, 226, 0.08);
}

.topbar__social svg {
    display: block;
    opacity: 0.9;
}

.topbar__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
}

.topbar__icon {
    flex-shrink: 0;
    opacity: 0.9;
}

.topbar__links a {
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
}

.topbar__links a:hover {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 640px) {
    .topbar__tagline {
        font-size: 12px;
        width: 100%;
    }

    .topbar__links {
        width: 100%;
        justify-content: flex-start;
    }

    .topbar__social {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Header */
.site-header {
    position: relative;
    z-index: 1;
    border-bottom: 1px solid var(--border);
    background: var(--nav-chrome-bg);
    backdrop-filter: var(--nav-chrome-blur);
    -webkit-backdrop-filter: var(--nav-chrome-blur);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand--logo {
    gap: 0;
}

.brand__logo-img {
    display: block;
    height: 40px;
    width: auto;
    max-width: min(200px, 48vw);
}

.brand__logo-img--footer {
    height: 44px;
    max-width: 220px;
}

.brand__mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 10px 30px rgba(74, 103, 226, 0.22);
    flex: 0 0 auto;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    min-width: 0;
}

.brand__name {
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand__tag {
    font-size: 12px;
    color: var(--faint);
}

.brand--footer .brand__tag {
    font-size: 13px;
}

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
}

.nav-toggle__bar {
    height: 2px;
    width: 18px;
    margin-inline: auto;
    background: var(--text);
    border-radius: 2px;
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
}

.site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--nav-chrome-bg);
    backdrop-filter: var(--nav-chrome-blur);
    -webkit-backdrop-filter: var(--nav-chrome-blur);
}

@media (max-width: 1023.98px) {
    .site-nav.is-open {
        display: block;
        max-height: min(72vh, calc(100dvh - 120px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
}

@media (min-width: 1024px) {
    .site-nav {
        display: flex;
        position: static;
        padding: 0;
        border: 0;
        background: transparent;
        align-items: center;
        justify-content: flex-end;
        gap: 18px;
        flex: 1;
        max-height: none;
        overflow: visible;
    }
}

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

@media (min-width: 1024px) {
    .site-nav__list {
        flex-direction: row;
        align-items: center;
        gap: 6px;
    }
}

.site-nav__trigger {
    display: flex;
    align-items: stretch;
    gap: 4px;
    border-radius: 10px;
}

.site-nav__trigger > .site-nav__link {
    flex: 1;
    min-width: 0;
}

.site-nav__link {
    display: block;
    padding: 10px 10px;
    border-radius: 10px;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
}

.site-nav__reg {
    display: inline-block;
    margin-left: 0.12em;
    font-size: 0.58em;
    font-weight: 800;
    line-height: 1;
    vertical-align: super;
    color: var(--faint);
    letter-spacing: 0;
}

.site-nav__link:hover,
.site-nav__item.is-active > .site-nav__trigger > .site-nav__link {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.site-nav__item:not(.site-nav__item--mega).is-active > .site-nav__link {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}

.site-nav__disclosure {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
}

.site-nav__disclosure:hover,
.site-nav__disclosure:focus-visible {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    outline: none;
}

.site-nav__chevron {
    display: block;
    transition: transform 0.2s ease;
}

.site-nav__item--mega.is-expanded .site-nav__chevron {
    transform: rotate(180deg);
}

@media (min-width: 1024px) {
    .site-nav__disclosure {
        display: none;
    }

    .site-nav__trigger {
        display: block;
    }

    .site-nav__trigger > .site-nav__link {
        display: block;
        width: 100%;
    }
}

.site-nav__cta {
    margin-top: 10px;
}

@media (min-width: 1024px) {
    .site-nav__cta {
        margin-top: 0;
        margin-left: 6px;
    }
}

/* Mega menus: desktop hover / focus; mobile disclosure (same chrome as .site-header) */
.mega {
    display: none;
    margin-top: 6px;
    padding: 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--nav-chrome-bg);
    backdrop-filter: var(--nav-chrome-blur);
    -webkit-backdrop-filter: var(--nav-chrome-blur);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.mega--compact {
    padding: 12px;
}

@media (max-width: 1023.98px) {
    .site-nav__item--mega.is-expanded .mega {
        display: block;
    }
}

@media (min-width: 1024px) {
    .mega {
        position: absolute;
        left: 0;
        top: 100%;
        width: min(720px, calc(100vw - 48px));
        margin-top: 0;
        padding: 18px 14px 14px;
        z-index: 40;
    }

    .mega--compact {
        width: min(520px, calc(100vw - 48px));
        padding: 16px 12px 12px;
    }

    .site-nav__item--mega {
        position: relative;
        z-index: 1;
    }

    .site-nav__item--mega:hover,
    .site-nav__item--mega:focus-within {
        z-index: 50;
    }

    .site-nav__item--mega:hover .mega,
    .site-nav__item--mega:focus-within .mega {
        display: block;
    }

    .site-nav__item--mega.is-expanded .mega {
        display: block;
    }
}

.mega__grid {
    display: grid;
    gap: 14px;
}

@media (min-width: 900px) {
    .mega__grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 18px;
        align-items: start;
    }
}

.mega__eyebrow {
    margin: 0 0 6px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
}

.mega__title {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
}

.mega__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.mega__links a {
    display: block;
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--muted);
    border: 1px solid transparent;
}

.mega__links a:hover {
    color: var(--text);
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.03);
}

.mega__links--cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
    white-space: nowrap;
}

.btn:active {
    transform: translateY(1px);
}

.btn--primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-color: rgba(0, 0, 0, 0.18);
}

.btn--primary:hover {
    filter: brightness(1.03);
}

.btn--ghost {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.07);
}

.btn--sm {
    padding: 9px 12px;
    font-size: 13px;
    border-radius: 11px;
}

.btn--lg {
    padding: 13px 18px;
    border-radius: 14px;
    font-size: 15px;
}

/* Hero */
.hero {
    position: relative;
    padding: 64px 0 56px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: -20% -20% auto -20%;
    height: 520px;
    background: radial-gradient(closest-side at 30% 40%, rgba(74, 103, 226, 0.22), transparent 70%),
        radial-gradient(closest-side at 70% 30%, rgba(0, 92, 148, 0.2), transparent 70%);
    filter: blur(2px);
    pointer-events: none;
}

.hero__inner {
    position: relative;
}

.eyebrow {
    margin: 0 0 12px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
}

.hero__title {
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.hero__line {
    display: block;
}

.hero__line--accent {
    background: linear-gradient(90deg, var(--text), rgba(0, 0, 0, 0.45));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__lead {
    margin: 0 0 22px;
    max-width: 62ch;
    color: var(--muted);
    font-size: 17px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 26px;
}

/* Standard hero two-column layout (non-premium pages with image + copy/form) */
.hero:not(.hero--premium) .hero__grid {
    display: grid;
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: stretch;
}

@media (min-width: 900px) {
    .hero:not(.hero--premium) .hero__grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        align-items: center;
    }
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 720px;
}

.stat {
    padding: 14px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
}

.stat__value {
    display: block;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.stat__label {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: var(--faint);
}

/* Home — #impact outcomes strip (5 tiles) */
.hero__stats--impact {
    max-width: none;
    width: 100%;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 1200px) {
    .hero__stats--impact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .hero__stats--impact {
        grid-template-columns: 1fr;
    }
}

/* Ask strip */
.section {
    padding: 56px 0;
}

.section--tight {
    padding: 34px 0;
}

.section--alt {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section__head {
    margin-bottom: 22px;
}

.section__head--center {
    text-align: center;
}

.section__title {
    margin: 8px 0 10px;
    font-size: clamp(22px, 3vw, 34px);
    letter-spacing: -0.02em;
}

.section__sub {
    margin: 0;
    color: var(--muted);
    max-width: 70ch;
}

.ask-strip__inner {
    display: grid;
    gap: 16px;
    align-items: center;
    padding: 18px 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
}

@media (min-width: 900px) {
    .ask-strip__inner {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.ask-strip__title {
    margin: 0 0 6px;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.ask-strip__text {
    margin: 0;
    color: var(--muted);
}

.ask-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.input {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(5, 5, 8, 0.55);
    color: var(--text);
    padding: 12px 12px;
    outline: none;
}

.input:focus {
    border-color: rgba(74, 103, 226, 0.45);
    box-shadow: 0 0 0 4px rgba(74, 103, 226, 0.12);
}

.input--footer {
    margin-bottom: 10px;
}

/* Capabilities scroll */
.cap-scroll {
    display: flex;
    gap: 10px;
    overflow: auto;
    padding-bottom: 6px;
    scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.cap-pill {
    flex: 0 0 auto;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}

.cap-pill:hover {
    color: var(--text);
    border-color: rgba(74, 103, 226, 0.35);
}

.cap-pill--muted {
    border-color: transparent;
    background: transparent;
    color: var(--faint);
    font-weight: 800;
}

/* -------------------------------------------------------------------------- */
/* Home sections: capabilities grid + story cards + logo tiles                 */
/* -------------------------------------------------------------------------- */

.section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.grid6 {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

@media (max-width: 640px) {
    .grid6 {
        grid-template-columns: 1fr;
    }
}

.cap {
    position: relative;
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid var(--border);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
    padding: 16px 16px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04) inset;
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
    overflow: hidden;
}

.cap::before {
    content: "";
    position: absolute;
    inset: -40% -20% auto -20%;
    height: 180px;
    background:
        radial-gradient(closest-side at 30% 35%, rgba(74, 103, 226, 0.18), rgba(74, 103, 226, 0) 70%),
        radial-gradient(closest-side at 70% 40%, rgba(0, 92, 148, 0.16), rgba(0, 92, 148, 0) 68%);
    pointer-events: none;
    opacity: 0.9;
}

.cap:hover {
    transform: translateY(-2px);
    border-color: rgba(74, 103, 226, 0.28);
    background: linear-gradient(155deg, rgba(74, 103, 226, 0.08), rgba(255, 255, 255, 0.02));
}

.cap:hover .cap__icon {
    border-color: rgba(74, 103, 226, 0.42);
    background: linear-gradient(145deg, rgba(74, 103, 226, 0.28), rgba(0, 92, 148, 0.24));
}

.cap__icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 14px;
    color: var(--text);
    background: linear-gradient(145deg, rgba(74, 103, 226, 0.2), rgba(0, 92, 148, 0.18));
    border: 1px solid rgba(74, 103, 226, 0.28);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.cap__icon svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.cap--has-icon .cap__title,
.cap--has-icon .cap__meta {
    position: relative;
    z-index: 1;
}

.cap__title {
    position: relative;
    margin: 0 0 8px;
    font-size: 16px;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.cap__meta {
    position: relative;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

/* GeniWeb / related content — image + link cards */
.related-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
    margin-top: 22px;
}

@media (min-width: 700px) {
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .related-grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.related-card {
    display: flex;
    align-items: stretch;
    gap: 14px;
    padding: 14px 16px;
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.related-card:hover {
    border-color: rgba(74, 103, 226, 0.38);
    background: rgba(74, 103, 226, 0.07);
    transform: translateY(-2px);
}

.related-card__media {
    flex: 0 0 92px;
    width: 92px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
    align-self: center;
}

.related-card__media img {
    width: 100%;
    height: 100%;
    min-height: 69px;
    object-fit: cover;
    display: block;
}

.related-card__icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--text);
    background: linear-gradient(145deg, rgba(74, 103, 226, 0.22), rgba(0, 92, 148, 0.18));
    border: 1px solid rgba(74, 103, 226, 0.28);
    align-self: center;
}

.related-card__icon svg {
    width: 22px;
    height: 22px;
}

.related-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.related-card__title {
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.related-card__title .site-nav__reg {
    font-size: 0.65em;
    margin-left: 0.06em;
    vertical-align: super;
    color: var(--faint);
}

.related-card__desc {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.45;
}

.related-card__go {
    flex: 0 0 auto;
    align-self: center;
    color: var(--faint);
    font-weight: 800;
    font-size: 18px;
    line-height: 1;
}

.related-card--icon-only {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.related-card--icon-only .related-card__icon {
    margin-bottom: 0;
}

@media (min-width: 700px) {
    .related-card--icon-only {
        flex-direction: row;
        align-items: center;
    }
}

.cards3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

@media (max-width: 1024px) {
    .cards3 {
        grid-template-columns: 1fr;
    }
}

.story {
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    padding: 18px;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.story:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 92, 148, 0.25);
}

.story--visual {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.story__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
}

.story__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(5, 5, 8, 0.55) 100%);
    pointer-events: none;
}

.story__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}

.story--visual:hover .story__media img {
    transform: scale(1.04);
}

.story--visual .story__body {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.story--visual .story__text {
    flex: 1;
}

.story__tag {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.18);
    color: var(--faint);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.story__title {
    margin: 0 0 10px;
    font-size: 18px;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.story__text {
    margin: 0 0 12px;
    color: var(--muted);
}

.story__link {
    font-weight: 800;
    color: var(--accent);
}

.story__link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Home — impact stories (metrics + case cards) */
.impact-snapshot {
    margin: 22px 0 18px;
}

.hero__stats--compact {
    max-width: none;
    margin: 0;
}

@media (max-width: 900px) {
    .hero__stats--compact {
        grid-template-columns: 1fr;
    }
}

.hero__stats--compact .stat {
    padding: 12px 14px;
}

.hero__stats--compact .stat__value {
    font-size: clamp(20px, 2.8vw, 26px);
}

.impact-intro {
    margin: 0 0 22px;
    max-width: 72ch;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.story__highlights {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    display: grid;
    gap: 8px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--muted);
}

.story__highlights li {
    position: relative;
    padding-left: 14px;
}

.story__highlights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.story__highlights strong {
    color: var(--text);
    font-weight: 800;
}

.story--impact .story__text {
    margin-bottom: 12px;
}

@media (max-width: 1024px) {
    .story--impact .story__text {
        font-size: 14px;
    }
}

/* Careers — job openings */
.job-list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.job-list__item {
    scroll-margin-top: 96px;
}

.job-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    padding: 18px 18px;
    transition: border-color 0.15s ease, background 0.15s ease;
}

@media (min-width: 768px) {
    .job-card {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 20px;
    }
}

.job-card:hover {
    border-color: rgba(0, 92, 148, 0.35);
    background: rgba(255, 255, 255, 0.045);
}

.job-card__main {
    min-width: 0;
    flex: 1;
}

.job-card__team {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--faint);
}

.job-card__title {
    margin: 0 0 10px;
    font-size: 18px;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.job-card__summary {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.job-card__meta {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
}

.job-card__meta-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 10px;
    align-items: baseline;
    font-size: 13px;
}

.job-card__meta-row dt {
    margin: 0;
    color: var(--faint);
    font-weight: 700;
}

.job-card__meta-row dd {
    margin: 0;
    color: var(--text);
    font-weight: 600;
}

.job-card__action {
    flex-shrink: 0;
    align-self: stretch;
}

@media (min-width: 768px) {
    .job-card__action {
        align-self: center;
    }
}

.logos {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

@media (max-width: 1024px) {
    .logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

.logoTile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 88px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    padding: 14px 12px;
    text-align: center;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.logoTile:hover {
    border-color: rgba(74, 103, 226, 0.28);
    background: linear-gradient(180deg, rgba(74, 103, 226, 0.08), rgba(255, 255, 255, 0.02));
}

.logoTile__name {
    display: block;
    color: var(--text);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.logoTile__hint {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--faint);
    line-height: 1.3;
}

.partners-footnote {
    margin: 16px 0 0;
    max-width: 85ch;
    font-size: 12px;
    line-height: 1.5;
    color: var(--faint);
}

/* Cards */
.card-grid {
    display: grid;
    gap: 14px;
}

.card-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.card-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1023.98px) {
    .card-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-grid--3 {
        grid-template-columns: 1fr;
    }

    .card-grid--2 {
        grid-template-columns: 1fr;
    }
}

.card {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    padding: 18px;
}

.card--glass {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.card__kicker {
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
}

.card__title {
    margin: 0 0 8px;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.card__text {
    margin: 0 0 12px;
    color: var(--muted);
}

.card__link {
    font-weight: 800;
    color: var(--accent);
}

.card__link:hover {
    text-decoration: underline;
}

.card__meta {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--faint);
    font-size: 12px;
    font-weight: 700;
}

/* Ecosystem strip */
.ecosystem__hint {
    margin: 0 0 14px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--faint);
}

/* Logo row */
.logo-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.logo-pill {
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px dashed rgba(0, 0, 0, 0.16);
    color: var(--muted);
    font-weight: 700;
    font-size: 13px;
}

/* CTA band */
.cta-band {
    padding: 44px 0 64px;
}

.cta-band__inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    justify-content: space-between;
    padding: 22px 22px;
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid rgba(74, 103, 226, 0.22);
    background: radial-gradient(800px 240px at 20% 0%, rgba(74, 103, 226, 0.16), transparent 60%),
        rgba(255, 255, 255, 0.03);
    box-shadow: var(--shadow);
}

@media (min-width: 900px) {
    .cta-band__inner {
        flex-direction: row;
        align-items: center;
    }
}

.cta-band__title {
    margin: 0 0 6px;
    font-size: 22px;
    letter-spacing: -0.02em;
}

.cta-band__text {
    margin: 0;
    color: var(--muted);
    max-width: 62ch;
}

/* Page hero */
.page-hero {
    padding: 46px 0 18px;
    border-bottom: 1px solid var(--border);
    background: radial-gradient(900px 420px at 20% 0%, rgba(0, 92, 148, 0.12), transparent 55%);
}

.page-hero__title {
    margin: 8px 0 10px;
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.page-hero__lead {
    margin: 0 0 10px;
    color: var(--muted);
    max-width: 72ch;
    font-size: 16px;
}

.page-hero__actions {
    margin-top: 14px;
}

/* Hero figure + industry banners (real photography) */
.hero__photo {
    margin: 0;
    border-radius: calc(var(--radius) + 6px);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    align-self: center;
    /* Explicit box so img height:100% resolves (avoids collapsed/invisible images) */
    aspect-ratio: 4 / 5;
    max-height: min(640px, 78vh);
    min-height: 240px;
    background: rgba(0, 0, 0, 0.25);
}

.hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Premium hero: keep photo visually balanced next to tall copy */
@media (min-width: 1024px) {
    .hero--premium .hero__photo {
        max-height: min(705px, 82vh);
        aspect-ratio: 3 / 4;
    }
}

@media (max-width: 900px) {
    .hero__photo {
        aspect-ratio: 16 / 10;
        max-height: min(360px, 55vh);
        min-height: 200px;
    }
}

.section__banner {
    margin: 0 0 18px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 21 / 9;
    max-height: 240px;
    background: rgba(0, 0, 0, 0.2);
}

.section__banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-hero-banner {
    margin-bottom: 22px;
}

.story--team .story__media {
    aspect-ratio: 4 / 5;
}

.story--team .story__media img {
    object-position: center 15%;
}

.hero-inline-panel {
    margin-top: 1.25rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--border);
}

.hero-inline-panel__lead {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.55;
    max-width: 62ch;
}

.prose-block h2 {
    margin: 0 0 10px;
    font-size: 24px;
    letter-spacing: -0.02em;
}

.prose-block p {
    margin: 0 0 12px;
    color: var(--muted);
}

.service-intro {
    margin: 0 0 22px;
    max-width: 78ch;
}

.service-intro p:last-child {
    margin-bottom: 0;
}

.bullet-list {
    margin: 10px 0 0;
    padding-left: 18px;
    color: var(--muted);
}

.bullet-list li {
    margin: 6px 0;
}

.text-link {
    color: var(--accent);
    font-weight: 800;
}

.text-link:hover {
    text-decoration: underline;
}

/* Contact */
.contact-region-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    margin-top: 4px;
}

.contact-region-card {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    padding: 14px 16px;
    margin: 0;
}

.contact-region-card__title {
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--faint);
}

.contact-region-card__line {
    margin: 0 0 6px;
    font-size: 14px;
    color: var(--text);
    line-height: 1.45;
}

.contact-region-card__line:last-child {
    margin-bottom: 0;
}

.contact-region-card__line.muted {
    color: var(--muted);
    font-size: 13px;
}

.contact-grid {
    display: grid;
    gap: 18px;
    align-items: start;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.contact-card {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    padding: 18px;
}

.form__row {
    margin-bottom: 14px;
}

.form__row--2 {
    display: grid;
    gap: 12px;
}

@media (min-width: 720px) {
    .form__row--2 {
        grid-template-columns: 1fr 1fr;
    }
}

.label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--muted);
}

.input--area {
    resize: vertical;
    min-height: 140px;
}

.input--error {
    border-color: rgba(74, 103, 226, 0.55);
}

.field-error {
    margin: 6px 0 0;
    color: var(--danger);
    font-size: 13px;
}

.form__actions {
    margin-top: 8px;
}

.alert {
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin: 0 0 14px;
}

.alert--success {
    border-color: rgba(74, 103, 226, 0.35);
    background: rgba(74, 103, 226, 0.08);
    color: var(--text);
}

.contact-aside {
    padding: 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.contact-aside__title {
    margin: 0 0 8px;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
}

.contact-aside__text {
    margin: 0 0 16px;
    color: var(--muted);
}

/* Forms — contact + careers apply */
.form__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
    display: block;
}

.field--full {
    grid-column: 1 / -1;
}

.field__label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--muted);
}

.field__req {
    color: var(--danger);
    font-weight: 800;
}

.field__hint {
    font-weight: 600;
    font-size: 12px;
    color: var(--faint);
}

.field__input {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(5, 5, 8, 0.55);
    color: var(--text);
    padding: 12px 12px;
    font: inherit;
    outline: none;
}

.field__input:focus {
    border-color: rgba(74, 103, 226, 0.45);
    box-shadow: 0 0 0 4px rgba(74, 103, 226, 0.12);
}

.field__textarea {
    min-height: 160px;
    resize: vertical;
    line-height: 1.5;
}

.field__file {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px dashed var(--border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--muted);
    font: inherit;
    font-size: 14px;
}

.field--check {
    margin-top: 4px;
}

.field__check-wrap {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.field__check-input {
    margin-top: 4px;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.field__check-label {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.45;
}

.form__hint {
    margin: 0;
    font-size: 13px;
    color: var(--faint);
}

.form__hint.is-err {
    color: var(--danger);
    font-weight: 700;
}

.apply-form-wrap {
    min-width: 0;
}

.apply-role-card__title {
    margin: 0 0 10px;
    font-size: 20px;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.apply-role-card__meta {
    margin: 12px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
    font-size: 14px;
}

.apply-role-card__meta dt {
    margin: 0;
    color: var(--faint);
    font-weight: 700;
    display: inline;
}

.apply-role-card__meta dd {
    margin: 0;
    display: inline;
    color: var(--text);
    font-weight: 600;
}

.apply-role-card__meta div {
    margin: 0;
}

@media (max-width: 719px) {
    .form__grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 44px 0 0;
    background: rgba(0, 0, 0, 0.18);
}

.site-footer__grid {
    display: grid;
    gap: 22px;
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .site-footer__grid {
        grid-template-columns: 1.2fr 1fr 1fr 1fr;
    }
}

.site-footer__brand {
    max-width: 46ch;
}

.site-footer__contact {
    margin: 14px 0 0;
    color: var(--muted);
}

.site-footer__contact a {
    color: var(--accent);
    font-weight: 800;
}

.site-footer__heading {
    margin: 0 0 10px;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
}

.site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.site-footer__links a {
    color: var(--muted);
}

.site-footer__links a:hover {
    color: var(--text);
}

.footer-newsletter {
    margin-top: 12px;
}

.site-footer__bottom {
    margin-top: 28px;
    border-top: 1px solid var(--border);
    padding: 16px 0 22px;
}

.site-footer__bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: space-between;
}

@media (min-width: 900px) {
    .site-footer__bottom-inner {
        flex-direction: row;
        align-items: center;
    }
}

.site-footer__legal {
    margin: 0;
    color: var(--faint);
    font-size: 13px;
}

.site-footer__social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.site-footer__social--inline {
    margin-top: 12px;
}

.site-footer__social a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.site-footer__social a:hover {
    transform: translateY(-1px);
    color: var(--text);
    border-color: rgba(74, 103, 226, 0.35);
    background: rgba(74, 103, 226, 0.08);
}

.site-footer__social svg {
    display: block;
}

.site-footer__legal-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.site-footer__legal-links a {
    color: var(--faint);
    font-size: 13px;
}

.site-footer__legal-links a:hover {
    color: var(--text);
}

/* -------------------------------------------------------------------------- */
/* Home hero — premium layout (hero--premium + hero__grid + panel)            */
/* -------------------------------------------------------------------------- */

.hero--premium {
    position: relative;
    isolation: isolate;
    padding: clamp(3rem, 7vw, 5rem) 0 clamp(3.25rem, 6vw, 4.5rem);
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.hero--premium .hero__bg {
    display: none;
}

/* Layered SVG background images (public/img/hero/) */
.hero__bg-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: var(--bg);
    /* “Proper” gradient stack: deep base + aurora blooms + subtle vignette */
    background-image:
        radial-gradient(900px 520px at 18% 30%, rgba(74, 103, 226, 0.28), rgba(74, 103, 226, 0) 62%),
        radial-gradient(840px 480px at 78% 18%, rgba(0, 92, 148, 0.26), rgba(0, 92, 148, 0) 60%),
        radial-gradient(1100px 520px at 55% 92%, rgba(74, 103, 226, 0.14), rgba(74, 103, 226, 0) 68%),
        linear-gradient(140deg, var(--bg) 0%, var(--bg-elevated) 45%, var(--bg) 100%),
        linear-gradient(180deg, rgba(5, 5, 8, 0.15) 0%, rgba(5, 5, 8, 0.65) 75%, rgba(5, 5, 8, 0.82) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: saturate(1.05) contrast(1.02);
}

@media (max-width: 768px) {
    .hero__bg-img {
        filter: saturate(1.05) contrast(1.03);
    }
}

.hero__aurora {
    position: absolute;
    inset: -35% -15% auto -15%;
    height: min(78vh, 720px);
    background:
        radial-gradient(closest-side at 18% 35%, rgba(74, 103, 226, 0.22), transparent 72%),
        radial-gradient(closest-side at 78% 22%, rgba(0, 92, 148, 0.2), transparent 68%),
        radial-gradient(closest-side at 55% 88%, rgba(74, 103, 226, 0.08), transparent 62%);
    filter: blur(1px);
    pointer-events: none;
    z-index: 1;
}

.hero__mesh {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, #000 45%, transparent 75%);
    pointer-events: none;
    z-index: 2;
}

.hero__edge {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    pointer-events: none;
    z-index: 3;
}

.hero--premium .hero__grid {
    position: relative;
    z-index: 4;
    display: grid;
    gap: clamp(1.75rem, 4vw, 2.75rem);
    align-items: stretch;
}

@media (min-width: 1024px) {
    .hero--premium .hero__grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        align-items: center;
        gap: 2.5rem;
    }
}

.hero__main {
    max-width: 52rem;
}

.hero--premium .hero__title {
    margin: 0 0 1rem;
    font-size: clamp(2.25rem, 4.6vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(105deg, var(--brand-word-blue) 0%, var(--brand-icon-blue) 42%, var(--brand-green) 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero--premium .hero__lead {
    margin: 0 0 1.5rem;
    font-size: clamp(1.02rem, 1.1vw + 0.9rem, 1.125rem);
    line-height: 1.65;
    max-width: 48ch;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem 0.35rem 0.45rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.kicker__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 18px rgba(74, 103, 226, 0.45);
}

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

.hero__trust {
    list-style: none;
    margin: 1.75rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.hero__trust-item {
    position: relative;
    padding-left: 1.15rem;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}

.hero__trust-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    opacity: 0.95;
}

.hero-panel {
    position: relative;
    border-radius: calc(var(--radius) + 6px);
    border: 1px solid var(--border);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    padding: 1.5rem 1.5rem 1.35rem;
    overflow: hidden;
}

.hero-panel .panel__glow {
    position: absolute;
    inset: -40% -20% auto 40%;
    height: 220px;
    background: radial-gradient(closest-side, rgba(74, 103, 226, 0.28), transparent 70%);
    pointer-events: none;
}

.hero-panel__badge {
    display: inline-block;
    margin-bottom: 0.65rem;
    padding: 0.2rem 0.55rem;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    border: 1px solid rgba(74, 103, 226, 0.28);
    background: rgba(74, 103, 226, 0.08);
}

.hero-panel .panel__title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.hero-panel__acronym {
    margin: -0.25rem 0 0.65rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--faint);
}

.hero-panel .panel__text {
    margin: 0 0 1.1rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.hero-panel__foot {
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.hero-panel__explore {
    width: 100%;
    justify-content: center;
}

.hero-panel .qa__label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 0.5rem;
}

.hero-panel .qa__row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.hero-panel .qa__chip {
    display: inline-flex;
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    cursor: default;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.hero-panel .qa__chip:hover {
    border-color: rgba(74, 103, 226, 0.35);
    background: rgba(74, 103, 226, 0.06);
}

@media (max-width: 640px) {
    .hero__trust {
        flex-direction: column;
        gap: 0.35rem;
    }
}

/* Services page — in-page jump navigation */
.section--services-nav {
    padding-top: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 92, 148, 0.16);
}

.services-jump {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.65rem;
}

.services-jump__link {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.services-jump__link:hover {
    border-color: rgba(74, 103, 226, 0.35);
    background: rgba(74, 103, 226, 0.08);
    color: var(--text);
    text-decoration: none;
}

/* Home — GeniWeb spotlight (animated background) */
.section--geniweb {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(3rem, 6vw, 4.25rem) 0;
    border-top: 1px solid rgba(74, 103, 226, 0.22);
    border-bottom: 1px solid var(--border);
    background: linear-gradient(165deg, rgba(5, 5, 8, 0.98) 0%, rgba(0, 92, 148, 0.22) 45%, rgba(5, 5, 8, 0.96) 100%);
}

.geniweb-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.geniweb-bg__aurora {
    position: absolute;
    inset: -35% -20% 20% -20%;
    background:
        radial-gradient(ellipse 70% 55% at 50% 0%, rgba(74, 103, 226, 0.42), transparent 72%),
        radial-gradient(ellipse 50% 45% at 85% 35%, rgba(0, 92, 148, 0.38), transparent 68%),
        radial-gradient(ellipse 45% 40% at 15% 55%, rgba(61, 197, 148, 0.22), transparent 65%);
    animation: geniweb-aurora-shift 14s ease-in-out infinite alternate;
}

.geniweb-bg__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.55;
    animation: geniweb-orb-drift 12s ease-in-out infinite;
}

.geniweb-bg__orb--1 {
    width: min(320px, 55vw);
    height: min(320px, 55vw);
    top: -12%;
    right: -5%;
    background: radial-gradient(circle at 30% 30%, rgba(74, 103, 226, 0.75), transparent 68%);
    animation-delay: 0s;
}

.geniweb-bg__orb--2 {
    width: min(240px, 42vw);
    height: min(240px, 42vw);
    bottom: -8%;
    left: 0;
    background: radial-gradient(circle at 60% 70%, rgba(0, 92, 148, 0.42), transparent 70%);
    animation-delay: -4s;
    animation-duration: 15s;
}

.geniweb-bg__orb--3 {
    width: min(180px, 35vw);
    height: min(180px, 35vw);
    top: 40%;
    left: 45%;
    background: radial-gradient(circle, rgba(255, 20, 147, 0.22), transparent 72%);
    animation-delay: -2s;
    animation-duration: 18s;
    opacity: 0.4;
}

.geniweb-bg__mesh {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 25%, transparent 72%);
    animation: geniweb-mesh-pan 24s linear infinite;
}

.geniweb-bg__shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 0%,
        transparent 38%,
        rgba(255, 255, 255, 0.07) 50%,
        transparent 62%,
        transparent 100%
    );
    background-size: 220% 100%;
    animation: geniweb-shine-sweep 9s ease-in-out infinite;
    opacity: 0.65;
}

.geniweb-bg__vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 0%, rgba(5, 5, 8, 0.55) 100%);
    pointer-events: none;
}

.section--geniweb .section__sub {
    color: rgba(238, 241, 255, 0.82);
    max-width: 72ch;
}

.geniweb-inner {
    position: relative;
    z-index: 1;
}

.geniweb-head {
    margin-bottom: 0;
}

.geniweb-head__copy {
    animation: geniweb-fade-up 0.85s ease-out both;
}

.geniweb-actions {
    animation: geniweb-fade-up 0.85s ease-out 0.12s both;
}

.geniweb-eyebrow {
    animation: geniweb-eyebrow-pulse 3.5s ease-in-out infinite;
}

.geniweb-title-gradient {
    background-size: 200% auto;
    animation: geniweb-gradient-flow 8s ease infinite;
}

.geniweb-btn-primary {
    animation: geniweb-btn-pulse 2.8s ease-in-out infinite;
}

.geniweb-btn-ghost {
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.geniweb-btn-ghost:hover {
    transform: translateY(-2px);
}

@keyframes geniweb-aurora-shift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate3d(2%, 4%, 0) scale(1.06);
        opacity: 0.92;
    }
}

@keyframes geniweb-orb-drift {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    33% {
        transform: translate3d(-14px, 10px, 0) scale(1.06);
    }
    66% {
        transform: translate3d(10px, -8px, 0) scale(0.98);
    }
}

@keyframes geniweb-mesh-pan {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-52px, -52px, 0);
    }
}

@keyframes geniweb-shine-sweep {
    0%,
    100% {
        background-position: 120% 0;
    }
    50% {
        background-position: -120% 0;
    }
}

@keyframes geniweb-fade-up {
    from {
        opacity: 0;
        transform: translate3d(0, 14px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes geniweb-eyebrow-pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.72;
    }
}

@keyframes geniweb-gradient-flow {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes geniweb-btn-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(74, 103, 226, 0.45);
    }
    50% {
        box-shadow: 0 0 28px 4px rgba(74, 103, 226, 0.28);
    }
}

.page-breadcrumb {
    font-size: 0.875rem;
    color: var(--color-text-muted, #64748b);
    margin-bottom: 1rem;
}

.page-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.page-breadcrumb a:hover {
    text-decoration: underline;
}

.page-breadcrumb__sep {
    margin: 0 0.35rem;
    opacity: 0.7;
}

.legal-page__meta {
    font-size: 0.875rem;
    color: var(--color-text-muted, #64748b);
    margin-bottom: 1.25rem;
}

.legal-page__h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
}

.legal-page__body p {
    margin-bottom: 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
    .geniweb-bg__aurora,
    .geniweb-bg__orb,
    .geniweb-bg__mesh,
    .geniweb-bg__shine,
    .geniweb-head__copy,
    .geniweb-actions,
    .geniweb-eyebrow,
    .geniweb-title-gradient,
    .geniweb-btn-primary {
        animation: none !important;
    }

    .geniweb-head__copy,
    .geniweb-actions {
        opacity: 1;
        transform: none;
    }

    .geniweb-btn-ghost:hover {
        transform: none;
    }
}
