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

:root {
    --green: #00ea64;
    --ink: #0b0e11;
    --muted: #667085;
    --line: #e6e8eb;
    --soft: #f6f7f8;
    --purple: #8b5cf6;
    --blue: #4da3ff
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background: #fff
}

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

.nav {
    height: 72px;
    border-bottom: 1px solid #e9eaec;
    display: flex;
    align-items: center;
    gap: 34px;
    padding: 0 6%;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(25px);
    z-index: 20
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 800;
    white-space: nowrap
}

.brand b {
    font-size: 11px;
    background: #111;
    color: #fff;
    padding: 5px 7px;
    border-radius: 3px
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    background: var(--green);
    font-weight: 900;
    font-size: 19px;
    clip-path: polygon(0 0, 100% 0, 100% 78%, 55% 100%, 0 78%)
}

nav {
    display: flex;
    gap: 26px;
    margin-left: auto;
    font-size: 14px;
    color: #34383d
}

nav a:hover {
    color: #00a947
}

.nav-btn {
    border: 1px solid #111;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 700
}

.hero {
    min-height: 650px;
    background: #080a0c;
    color: white;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    padding: 80px 8%
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .15;
    background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(to right, black, transparent)
}

.hero-content,
.code-card {
    position: relative;
    z-index: 1
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 800;
    margin: 0 0 18px;
    color: #777
}

.hero .eyebrow {
    color: var(--green)
}

h1 {
    font-size: clamp(48px, 6.2vw, 88px);
    line-height: .96;
    letter-spacing: -4px;
    margin: 0 0 26px
}

h1 span,
h2 span {
    color: var(--green)
}

.hero-copy {
    max-width: 620px;
    color: #c6cbd1;
    line-height: 1.75;
    font-size: 16px
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin: 32px 0
}

.btn {
    display: inline-block;
    border: 0;
    padding: 14px 19px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer
}

.primary {
    background: var(--green);
    color: #04130a
}

.primary:hover {
    background: #38f985
}

.secondary {
    background: transparent;
    color: white;
    border: 1px solid #555
}

.stats {
    display: flex;
    gap: 45px;
    margin-top: 45px
}

.stats div {
    display: flex;
    flex-direction: column;
    gap: 5px
}

.stats strong {
    font-size: 25px
}

.stats span {
    font-size: 11px;
    color: #9da3aa
}

.code-card {
    background: #11161a;
    border: 1px solid #30363c;
    box-shadow: 25px 25px 0 rgba(0, 234, 100, .08);
    max-width: 510px;
    margin-left: auto
}

.dots {
    height: 43px;
    border-bottom: 1px solid #292e33;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 15px;
    color: #737b84;
    font-size: 11px
}

.dots i {
    width: 8px;
    height: 8px;
    background: #444;
    border-radius: 50%
}

.dots span {
    margin-left: 8px
}

pre {
    margin: 0;
    padding: 25px;
    overflow: auto;
    font: 13px/2 'SFMono-Regular', Consolas, monospace;
    color: #d7dce0
}

.purple {
    color: #b58cff
}

.green {
    color: #69e99a
}

.blue {
    color: #70b7ff
}

.section {
    padding: 105px 8%
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px
}

.section h2 {
    font-size: 45px;
    line-height: 1.08;
    letter-spacing: -2px;
    margin: 0
}

.split>div>p:not(.eyebrow),
.join-copy p {
    color: #555e68;
    line-height: 1.8
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    margin-top: 35px
}

.mini-grid div {
    padding: 17px 8px;
    color: #9aa1a8;
    font-size: 11px;
    line-height: 2
}

.mini-grid b {
    color: #111;
    font-size: 13px
}

.dark-section {
    background: #0b0e11;
    color: #fff
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 35px
}

.dark-section .eyebrow {
    color: var(--green)
}

.dark-section h2 {
    font-size: 45px;
    margin: 0;
    letter-spacing: -2px
}

