* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px
}

body {
    margin: 0;
    background: #090909;
    color: #f5f5f5;
    font: 16px/1.65 system-ui, "Microsoft YaHei", sans-serif;
    overflow-wrap: anywhere
}

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

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

svg {
    width: 24px;
    height: 24px;
    flex: none
}

button,
input,
select {
    font: inherit
}

button,
a,
input,
select,
summary {
    outline-offset: 4px
}

button {
    cursor: pointer
}

h1,
h2,
h3,
p,
figure {
    margin: 0
}

h1 {
    font-size: clamp(38px, 5vw, 78px);
    line-height: 1.12;
    letter-spacing: -.045em;
    margin: 20px 0
}

h2 {
    font-size: clamp(26px, 3.5vw, 44px);
    line-height: 1.2;
    margin: 10px 0
}

h3 {
    font-size: 21px;
    margin: 8px 0
}

p,
.muted,
small {
    color: #aaa
}

.wrap {
    width: min(1440px, calc(100% - 64px));
    margin-inline: auto;
    min-width: 0
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #0b0b0bf5;
    border-bottom: 1px solid #292929;
    backdrop-filter: blur(14px)
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px
}

.brand {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 2px;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.brand small {
    font-size: 11px;
    letter-spacing: 0;
    display: block;
    line-height: 1
}

.header-inner nav {
    display: flex;
    gap: 26px;
    color: #bbb
}

.header-inner nav a:hover {
    color: white
}

.header-actions,
.actions,
.tabs,
.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    padding: 12px 19px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform .2s, background .2s
}

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

.primary {
    background: #fff;
    color: #111
}

.outline {
    border: 1px solid #555;
    background: #171717
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 44px;
    align-items: center;
    padding-block: 90px
}

.hero p {
    font-size: 19px
}

.actions {
    margin: 28px 0 10px
}

.hero-visual {
    border: 1px solid #454545;
    border-radius: 22px;
    padding: 12px;
    background: linear-gradient(145deg, #252525, #111);
    box-shadow: 0 20px 70px #000
}

.hero-visual img {
    border-radius: 10px
}

.hero-visual figcaption {
    display: flex;
    gap: 8px;
    align-items: center;
    color: #aaa;
    font-size: 13px;
    margin-top: 12px
}

.ref-logo {
    width: 28px;
    height: 28px
}

.tags {
    margin-top: 25px
}

.tags span,
.eyebrow {
    font-size: 12px;
    letter-spacing: 1px;
    color: #aaa
}

.tags span {
    padding: 5px 12px;
    border: 1px solid #383838;
    border-radius: 30px
}

.section {
    padding-block: 45px
}

.section-head {
    margin-bottom: 24px
}

.panel {
    background: #121212;
    border: 1px solid #2d2d2d;
    border-radius: 20px;
    padding: 24px;
    min-width: 0
}

.tabs {
    margin-bottom: 20px
}

.tabs button {
    border: 1px solid #373737;
    background: #1b1b1b;
    color: #ccc;
    border-radius: 9px;
    padding: 8px 14px
}

.tabs button[aria-pressed=true] {
    background: white;
    color: black
}

table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    text-align: left
}

th {
    font-size: 13px;
    color: #aaa;
    font-weight: 500
}

td,
th {
    padding: 15px 6px;
    border-bottom: 1px solid #292929
}

th:first-child {
    width: 34%
}

td {
    font-variant-numeric: tabular-nums
}

.coin {
    display: flex;
    align-items: center;
    gap: 12px
}

.coin small {
    display: block;
    font-size: 12px
}

.coin-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--coin);
    color: white;
    font-size: 23px;
    flex: none
}

.up {
    color: #67c8a5
}

.down {
    color: #ed8b93
}

.spark {
    width: 90px;
    max-width: 100%;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2
}

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

.feature {
    min-height: 170px;
    transition: border-color .25s, transform .25s
}

.feature:hover {
    border-color: #aaa;
    transform: translateY(-4px)
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #454545, #1a1a1a);
    border: 1px solid #555
}

.trade-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 28px;
    align-items: center
}

.trade-layout img {
    border-radius: 12px
}

.calculator label {
    display: block;
    color: #bbb;
    margin: 10px 0 4px
}

.calculator input,
.calculator select {
    width: 100%;
    min-width: 0;
    background: #080808;
    color: white;
    border: 1px solid #444;
    border-radius: 9px;
    padding: 10px
}

