:root {
    --midnight: #08111f;
    --midnight-2: #0d1828;
    --graphite: #1e252e;
    --soft-white: #f7f4ee;
    --sand: #efe6d8;
    --gold: #d7b56d;
    --mist: #afc8d8;
    --muted: #6e7785;
    --line: rgba(247, 244, 238, 0.14);
    --line-dark: rgba(8, 17, 31, 0.1);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
    --radius: 28px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background: var(--midnight);
    color: var(--soft-white);
    line-height: 1.55;
    text-rendering: optimizeLegibility;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
textarea {
    font: inherit;
}
.site-shell {
    overflow: hidden;
}
.container {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}
.section-pad {
    padding: 112px 0;
}

.site-header {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: min(var(--max), calc(100% - 32px));
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px 0 20px;
    border: 1px solid rgba(247, 244, 238, 0.12);
    border-radius: 999px;
    background: rgba(8, 17, 31, 0.72);
    backdrop-filter: blur(18px);
    z-index: 100;
    transition: all 0.25s ease;
}
.site-header.scrolled {
    background: rgba(8, 17, 31, 0.92);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}
.brand {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    font-weight: 800;
    letter-spacing: -0.04em;
    font-size: 22px;
}
.brand-mark {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(215, 181, 109, 0.1);
    border: 1px solid rgba(215, 181, 109, 0.25);
}
.brand-mark svg {
    width: 24px;
    height: 24px;
    fill: var(--gold);
    overflow: visible;
}
.brand-mark path {
    fill: none;
    stroke: var(--gold);
    stroke-width: 2;
    opacity: 0.75;
}
.nav {
    display: flex;
    gap: 26px;
    align-items: center;
    color: rgba(247, 244, 238, 0.76);
    font-size: 14px;
    font-weight: 600;
}
.nav a:hover {
    color: var(--soft-white);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.language-switcher {
    display: inline-flex;
    border: 1px solid rgba(247, 244, 238, 0.14);
    border-radius: 999px;
    padding: 4px;
    background: rgba(247, 244, 238, 0.04);
}
.lang-button {
    cursor: pointer;
    border: 0;
    color: rgba(247, 244, 238, 0.7);
    background: transparent;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 800;
}
.lang-button.active {
    color: var(--midnight);
    background: var(--gold);
}
.mobile-menu {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(247, 244, 238, 0.12);
    border-radius: 999px;
    background: transparent;
}
.mobile-menu span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--soft-white);
    margin: 4px auto;
}
.mobile-panel {
    display: none;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    align-items: center;
    padding-top: 160px;
    padding-bottom: 90px;
    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(175, 200, 216, 0.18),
            transparent 32%
        ),
        linear-gradient(180deg, #08111f 0%, #0d1828 66%, #08111f 100%);
}
.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.92;
}
#constellationCanvas {
    width: 100%;
    height: 100%;
    display: block;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 980px;
}
.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 12px;
    margin-bottom: 18px;
}
.eyebrow:before,
.section-kicker:before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}
h1,
h2,
h3,
p {
    margin-top: 0;
}
h1 {
    max-width: 960px;
    font-size: clamp(52px, 8vw, 104px);
    line-height: 0.92;
    letter-spacing: -0.085em;
    margin-bottom: 28px;
}
h2 {
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.02;
    letter-spacing: -0.065em;
    margin-bottom: 20px;
}
h3 {
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -0.035em;
    margin-bottom: 12px;
}
.hero-subtitle {
    max-width: 760px;
    color: rgba(247, 244, 238, 0.78);
    font-size: clamp(18px, 2.1vw, 24px);
    margin-bottom: 34px;
}
.lead {
    color: inherit;
    opacity: 0.72;
    font-size: clamp(18px, 2vw, 23px);
    max-width: 840px;
}
.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 42px;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 999px;
    padding: 0 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    border: 1px solid transparent;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border 0.2s ease;
}
.button:hover {
    transform: translateY(-2px);
}
.button.primary {
    background: var(--gold);
    color: var(--midnight);
    box-shadow: 0 16px 40px rgba(215, 181, 109, 0.24);
}
.button.ghost {
    border-color: rgba(247, 244, 238, 0.18);
    color: var(--soft-white);
    background: rgba(247, 244, 238, 0.05);
}
.button.full {
    width: 100%;
}
.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.trust-row span {
    border: 1px solid rgba(247, 244, 238, 0.13);
    background: rgba(247, 244, 238, 0.04);
    border-radius: 999px;
    padding: 10px 14px;
    color: rgba(247, 244, 238, 0.7);
    font-size: 13px;
    font-weight: 700;
}

