@font-face {
    font-family: 'Figtree';
    src: url('/fonts/figtree-latin-wght-normal.woff2') format('woff2');
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --navy: #222539;
    --violet: #712BFA;
    --coral: #FF3D57;
    --pale-grey: #E9E9EB;
    --white: #FFFFFF;
    --line: rgba(255, 255, 255, 0.16);
    --glass: rgba(255, 255, 255, 0.10);
    --primary-gradient: linear-gradient(135deg, var(--navy) 0%, var(--violet) 100%);
    --font: 'Figtree', system-ui, sans-serif;
    --gutter: clamp(16px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { background: var(--navy); overflow-x: clip; }

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    background: var(--primary-gradient);
    background-attachment: fixed;
    color: var(--white);
    font-family: var(--font);
    position: relative;
    overflow-x: clip;
}

.hero-mark {
    position: fixed;
    right: -6vw;
    bottom: -16vh;
    height: min(84vh, 58vw);
    width: auto;
    pointer-events: none;
    z-index: 0;
}

.hero-mark .bars { fill: var(--white); opacity: 0.09; }

.page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    min-height: 100svh;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    flex-direction: column;
}

.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(56px, 10vh, 120px) 0;
    max-width: 820px;
}

.logo { margin: 0; line-height: 0; }
.logo img { width: clamp(260px, 44vw, 600px); height: auto; }

.tagline {
    margin: clamp(20px, 3vh, 32px) 0 0;
    max-width: 36rem;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 500;
    line-height: 1.35;
    color: var(--pale-grey);
    text-wrap: balance;
}

.links {
    margin: clamp(36px, 6vh, 56px) 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 24px 13px 20px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--glass);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.link svg { width: 20px; height: 20px; margin-top: -3px; fill: currentColor; flex: none; }

.link:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--navy);
}

.link:focus-visible,
.bottom a:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 3px;
}

.bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 22px 0 28px;
    border-top: 1px solid var(--line);
    font-size: 0.9375rem;
    color: var(--pale-grey);
}

.bottom a {
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 1px;
}

.bottom a:hover { border-color: var(--white); }

@media (max-width: 640px) {
    .hero-mark { position: absolute; top: 92px; right: -56px; bottom: auto; height: 250px; }
    .hero-mark .bars { opacity: 0.08; }
    .links { flex-direction: column; }
    .link { justify-content: center; padding: 17px 20px 15px; }
}

@media (prefers-reduced-motion: reduce) {
    .link { transition: none; }
}
