﻿/*
Theme Name: Strata Cosmos
Theme URI: https://emedicllc.com/
Author: Strata Studio
Author URI: https://emedicllc.com/
Description: A deep-space landing theme for on-chain infrastructure. Ships a pointer-reactive parallax starfield with a gravity well, drifting nebulae, meteor streaks, a full marketing front page, tokenomics panel, roadmap, ecosystem post type, FAQ and database-backed lead capture.
Version: 2.1.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: strata
Tags: one-column, custom-menu, custom-logo, editor-style, featured-images, translation-ready, block-styles, wide-blocks
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
    --bg: #05060a;
    --bg-soft: #080a11;
    --surface: #0b0e16;
    --surface-2: #0f1320;
    --surface-3: #141a2a;
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.18);
    --text: #edeff6;
    --muted: #8b92a6;
    --muted-2: #626a7e;
    --violet: #7c5cff;
    --cyan: #22d3ee;
    --lime: #b8ff3c;
    --danger: #ff6b6b;
    --grad: linear-gradient(135deg, #7c5cff 0%, #22d3ee 100%);
    --grad-soft: linear-gradient(135deg, rgba(124, 92, 255, 0.16), rgba(34, 211, 238, 0.16));
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 9px;
    --max: 1200px;
    --pad: clamp(18px, 4.5vw, 40px);
    --section: clamp(64px, 9vw, 132px);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --font-sans: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: "SFMono-Regular", "JetBrains Mono", "Cascadia Mono", Consolas, "Liberation Mono", Menlo, monospace;
    color-scheme: dark;
}

/* ==========================================================================
   2. Reset and base
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "ss01" 1, "cv01" 1, "kern" 1;
    overflow-x: hidden;
}

img,
svg,
video,
canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

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

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.08;
    text-wrap: balance;
}

p {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

::selection {
    background: rgba(124, 92, 255, 0.42);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
    border-radius: 4px;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed !important;
    top: 12px;
    left: 12px;
    z-index: 9999;
    padding: 12px 18px;
    background: var(--surface-3);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    clip: auto;
    width: auto;
    height: auto;
    overflow: visible;
}

[id] {
    scroll-margin-top: 92px;
}

/* Grain overlay */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   3. Layout primitives
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--pad);
}

.container--wide {
    max-width: 1360px;
}

.section {
    position: relative;
    padding-block: var(--section);
}

.section--tight {
    padding-block: clamp(48px, 6vw, 88px);
}

.section--line {
    border-top: 1px solid var(--line);
}

.section__head {
    max-width: 720px;
    margin-bottom: clamp(36px, 5vw, 64px);
}

.section__head--center {
    margin-inline: auto;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cyan);
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}

.section__head--center .eyebrow::after {
    content: "";
    width: 22px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}

.h2 {
    font-size: clamp(28px, 4.6vw, 48px);
    letter-spacing: -0.035em;
}

.h3 {
    font-size: clamp(18px, 2vw, 22px);
    letter-spacing: -0.02em;
}

.lede {
    margin-top: 18px;
    font-size: clamp(15px, 1.6vw, 17.5px);
    line-height: 1.7;
    color: var(--muted);
    max-width: 60ch;
}

.section__head--center .lede {
    margin-inline: auto;
}

.grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */

.btn {
    --btn-bg: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: var(--btn-bg);
    font-size: 14.5px;
    font-weight: 550;
    letter-spacing: -0.01em;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.25s var(--ease), border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

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

.btn:active {
    transform: translateY(0);
}

.btn--primary {
    position: relative;
    border: 0;
    background: var(--text);
    color: #06070c;
    box-shadow: 0 10px 30px -12px rgba(255, 255, 255, 0.35);
}

.btn--primary:hover {
    box-shadow: 0 16px 40px -14px rgba(124, 92, 255, 0.75);
}

.btn--grad {
    border: 0;
    color: #06070c;
    background: var(--grad);
    box-shadow: 0 12px 34px -14px rgba(34, 211, 238, 0.7);
}

.btn--grad:hover {
    box-shadow: 0 18px 46px -14px rgba(34, 211, 238, 0.9);
}

.btn--ghost {
    border-color: var(--line-strong);
    color: var(--text);
}

.btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.04);
}

.btn--block {
    width: 100%;
}

