:root {
    --faj-blue: #004FDB;
    --faj-blue-soft: #1F66E8;
    --faj-blue-deep: #003BA8;
    --faj-black: #0A0A0A;
    --faj-graphite: #1C1C1F;
    --faj-mist: #F4F6FB;
    --faj-line: rgba(10, 10, 10, 0.08);
    --faj-line-strong: rgba(10, 10, 10, 0.18);

    --font-display: 'Space Grotesk', system-ui, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: var(--font-display);
    color: var(--faj-black);
    background: var(--faj-mist);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow: hidden;
}

.grid-bg {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--faj-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--faj-line) 1px, transparent 1px);
    background-size: 80px 80px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
            mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.grid-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 400px at 85% 110%, rgba(0, 79, 219, 0.18), transparent 60%),
        radial-gradient(500px 300px at 10% -10%, rgba(0, 79, 219, 0.10), transparent 60%);
}

.stage {
    position: relative;
    z-index: 1;
    height: 100vh;
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(16px, 2.4vh, 32px) clamp(20px, 5vw, 64px);
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: clamp(12px, 2vh, 24px);
    justify-items: center;
    text-align: center;
    overflow: hidden;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid var(--faj-line-strong);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faj-graphite);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
}

.eyebrow--top {
    align-self: start;
    justify-self: center;
    margin-top: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--faj-blue);
    box-shadow: 0 0 0 4px rgba(0, 79, 219, 0.18);
    animation: dot-pulse 2.4s ease-in-out infinite;
}

.hero {
    align-self: center;
    max-width: 980px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__logo-wrap {
    margin: 0;
    padding: 0;
    display: block;
    width: 100%;
}

.hero__logo {
    width: clamp(220px, 38vw, 460px);
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 18px 50px rgba(0, 79, 219, 0.18));
    animation: logo-in 1s ease-out both;
}

.hero__tagline {
    margin-top: clamp(6px, 1.4vh, 14px);
    font-size: clamp(18px, 2.2vw, 28px);
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--faj-graphite);
    position: relative;
}

.hero__tagline::before {
    content: "";
    display: block;
    width: 48px;
    height: 2px;
    background: var(--faj-blue);
    margin: 0 auto clamp(8px, 1.6vh, 16px);
    border-radius: 2px;
}

.hero__tagline .accent {
    color: var(--faj-blue);
    font-weight: 700;
}

.hero__chip {
    margin-top: clamp(8px, 1.6vh, 16px);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(11px, 0.95vw, 13px);
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--faj-blue);
}

.hero__chip-bar {
    width: clamp(24px, 5vw, 44px);
    height: 2px;
    background: var(--faj-blue);
    border-radius: 2px;
    opacity: 0.7;
}

.hero__copy {
    margin-top: clamp(8px, 1.6vh, 16px);
    max-width: 580px;
    font-size: clamp(13px, 1vw, 15px);
    line-height: 1.55;
    color: rgba(10, 10, 10, 0.65);
    text-align: center;
}

.pillars {
    margin-top: clamp(14px, 2.4vh, 24px);
    list-style: none;
    padding: 0;
    width: 100%;
    max-width: 880px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--faj-line-strong);
    border: 1px solid var(--faj-line-strong);
    border-radius: 12px;
    overflow: hidden;
}

.pillars__item {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(6px);
    padding: clamp(12px, 1.8vh, 18px) 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
    transition: background .25s ease;
}

.pillars__item:hover {
    background: rgba(255, 255, 255, 0.95);
}

.pillars__num {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--faj-blue);
}

.pillars__label {
    font-size: clamp(15px, 1.4vw, 18px);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--faj-black);
}

.pillars__desc {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(10, 10, 10, 0.6);
}

.meta {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding-top: clamp(10px, 1.6vh, 16px);
    border-top: 1px solid var(--faj-line-strong);
    font-size: 12px;
    text-align: left;
}

.meta__label { font-size: 10px; }

.meta__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(10, 10, 10, 0.45);
}

.meta__value {
    color: var(--faj-black);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

a.meta__value:hover {
    color: var(--faj-blue);
}

.pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--faj-blue);
    position: relative;
}

.pulse::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 1px solid var(--faj-blue);
    animation: pulse 1.8s ease-out infinite;
}

@keyframes dot-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 4px rgba(0, 79, 219, 0.18); }
    50%      { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(0, 79, 219, 0.04); }
}

@keyframes pulse {
    0%   { transform: scale(1);   opacity: 0.9; }
    100% { transform: scale(2.4); opacity: 0;   }
}

@keyframes logo-in {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0)    scale(1); }
}

@media (max-width: 720px) {
    body { overflow: auto; }

    .stage {
        height: auto;
        min-height: 100vh;
        padding: 24px 18px 28px;
        overflow: visible;
    }

    .hero__logo { width: min(72vw, 320px); }

    .pillars {
        grid-template-columns: 1fr;
    }

    .meta {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }

    .meta__item { align-items: center; }
}

@media (max-height: 760px) {
    .hero__logo { width: clamp(200px, 28vw, 360px); }
    .hero__copy { display: none; }
}

@media (max-height: 620px) {
    .pillars__desc { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .dot, .pulse::before, .hero__logo { animation: none; }
}
