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

.has-global-nav {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 18%, rgba(40, 121, 255, 0.17), transparent 32rem),
        radial-gradient(circle at 82% 70%, rgba(117, 65, 225, 0.16), transparent 30rem),
        linear-gradient(180deg, #05070b 0%, #0c1220 100%) !important;
    color: #f2f6ff;
}

body.has-global-nav {
    margin: 0;
}

.team-page {
    width: min(1120px, calc(100% - 3rem));
    margin: 0 auto;
    padding: clamp(8rem, 14vh, 11rem) 0 4rem;
    color: #f2f6ff;
}

.team-hero {
    max-width: 820px;
    margin-bottom: 3.5rem;
}

.team-kicker,
.thanks-label {
    color: #67e8f9;
    font: 700 0.72rem/1.4 Inter, -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: 0.18em;
}

.team-hero h1 {
    max-width: 800px;
    margin: 1.2rem 0;
    color: #f4f8ff;
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 700;
    letter-spacing: -0.065em;
    line-height: 0.98;
}

.team-intro {
    max-width: 680px;
    color: #9ba8bd;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.8;
}

.team-manifesto {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    margin-bottom: 1.25rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid rgba(103, 232, 249, 0.2);
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(37, 113, 227, 0.2), rgba(255, 255, 255, 0.035));
}

.manifesto-mark {
    color: #67e8f9;
    font: 700 4rem/0.8 Georgia, serif;
}

.team-manifesto p {
    max-width: 800px;
    margin-bottom: 1.5rem;
    color: #f2f6ff;
    font-size: clamp(1.35rem, 3.2vw, 2.35rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.45;
}

.manifesto-caption {
    color: #8293ae;
    font: 700 0.67rem/1.4 Inter, -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: 0.15em;
}

.team-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.principle-card {
    min-height: 13rem;
    padding: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02));
}

.principle-number {
    color: #67e8f9;
    font: 700 0.72rem/1 Inter, -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: 0.12em;
}

.principle-card h2 {
    margin: 1.5rem 0 0.75rem;
    color: #f2f6ff;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.principle-card p {
    color: #899ab4;
    font-size: 0.92rem;
    line-height: 1.7;
}

.team-thanks {
    margin-top: 1.25rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid rgba(143, 200, 255, 0.14);
    border-radius: 1.25rem;
    background: rgba(4, 10, 22, 0.55);
}

.team-thanks h2 {
    margin: 0.75rem 0 0.45rem;
    color: #f2f6ff;
    font-size: 1.35rem;
}

.team-thanks p {
    color: #aebbd0;
    line-height: 1.7;
}

.team-footer {
    padding: 0 1.5rem 3rem;
    text-align: center;
}

.team-footer a {
    color: #67e8f9;
    font-size: 0.9rem;
    text-decoration: none;
}

.team-footer a:hover {
    color: #fff;
}

@media (max-width: 760px) {
    .team-page {
        width: min(100% - 2rem, 600px);
        padding-top: 7rem;
    }

    .team-principles {
        grid-template-columns: 1fr;
    }

    .principle-card {
        min-height: auto;
    }
}