.btn--sm {
    padding: 9px 16px;
    font-size: 13px;
}

.btn__arrow {
    transition: transform 0.25s var(--ease);
}

.btn:hover .btn__arrow {
    transform: translateX(3px);
}

/* ==========================================================================
   5. Header
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-stuck {
    background: rgba(5, 6, 10, 0.72);
    border-bottom-color: var(--line);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-weight: 650;
    font-size: 17px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.brand__mark {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
}

.brand__mark .b1 {
    fill: url(#strataGrad);
}

.brand__name {
    white-space: nowrap;
}

.custom-logo {
    max-height: 40px;
    width: auto;
}

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

.nav a {
    position: relative;
    display: inline-block;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 14px;
    color: var(--muted);
    transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover,
.nav .current-menu-item > a {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--muted);
    text-transform: uppercase;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 0 rgba(184, 255, 60, 0.6);
    animation: pulse 2.4s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(184, 255, 60, 0.55); }
    70% { box-shadow: 0 0 0 7px rgba(184, 255, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(184, 255, 60, 0); }
}

.burger {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
}

.burger span {
    position: relative;
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--text);
    transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.burger span::before,
.burger span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 16px;
    height: 1.5px;
    background: var(--text);
    transition: transform 0.3s var(--ease);
}

.burger span::before { top: -5px; }
.burger span::after { top: 5px; }

.burger[aria-expanded="true"] span { transform: rotate(45deg); }
.burger[aria-expanded="true"] span::before { transform: translateY(5px) rotate(-90deg); }
.burger[aria-expanded="true"] span::after { opacity: 0; }

.mobile-nav {
    display: none;
    padding: 12px var(--pad) 26px;
    border-bottom: 1px solid var(--line);
    background: rgba(6, 8, 13, 0.97);
}

.mobile-nav.is-open {
    display: block;
}

.mobile-nav ul {
    display: grid;
    gap: 2px;
}

.mobile-nav a {
    display: block;
    padding: 13px 4px;
    font-size: 17px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav .btn {
    margin-top: 16px;
}

/* ==========================================================================
   6. Hero
   ========================================================================== */

.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(56px, 9vw, 104px) clamp(40px, 6vw, 64px);
    isolation: isolate;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(58% 46% at 50% -6%, rgba(124, 92, 255, 0.28) 0%, transparent 68%),
        radial-gradient(46% 34% at 82% 12%, rgba(34, 211, 238, 0.16) 0%, transparent 62%),
        radial-gradient(38% 30% at 8% 26%, rgba(124, 92, 255, 0.12) 0%, transparent 60%);
}