.section-light {
    background: var(--soft-white);
    color: var(--midnight);
}
.section-light .section-kicker {
    color: #9b762e;
}
.split {
    display: grid;
    grid-template-columns: 0.62fr 1.38fr;
    gap: 54px;
    align-items: start;
}
.section-heading {
    margin-bottom: 46px;
    max-width: 860px;
}
.section-heading.centered {
    margin: 0 auto 46px;
    text-align: center;
}
.section-heading.centered .section-kicker {
    justify-content: center;
}
.section-heading.centered .section-kicker:after {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}
.cards {
    display: grid;
    gap: 20px;
}
.cards.three {
    grid-template-columns: repeat(3, 1fr);
}
.cards.four {
    grid-template-columns: repeat(4, 1fr);
}
.card,
.offer-card,
.principle {
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    padding: 30px;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 18px 60px rgba(8, 17, 31, 0.06);
}
.card p,
.offer-card p,
.principle p {
    color: rgba(8, 17, 31, 0.68);
    margin-bottom: 0;
}
.card-icon {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    color: var(--midnight);
    background: var(--gold);
    font-weight: 900;
}
.audience-section {
    background: linear-gradient(180deg, var(--soft-white), #efe6d8);
    color: var(--midnight);
}
.audience-section .section-kicker {
    color: #9b762e;
}

.section-dark {
    background: var(--midnight);
    color: var(--soft-white);
    position: relative;
}
.section-dark:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(215, 181, 109, 0.12),
            transparent 26%
        ),
        radial-gradient(
            circle at 90% 60%,
            rgba(175, 200, 216, 0.12),
            transparent 30%
        );
    pointer-events: none;
}
.section-dark .container {
    position: relative;
    z-index: 1;
}
.timeline {
    display: grid;
    gap: 14px;
}
.step {
    display: grid;
    grid-template-columns: 70px 0.55fr 1fr;
    gap: 22px;
    align-items: start;
    padding: 24px 0;
    border-top: 1px solid rgba(247, 244, 238, 0.12);
}
.step:last-child {
    border-bottom: 1px solid rgba(247, 244, 238, 0.12);
}
.step span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: var(--midnight);
    background: var(--gold);
    font-weight: 900;
}
.step p {
    color: rgba(247, 244, 238, 0.68);
    margin: 0;
}

.offer-card {
    position: relative;
    min-height: 360px;
    display: flex;
    flex-direction: column;
}
.offer-card.featured {
    background: var(--midnight);
    color: var(--soft-white);
    border-color: rgba(215, 181, 109, 0.5);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
}
.offer-card.featured p {
    color: rgba(247, 244, 238, 0.72);
}
.offer-card ul {
    list-style: none;
    padding: 0;
    margin: auto 0 0;
    display: grid;
    gap: 10px;
}
.offer-card li {
    display: flex;
    gap: 9px;
    align-items: center;
    font-weight: 700;
    color: rgba(8, 17, 31, 0.75);
}
.offer-card.featured li {
    color: rgba(247, 244, 238, 0.78);
}
.offer-card li:before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--gold);
    flex: 0 0 auto;
}
.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(215, 181, 109, 0.14);
    border: 1px solid rgba(215, 181, 109, 0.3);
    color: var(--gold);
    border-radius: 999px;
    padding: 7px 10px;
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.founder-section {
    background: linear-gradient(135deg, #0d1828 0%, #08111f 100%);
    color: var(--soft-white);
}
.founder-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 72px;
    align-items: center;
}
.founder-visual {
    position: relative;
    min-height: 520px;
    display: grid;
    place-items: center;
}
.portrait-frame {
    width: min(380px, 84vw);
    aspect-ratio: 4 / 5;
    border-radius: 42px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(247, 244, 238, 0.16);
    box-shadow: var(--shadow);
    background:
        linear-gradient(
            160deg,
            rgba(247, 244, 238, 0.18),
            rgba(215, 181, 109, 0.06)
        ),
        radial-gradient(
            circle at 35% 20%,
            rgba(175, 200, 216, 0.2),
            transparent 38%
        );
}
.portrait-frame:before {
    content: "";
    position: absolute;
    inset: 22px;
    border: 1px solid rgba(247, 244, 238, 0.12);
    border-radius: 30px;
    z-index: 1;
    pointer-events: none;
}
.portrait-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.orbit {
    position: absolute;
    border: 1px solid rgba(215, 181, 109, 0.2);
    border-radius: 999px;
    pointer-events: none;
}
.orbit-one {
    width: 480px;
    height: 480px;
    animation: spin 34s linear infinite;
}
.orbit-two {
    width: 360px;
    height: 360px;
    transform: rotate(23deg);
    animation: spin 28s linear infinite reverse;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.principle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.principle h3 {
    font-size: 19px;
}

.cta-section {
    background: var(--midnight);
    color: var(--soft-white);
}
.cta-card {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 54px;
    align-items: start;
    padding: 54px;
    border-radius: 42px;
    border: 1px solid rgba(247, 244, 238, 0.13);
    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(215, 181, 109, 0.13),
            transparent 33%
        ),
        rgba(247, 244, 238, 0.045);
    box-shadow: var(--shadow);
}
.cta-card p {
    color: rgba(247, 244, 238, 0.72);
    font-size: 18px;
}
.apply-form {
    display: grid;
    gap: 14px;
}
.apply-form label {
    display: grid;
    gap: 8px;
    font-weight: 800;
    font-size: 13px;
    color: rgba(247, 244, 238, 0.72);
}
.apply-form input,
.apply-form textarea,
.apply-form select {
    width: 100%;
    border: 1px solid rgba(247, 244, 238, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--soft-white);
    padding: 15px 16px;
    outline: none;
}
.apply-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, currentColor 50%),
        linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-position:
        calc(100% - 22px) calc(50% - 3px),
        calc(100% - 16px) calc(50% - 3px);
    background-size:
        6px 6px,
        6px 6px;
    background-repeat: no-repeat;
    padding-right: 42px;
}
.apply-form input:focus,
.apply-form textarea:focus,
.apply-form select:focus {
    border-color: rgba(215, 181, 109, 0.7);
    box-shadow: 0 0 0 4px rgba(215, 181, 109, 0.1);
}
.form-status {
    min-height: 1.5em;
    margin: 14px 0 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: rgba(247, 244, 238, 0.78);
}
.form-status.success {
    color: #7fe0a6;
}
.form-status.error {
    color: #ff9b9b;
}
.form-note {
    font-size: 12px !important;
    margin: 0;
    opacity: 0.7;
}

