:root {
    --bg: #070a10;
    --surface: #0d121c;
    --surface-strong: #111a28;
    --panel: #121b2a;
    --panel-2: #172235;
    --line: rgba(160, 187, 255, 0.16);
    --line-strong: rgba(160, 187, 255, 0.28);
    --text: #edf3ff;
    --muted: #aebddb;
    --soft: #7f90b3;
    --accent: #72a7ff;
    --accent-2: #70d3c2;
    --accent-3: #e3bd66;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    --nav-offset: 36px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-offset);
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 78% 6%, rgba(112, 211, 194, 0.18), transparent 26rem),
        radial-gradient(circle at 12% 0%, rgba(114, 167, 255, 0.18), transparent 28rem),
        var(--bg);
    color: var(--text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

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

a {
    color: inherit;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(7, 10, 16, 0.82);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

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

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
}

.brand-mark,
.footer-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 6px;
    transition: background 160ms ease, color 160ms ease;
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.hero {
    padding: 64px 0 42px;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: var(--nav-offset);
}

main section,
#top {
    scroll-margin-top: var(--nav-offset);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
    grid-template-areas:
        "copy visual"
        "stats stats";
    gap: 48px 28px;
    align-items: center;
}

.hero-copy {
    grid-area: copy;
}

.eyebrow,
.section-kicker {
    color: var(--accent-2);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1 {
    margin-top: 10px;
    font-size: clamp(3.6rem, 7vw, 6.8rem);
    line-height: 0.92;
    letter-spacing: 0;
}

h2 {
    max-width: 1280px;
    margin-top: 8px;
    color: var(--text);
    font-size: clamp(2rem, 4vw, 3.45rem);
    font-weight: 760;
    line-height: 1.02;
    letter-spacing: 0;
}

h3 {
    color: var(--text);
    font-size: 1.18rem;
    line-height: 1.22;
}

.hero-description {
    max-width: 650px;
    margin-top: 22px;
    color: var(--muted);
    font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 750;
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--accent);
    color: #05101f;
    border-color: var(--accent);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border-color: var(--line-strong);
}

.telegram-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    color: var(--accent);
    font-size: 2.2rem;
    margin-left: 10px;
    text-decoration: none;
    transition: color 160ms ease, transform 160ms ease;
}

.telegram-link:hover {
    color: #4c7fd1;
    transform: translateY(-1px);
}

.hero-visual {
    grid-area: visual;
    min-height: 320px;
    display: grid;
    place-items: center;
    padding: 26px;
    /* background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        var(--panel); */
    border: 1px solid rgba(0, 0, 0, 0.34);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.hero-visual img {
    width: 100%;
    filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.26));
}

.stat-grid {
    grid-area: stats;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.stat-item,
.feature-card,
.token-card,
.about-panel,
.person {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(18, 27, 42, 0.78);
}

.stat-item {
    min-height: 122px;
    padding: 18px;
}

.stat-number {
    display: block;
    color: var(--text);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.stat-detail {
    display: block;
    margin-top: 4px;
    color: var(--soft);
    font-size: 0.9rem;
}

.section {
    padding: 78px 0;
    border-bottom: 1px solid var(--line);
}

.section-compact {
    padding: 58px 0;
}

.surface {
    background: rgba(13, 18, 28, 0.76);
}

.section-header {
    display: grid;
    gap: 6px;
    margin-bottom: 26px;
}

.split-section,
.team-layout {
    display: grid;
    grid-template-columns: minmax(250px, 0.82fr) minmax(0, 1.18fr);
    gap: 38px;
    align-items: start;
}

.about-panel {
    padding: 28px;
}

.lead {
    color: #d5def2;
    font-size: 1.18rem;
}

.proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.proof-row span,
.token-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 0.9rem;
}

.proof-row i {
    color: var(--accent-2);
}

.callout {
    margin-top: 20px;
    padding: 16px;
    color: var(--text);
    background: rgba(114, 167, 255, 0.1);
    border-left: 4px solid var(--accent);
    border-radius: 6px;
    font-weight: 650;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.feature-card {
    min-height: 248px;
    padding: 22px;
    background: linear-gradient(180deg, rgba(23, 34, 53, 0.94), rgba(18, 27, 42, 0.82));
}

.feature-card i {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 20px;
    color: #08101c;
    background: var(--accent-2);
    border-radius: 8px;
}

.feature-card p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.96rem;
}

.token-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
    gap: 46px;
    align-items: start;
}

.token-copy p:not(.section-kicker) {
    max-width: 610px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 1.1rem;
}

