*,
*::before,
*::after {
    box-sizing: border-box
}

body {
    transition: opacity ease-in 0.2s;
}

body[unresolved] {
    opacity: 0;
    display: block;
    overflow: hidden;
    position: relative;
}

html,
body {
    margin: 0;
    padding: 0
}

:root {
    --bg: #04070d;
    --bg-2: #08090a;
    --panel: #10131c;
    --panel-2: #161a24;
    --ink: #f5f5f5;
    --muted: #b8c7d9;
    --muted-2: rgba(184, 199, 217, 0.55);
    --accent: #f15025;
    --accent-2: #ff8a5c;
    --accent-gold: #ffbd17;
    --accent-soft: rgba(241, 80, 37, 0.14);
    --accent-glow: rgba(241, 80, 37, 0.32);
    --blue: #3e3af2;
    --line: rgba(255, 255, 255, 0.10);
    --line-2: rgba(255, 255, 255, 0.06);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-pill: 999px;
    --max: 1180px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%
}

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    color: var(--ink);
    background: var(--bg);
    background-image: radial-gradient(900px 520px at 92% -6%, rgba(241, 80, 37, 0.14), transparent 58%), radial-gradient(700px 480px at -4% 42%, rgba(62, 58, 242, 0.10), transparent 55%);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden
}

.mono {
    font-variant-numeric: tabular-nums
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 28px
}

button {
    font-family: inherit
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(4, 7, 13, 0.88);
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--line)
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 20px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px
}

.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0
}

.brand-mark img {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em
}

.nav {
    display: flex;
    align-items: center;
    gap: 26px
}

.nav a,
.nav span {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted-2);
    text-decoration: none;
    transition: color .15s
}

.nav span {
    cursor: default
}

.nav a:hover {
    color: var(--ink)
}

.nav span.active {
    color: var(--ink);
    font-weight: 600
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    padding: 11px 22px;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .12s ease, background .15s ease, box-shadow .15s ease, opacity .15s ease;
    line-height: 1
}

.btn-primary {
    background: linear-gradient(130deg, #ff4c22 12%, #ff4c22 62%, #ffbd17 100%);
    color: #fff;
    box-shadow: 0 6px 18px var(--accent-glow)
}

.btn-primary:hover {
    transform: translateY(-1px);
    opacity: 0.95
}

.btn-secondary {
    background: transparent;
    color: var(--ink);
    border-color: var(--line)
}

.btn-secondary:hover {
    border-color: rgba(241, 80, 37, 0.45);
    background: var(--accent-soft)
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15px
}

.banner {
    background: linear-gradient(90deg, rgba(241, 80, 37, 0.12), rgba(62, 58, 242, 0.08));
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
    text-align: center;
    font-size: 13px;
    color: var(--muted)
}

.banner strong {
    color: var(--ink);
    font-weight: 600
}

.hero {
    padding: 56px 0 0;
    position: relative;
    z-index: 1
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 52px;
    align-items: center;
    padding-bottom: 56px
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: var(--accent-soft);
    border: 1px solid rgba(241, 80, 37, 0.22);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-2)
}

.eyebrow .live {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft)
}

.hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.03em;
    margin: 20px 0 18px
}

.hero h1 em {
    font-style: normal;
    color: var(--accent-2)
}

.hero .lede {
    font-size: 17px;
    color: var(--muted);
    max-width: 540px;
    margin: 0 0 28px
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.hero-meta {
    margin-top: 22px;
    font-size: 13.5px;
    color: var(--muted-2);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center
}

.hero-meta strong {
    color: var(--ink);
    font-weight: 600
}

.hero-meta .sep {
    opacity: 0.35
}

.alloc-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px 26px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden
}

.alloc-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(241, 80, 37, 0.16), transparent 70%);
    transform: translate(30%, -30%);
    pointer-events: none
}

.alloc-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1
}

.alloc-head .title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-2)
}

.alloc-head h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 6px 0 0;
    letter-spacing: -0.02em
}

