@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;700;900&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
    --bg: #0B0B0C;
    --panel: #141310;
    --panel2: #18170f;
    --gold: #F5A623;
    --gold-deep: #C97F0C;
    --ink: #F5F4EF;
    --muted: #9A968C;
    --line: rgba(245,244,239,0.09);

    box-sizing: border-box;
    padding-top: env(safe-area-inset-top,0px);
    padding-bottom: env(safe-area-inset-bottom,0px);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

h1,
h2,
h3 {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.mono {
    font-family: 'IBM Plex Mono', monospace;
}

section {
    padding: 110px 0;
    position: relative;
}

.slant-divider {
    position: absolute;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--bg);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    top: -1px;
}


/* =========================
   SCROLL PROGRESS
========================= */

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--gold);
    z-index: 60;
}


/* =========================
   REVEAL ON SCROLL
========================= */

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

[data-reveal].in-view {
    opacity: 1;
    transform: translateY(0);
}

.feat-row .feat:nth-child(2) {
    transition-delay: .1s;
}

.feat-row .feat:nth-child(3) {
    transition-delay: .2s;
}

.pillars .pillar:nth-child(2) {
    transition-delay: .08s;
}

.pillars .pillar:nth-child(3) {
    transition-delay: .16s;
}

.pillars .pillar:nth-child(4) {
    transition-delay: .24s;
}

.road-grid .phase:nth-child(2) {
    transition-delay: .08s;
}

.road-grid .phase:nth-child(3) {
    transition-delay: .16s;
}

.road-grid .phase:nth-child(4) {
    transition-delay: .24s;
}

.team-grid .member:nth-child(2) {
    transition-delay: .08s;
}

.team-grid .member:nth-child(3) {
    transition-delay: .16s;
}

.team-grid .member:nth-child(4) {
    transition-delay: .24s;
}


/* =========================
   NAVBAR
========================= */

header {
    position: sticky;
    top: 0;
    z-index: 50;

    background: rgba(11,11,12,0.88);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid var(--line);

    padding: env(safe-area-inset-top,0px) 0 0;
}

nav {
    display: flex;
    align-items: center;

    /* Navigation aligned toward RIGHT */
    justify-content: flex-end;

    gap: 18px;

    padding: 16px 28px;

    max-width: 1180px;
    margin: 0 auto;
}


/* =========================
   BRAND
========================= */

.brand {
    display: flex;
    align-items: center;

    gap: 10px;

    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 1.25rem;

    white-space: nowrap;

    /* Push navigation to right */
    margin-right: auto;

    flex-shrink: 0;
}

.brand img {
    width: 34px;
    height: 34px;

    border-radius: 50%;

    object-fit: contain;
}


/* =========================
   NAVIGATION LINKS
========================= */

.navlinks {
    display: flex;
    align-items: center;

    gap: 24px;

    font-size: .92rem;

    color: var(--muted);

    flex-shrink: 0;
}

.navlinks a {
    position: relative;

    padding: 4px 0;

    white-space: nowrap;
}

.navlinks a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -3px;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition: width .25s ease;
}

.navlinks a:hover::after,
.navlinks a.active::after {
    width: 100%;
}

.navlinks a:hover {
    color: var(--gold);
}

.navlinks a.active {
    color: var(--gold);
}


/* =========================
   LOGIN + BUY AREA
========================= */

header nav > div:last-child {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    /* Small gap between Login and Buy */
    gap: 8px;

    /* Small gap between FAQ and Login */
    margin-left: 0;

    flex-shrink: 0;
}


/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 12px 22px;

    font-weight: 600;
    font-size: .92rem;

    border: none;

    cursor: pointer;

    white-space: nowrap;
}

.btn-gold {
    background: var(--gold);

    color: #131209;

    clip-path: polygon(
        10px 0,
        100% 0,
        calc(100% - 10px) 100%,
        0 100%
    );
}

.btn-gold:hover {
    background: #ffb945;
}

.btn-outline {
    border: 1px solid var(--line);

    color: var(--ink);

    background: transparent;
}

.btn-outline:hover {
    border-color: var(--gold);

    color: var(--gold);
}


/* =========================
   BURGER MENU
========================= */

.burger {
    display: none;

    background: none;

    border: none;

    cursor: pointer;

    padding: 6px;

    width: 34px;
    height: 34px;

    flex: none;
}

.burger span {
    display: block;

    width: 20px;
    height: 2px;

    background: var(--ink);

    margin: 5px auto;

    transition:
        transform .25s ease,
        opacity .25s ease;
}

.burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================
   NAVBAR RESPONSIVE
========================= */

@media (max-width: 1100px) {

    nav {
        gap: 14px;
    }

    .navlinks {
        gap: 16px;

        font-size: .86rem;
    }

    .btn {
        padding: 10px 15px;

        font-size: .86rem;
    }
}


@media (max-width: 860px) {

    nav {
        padding: 14px 22px;
    }

    .navlinks {
        display: none;

        position: fixed;

        top: 66px;
        left: 0;
        right: 0;

        background: var(--bg);

        border-bottom: 1px solid var(--line);

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 6px 28px 18px;

        max-height: calc(100vh - 66px);

        overflow-y: auto;
    }

    .navlinks.open {
        display: flex;
    }

    .navlinks a {
        padding: 14px 0;

        border-bottom: 1px solid var(--line);
    }

    header nav > div:last-child {
        margin-left: auto;
    }

    .burger {
        display: block;
    }
}


/* =========================
   HERO
========================= */

.hero {
    padding: 90px 0 60px;
}

.hero-grid {
    display: grid;

    grid-template-columns: 1.15fr .85fr;

    gap: 60px;

    align-items: center;
}

.pretitle {
    color: var(--gold);

    font-family: 'IBM Plex Mono', monospace;

    font-size: .85rem;

    font-weight: 600;

    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5.2vw, 4rem);

    margin-bottom: 22px;
}

.hero h1 .cut {
    color: var(--gold);
}

.hero p {
    color: var(--muted);

    font-size: 1.08rem;

    max-width: 520px;

    margin-bottom: 30px;
}

.hero-ctas {
    display: flex;

    gap: 14px;

    margin-bottom: 34px;

    flex-wrap: wrap;
}

.badges {
    display: flex;

    gap: 22px;

    flex-wrap: wrap;

    color: var(--muted);

    font-size: .85rem;
}

.badges span {
    display: flex;

    align-items: center;

    gap: 7px;
}

.dot {
    width: 7px;
    height: 7px;

    background: var(--gold);

    border-radius: 50%;

    flex: none;
}

.stat-panel {
    background: var(--panel);

    border: 1px solid var(--line);

    clip-path: polygon(
        24px 0,
        100% 0,
        100% calc(100% - 24px),
        calc(100% - 24px) 100%,
        0 100%,
        0 24px
    );

    padding: 34px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 26px;
}

.stat-panel .stat {
    border-left: 2px solid var(--gold);

    padding-left: 14px;
}

.stat .num {
    font-family: 'IBM Plex Mono', monospace;

    font-size: 1.7rem;

    font-weight: 600;

    color: var(--gold);
}

.stat .lbl {
    color: var(--muted);

    font-size: .82rem;

    margin-top: 4px;
}

@media (max-width: 860px) {

    .hero-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================
   ABOUT
========================= */

.section-head {
    max-width: 640px;

    margin-bottom: 54px;
}

.section-head .kicker {
    color: var(--gold);

    font-family: 'IBM Plex Mono', monospace;

    font-size: .85rem;

    font-weight: 600;

    margin-bottom: 14px;
}

.section-head h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}

.section-head p {
    color: var(--muted);

    margin-top: 16px;

    font-size: 1.02rem;
}

.feat-row {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 1px;

    background: var(--line);

    border: 1px solid var(--line);
}

.feat {
    background: var(--bg);

    padding: 34px 30px;

    transition: background .3s ease;
}

.feat:hover {
    background: rgba(245,166,35,0.05);
}

.feat h3 {
    font-size: 1.1rem;

    margin-bottom: 10px;
}

.feat p {
    color: var(--muted);

    font-size: .95rem;
}

@media (max-width: 860px) {

    .feat-row {
        grid-template-columns: 1fr;
    }
}


/* =========================
   TOKENOMICS
========================= */

.token-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;
}

.supply-bar {
    height: 54px;

    display: flex;

    width: 100%;

    overflow: hidden;

    clip-path: polygon(
        14px 0,
        100% 0,
        calc(100% - 14px) 100%,
        0 100%
    );

    margin-bottom: 22px;
}

.seg-a {
    background: var(--gold);

    width: 0;

    transition: width 1.3s cubic-bezier(.16,.84,.44,1);
}

.supply-bar.animated .seg-a {
    width: 35%;
}

.seg-b {
    background: var(--panel2);

    width: 65%;

    border-left: 2px solid var(--bg);
}

.supply-legend {
    display: flex;

    gap: 26px;

    margin-bottom: 36px;

    color: var(--muted);

    font-size: .9rem;

    flex-wrap: wrap;
}