.site-footer {
    padding: 42px 0;
    background: #050b13;
    color: rgba(247, 244, 238, 0.68);
    border-top: 1px solid rgba(247, 244, 238, 0.08);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: start;
}
.footer-brand {
    color: var(--soft-white);
    margin-bottom: 12px;
}
.footer-title {
    color: var(--soft-white);
    font-weight: 800;
    margin-bottom: 8px;
}
.site-footer p {
    margin: 0 0 7px;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1020px) {
    .nav {
        display: none;
    }
    .mobile-menu {
        display: block;
    }
    .mobile-panel {
        position: fixed;
        top: 96px;
        left: 16px;
        right: 16px;
        z-index: 99;
        display: none;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 18px;
        border: 1px solid rgba(247, 244, 238, 0.12);
        border-radius: 24px;
        background: rgba(8, 17, 31, 0.96);
        backdrop-filter: blur(18px);
    }
    .mobile-panel.open {
        display: grid;
    }
    .mobile-panel a {
        padding: 14px 12px;
        border-radius: 14px;
        background: rgba(247, 244, 238, 0.04);
        font-weight: 800;
    }
    .cards.three,
    .cards.four,
    .principle-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .founder-grid,
    .cta-card,
    .split {
        grid-template-columns: 1fr;
    }
    .step {
        grid-template-columns: 58px 1fr;
    }
    .step p {
        grid-column: 2;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 28px, var(--max));
    }
    .section-pad {
        padding: 76px 0;
    }
    .site-header {
        top: 10px;
        width: calc(100% - 20px);
        height: 64px;
        padding: 0 12px 0 14px;
    }
    .brand {
        font-size: 20px;
    }
    .language-switcher {
        padding: 3px;
    }
    .lang-button {
        padding: 6px 8px;
    }
    .hero {
        padding-top: 130px;
        min-height: 92vh;
    }
    h1 {
        font-size: clamp(46px, 15vw, 70px);
    }
    h2 {
        font-size: clamp(32px, 11vw, 48px);
    }
    .cards.three,
    .cards.four,
    .principle-grid {
        grid-template-columns: 1fr;
    }
    .card,
    .offer-card,
    .principle {
        padding: 24px;
        border-radius: 24px;
    }
    .offer-card.featured {
        transform: none;
    }
    .founder-visual {
        min-height: 420px;
    }
    .orbit-one {
        width: 360px;
        height: 360px;
    }
    .orbit-two {
        width: 290px;
        height: 290px;
    }
    .cta-card {
        padding: 28px;
        border-radius: 28px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