.token-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.token-card {
    padding-top: 30px;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.dist-line {
    display: flex;
    align-items: center;
    margin: 1.15rem 0;
    padding: 0;
    border-bottom: 0;
}

.dist-line:first-child {
    margin-top: 0;
}

.dist-name {
    width: 220px;
    flex: 0 0 220px;
    color: var(--muted);
    font-weight: 650;
}

.dist-bar {
    flex: 1;
    height: 2px;
    margin: 0 1rem;
    overflow: hidden;
    background: rgba(160, 187, 255, 0.2);
    border-radius: 0;
}

.dist-fill {
    display: block;
    height: 100%;
    background: #8aa2ff;
    border-radius: inherit;
}

.dist-10 {
    width: 10%;
}

.dist-15 {
    width: 15%;
}

.dist-20 {
    width: 20%;
}

.dist-25 {
    width: 25%;
}

.dist-num {
    color: var(--text);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    text-align: right;
}

.single-token-note {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--soft);
    font-size: 0.95rem;
}

.roadmap-layout {
    display: grid;
    grid-template-columns: minmax(230px, 0.5fr) minmax(0, 1fr);
    gap: 36px;
}

.roadmap-steps {
    display: grid;
    gap: 10px;
}

.roadmap-step {
    display: grid;
    grid-template-columns: 128px 1fr;
    gap: 20px;
    align-items: center;
    padding: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.roadmap-q {
    color: var(--accent-3);
    font-size: 1.05rem;
    font-weight: 800;
}

.roadmap-desc {
    color: #d9e3f6;
}

.team-simple {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.person {
    padding: 22px;
}

.person .name {
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 800;
}

.person .role {
    margin-top: 4px;
    color: var(--soft);
}

footer {
    padding: 28px 0 34px;
    color: var(--soft);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px 28px;
    align-items: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-inner p {
    grid-column: 1 / -1;
    color: var(--soft);
    font-size: 0.92rem;
}

@media (max-width: 980px) {
    .hero-grid,
    .token-layout,
    .split-section,
    .team-layout,
    .roadmap-layout {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        grid-template-areas:
            "copy"
            "visual"
            "stats";
    }

    .features-grid,
    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero {
        padding-top: 48px;
    }
}

@media (max-width: 760px) {
    :root {
        --nav-offset: 72px;
    }

    .container {
        width: min(100% - 28px, 1160px);
    }

    .site-nav {
        position: sticky;
        background: rgba(7, 10, 16, 0.94);
    }

    .nav-inner {
        min-height: auto;
        padding: 10px 0;
        align-items: center;
        flex-wrap: nowrap;
        gap: 14px;
    }

    .brand {
        flex: 0 0 auto;
        gap: 9px;
        font-size: 0.98rem;
    }

    .brand-mark,
    .footer-brand img {
        width: 30px;
        height: 30px;
    }

    .nav-links {
        width: auto;
        min-width: 0;
        flex: 1 1 auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 14px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        flex: 0 0 auto;
        padding: 4px 0;
        border-radius: 0;
        font-size: 0.82rem;
        background: transparent;
        border: 0;
    }

    .hero {
        padding: 28px 0 28px;
    }

    .hero-grid {
        gap: 20px;
    }

    h1 {
        font-size: clamp(2.85rem, 14vw, 3.85rem);
        line-height: 1;
    }

    h2 {
        font-size: clamp(1.8rem, 10vw, 2.45rem);
        line-height: 1.08;
    }

    .hero-description,
    .lead {
        font-size: 1.02rem;
    }

    .hero-description {
        margin-top: 18px;
    }

    .cta-group {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px;
        gap: 8px;
        margin-top: 22px;
    }

    .btn {
        min-width: 0;
        min-height: 42px;
        padding: 0 10px;
        gap: 8px;
        font-size: 0.9rem;
    }

    .telegram-link {
        min-height: 42px;
        margin-left: 0;
        font-size: 1.85rem;
    }

    .hero-visual {
        min-height: 0;
        padding: 8px;
        box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
    }

    .section,
    .section-compact {
        padding: 42px 0;
    }

    .features-grid,
    .stat-grid,
    .team-simple {
        grid-template-columns: 1fr;
    }

    .stat-item {
        min-height: auto;
        padding: 16px;
    }

    .feature-card,
    .about-panel,
    .person {
        min-height: auto;
        padding: 18px;
    }

    .feature-card i {
        margin-bottom: 16px;
    }

    .token-layout {
        gap: 26px;
    }

    .token-card {
        padding-top: 0;
    }

    .dist-line {
        display: grid;
        grid-template-columns: 1fr 46px;
        gap: 8px 12px;
        margin: 1rem 0;
    }

    .dist-name {
        width: auto;
        min-width: 0;
    }

    .dist-bar {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        margin: 0;
    }

    .dist-num {
        grid-column: 2;
        grid-row: 1;
    }

    .roadmap-step {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 460px) {
    .container {
        width: min(100% - 24px, 1160px);
    }

    .nav-inner {
        align-items: center;
        flex-direction: row;
    }

    .nav-links {
        width: auto;
    }

    .nav-links a {
        background: transparent;
        border: 0;
    }

    .hero {
        padding-top: 24px;
    }

    .eyebrow,
    .section-kicker {
        font-size: 0.72rem;
    }

    .btn {
        font-size: 0.86rem;
    }

    .telegram-link {
        font-size: 1.75rem;
    }

    .proof-row span,
    .token-meta span {
        width: 100%;
    }

    .footer-links {
        gap: 12px;
    }
}