.epoch-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    background: rgba(241, 80, 37, 0.18);
    color: var(--accent-2);
    border: 1px solid rgba(241, 80, 37, 0.28)
}

.pool-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid var(--line-2);
    position: relative;
    z-index: 1
}

.pool-row:first-of-type {
    border-top: 0;
    padding-top: 0
}

.pool-row .name {
    font-size: 14px;
    font-weight: 600
}

.pool-row .sub {
    font-size: 12.5px;
    color: var(--muted-2);
    margin-top: 2px
}

.pool-row .pct {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-2)
}

.pool-bar {
    grid-column: 1/-1;
    height: 6px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden
}

.pool-bar span {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--accent), var(--accent-gold))
}

.alloc-foot {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line-2);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    font-size: 12.5px;
    color: var(--muted-2);
    position: relative;
    z-index: 1
}

.alloc-foot strong {
    color: var(--ink)
}

.metrics {
    padding: 56px 0;
    position: relative;
    z-index: 1
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px
}

.metric {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 20px
}

.metric .label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted-2);
    margin-bottom: 8px
}

.metric .value {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1
}

.metric .value small {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent-2);
    margin-left: 2px
}

.metric .delta {
    font-size: 12.5px;
    color: var(--accent-2);
    margin-top: 8px;
    font-weight: 500
}

.metric .delta.neutral {
    color: var(--muted-2)
}

.section {
    padding: 56px 0;
    position: relative;
    z-index: 1
}

.section-head {
    max-width: 640px;
    margin-bottom: 36px
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 10px
}

.section-head h2 {
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 12px
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 16px
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 22px
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-2);
    margin-bottom: 14px
}

.card h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 10px
}

.card p {
    font-size: 14px;
    color: var(--muted);
    margin: 0
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.step {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    position: relative
}

.step .num {
    font-size: 48px;
    font-weight: 700;
    color: rgba(241, 80, 37, 0.18);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.04em
}

.step .tag {
    position: absolute;
    top: 22px;
    right: 22px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-2);
    background: var(--accent-soft);
    padding: 5px 10px;
    border-radius: var(--radius-pill)
}

.step h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px
}

.step p {
    font-size: 14.5px;
    color: var(--muted);
    margin: 0
}

.mid-cta {
    padding: 8px 0 56px
}

.mid-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 48px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-lg)
}

.mid-card h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
    max-width: 520px
}

.mid-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    max-width: 480px
}

.mid-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 200px
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px
}

.faq {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 20px
}

.faq .q {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px
}

.faq .a {
    font-size: 14px;
    color: var(--muted);
    margin: 0
}

.final {
    padding: 24px 0 88px
}

.final-card {
    text-align: center;
    padding: 56px 40px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow)
}

.final-card h2 {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0 0 12px
}

.final-card p {
    color: var(--muted);
    font-size: 16px;
    max-width: 520px;
    margin: 0 auto 26px
}

.final-meta {
    margin-top: 16px;
    font-size: 13px;
    color: var(--muted-2)
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 28px 0 36px;
    font-size: 13px;
    color: var(--muted-2)
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px
}

.footer-links {
    display: flex;
    gap: 18px
}

.footer-links a {
    color: var(--muted-2);
    text-decoration: none;
    transition: color .15s
}

.footer-links a:hover {
    color: var(--accent-2)
}

.chain-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600
}

.chain-badge .pip {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent)
}

@media (max-width:980px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px
    }

    .alloc-card {
        order: -1
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .cards,
    .steps {
        grid-template-columns: 1fr
    }
}

@media (max-width:720px) {
    .nav {
        display: none
    }

    .metrics-grid,
    .faq-grid {
        grid-template-columns: 1fr
    }

    .mid-card {
        padding: 32px 24px
    }
}

:focus-visible {
    outline: 2px solid var(--accent-2);
    outline-offset: 3px
}

::selection {
    background: var(--accent);
    color: #fff
}