.hero__canvas {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    opacity: 0.55;
    -webkit-mask-image: radial-gradient(70% 62% at 50% 34%, #000 0%, transparent 78%);
    mask-image: radial-gradient(70% 62% at 50% 34%, #000 0%, transparent 78%);
}

.hero__grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(64% 50% at 50% 20%, #000 0%, transparent 80%);
    mask-image: radial-gradient(64% 50% at 50% 20%, #000 0%, transparent 80%);
}

.hero__inner {
    position: relative;
    text-align: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 8px 7px 12px;
    margin-bottom: 26px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    font-size: 12.5px;
    color: var(--muted);
    backdrop-filter: blur(6px);
}

.hero__badge .tag {
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--grad);
    color: #06070c;
    font-weight: 650;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero__title {
    font-size: clamp(38px, 7.4vw, 86px);
    letter-spacing: -0.045em;
    line-height: 0.98;
    max-width: 19ch;
    margin-inline: auto;
}

.hero__sub {
    margin: 24px auto 0;
    max-width: 620px;
    font-size: clamp(15px, 1.7vw, 18px);
    line-height: 1.68;
    color: var(--muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 34px;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: clamp(44px, 6vw, 72px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--line);
    text-align: left;
}

.hero__stat {
    padding: 22px 24px;
    background: rgba(8, 10, 17, 0.72);
    backdrop-filter: blur(10px);
}

.hero__stat dt {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.hero__stat dd {
    margin: 8px 0 0;
    font-size: clamp(20px, 2.4vw, 27px);
    font-weight: 600;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.hero__stat dd small {
    font-size: 0.55em;
    color: var(--muted);
    font-weight: 500;
}

/* ==========================================================================
   7. Marquee
   ========================================================================== */

.marquee {
    position: relative;
    padding-block: 26px;
    border-block: 1px solid var(--line);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
    display: flex;
    width: max-content;
    animation: marquee 34s linear infinite;
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

.marquee__group {
    display: flex;
    align-items: center;
    gap: clamp(40px, 6vw, 76px);
    padding-right: clamp(40px, 6vw, 76px);
}

.marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 550;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted-2);
    white-space: nowrap;
    transition: color 0.3s ease;
}

.marquee__item:hover {
    color: var(--text);
}

.marquee__item svg {
    width: 18px;
    height: 18px;
    opacity: 0.75;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ==========================================================================
   8. Cards and grids
   ========================================================================== */

.grid {
    display: grid;
    gap: 18px;
}

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

.card {
    position: relative;
    padding: clamp(22px, 2.4vw, 30px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
    overflow: hidden;
    transition: border-color 0.35s ease, transform 0.35s var(--ease);
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(124, 92, 255, 0.16), transparent 62%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.card:hover::before {
    opacity: 1;
}

.card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    border: 1px solid var(--line-strong);
    border-radius: 13px;
    background: var(--grad-soft);
    color: var(--cyan);
}

.card__icon svg {
    width: 20px;
    height: 20px;
}

.card__title {
    font-size: 17px;
    letter-spacing: -0.02em;
    margin-bottom: 9px;
}

.card__text {
    font-size: 14.5px;
    line-height: 1.66;
    color: var(--muted);
}

.card__meta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-2);
}

/* ==========================================================================
   9. Steps
   ========================================================================== */

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    counter-increment: step;
}

.step::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -19px;
    width: 18px;
    height: 1px;
    background: linear-gradient(90deg, var(--line-strong), transparent);
}

.step:last-child::after {
    display: none;
}

.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 18px;
    border-radius: 10px;
    border: 1px solid var(--line-strong);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--cyan);
}

.step__num::before {
    content: "0" counter(step);
}

.step__title {
    font-size: 16.5px;
    margin-bottom: 8px;
}

.step__text {
    font-size: 14px;
    color: var(--muted);
}

/* ==========================================================================
   10. Metrics
   ========================================================================== */

.metrics {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.panel {
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--surface);
    padding: clamp(22px, 2.6vw, 34px);
    overflow: hidden;
}

.panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.panel__title {
    font-size: 13px;
    font-family: var(--font-mono);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.panel__big {
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.panel__big small {
    font-size: 0.42em;
    color: var(--muted);
    letter-spacing: -0.01em;
    margin-left: 6px;
}

.chart {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 132px;
    margin-top: 26px;
}

.chart__bar {
    flex: 1;
    min-width: 3px;
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, rgba(124, 92, 255, 0.95), rgba(34, 211, 238, 0.28));
    height: var(--h, 20%);
    transform-origin: bottom;
    animation: grow 1.1s var(--ease) both;
    animation-delay: var(--d, 0s);
}

@keyframes grow {
    from { transform: scaleY(0.04); opacity: 0; }
    to { transform: scaleY(1); opacity: 1; }
}

.spark {
    display: block;
    width: 100%;
    height: 74px;
    margin-top: 16px;
}

.spark path.line {
    fill: none;
    stroke: url(#sparkGrad);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 620;
    stroke-dashoffset: 620;
}

.is-in .spark path.line {
    animation: draw 1.6s var(--ease) forwards;
}

@keyframes draw {
    to { stroke-dashoffset: 0; }
}

.metric-list {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.metric-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 13px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    font-size: 14px;
    color: var(--muted);
}

.metric-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.metric-list b {
    color: var(--text);
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

/* ==========================================================================
   11. Tokenomics
   ========================================================================== */

.token {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(26px, 4vw, 56px);
    align-items: center;
}

.donut {
    position: relative;
    width: min(320px, 100%);
    aspect-ratio: 1;
    margin-inline: auto;
}

.donut svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.donut circle {
    fill: none;
    stroke-width: 13;
    stroke-linecap: butt;
}

.donut__track {
    stroke: rgba(255, 255, 255, 0.055);
}

.donut__center {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
    gap: 4px;
}

.donut__center b {
    font-size: 30px;
    letter-spacing: -0.04em;
}

.donut__center span {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.alloc {
    display: grid;
    gap: 4px;
}

.alloc__row {
    display: grid;
    grid-template-columns: 10px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.alloc__row:last-child {
    border-bottom: 0;
}

.alloc__swatch {
    width: 9px;
    height: 9px;
    border-radius: 3px;
    background: var(--c);
    box-shadow: 0 0 12px -2px var(--c);
}

.alloc__name {
    font-size: 14.5px;
    font-weight: 500;
}

.alloc__meta {
    display: block;
    font-size: 12.5px;
    color: var(--muted-2);
    font-weight: 400;
    margin-top: 2px;
}

.alloc__pct {
    font-family: var(--font-mono);
    font-size: 15px;
    font-variant-numeric: tabular-nums;
    color: var(--text);
}

/* ==========================================================================
   12. Roadmap
   ========================================================================== */

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

.phase {
    position: relative;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.phase::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 24px;
    right: 24px;
    height: 1px;
    background: var(--grad);
    opacity: 0.6;
}

.phase--done::before {
    opacity: 1;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    margin-bottom: 16px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.pill--live {
    color: var(--lime);
    border-color: rgba(184, 255, 60, 0.35);
    background: rgba(184, 255, 60, 0.08);
}

.pill--next {
    color: var(--cyan);
    border-color: rgba(34, 211, 238, 0.35);
    background: rgba(34, 211, 238, 0.08);
}

.phase__title {
    font-size: 16px;
    margin-bottom: 12px;
}

.phase ul {
    display: grid;
    gap: 8px;
}

.phase li {
    position: relative;
    padding-left: 18px;
    font-size: 13.5px;
    color: var(--muted);
}

.phase li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: var(--line-strong);
}

.phase--done li::before {
    background: var(--lime);
    opacity: 0.8;
}

/* ==========================================================================
   13. Ecosystem
   ========================================================================== */

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

.eco__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.018);
    text-align: center;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease);
}

.eco__item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.045);
    transform: translateY(-2px);
}

.eco__glyph {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--grad-soft);
    border: 1px solid var(--line);
    font-weight: 650;
    font-size: 15px;
    color: var(--text);
}

