.crypto__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(40px, 6vw, 90px);
}

.crypto__title { max-width: 620px; }
.crypto__title .title__accent { display: block; }
.crypto__copy > .lead { max-width: 510px; }

.crypto__free {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-block: 28px 30px;
}

.crypto__free-mark {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    height: 40px;
    border: 1px solid var(--tint-accent-line);
    border-radius: 14px;
    background: var(--tint-accent-bg);
    color: var(--accent);
}

.crypto__free-mark svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.crypto__free strong { display: block; color: var(--accent); font-size: 16px; }
.crypto__free div > span { display: block; color: var(--text-muted); font-size: 13px; }

.crypto__steps { display: grid; gap: 8px; margin-block-end: 30px; }

.crypto__step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-height: 55px;
    padding: 10px 15px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 14px;
    background: transparent;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-align: start;
    transition: color .3s, border-color .3s, background .3s;
}

.crypto__step:disabled { cursor: default; }
.crypto__step-number { flex-shrink: 0; font-size: 12px; font-variant-numeric: tabular-nums; }
.crypto__step[aria-pressed="true"] { border-color: var(--line); background: var(--surface); color: var(--ink); }
.crypto__step[aria-pressed="true"] .crypto__step-number { color: var(--accent); }

.crypto__assets { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.crypto__assets > span { display: inline-flex; align-items: center; gap: 7px; color: var(--text-2); font-size: 12px; }
.crypto__coin { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font: 600 15px var(--font-system); }
.crypto__coin--usdt { color: #71cdb1; background: rgb(80 190 153 / .14); }
.crypto__coin--btc { color: var(--accent); background: var(--tint-accent-bg); }
.crypto__coin--eth { color: #a4afe7; background: rgb(140 155 225 / .14); }
.crypto__coin--ton { color: var(--blue-ink); background: var(--tint-blue-bg); }

.crypto__safety {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    max-width: 460px;
    margin-block-start: 23px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.7;
}

.crypto__safety svg { flex: 0 0 16px; width: 16px; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.crypto-demo {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--card-radius);
    background: #0e1016;
}

.crypto-demo__topline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 24px 28px 0;
}

.crypto-demo__brand { color: var(--text-muted); font-family: var(--font-brand); font-size: 10px; letter-spacing: .02em; }
.crypto-demo__tag { color: var(--text-faint); font-size: 10px; }

.crypto-demo__stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 590px;
    padding: 30px 20px 28px;
    isolation: isolate;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 50%, rgb(var(--accent-rgb) / .075), transparent 66%);
}

.crypto-demo__orbit {
    position: absolute;
    z-index: -1;
    width: 420px;
    height: 420px;
    border: 1px solid rgb(var(--accent-rgb) / .08);
    border-radius: 50%;
}

.crypto-demo__orbit--two { width: 560px; height: 560px; border-color: rgb(var(--accent-rgb) / .04); }

.crypto-demo__floating {
    position: absolute;
    z-index: -1;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #14171d;
    font: 500 31px var(--font-system);
}