.result {
    margin-top: 18px;
    padding: 14px;
    background: #242424;
    border-radius: 10px
}

.result strong {
    display: block;
    font-size: 24px
}

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

.gallery figure {
    padding: 12px;
    text-align: center
}

.gallery img {
    width: 100%;
    object-fit: contain;
    border-radius: 12px
}

.gallery figcaption {
    margin-top: 12px
}

.download-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .55fr);
    align-items: center;
    gap: 28px;
    padding: 48px;
    background: radial-gradient(ellipse at 85% 10%, #454545, #171717 60%)
}

.download-section img {
    max-height: 320px;
    width: auto;
    margin: auto;
    object-fit: contain
}

.download-section .btn {
    padding: 15px 24px
}

details {
    margin: 10px 0
}

summary {
    cursor: pointer;
    font-weight: 600
}

details p {
    margin-top: 12px
}

.footer {
    border-top: 1px solid #303030;
    padding-block: 35px
}

.footer p {
    margin: 12px 0
}

.footer a {
    text-decoration: underline
}

.reveal {
    transition: opacity .55s, transform .55s
}

.js .reveal:not(.visible) {
    opacity: 0;
    transform: translateY(14px)
}

[hidden] {
    display: none !important
}

@media(max-width:950px) {
    .header-inner nav {
        display: none
    }

    .hero,
    .trade-layout {
        grid-template-columns: 1fr
    }

    .hero {
        padding-block: 48px
    }

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

@media(max-width:600px) {
    .wrap {
        width: calc(100% - 28px)
    }

    .header-inner {
        min-height: 64px;
        gap: 8px
    }

    .brand {
        font-size: 19px
    }

    .header-actions {
        gap: 6px;
        flex-wrap: nowrap
    }

    .header-actions .btn {
        font-size: 12px;
        padding: 8px 10px
    }

    .hero {
        gap: 24px;
        padding-block: 38px
    }

    .section {
        padding-block: 30px
    }

    .panel {
        padding: 14px;
        border-radius: 14px
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px
    }

    .feature h3 {
        font-size: 17px
    }

    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px
    }

    .download-section {
        grid-template-columns: 1fr;
        padding: 22px
    }

    .download-section img {
        max-height: 230px
    }

    .actions .btn {
        flex: 1;
        font-size: 14px;
        padding: 12px 8px
    }

    .actions .btn svg {
        width: 19px
    }

    td,
    th {
        font-size: 12px;
        padding: 12px 3px
    }

    .coin {
        gap: 5px
    }

    .coin-icon {
        width: 26px;
        height: 26px;
        font-size: 16px
    }

    .coin small {
        display: none
    }

    th:first-child {
        width: 28%
    }

    th:last-child {
        width: 20%
    }

    .tabs button {
        font-size: 12px;
        padding: 7px 9px
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important
    }

    .js .reveal:not(.visible) {
        opacity: 1;
        transform: none
    }
}

/* V2 navigation and responsive editorial layout */
html {
    overflow-x: clip
}

body {
    min-width: 0
}

.header-inner nav {
    position: relative;
    gap: clamp(10px, 1.4vw, 24px);
    align-items: center
}

.desktop-nav a {
    position: relative;
    white-space: nowrap;
    padding: 22px 0;
    transition: color .25s
}

.desktop-nav a.active {
    color: #fff
}

.nav-indicator {
    position: absolute;
    bottom: 10px;
    left: 0;
    height: 2px;
    width: 0;
    background: #fff;
    border-radius: 4px;
    transition: transform .32s ease, width .32s ease;
    pointer-events: none
}

.reading-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #aaa;
    transform: scaleX(0);
    transform-origin: left
}

.site-header.scrolled {
    box-shadow: 0 8px 30px #0007
}

.gallery {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 20px
}

.gallery-stage {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    background: radial-gradient(ellipse at 25% 45%, #333, #111 70%);
    min-height: 360px
}

.gallery-device img {
    width: auto;
    max-width: 100%;
    height: 340px;
    object-fit: contain;
    margin: auto;
    border-radius: 16px;
    box-shadow: 0 16px 40px #0009
}

.gallery-copy h3 {
    font-size: 32px
}

.gallery-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px
}

.gallery-controls button {
    background: #252525;
    border: 1px solid #555;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    color: white
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px
}