.eco__name {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.3;
}

/* ==========================================================================
   14. Team
   ========================================================================== */

.member {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    transition: border-color 0.3s ease;
}

.member:hover {
    border-color: var(--line-strong);
}

.member__avatar {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: var(--grad);
    color: #06070c;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.member__name {
    font-size: 16px;
}

.member__role {
    margin-top: 4px;
    font-size: 13px;
    color: var(--muted);
}

.member__handle {
    display: inline-block;
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--muted-2);
}

/* ==========================================================================
   15. FAQ
   ========================================================================== */

.faq {
    display: grid;
    gap: 10px;
    max-width: 860px;
    margin-inline: auto;
}

.faq details {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    overflow: hidden;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.faq details[open] {
    border-color: var(--line-strong);
    background: var(--surface-2);
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 19px 22px;
    cursor: pointer;
    font-size: 15.5px;
    font-weight: 500;
    letter-spacing: -0.01em;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    flex: 0 0 auto;
    font-family: var(--font-mono);
    font-size: 19px;
    color: var(--muted);
    transition: transform 0.3s var(--ease), color 0.2s ease;
}

.faq details[open] summary::after {
    content: "+";
    transform: rotate(45deg);
    color: var(--cyan);
}

.faq__body {
    padding: 0 22px 21px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 70ch;
}

/* ==========================================================================
   16. CTA
   ========================================================================== */

.cta {
    position: relative;
    padding: clamp(38px, 6vw, 78px) clamp(24px, 5vw, 72px);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(70% 130% at 12% 0%, rgba(124, 92, 255, 0.28), transparent 62%),
        radial-gradient(60% 120% at 92% 100%, rgba(34, 211, 238, 0.2), transparent 60%),
        var(--surface);
    overflow: hidden;
    text-align: center;
}

.cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(60% 80% at 50% 50%, #000, transparent 78%);
    mask-image: radial-gradient(60% 80% at 50% 50%, #000, transparent 78%);
    pointer-events: none;
}

.cta > * {
    position: relative;
    z-index: 1;
}

.cta__title {
    font-size: clamp(28px, 4.4vw, 46px);
    max-width: 18ch;
    margin-inline: auto;
}

.cta__sub {
    margin: 16px auto 0;
    max-width: 52ch;
    color: var(--muted);
    font-size: 15.5px;
}

.subscribe {
    display: flex;
    gap: 8px;
    max-width: 470px;
    margin: 30px auto 0;
}

.subscribe input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 14px 18px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(5, 6, 10, 0.55);
    font-size: 14.5px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.subscribe input[type="email"]::placeholder {
    color: var(--muted-2);
}

.subscribe input[type="email"]:focus {
    outline: none;
    border-color: rgba(34, 211, 238, 0.6);
    background: rgba(5, 6, 10, 0.85);
}

.form-note {
    margin-top: 14px;
    font-size: 13px;
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
    color: var(--muted-2);
}

.form-note--ok { color: var(--lime); }
.form-note--err { color: var(--danger); }

/* ==========================================================================
   17. Footer
   ========================================================================== */

.site-footer {
    position: relative;
    margin-top: clamp(60px, 8vw, 120px);
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 40%);
    padding-top: clamp(48px, 6vw, 76px);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px 24px;
    padding-bottom: 56px;
}

.footer__brand p {
    margin-top: 16px;
    max-width: 34ch;
    font-size: 14px;
    color: var(--muted);
}

.footer__col h4 {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-bottom: 16px;
    font-weight: 500;
}

.footer__col ul {
    display: grid;
    gap: 10px;
}

.footer__col a {
    font-size: 14px;
    color: var(--muted);
    transition: color 0.2s ease;
}

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

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-block: 24px;
    border-top: 1px solid var(--line);
    font-size: 12.5px;
    color: var(--muted-2);
    flex-wrap: wrap;
}