.supply-legend b {
    color: var(--ink);

    font-family: 'IBM Plex Mono', monospace;
}

.leg-dot {
    width: 10px;
    height: 10px;

    display: inline-block;

    margin-right: 8px;
}

.token-facts {
    list-style: none;

    border-top: 1px solid var(--line);
}

.token-facts li {
    display: flex;

    justify-content: space-between;

    padding: 16px 0;

    border-bottom: 1px solid var(--line);

    font-size: .95rem;
}

.token-facts li span:first-child {
    color: var(--muted);
}

.token-facts li span:last-child {
    font-family: 'IBM Plex Mono', monospace;

    color: var(--ink);
}

.contract-box {
    background: var(--panel);

    border: 1px solid var(--line);

    padding: 26px;

    font-size: .9rem;

    color: var(--muted);
}

.contract-box a {
    color: var(--gold);

    font-weight: 600;
}

@media (max-width: 860px) {

    .token-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================
   MISSION
========================= */

.pillars {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 26px;
}

.pillar {
    padding: 26px 0;

    border-top: 2px solid var(--gold);

    transition: transform .3s ease;
}

.pillar:hover {
    transform: translateY(-5px);
}

.pillar h3 {
    font-size: 1.02rem;

    margin-bottom: 8px;
}

.pillar p {
    color: var(--muted);

    font-size: .9rem;
}

@media (max-width: 860px) {

    .pillars {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================
   ROADMAP
========================= */

.road-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 24px;
}

.phase {
    background: var(--panel);

    padding: 28px 24px;

    position: relative;

    border-bottom: 3px solid var(--gold);

    transition:
        transform .3s ease,
        background .3s ease;
}

.phase:hover {
    transform: translateY(-6px);

    background: var(--panel2);
}

.phase .ph-tag {
    font-family: 'IBM Plex Mono', monospace;

    color: var(--gold);

    font-size: .8rem;

    margin-bottom: 14px;
}

.phase h3 {
    font-size: 1.15rem;

    margin-bottom: 14px;
}

.phase ul {
    list-style: none;

    color: var(--muted);

    font-size: .88rem;
}

.phase li {
    padding: 5px 0;

    padding-left: 14px;

    position: relative;
}

.phase li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 12px;

    width: 6px;
    height: 1px;

    background: var(--gold);
}

@media (max-width: 900px) {

    .road-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {

    .road-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================
   TEAM
========================= */

.team-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 24px;
}

.member {
    background: var(--panel);

    padding: 28px 22px;

    transition: transform .3s ease;
}

.member:hover {
    transform: translateY(-6px);
}

.avatar {
    width: 56px;
    height: 56px;

    background: var(--gold);

    color: #131209;

    font-family: 'Archivo', sans-serif;

    font-weight: 900;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 1.1rem;

    clip-path: polygon(
        8px 0,
        100% 0,
        calc(100% - 8px) 100%,
        0 100%
    );

    margin-bottom: 18px;
}

.member h3 {
    font-size: 1.02rem;

    margin-bottom: 3px;
}

.member .role {
    color: var(--gold);

    font-size: .82rem;

    margin-bottom: 10px;
}

.member p {
    color: var(--muted);

    font-size: .86rem;
}

@media (max-width: 900px) {

    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================
   CONTACT
========================= */

.contact-cols {
    display: grid;

    grid-template-columns: 1.2fr 1fr 1fr;

    gap: 50px;

    margin-top: 46px;
}

.ccol h3 {
    font-family: 'Archivo', sans-serif;

    font-weight: 900;

    font-size: 1.05rem;

    margin-bottom: 22px;
}

.icon-list {
    list-style: none;
}

.icon-list li {
    display: flex;

    gap: 12px;

    padding: 14px 0;

    border-bottom: 1px solid var(--line);
}

.icon-list li:last-child {
    border-bottom: none;
}

.icon-list .ic {
    width: 9px;
    height: 9px;

    background: var(--gold);

    flex: none;

    margin-top: 7px;

    clip-path: polygon(
        30% 0,
        100% 0,
        70% 100%,
        0 100%
    );
}

.icon-list .lbl {
    color: var(--muted);

    font-size: .78rem;

    margin-bottom: 2px;
}

.icon-list a {
    font-size: .94rem;
}

.icon-list a:hover {
    color: var(--gold);
}

.plain-list {
    list-style: none;
}

.plain-list li {
    padding: 10px 0;
}

.plain-list a {
    color: var(--muted);

    font-size: .95rem;
}

.plain-list a:hover {
    color: var(--gold);
}

.big-ticker {
    font-family: 'IBM Plex Mono', monospace;

    font-size: 2.1rem;

    font-weight: 600;

    color: var(--gold);

    margin-bottom: 22px;
}

@media (max-width: 860px) {

    .contact-cols {
        grid-template-columns: 1fr;

        gap: 36px;
    }
}


/* =========================
   FOOTER
========================= */

footer {
    border-top: 1px solid var(--line);

    padding: 50px 0 30px;

    color: var(--muted);

    font-size: .86rem;
}

.foot-top {
    display: flex;

    justify-content: space-between;

    gap: 40px;

    flex-wrap: wrap;

    margin-bottom: 36px;
}

.foot-brand {
    display: flex;

    align-items: center;

    gap: 10px;

    font-family: 'Archivo', sans-serif;

    font-weight: 900;

    color: var(--ink);

    margin-bottom: 12px;
}

.foot-brand img {
    width: 28px;
    height: 28px;

    border-radius: 50%;
}

.foot-cols {
    display: flex;

    gap: 60px;

    flex-wrap: wrap;
}

.foot-cols h4 {
    color: var(--ink);

    font-size: .85rem;

    margin-bottom: 12px;
}

.foot-cols li {
    list-style: none;

    padding: 5px 0;
}

.disclaimer {
    border-top: 1px solid var(--line);

    padding-top: 24px;

    font-size: .8rem;
}


/* =========================
   CONTACT LAYOUT
========================= */

.contact-layout {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 0 50px;

    width: 100%;
}

.contact-item {
    width: 100%;

    padding: 25px 0;

    border-bottom: 1px solid var(--line);
}

.contact-item h3 {
    margin: 0 0 28px;
}

.contact-detail {
    display: flex;

    align-items: flex-start;

    gap: 14px;
}

.contact-detail .ic {
    flex-shrink: 0;
}

.contact-detail .lbl {
    margin-bottom: 7px;
}

.contact-detail a {
    word-break: break-word;
}

.join-exns {
    grid-column: span 2;
}

.join-exns .big-ticker {
    font-size: 3rem;

    margin: 5px 0 25px;
}

.join-exns .btn {
    display: inline-block;
}

@media (max-width: 900px) {

    .contact-layout {
        grid-template-columns: repeat(2, 1fr);

        gap: 0 30px;
    }

    .join-exns {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .join-exns {
        grid-column: span 1;
    }
}


/* =========================
   NEW CONTACT GRID
========================= */

.contact-new-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 0 50px;

    width: 100%;
}

.contact-new-item {
    width: 100%;

    padding: 25px 0;

    border-bottom: 1px solid var(--line);
}

.contact-new-item h3 {
    margin: 0 0 28px;
}

.contact-new-detail {
    display: flex;

    align-items: center;

    gap: 14px;
}

.contact-new-icon {
    width: 44px;
    height: 44px;

    min-width: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--line);

    border-radius: 10px;

    color: var(--gold);

    transition: all 0.25s ease;
}

.contact-new-detail:hover .contact-new-icon {
    background: var(--gold);

    color: #111;

    transform: translateY(-2px);
}

.contact-new-detail .lbl {
    margin-bottom: 6px;
}

.contact-new-detail a {
    word-break: break-word;
}

.contact-new-detail a:hover {
    color: var(--gold);
}

.contact-join {
    grid-column: span 2;
}

.contact-join .big-ticker {
    font-size: 3rem;

    margin: 5px 0 25px;
}

.contact-join .btn {
    display: inline-block;
}

@media (max-width: 900px) {

    .contact-new-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 0 30px;
    }

    .contact-join {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {

    .contact-new-grid {
        grid-template-columns: 1fr;
    }

    .contact-join {
        grid-column: span 1;
    }
}


/* =========================
   ANIMATIONS
========================= */

@media (prefers-reduced-motion: no-preference) {

    .hero-grid > * {
        animation: rise .7s ease both;
    }

    .hero-grid > *:nth-child(2) {
        animation-delay: .12s;
    }

    @keyframes rise {

        from {
            opacity: 0;
            transform: translateY(14px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}


@media (prefers-reduced-motion: reduce) {

    [data-reveal] {
        opacity: 1;

        transform: none;

        transition: none;
    }

    .seg-a {
        transition: none;
    }

    .pillar,
    .phase,
    .member,
    .feat {
        transition: none;
    }

    .hero-grid > * {
        animation: none;
    }
}