.outline-btn {
    background: transparent;
    color: #fff;
    border: 1px solid #4b5158;
    padding: 11px 14px;
    cursor: pointer
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.event-card {
    background: #15191d;
    border: 1px solid #2b3035;
    padding: 25px;
    min-height: 250px;
    display: flex;
    flex-direction: column
}

.tag {
    font-size: 10px;
    color: var(--green);
    font-weight: 800;
    letter-spacing: 1px
}

.event-card h3 {
    font-size: 21px;
    margin: 18px 0 10px
}

.event-card p {
    color: #a8afb6;
    font-size: 13px;
    line-height: 1.6
}

.event-meta {
    margin-top: auto;
    color: #d9dde1;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #2b3035;
    padding-top: 17px
}

.register {
    margin-top: 15px;
    text-align: center;
    padding: 10px;
    background: var(--green);
    color: #07120b;
    font-size: 12px;
    font-weight: 800
}

.crew-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.member {
    border: 1px solid var(--line);
    padding: 20px;
    background: #fff
}

.avatar {
    height: 170px;
    background: #eceff1;
    display: grid;
    place-items: center;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 18px
}

.member h3 {
    margin: 0 0 6px;
    font-size: 16px
}

.member p {
    margin: 0;
    color: #7a828a;
    font-size: 12px
}

.gallery-section {
    background: var(--soft)
}

.muted {
    font-size: 12px;
    color: #808890
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-auto-rows: 210px;
    gap: 12px
}

.photo {
    overflow: hidden;
    background: #ddd;
    position: relative
}

.photo:first-child {
    grid-row: span 2
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(.8)
}

.photo span {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: #fff;
    padding: 6px 8px;
    font-size: 10px;
    font-weight: 700
}

.join-section {
    background: #00ea64;
    padding: 80px 8%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px
}

.join-section .eyebrow {
    color: #064e27
}

.join-section h2 {
    font-size: 48px;
    letter-spacing: -2px;
    margin: 0
}

.subscribe-form {
    align-self: center
}

.subscribe-form label {
    font-size: 12px;
    font-weight: 800;
    display: block;
    margin-bottom: 8px
}

.email-row {
    display: flex;
    gap: 8px
}

.email-row input {
    flex: 1;
    border: 1px solid #0b0e11;
    padding: 14px;
    background: white;
    outline: none
}

.subscribe-form small {
    display: block;
    margin-top: 10px;
    font-size: 10px;
    line-height: 1.5;
    max-width: 500px
}

footer {
    background: #080a0c;
    color: #b7bec5;
    padding: 30px 8%;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    gap: 20px
}

footer .brand-mark {
    margin-right: 8px;
    vertical-align: middle
}

footer a {
    margin-left: 20px;
    color: #fff
}

@media(max-width:900px) {
    .nav nav {
        display: none
    }

    .nav {
        padding: 0 5%;
        gap: 10px
    }

    .nav-btn {
        margin-left: auto
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 70px 7%
    }

    .code-card {
        margin: 45px 0 0;
        width: 100%
    }

    .split,
    .join-section {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .cards {
        grid-template-columns: 1fr
    }

    .crew-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr
    }

    .photo:first-child {
        grid-row: span 1
    }

    .section {
        padding: 75px 7%
    }

    .join-section {
        padding: 65px 7%
    }
}

@media(max-width:520px) {
    h1 {
        font-size: 48px;
        letter-spacing: -2.5px
    }

    .hero-actions,
    .email-row {
        flex-direction: column
    }

    .stats {
        gap: 22px
    }

    .section h2,
    .dark-section h2,
    .join-section h2 {
        font-size: 36px
    }

    .crew-grid {
        grid-template-columns: 1fr
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px
    }

    .photo:first-child {
        grid-row: auto
    }

    .section-head {
        align-items: start;
        flex-direction: column
    }

    footer {
        flex-direction: column
    }
}