.footer__socials {
    display: flex;
    gap: 8px;
}

.footer__socials a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--muted);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer__socials a:hover {
    color: var(--text);
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.04);
}

.footer__socials svg {
    width: 15px;
    height: 15px;
}

/* ==========================================================================
   18. Inner content pages
   ========================================================================== */

.page-header {
    position: relative;
    padding-block: clamp(48px, 7vw, 88px) clamp(28px, 4vw, 44px);
    border-bottom: 1px solid var(--line);
    background: radial-gradient(60% 120% at 50% 0%, rgba(124, 92, 255, 0.16), transparent 68%);
}

.page-header h1 {
    font-size: clamp(30px, 5vw, 54px);
    letter-spacing: -0.04em;
    max-width: 24ch;
}

.page-header__meta {
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.prose {
    max-width: 760px;
    margin-inline: auto;
    padding-block: clamp(40px, 6vw, 72px);
    font-size: 16px;
    line-height: 1.78;
    color: #c9cddb;
}

.prose > * + * {
    margin-top: 1.15em;
}

.prose h2 {
    font-size: clamp(22px, 3vw, 30px);
    margin-top: 2em;
    color: var(--text);
}

.prose h3 {
    font-size: 20px;
    margin-top: 1.8em;
    color: var(--text);
}

.prose a {
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.prose ul,
.prose ol {
    padding-left: 1.25em;
    list-style: disc;
}

.prose ol {
    list-style: decimal;
}

.prose li + li {
    margin-top: 0.5em;
}

.prose img {
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
}

.prose blockquote {
    margin: 1.6em 0;
    padding: 4px 0 4px 22px;
    border-left: 2px solid var(--violet);
    color: var(--muted);
    font-style: italic;
}

.prose pre,
.prose code {
    font-family: var(--font-mono);
    font-size: 0.88em;
}

.prose pre {
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    overflow-x: auto;
}

.prose :not(pre) > code {
    padding: 2px 6px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--cyan);
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
}

.prose th,
.prose td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.prose th {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text,
.wp-block-image figcaption {
    margin-top: 8px;
    font-size: 12.5px;
    color: var(--muted-2);
}

.alignwide {
    width: min(1100px, calc(100vw - var(--pad) * 2));
    margin-inline: auto;
}

.alignfull {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
}

.post-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 760px;
    margin: 0 auto 80px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: var(--muted);
}

.post-nav a:hover {
    color: var(--text);
}

/* ==========================================================================
   19. 404 and search
   ========================================================================== */

.error-page {
    display: grid;
    place-items: center;
    min-height: 62vh;
    padding-block: clamp(60px, 10vw, 120px);
    text-align: center;
}

.error-page__code {
    font-family: var(--font-mono);
    font-size: clamp(64px, 14vw, 148px);
    line-height: 0.9;
    letter-spacing: -0.05em;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

.error-page p {
    color: var(--muted);
    max-width: 46ch;
    margin: 14px auto 26px;
}

.search-form {
    display: flex;
    gap: 8px;
    max-width: 460px;
    margin: 24px auto 0;
}

.search-form input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: 13px 18px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
}

/* ==========================================================================
   20. Reveal animation
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    will-change: opacity, transform;
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

.reveal[data-delay="1"] { transition-delay: 0.06s; }
.reveal[data-delay="2"] { transition-delay: 0.12s; }
.reveal[data-delay="3"] { transition-delay: 0.18s; }
.reveal[data-delay="4"] { transition-delay: 0.24s; }
.reveal[data-delay="5"] { transition-delay: 0.3s; }

/* ==========================================================================
   21. Responsive
   ========================================================================== */

@media (max-width: 1080px) {
    .eco { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .roadmap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

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

    .burger {
        display: inline-flex;
    }

    .metrics,
    .token {
        grid-template-columns: 1fr;
    }

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

    .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: 1fr; }
    .step::after { display: none; }
    .token { gap: 34px; }
}

@media (max-width: 640px) {
    .header__inner { height: 66px; }
    .grid--4,
    .grid--3,
    .grid--2 { grid-template-columns: 1fr; }
    .eco { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .roadmap { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
    .footer__brand { grid-column: 1 / -1; }
    .hero__actions .btn { flex: 1 1 100%; }
    .subscribe { flex-direction: column; }
    .subscribe .btn { width: 100%; }
    .hero__stat { padding: 18px; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
    .hero__stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   22. Cosmos layer
   Two stacked canvases: a pre-rasterised Milky Way that only moves through a
   composited transform, and a small near-field that carries the pointer
   physics. No backdrop-filter, no blend modes, no per-frame blurs: every
   surface below is a flat fill so scrolling never repaints the whole page.
   ========================================================================== */

:root {
    --space-0: #01020a;
    --nebula-violet: #7c3aed;
    --nebula-blue: #2563eb;
    --nebula-pink: #db2777;
    --nebula-cyan: #22d3ee;
    --glass-edge: rgba(140, 165, 255, 0.14);
}

html {
    background: #03040d;
}

body {
    background: transparent;
}

body::after {
    opacity: 0.03;
}

/* Galaxy backdrop ---------------------------------------------------------- */

.cosmos {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    contain: strict;
}

.cosmos__nebula {
    position: absolute;
    inset: -8%;
    background:
        radial-gradient(46% 38% at 22% 18%, rgba(124, 58, 237, 0.30), transparent 68%),
        radial-gradient(40% 32% at 78% 26%, rgba(34, 211, 238, 0.14), transparent 70%),
        radial-gradient(38% 30% at 66% 84%, rgba(219, 39, 119, 0.15), transparent 68%),
        radial-gradient(34% 28% at 12% 74%, rgba(37, 99, 235, 0.20), transparent 70%);
    opacity: 0.9;
}

.cosmos__stars {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: translate3d(0, 0, 0);
}

.cosmos__stars--far {
    will-change: transform;
}

.cosmos__glow {
    position: absolute;
    left: -280px;
    top: -280px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 92, 255, 0.30) 0%, rgba(34, 211, 238, 0.10) 40%, transparent 68%);
    opacity: 0;
    transition: opacity 0.45s ease;
    will-change: transform, opacity;
}

/* Flat surfaces ------------------------------------------------------------ */

.card,
.step,
.phase,
.member,
.panel,
.eco__item,
.faq details {
    background: linear-gradient(180deg, rgba(15, 19, 42, 0.94), rgba(6, 9, 22, 0.96));
    border-color: var(--glass-edge);
}

.faq details[open] {
    background: linear-gradient(180deg, rgba(24, 30, 62, 0.96), rgba(9, 13, 30, 0.96));
    border-color: rgba(160, 182, 255, 0.26);
}

.hero__stat {
    background: rgba(6, 9, 22, 0.92);
}

.card:hover {
    border-color: rgba(180, 200, 255, 0.32);
}

.card::before {
    background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(124, 58, 237, 0.26), rgba(34, 211, 238, 0.10) 42%, transparent 66%);
}

.site-header.is-stuck {
    background: rgba(3, 5, 14, 0.94);
    border-bottom-color: rgba(140, 165, 255, 0.12);
}

.hero__badge {
    background: rgba(10, 14, 34, 0.88);
    border-color: rgba(160, 182, 255, 0.20);
}

/* Status dot: a transform ring instead of an animated box-shadow ----------- */

.dot {
    position: relative;
    box-shadow: none;
    animation: none;
}

.dot::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid rgba(184, 255, 60, 0.55);
    animation: dotPulse 2.6s ease-out infinite;
}

@keyframes dotPulse {
    0% { transform: scale(0.55); opacity: 0.85; }
    70% { transform: scale(1.9); opacity: 0; }
    100% { transform: scale(1.9); opacity: 0; }
}

/* Orbits ------------------------------------------------------------------- */

.hero__orbits {
    position: absolute;
    inset: 0;
    z-index: -1;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.hero__orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(147, 178, 255, 0.09);
}

.hero__orbit:nth-child(1) {
    width: min(660px, 84vw);
    height: min(660px, 84vw);
    border-color: rgba(160, 190, 255, 0.14);
    animation: orbitSpin 140s linear infinite;
}

.hero__orbit:nth-child(2) {
    width: min(920px, 112vw);
    height: min(920px, 112vw);
}

.hero__orbit:nth-child(3) {
    width: min(1220px, 146vw);
    height: min(1220px, 146vw);
    border-color: rgba(160, 190, 255, 0.05);
}

.hero__orbit::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -3px;
    width: 5px;
    height: 5px;
    margin-top: -2.5px;
    border-radius: 50%;
    background: var(--nebula-cyan);
    box-shadow: 0 0 12px 2px rgba(34, 211, 238, 0.55);
}

