/*
Theme Name: NEODIN
Theme URI: https://neodin.sbs
Author: Inval
Description: НЕ ОДИН — плечом к плечу через долги.
Version: 0.1.0
Text Domain: neodin
*/

:root {
    --black: #08090b;
    --black-soft: #111318;
    --dark: #191c21;
    --grey-dark: #4d525b;
    --grey: #7d838c;
    --light: #ecece7;
    --paper: #f7f7f2;
    --white: #ffffff;
    --accent: #d8ff63;
    --accent-dark: #98bc26;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    font-size: 18px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.wrap {
    width: min(calc(100% - 40px), var(--max));
    margin-inline: auto;
}

.site-header {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    right: 0;
    padding: 28px 0;
}

.header-inner {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .13em;
    font-size: 14px;
}

.brand-mark {
    width: 11px;
    height: 11px;
    border-radius: 100%;
    background: var(--accent);
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    justify-content: flex-end;
    font-size: 14px;
}

.nav a {
    text-decoration: none;
    color: rgba(255,255,255,.70);
}

.nav a:hover,
.nav a:focus {
    color: white;
}

.hero {
    min-height: 760px;
    display: flex;
    align-items: center;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 75% 30%, rgba(216,255,99,.09), transparent 28%),
        linear-gradient(180deg, #050608 0%, #0a0b0e 100%);
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 240px;
    background: linear-gradient(180deg, transparent, rgba(16,18,22,.7));
    pointer-events: none;
}

.eyebrow {
    margin-bottom: 24px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(64px, 11vw, 142px);
    line-height: .84;
    letter-spacing: -.065em;
    font-weight: 850;
}

.hero h1 span {
    display: block;
    color: #70747c;
}

.hero-copy {
    max-width: 720px;
    margin-top: 42px;
    color: #b9bcc2;
    font-size: clamp(20px, 2.4vw, 28px);
    line-height: 1.42;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 750;
    transition: .2s ease;
}

.button-primary {
    background: var(--accent);
    color: #10120b;
}

.button-primary:hover {
    transform: translateY(-2px);
    background: #e2ff8b;
}

.button-secondary {
    border: 1px solid rgba(255,255,255,.18);
    color: white;
}

.button-secondary:hover {
    border-color: rgba(255,255,255,.45);
}

.section {
    padding: 120px 0;
}

.section-dark-1 {
    background: #111318;
}

.section-dark-2 {
    background: #1b1e23;
}

.section-mid {
    background: #353941;
}

.section-light {
    background: #d7d8d2;
    color: #181a1d;
}

.section-paper {
    background: var(--paper);
    color: #17191c;
}

.section-white {
    background: white;
    color: #111317;
}

.section-head {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 60px;
}

.section-number {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    opacity: .55;
}

.section h2 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(38px, 6vw, 76px);
    line-height: .98;
    letter-spacing: -.04em;
}

.lead {
    max-width: 780px;
    font-size: clamp(20px, 2.3vw, 28px);
    line-height: 1.5;
}

.muted {
    opacity: .66;
}

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

.card {
    min-height: 250px;
    padding: 28px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.035);
}

.section-light .card,
.section-paper .card,
.section-white .card {
    border-color: rgba(0,0,0,.08);
    background: rgba(255,255,255,.48);
}

.card-kicker {
    margin-bottom: 38px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    opacity: .48;
}

.card h3 {
    margin: 0 0 12px;
    font-size: 25px;
    line-height: 1.15;
}

.card p {
    margin: 0;
    opacity: .7;
}

.path {
    display: grid;
    gap: 1px;
    margin-top: 50px;
    border-radius: 22px;
    overflow: hidden;
}

.path-row {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 24px;
    align-items: center;
    min-height: 92px;
    padding: 20px 26px;
    background: rgba(255,255,255,.055);
}

.path-num {
    font-size: 13px;
    opacity: .45;
}

.path-title {
    font-size: 21px;
    font-weight: 760;
}

.path-arrow {
    opacity: .4;
    font-size: 24px;
}

.quote {
    max-width: 900px;
    margin: 0;
    font-size: clamp(30px, 5vw, 60px);
    line-height: 1.12;
    letter-spacing: -.035em;
    font-weight: 650;
}

.stat {
    margin-top: 65px;
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.stat strong {
    font-size: clamp(90px, 16vw, 190px);
    line-height: .8;
    letter-spacing: -.08em;
}

.stat span {
    max-width: 370px;
    font-size: 20px;
}

.telegram-box {
    padding: clamp(34px, 7vw, 76px);
    border-radius: 30px;
    background: #111317;
    color: white;
}

.telegram-box h2 {
    max-width: 920px;
}

.telegram-box .button {
    margin-top: 34px;
}

.disclaimer {
    margin-top: 35px;
    max-width: 760px;
    font-size: 14px;
    color: rgba(255,255,255,.52);
}

.content-page {
    min-height: 70vh;
    padding: 170px 0 100px;
    background: var(--paper);
    color: #17191c;
}

.content-page article {
    max-width: 820px;
}

.content-page h1 {
    font-size: clamp(48px, 8vw, 92px);
    line-height: .95;
    letter-spacing: -.045em;
}

.content-page .entry-content {
    font-size: 20px;
}

.site-footer {
    padding: 90px 0 45px;
    background: white;
    color: #111317;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    padding-bottom: 70px;
}

.footer-title {
    margin: 0;
    font-size: clamp(46px, 8vw, 96px);
    line-height: .92;
    letter-spacing: -.05em;
}

.footer-copy {
    max-width: 450px;
    align-self: end;
    color: #65686d;
}

.footer-bottom {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    padding-top: 28px;
    border-top: 1px solid #dedfdc;
    font-size: 14px;
    color: #696c70;
}

.charged {
    color: #111317;
    font-weight: 800;
}

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

    .section-head,
    .footer-top {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 180px;
    }

    .path-row {
        grid-template-columns: 45px 1fr;
    }

    .path-arrow {
        display: none;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 17px;
    }

    .wrap {
        width: min(calc(100% - 28px), var(--max));
    }

    .site-header {
        padding-top: 20px;
    }

    .hero {
        padding-bottom: 72px;
    }

    .hero h1 {
        font-size: clamp(58px, 21vw, 92px);
    }

    .section {
        padding: 80px 0;
    }

    .hero-actions .button {
        width: 100%;
    }

    .stat {
        display: block;
    }

    .stat span {
        display: block;
        margin-top: 25px;
    }

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