.gallery-thumb {
    min-width: 0;
    background: #151515;
    border: 1px solid #333;
    border-radius: 14px;
    padding: 10px;
    color: #bbb;
    display: grid;
    justify-items: center;
    gap: 8px;
    transition: border-color .2s, background .2s
}

.gallery-thumb img {
    height: 125px;
    width: auto;
    max-width: 100%;
    object-fit: contain
}

.gallery-thumb[aria-pressed=true] {
    border-color: #eee;
    background: #292929;
    color: white
}

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

.learn-grid a {
    display: inline-block;
    margin-top: 18px;
    color: #eee
}

.risk-calc {
    display: grid;
    grid-template-columns: 1fr .65fr;
    gap: 28px;
    margin-top: 18px;
    align-items: center
}

.risk-calc label {
    display: flex;
    justify-content: space-between;
    margin-top: 18px
}

.risk-calc input {
    width: 100%;
    accent-color: #ddd
}

.risk-value {
    background: #202020;
    border-radius: 14px;
    padding: 24px;
    display: grid;
    gap: 8px
}

.risk-value strong {
    font-size: clamp(24px, 3vw, 40px)
}

.download-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    padding: clamp(25px, 5vw, 72px);
    background: linear-gradient(125deg, #161616 25%, #303030 100%);
    border-color: #505050
}

.download-copy {
    z-index: 1
}

.download-copy h2 {
    font-size: clamp(30px, 4vw, 54px)
}

.download-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0
}

.download-features span {
    border: 1px solid #555;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    color: #ddd
}

.download-actions {
    gap: 12px
}

.download-actions .btn {
    min-height: 58px;
    flex: 1;
    max-width: 240px
}

.download-visual {
    position: relative;
    min-height: 340px;
    display: grid;
    place-items: center
}

.download-orbit {
    position: absolute;
    width: 95%;
    aspect-ratio: 1;
    border: 1px solid #666;
    border-radius: 50%;
    box-shadow: 0 0 0 24px #ffffff08, 0 0 0 48px #ffffff05;
    z-index: -1
}

.download-device {
    border: 1px solid #777;
    border-radius: 22px;
    background: #0d0d0d;
    padding: 7px;
    box-shadow: 0 20px 45px #0009
}

.download-device img {
    height: 300px;
    width: auto;
    border-radius: 15px
}

.device-caption {
    font-size: 12px;
    color: #bbb;
    margin-top: 10px
}

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

.footer-brand {
    font-size: 30px;
    letter-spacing: 3px
}

.footer-grid h3 {
    font-size: 16px
}

.footer-grid a {
    display: block;
    margin: 9px 0;
    color: #bbb;
    text-decoration: none
}

.footer-grid a:hover {
    color: white
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 25px;
    padding-top: 15px
}

.footer-bottom p {
    font-size: 13px
}

@media(max-width:1150px) {
    .header-inner nav {
        gap: 12px
    }

    .desktop-nav a {
        font-size: 13px
    }
}

@media(max-width:950px) {
    .header-inner {
        flex-wrap: wrap;
        padding-top: 8px;
        gap: 5px
    }

    .header-inner nav {
        display: flex;
        order: 3;
        flex: 0 0 100%;
        justify-content: space-between;
        gap: 5px
    }

    .desktop-nav a {
        padding: 9px 0
    }

    .nav-indicator {
        bottom: 3px
    }

    .gallery {
        grid-template-columns: 1fr
    }

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

    html {
        scroll-padding-top: 125px
    }
}

@media(max-width:600px) {
    .desktop-nav a {
        font-size: 11px
    }

    .header-inner nav {
        gap: 2px
    }

    .gallery-stage {
        gap: 12px;
        min-height: 260px
    }

    .gallery-device img {
        height: 230px
    }

    .gallery-copy h3 {
        font-size: 23px
    }

    .gallery-controls {
        gap: 6px
    }

    .gallery-controls button {
        width: 30px;
        height: 30px
    }

    .gallery-thumb img {
        height: 95px
    }

    .learn-grid,
    .risk-calc,
    .download-section {
        grid-template-columns: 1fr
    }

    .download-visual {
        min-height: 260px
    }

    .download-device img {
        height: 230px
    }

    .download-actions .btn {
        max-width: none
    }

    .footer-grid {
        gap: 15px
    }

    .download-orbit {
        width: 70%
    }
}

@media(prefers-reduced-motion:reduce) {
    .nav-indicator {
        transition: none
    }
}
.footlogo{
    display: flex;
    align-items: center;
}