.crypto-demo__floating--usdt { top: 94px; inset-inline-start: 7%; color: #71cdb1; transform: rotate(-14deg); }
.crypto-demo__floating--btc { bottom: 92px; inset-inline-end: 6%; color: var(--accent); transform: rotate(12deg); }

.crypto-phone {
    position: relative;
    width: 290px;
    height: 532px;
    max-width: 100%;
    overflow: hidden;
    border: 5px solid #26282e;
    border-radius: 44px;
    background: #08090c;
    box-shadow: 0 0 0 1px #383a42, inset 0 0 0 1px #000, 0 24px 60px rgb(0 0 0 / .45);
    font-family: var(--font);
    font-size: 11px;
    line-height: 1.5;
}

.crypto-phone__status {
    display: flex;
    direction: ltr;
    justify-content: space-between;
    align-items: center;
    height: 44px;
    padding: 0 23px;
    font-size: 11px;
    font-weight: 700;
}

.crypto-phone__island { position: absolute; top: 10px; left: 50%; width: 76px; height: 22px; border-radius: 30px; background: #000; transform: translateX(-50%); }
.crypto-phone__status svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.crypto-phone__screen {
    position: absolute;
    inset: 49px 12px 23px;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .45s, transform .6s cubic-bezier(.2, .7, .2, 1);
}

[data-step="0"] .crypto-phone__screen--connect,
[data-step="1"] .crypto-phone__screen--import,
[data-step="2"] .crypto-phone__screen--history { opacity: 1; transform: none; }

.crypto-phone__header { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 45px; padding-inline: 5px; font-size: 16px; font-weight: 700; }
.crypto-phone__close { display: grid; place-items: center; flex: 0 0 24px; height: 24px; border-radius: 50%; background: #212329; color: var(--text-muted); }
.crypto-phone__close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.crypto-phone__form { margin-top: 16px; padding-inline: 12px; border-radius: 17px; background: #191b21; }
.crypto-phone__field { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding-block: 10px; border-top: 1px solid var(--line); }
.crypto-phone__field > span:first-child { color: var(--text-body); }
.crypto-phone__field > bdi { flex-shrink: 0; font-size: 10px; font-weight: 600; }
.crypto-phone__field--address { display: block; border-top: 0; padding-block: 12px; }
.crypto-phone__field--address > div { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 7px; }
.crypto-phone__address { display: inline-block; font-size: 15px; letter-spacing: .03em; }
.crypto-phone__field svg { width: 17px; height: 17px; fill: none; stroke: var(--accent); stroke-width: 1.5; }
.crypto-phone__value { display: flex; align-items: center; justify-content: flex-end; gap: 6px; color: var(--accent); text-align: end; }
.crypto-phone__note { padding: 12px 7px; color: var(--text-muted); font-size: 10px; line-height: 1.6; }
.crypto-phone__primary { position: absolute; inset-inline: 2px; bottom: 5px; display: grid; place-items: center; min-height: 42px; padding: 8px; border-radius: 16px; background: var(--accent); color: var(--on-accent); font-size: 13px; font-weight: 700; }
.crypto-phone__touch { position: absolute; bottom: 4px; left: calc(50% - 18px); width: 36px; height: 36px; border: 2px solid rgb(255 255 255 / .8); border-radius: 50%; background: rgb(255 255 255 / .24); opacity: 0; }

.crypto-phone__sync-icon { display: grid; place-items: center; width: 78px; height: 78px; margin: 29px auto 19px; border: 1px solid var(--tint-accent-line); border-radius: 26px; background: var(--tint-accent-bg); }
.crypto-phone__sync-icon svg { width: 42px; fill: none; stroke: var(--accent); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.3; }
.crypto-phone__sync-title { max-width: 215px; margin-inline: auto; font-size: 15px; font-weight: 650; line-height: 1.5; text-align: center; }
.crypto-phone__sync-sub { margin-block: 7px 26px; color: var(--text-muted); font-size: 11px; text-align: center; }
.crypto-phone__skeleton { display: flex; align-items: center; gap: 12px; height: 44px; padding-inline: 14px; }
.crypto-phone__skeleton i { width: 27px; height: 27px; border-radius: 10px; background: #252830; }
.crypto-phone__skeleton span { width: 86px; height: 7px; border-radius: 3px; background: #252830; }
.crypto-phone__skeleton b { width: 38px; height: 7px; margin-inline-start: auto; border-radius: 3px; background: #252830; }
.crypto-phone__import-note { margin-top: 16px; color: var(--text-faint); font-size: 10px; text-align: center; }

.crypto-phone__account { padding: 4px 8px; border: 1px solid var(--line); border-radius: 9px; color: var(--text-muted); font-size: 10px; font-weight: 500; }
.crypto-phone__balance { display: flex; flex-direction: column; align-items: center; padding-block: 27px 25px; }
.crypto-phone__balance > span { color: var(--text-muted); font-size: 11px; }
.crypto-phone__balance > bdi { margin-block: 5px 9px; font-size: 35px; font-weight: 650; letter-spacing: -.04em; }
.crypto-phone__balance > bdi span { font-size: 15px; font-weight: 500; letter-spacing: 0; }
.crypto-phone__balance small { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 9px; }
.crypto-phone__balance small i { width: 5px; height: 5px; border-radius: 50%; background: #71cdb1; }
.crypto-phone__transactions { padding: 3px 10px; border-radius: 17px; background: #191b21; }
.crypto-phone__transaction { display: flex; align-items: center; gap: 8px; min-height: 57px; padding-block: 9px; }
.crypto-phone__transaction + .crypto-phone__transaction { border-top: 1px solid var(--line); }
.crypto-phone__transfer { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 11px; background: var(--tint-accent-bg); color: var(--accent); font-size: 19px; }
.crypto-phone__transfer--in { background: rgb(80 190 153 / .14); color: #71cdb1; }
.crypto-phone__transaction > div { flex: 1; min-width: 0; }
.crypto-phone__transaction strong { display: block; font-size: 10px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.crypto-phone__transaction small { display: block; margin-top: 3px; color: var(--text-faint); font-size: 8px; }
.crypto-phone__transaction > bdi { font-size: 12px; font-weight: 600; }
.crypto-phone__transaction:has(.crypto-phone__transfer--in) > bdi { color: #71cdb1; }
.crypto-phone__success { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 20px 7px 0; color: #71cdb1; font-size: 10px; text-align: center; }
.crypto-phone__success svg { flex: 0 0 16px; width: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.crypto-phone__home { position: absolute; bottom: 8px; left: 50%; width: 89px; height: 4px; border-radius: 10px; background: rgb(255 255 255 / .65); transform: translateX(-50%); }

.crypto-demo__caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; margin-inline: 24px; padding-block: 15px; border-top: 1px solid var(--line); color: var(--text-muted); font-size: 11px; }
.crypto-demo__caption a { text-decoration: underline; text-underline-offset: 3px; }
.crypto-demo__toggle { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); }
.crypto-demo__toggle[hidden] { display: none; }
.crypto-demo__toggle svg { width: 16px; height: 16px; fill: currentColor; }
.crypto-demo__toggle .crypto-demo__pause { fill: none; stroke: currentColor; stroke-width: 3; }
.crypto-demo__toggle[aria-pressed="true"] .crypto-demo__play,
.crypto-demo__toggle:not([aria-pressed="true"]) .crypto-demo__pause { display: none; }

@media (hover: hover) and (pointer: fine) {
    .crypto__step:enabled:hover { color: var(--ink); background: var(--surface); }
    .crypto-demo__toggle:hover { border-color: var(--line-strong); }
}

@media (prefers-reduced-motion: no-preference) {
    [data-animated="true"][data-step="0"] .crypto-phone__address { animation: crypto-address 4.5s both; }
    [data-animated="true"][data-step="0"] .crypto-phone__touch { animation: crypto-touch 4.5s both; }
    [data-animated="true"][data-step="1"] .crypto-phone__sync-icon svg { animation: crypto-sync 3s linear infinite; }
    [data-animated="true"][data-step="1"] .crypto-phone__skeleton { animation: crypto-loading 1.6s ease-in-out infinite alternate; }
    [data-step="1"] .crypto-phone__skeleton:nth-of-type(4) { animation-delay: .2s; }
    [data-step="1"] .crypto-phone__skeleton:nth-of-type(5) { animation-delay: .4s; }
    [data-animated="true"][data-step="2"] .crypto-phone__transaction { animation: crypto-transfer .7s .25s both; }
    [data-step="2"] .crypto-phone__transaction:nth-child(2) { animation-delay: .4s; }
    [data-step="2"] .crypto-phone__transaction:nth-child(3) { animation-delay: .55s; }
    [data-animated="true"][data-step="2"] .crypto-phone__success { animation: crypto-transfer .7s 1s both; }
    [data-playing="false"] .crypto-phone * { animation-play-state: paused; }
}

@keyframes crypto-address {
    0%, 8% { clip-path: inset(0 100% 0 0); }
    33%, 100% { clip-path: inset(0); }
}

@keyframes crypto-touch {
    0%, 65%, 95%, 100% { opacity: 0; transform: scale(1.2); }
    75%, 82% { opacity: 1; transform: scale(.85); }
    90% { opacity: 0; transform: scale(1.3); }
}

@keyframes crypto-sync { to { transform: rotate(360deg); } }
@keyframes crypto-loading { from { opacity: .35; } to { opacity: 1; } }
@keyframes crypto-transfer { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 1050px) {
    .crypto__inner { gap: 36px; }
    .crypto__title { font-size: clamp(30px, 4vw, 43px); }
    .crypto-demo__floating--usdt { inset-inline-start: -10px; }
    .crypto-demo__floating--btc { inset-inline-end: -10px; }
}

@media (max-width: 760px) {
    .crypto__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .crypto__title { font-size: var(--fs-title-lg); }
    .crypto__copy > .lead { max-width: none; }
    .crypto__free { margin-block: 22px 24px; }
    .crypto__steps { gap: 5px; margin-block-end: 24px; }
    .crypto__step { min-height: 48px; padding: 9px 12px; font-size: 13px; }
    .crypto-demo { width: 100%; max-width: 480px; justify-self: center; }
    .crypto-demo__topline { padding: 20px 22px 0; }
    .crypto-demo__stage { min-height: 574px; padding: 24px 15px 18px; }
    .crypto-demo__caption { margin-inline: 20px; font-size: 10px; }
}

@media (max-width: 359px) {
    .crypto-demo__stage { min-height: 536px; padding-inline: 6px; }
    .crypto-phone { width: 266px; height: 504px; border-width: 4px; }
    .crypto-phone__screen { inset-inline: 10px; }
    .crypto-phone__field { gap: 5px; }
    .crypto-phone__balance { padding-block: 20px; }
    .crypto-phone__sync-icon { margin-top: 18px; }
    .crypto-phone__note { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
    .crypto__step,
    .crypto-phone__screen { transition: none; }
}