.hero__orbit:nth-child(2)::after {
    left: auto;
    right: -2px;
    width: 4px;
    height: 4px;
    background: #c4b5fd;
    box-shadow: 0 0 10px 2px rgba(167, 139, 250, 0.5);
}

.hero__orbit:nth-child(3)::after {
    display: none;
}

@keyframes orbitSpin {
    to { transform: rotate(360deg); }
}

/* Type and controls -------------------------------------------------------- */

.hero__title {
    text-shadow: 0 0 90px rgba(99, 102, 241, 0.20);
}

.grad-text {
    background: linear-gradient(135deg, #a78bfa 0%, #38bdf8 48%, #e879f9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn--grad {
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 52%, #22d3ee 100%);
    color: #f8fbff;
    box-shadow: 0 12px 32px -18px rgba(56, 189, 248, 0.9);
}

.btn--primary {
    background: linear-gradient(180deg, #f4f7ff, #cfd8ff);
    color: #05070f;
}

.section--line {
    border-top-color: rgba(140, 165, 255, 0.09);
}

.page-header {
    background: radial-gradient(60% 120% at 50% 0%, rgba(124, 58, 237, 0.20), transparent 68%);
    border-bottom-color: rgba(140, 165, 255, 0.12);
}

.cta {
    background:
        radial-gradient(70% 130% at 12% 0%, rgba(124, 58, 237, 0.32), transparent 62%),
        radial-gradient(60% 120% at 92% 100%, rgba(34, 211, 238, 0.20), transparent 60%),
        rgba(7, 10, 26, 0.94);
}

.site-footer {
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.05), transparent 46%);
    border-top-color: rgba(140, 165, 255, 0.10);
}

.marquee {
    border-block-color: rgba(140, 165, 255, 0.09);
}

* {
    scrollbar-color: rgba(124, 58, 237, 0.55) transparent;
    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #03040d;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.7), rgba(34, 211, 238, 0.5));
    border-radius: 10px;
    border: 2px solid #03040d;
}

@media (max-width: 640px) {
    .cosmos__glow {
        left: -190px;
        top: -190px;
        width: 380px;
        height: 380px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__orbit:nth-child(1),
    .dot::after {
        animation: none;
    }
}

/* Kill the remaining compositing costs inherited from the first pass --------- */

.site-header.is-stuck,
.hero__badge,
.hero__stat {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.reveal {
    will-change: auto;
}

.hero__canvas {
    display: none;
}

