:root {
    color-scheme: dark;
    --primary-color: #3773d4;
    --background-color: #0b0b0b;
    --surface-color: #111;
    --border-color: #303030;
    --text-color: #fff;
    --muted-color: #b7b7b7;
    --blue-surface: #1b355d;
    --content-width: 1250px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
    background: var(--background-color);
}

body {
    margin: 0;
    background: var(--background-color);
    color: var(--text-color);
    font-family: "Inter", sans-serif;
    line-height: 1.5;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 2px solid #8bb6ff;
    outline-offset: 4px;
}

section {
    min-height: 0;
}

.js-enabled section {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js-enabled section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero,
.feature-one,
.feature-two,
.feature-three,
.founder-path,
.investor-path,
.founder-features,
.investor-features {
    width: min(calc(100% - 64px), var(--content-width));
    margin-inline: auto;
}

.hero {
    display: flex;
    min-height: 100svh;
    flex-direction: column;
}

.navbar {
    display: flex;
    min-height: 84px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo,
.footer-logo {
    color: var(--text-color);
    font-weight: 750;
    letter-spacing: -0.04em;
    text-decoration: none;
}

.logo {
    font-size: 26px;
}

.nav-items {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 40px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-items a,
.footer-nav a {
    color: var(--text-color);
    font-size: 14px;
    font-weight: 550;
    text-decoration: none;
}

.nav-items a:hover,
.footer-nav a:hover,
.footer-legal a:hover {
    color: #b8d2ff;
}

.primary-btn,
.secondary-btn,
.anchor-btn,
.cta-primary-btn,
.cta-secondary-btn {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.primary-btn {
    border: 1px solid var(--primary-color);
    padding: 0 18px;
    background: var(--primary-color);
    color: var(--text-color);
}

.primary-btn:hover {
    border-color: #5389e6;
    background: #5389e6;
}

.secondary-btn {
    border: 1px solid #626262;
    padding: 0 18px;
    background: transparent;
    color: var(--text-color);
}

.secondary-btn:hover {
    border-color: #a0a0a0;
    background: rgb(255 255 255 / 6%);
}

.anchor-btn {
    min-height: 36px;
    justify-content: flex-start;
    padding: 0;
    color: var(--text-color);
}

.anchor-btn:hover {
    color: #b8d2ff;
}

.hero-content {
    display: flex;
    width: min(100%, 960px);
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
    padding: 40px 0 64px;
    text-align: center;
}

.eyebrow {
    margin: 0;
    color: #aebfe0;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0.1em;
    line-height: 1.4;
    text-transform: uppercase;
}

.hero-heading {
    max-width: 900px;
    margin: 0;
    font-size: clamp(44px, 7vw, 76px);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 1.04;
}

.hero-subtitle {
    max-width: 660px;
    margin: 0;
    color: #d2d2d2;
    font-size: clamp(16px, 2vw, 19px);
}

.hero-buttons,
.feature-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.hero-buttons {
    justify-content: center;
    margin-top: 4px;
}

.hero-image {
    width: min(100%, 920px);
    height: clamp(220px, 37vh, 360px);
    margin-top: 16px;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: var(--surface-color);
    object-fit: cover;
    object-position: center 45%;
}

.feature-one,
.feature-three {
    display: grid;
    min-height: 620px;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(40px, 8vw, 112px);
    padding-block: 100px;
}

.feature-copy,
.repository-copy,
.feature-intro {
    max-width: 570px;
}

.section-heading {
    margin: 14px 0 18px;
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 680;
    letter-spacing: -0.045em;
    line-height: 1.1;
}

.feature-copy > p:not(.eyebrow),
.repository-copy > p:not(.eyebrow),
.feature-intro > p:not(.eyebrow),
.section-description {
    max-width: 58ch;
    margin: 0;
    color: var(--muted-color);
    font-size: 16px;
    line-height: 1.7;
}

.feature-points {
    display: grid;
    gap: 12px;
    margin: 24px 0 30px;
    padding: 0;
    color: #e2e2e2;
    list-style: none;
}

.feature-points li::before {
    margin-right: 10px;
    color: #8db4ff;
    content: "✓";
}

.feature-image,
.repository-image {
    width: 100%;
    height: clamp(330px, 42vw, 500px);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: var(--surface-color);
    object-fit: cover;
}

.feature-two {
    display: grid;
    min-height: 720px;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    align-items: center;
    gap: clamp(40px, 7vw, 100px);
    padding-block: 100px;
}

.feature-intro .section-heading {
    font-size: clamp(34px, 4vw, 48px);
}

.feature-intro .feature-buttons {
    margin-top: 28px;
}

.feature-showcase {
    min-width: 0;
}

.tablist {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.tablist li {
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 8px 13px;
    color: #d4d4d4;
    font-size: 13px;
}

.joined-card {
    display: grid;
    min-height: 390px;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: var(--surface-color);
}

.showcase-copy {
    align-self: center;
    padding: clamp(24px, 4vw, 40px);
}

.showcase-copy .section-heading {
    font-size: clamp(26px, 3vw, 36px);
}

.showcase-copy > p:last-child {
    margin: 0;
    color: var(--muted-color);
    line-height: 1.7;
}

.joined-card > img {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
}

.feature-three {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.repository-copy .feature-buttons {
    margin-top: 28px;
}

.founder-path,
.investor-path,
.founder-features,
.investor-features {
    padding-block: 100px;
    text-align: center;
}

.founder-path > .section-heading,
.investor-path > .section-heading,
.founder-features > .section-heading,
.investor-features > .section-heading {
    margin: 12px 0 14px;
}

.section-description {
    margin-inline: auto;
}

.path-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 48px;
    text-align: left;
}

.path-step,
.founder-feature-card {
    min-width: 0;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 26px;
    background: linear-gradient(145deg, #121212, #0d0d0d);
}

.step-number,
.feature-mark {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #354969;
    border-radius: 12px;
    background: #17243a;
    color: #b8d2ff;
    font-size: 14px;
    font-weight: 650;
}

.path-step .section-heading,
.founder-feature-card .section-heading {
    margin: 22px 0 10px;
    font-size: 22px;
    letter-spacing: -0.025em;
}

.path-step > p,
.founder-feature-card > p {
    margin: 0;
    color: var(--muted-color);
    font-size: 14px;
    line-height: 1.7;
}

.investor-steps .path-step {
    background: #101318;
}

.founder-features .section-tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 44px;
    text-align: left;
}

.founder-feature-card {
    display: flex;
    min-height: 270px;
    flex-direction: column;
    align-items: flex-start;
}

.founder-feature-card .anchor-btn {
    margin-top: auto;
    padding-top: 22px;
}

.investor-features {
    padding-inline: 0;
}

.investor-features > .mini-text {
    display: none;
}

.investor-features > .section-heading {
    font-size: clamp(42px, 5vw, 60px);
}

.investor-features > p:not(.mini-text, .section-heading) {
    margin: 0;
    color: #dedede;
    font-size: clamp(16px, 2vw, 20px);
}

.investor-features .section-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 64px;
    text-align: left;
}

.investor-features .joined-card {
    display: flex;
    min-width: 0;
    min-height: 304px;
    height: 304px;
    align-items: stretch;
    border-radius: 16px;
    background: transparent;
}

.investor-features .joined-card > img {
    width: 50%;
    height: 100%;
    min-height: 0;
    flex: 0 0 50%;
    object-fit: cover;
}

.investor-features .joined-card > div {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 24px;
}

.investor-features .joined-card .mini-text {
    margin: 0 0 10px;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 600;
}

.investor-features .joined-card .section-heading {
    margin: 0 0 10px;
    font-size: clamp(24px, 2.4vw, 32px);
}

.investor-features .joined-card p:not(.mini-text, .section-heading) {
    margin: 0;
    color: #dedede;
    font-size: 15px;
    line-height: 1.5;
}

.investor-features .joined-card .anchor-btn {
    min-height: 0;
    margin-top: 20px;
}

.cta {
    margin: 0;
    padding: 88px max(32px, calc((100% - var(--content-width)) / 2));
    background: var(--blue-surface);
}

.cta .section-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(40px, 7vw, 96px);
}

.cta-card {
    min-width: 0;
}

.cta-icon {
    display: grid;
    width: 46px;
    height: 47px;
    place-items: center;
    margin-bottom: 30px;
    border-radius: 8px;
    background: #f1f0ee;
    color: var(--blue-surface);
}

.cta-icon svg {
    width: 25px;
    height: 25px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.cta .section-heading {
    margin: 0 0 20px;
    font-size: clamp(42px, 5vw, 60px);
    line-height: 1.2;
}

.cta-card > p:not(.section-heading) {
    margin: 0 0 30px;
    color: #f1f3f8;
    font-size: 16px;
    line-height: 1.5;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.cta-primary-btn,
.cta-secondary-btn {
    min-height: 38px;
    padding: 0 13px;
    border-radius: 12px;
    font-size: 16px;
}

.cta-primary-btn {
    border: 1px solid #f1f0ee;
    background: #f1f0ee;
    color: #111;
}

.cta-primary-btn:hover {
    background: #fff;
}

.cta-secondary-btn {
    border: 1px solid #486182;
    background: transparent;
    color: var(--text-color);
}

.cta-secondary-btn:hover {
    border-color: #9ab0d1;
    background: rgb(255 255 255 / 5%);
}

.site-footer {
    padding: 0 32px 32px;
    background: var(--background-color);
}

.footer-main {
    display: grid;
    width: min(100%, var(--content-width));
    min-height: 170px;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    margin: 0 auto;
}

.footer-logo {
    justify-self: start;
    font-size: 24px;
}

.footer-nav,
.footer-social,
.footer-legal {
    display: flex;
    align-items: center;
    list-style: none;
}

.footer-nav {
    gap: 26px;
}

.footer-nav a,
.footer-legal a {
    color: var(--text-color);
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.footer-social {
    justify-self: end;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.footer-social li,
.footer-social [role="img"] {
    display: flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
}

.footer-social [role="img"] {
    color: var(--text-color);
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
}

.social-facebook {
    align-items: flex-end !important;
    border-radius: 50%;
    background: var(--text-color);
    color: var(--background-color) !important;
    font-size: 15px !important;
}

.social-instagram {
    position: relative;
    width: 17px !important;
    height: 17px !important;
    border: 2px solid var(--text-color);
    border-radius: 5px;
}

.social-instagram::before {
    width: 6px;
    height: 6px;
    border: 1.5px solid var(--text-color);
    border-radius: 50%;
    content: "";
}

.social-instagram::after {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: var(--text-color);
    content: "";
}

.social-x {
    font-size: 18px !important;
    font-weight: 400 !important;
}

.social-linkedin {
    border-radius: 2px;
    background: var(--text-color);
    color: var(--background-color) !important;
    font-size: 12px !important;
}

.social-youtube {
    width: 20px !important;
    height: 14px !important;
    border-radius: 4px;
    background: var(--text-color);
}

.social-youtube span {
    width: 0;
    height: 0;
    margin-left: 2px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid var(--background-color);
}

.footer-bottom {
    display: flex;
    min-height: 54px;
    justify-content: center;
    align-items: center;
    gap: 24px;
    border-top: 1px solid var(--border-color);
    padding: 18px 24px 0;
}

.footer-bottom p {
    margin: 0;
    color: #dedede;
    font-size: 14px;
    white-space: nowrap;
}

.footer-legal {
    gap: 24px;
    margin: 0;
    padding: 0;
}

@media (max-width: 1000px) {
    .feature-two {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .feature-intro {
        max-width: 720px;
    }

    .path-steps,
    .founder-features .section-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-main {
        grid-template-columns: 1fr auto;
        padding-block: 32px;
    }

    .footer-logo {
        grid-column: 1;
        grid-row: 1;
    }

    .footer-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        flex-wrap: wrap;
    }

    .footer-social {
        grid-column: 2;
        grid-row: 1;
    }
}

@media (max-width: 700px) {
    .hero,
    .feature-one,
    .feature-two,
    .feature-three,
    .founder-path,
    .investor-path,
    .founder-features,
    .investor-features {
        width: min(calc(100% - 40px), var(--content-width));
    }

    .navbar {
        min-height: 72px;
    }

    .nav-items {
        gap: 14px;
    }

    .nav-items li:nth-child(4) {
        display: none;
    }

    .nav-items a {
        font-size: 12px;
    }

    .logo {
        font-size: 22px;
    }

    .nav-buttons .primary-btn {
        min-height: 38px;
        padding-inline: 12px;
    }

    .hero-content {
        padding-block: 36px 48px;
    }

    .hero-image {
        height: clamp(210px, 42vw, 320px);
    }

    .feature-one,
    .feature-three {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 32px;
        padding-block: 76px;
    }

    .feature-three .repository-image {
        grid-row: 1;
    }

    .feature-image,
    .repository-image {
        height: clamp(260px, 65vw, 420px);
    }

    .feature-two,
    .founder-path,
    .investor-path,
    .founder-features,
    .investor-features {
        min-height: 0;
        padding-block: 76px;
    }

    .joined-card {
        min-height: 320px;
        grid-template-columns: 1fr;
    }

    .showcase-copy {
        padding: 26px;
    }

    .joined-card > img {
        height: 250px;
        min-height: 250px;
        grid-row: 1;
    }

    .investor-features .section-tiles {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 44px;
    }

    .investor-features .joined-card {
        height: 280px;
        min-height: 280px;
    }

    .investor-features .joined-card > div {
        padding: 20px;
    }

    .investor-features .joined-card .section-heading {
        font-size: 26px;
    }

    .cta {
        padding: 64px 24px;
    }

    .cta .section-tiles {
        max-width: 520px;
        grid-template-columns: 1fr;
        gap: 52px;
        margin-inline: auto;
    }

    .site-footer {
        padding-inline: 24px;
    }

    .footer-main {
        width: min(100%, 520px);
        gap: 24px 16px;
    }

    .footer-nav {
        gap: 14px 22px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 14px;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 20px;
    }
}

@media (max-width: 480px) {
    .hero,
    .feature-one,
    .feature-two,
    .feature-three,
    .founder-path,
    .investor-path,
    .founder-features,
    .investor-features {
        width: min(calc(100% - 32px), var(--content-width));
    }

    .navbar {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px 12px;
        padding-block: 12px;
    }

    .nav-items {
        order: 3;
        width: 100%;
        justify-content: space-between;
    }

    .nav-items li:nth-child(4) {
        display: list-item;
    }

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

    .nav-buttons .primary-btn {
        min-height: 34px;
        font-size: 12px;
    }

    .hero-content {
        gap: 16px;
        padding-top: 32px;
    }

    .hero-heading {
        font-size: clamp(40px, 12vw, 54px);
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-buttons {
        width: 100%;
    }

    .hero-buttons > a {
        flex: 1;
        padding-inline: 10px;
        font-size: 12px;
    }

    .feature-buttons {
        align-items: flex-start;
    }

    .feature-buttons .anchor-btn {
        min-height: 42px;
    }

    .section-heading,
    .feature-intro .section-heading {
        font-size: 36px;
    }

    .tablist {
        gap: 8px;
    }

    .tablist li {
        padding: 7px 10px;
        font-size: 11px;
    }

    .path-steps,
    .founder-features .section-tiles {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 32px;
    }

    .path-step,
    .founder-feature-card {
        padding: 22px;
    }

    .founder-feature-card {
        min-height: 230px;
    }

    .investor-features .joined-card {
        height: auto;
        flex-direction: column;
    }

    .investor-features .joined-card > img {
        width: 100%;
        height: 190px;
        min-height: 190px;
        flex: 0 0 190px;
    }

    .investor-features .joined-card > div {
        padding: 22px;
    }

    .cta {
        padding: 58px 20px;
    }

    .cta .section-heading {
        font-size: 42px;
    }

    .site-footer {
        padding-inline: 20px;
    }

    .footer-nav {
        gap: 12px 16px;
    }

    .footer-nav a {
        font-size: 12px;
    }

    .footer-social {
        gap: 8px;
    }

    .footer-bottom {
        padding-inline: 0;
    }

    .footer-bottom p {
        white-space: normal;
        text-align: center;
    }

    .footer-legal {
        gap: 10px 14px;
    }

    .footer-legal a {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    section {
        opacity: 1;
        transform: none;
    }
}
