@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap");

:root {
    --bg: #080808;
    --surface: #101010;
    --white: #ffffff;
    --muted: #9b9b9b;
    --border: rgba(255, 255, 255, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--white);
    font-family: "DM Sans", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

button {
    font: inherit;
    cursor: pointer;
}

.site-header {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 5%;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.auth-area {
    display: flex;
    align-items: center;
}

.login,
.user-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid var(--border);
    background: rgba(10, 10, 10, 0.85);
    border-radius: 100px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(16px);
    transition: background 0.2s, border-color 0.2s;
}

.login:hover {
    background: #242424;
    border-color: rgba(255, 255, 255, 0.35);
}

.user-pill {
    padding: 5px 6px 5px 10px;
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.logout {
    border: 0;
    background: #252525;
    color: white;
    border-radius: 100px;
    padding: 9px 13px;
    font-size: 12px;
}

.logout:hover {
    background: #393939;
}

.nav-pill {
    display: flex;
    align-items: center;
    gap: 38px;
    padding: 7px 12px 7px 9px;
    border-radius: 100px;
    background: rgba(7, 7, 7, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
}

.brand img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-right: 13px;
}

.nav-links a {
    color: #9b9b9b;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

/* HOMEPAGE */

.hero {
    position: relative;
    min-height: 850px;
    height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hero-image,
.hero-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-image {
    z-index: -2;
    background-image: url("/images/background.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-shade {
    z-index: -1;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.56) 48%,
            rgba(0, 0, 0, 0.25) 100%
        ),
        linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.93) 0%,
            transparent 35%,
            rgba(0, 0, 0, 0.15) 100%
        );
}

.hero-content {
    width: min(1100px, 90%);
    margin: 0 auto;
    padding-top: 70px;
}

.eyebrow,
.page-kicker,
.intro-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #c9c9c9;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.eyebrow {
    display: inline-flex;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border);
    border-radius: 100px;
    backdrop-filter: blur(10px);
}

.dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.65);
}

.hero h1 {
    margin: 25px 0 25px;
    font-size: clamp(64px, 7.4vw, 118px);
    font-weight: 800;
    letter-spacing: -0.075em;
    line-height: 0.99;
}

.period {
    color: #999999;
}

.hero-content > p {
    max-width: 575px;
    color: #dedede;
    font-size: 17px;
    line-height: 1.85;
    font-weight: 400;
}

.hero-content > p strong {
    color: white;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 36px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    min-height: 51px;
    padding: 0 23px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.2s, background 0.2s;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    color: #080808;
    background: #ffffff;
}

.button.primary:hover {
    background: #dedede;
}

.button.disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.button.disabled:hover {
    transform: none;
}

.button.outline {
    border: 1px solid var(--border);
    background: #171717;
    color: white;
}

.button.outline:hover {
    background: #282828;
}

.hero-bottom {
    position: absolute;
    bottom: 36px;
    left: 5%;
    right: 5%;
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.65);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* INTRO SECTION */

.intro {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    padding: 130px max(5%, calc((100% - 1100px) / 2));
    border-bottom: 1px solid var(--border);
}

.intro-label {
    padding-top: 15px;
}

.intro h2 {
    margin: 0;
    font-size: clamp(46px, 5vw, 76px);
    line-height: 1.08;
    letter-spacing: -0.065em;
}

.intro h2 em,
.inner-page h1 em {
    color: #777777;
    font-style: normal;
}

.intro p {
    max-width: 540px;
    margin: 25px 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.text-link {
    display: inline-block;
    margin-top: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #666666;
    font-size: 14px;
    font-weight: 700;
}

.text-link:hover {
    border-color: white;
}

/* INNER PAGES */

.inner-page {
    max-width: 1100px;
    min-height: 70vh;
    margin: 0 auto;
    padding: 190px 24px 120px;
}

.inner-page h1 {
    margin: 25px 0;
    font-size: clamp(55px, 7vw, 95px);
    letter-spacing: -0.07em;
    line-height: 1.05;
}

.lead {
    max-width: 700px;
    color: #a6a6a6;
    font-size: 17px;
    line-height: 1.8;
}

.department-placeholder {
    margin-top: 65px;
    padding: 65px 45px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #101010;
}

.placeholder-icon {
    color: #bbbbbb;
    font-size: 36px;
}

.department-placeholder h2 {
    font-size: 30px;
    letter-spacing: -1px;
}

.department-placeholder p {
    margin-bottom: 30px;
    color: var(--muted);
}

/* LEGAL PAGES */

.legal {
    max-width: 900px;
}

.legal h1 {
    margin-bottom: 20px;
}

.legal h2 {
    margin: 45px 0 14px;
    font-size: 21px;
    letter-spacing: -0.5px;
}

.legal p:not(.lead) {
    color: #a6a6a6;
    font-size: 15px;
    line-height: 1.9;
}

/* FOOTER */

.footer {
    padding: 65px 5% 30px;
    background: #050505;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 65px;
}

.footer-brand {
    max-width: 380px;
}

.footer-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.footer-title img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.footer-brand p {
    margin-top: 22px;
    color: #888888;
    font-size: 13px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    gap: 30px;
    padding-top: 12px;
}

.footer-links a {
    color: #a6a6a6;
    font-size: 13px;
    font-weight: 600;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
    color: #666666;
    font-size: 12px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .site-header {
        padding: 15px 4%;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .nav-pill {
        gap: 12px;
        padding: 6px 9px;
    }

    .nav-links {
        gap: 14px;
        padding-right: 4px;
    }

    .nav-links a {
        font-size: 11px;
    }

    .brand {
        width: 28px;
        height: 28px;
    }

    .brand img {
        width: 28px;
        height: 28px;
    }

    .hero {
        min-height: 720px;
    }

    .hero-content {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: clamp(52px, 11vw, 80px);
    }

    .hero-content > p {
        font-size: 15px;
    }

    .intro {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 90px 6%;
    }

    .inner-page {
        padding-top: 190px;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-pill {
        width: 100%;
        justify-content: space-between;
    }

    .hero h1 {
        font-size: 49px;
    }

    .hero-content {
        padding-top: 140px;
    }

    .hero-bottom {
        font-size: 8px;
    }

    .department-placeholder {
        padding: 40px 25px;
    }

    .footer-links {
        gap: 20px;
    }
}