@font-face {
    font-family: "IBM Plex Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/ibm-plex/IBMPlexSans-Regular.woff2") format("woff2");
}

@font-face {
    font-family: "IBM Plex Sans";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("fonts/ibm-plex/IBMPlexSans-Medium.woff2") format("woff2");
}

@font-face {
    font-family: "IBM Plex Sans";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/ibm-plex/IBMPlexSans-SemiBold.woff2") format("woff2");
}

@font-face {
    font-family: "IBM Plex Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/ibm-plex/IBMPlexSans-Bold.woff2") format("woff2");
}

@font-face {
    font-family: "IBM Plex Sans";
    font-style: normal;
    font-weight: 800 900;
    font-display: swap;
    src: url("fonts/ibm-plex/IBMPlexSans-Bold.woff2") format("woff2");
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/ibm-plex/IBMPlexMono-Regular.woff2") format("woff2");
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("fonts/ibm-plex/IBMPlexMono-Medium.woff2") format("woff2");
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/ibm-plex/IBMPlexMono-SemiBold.woff2") format("woff2");
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/ibm-plex/IBMPlexMono-Bold.woff2") format("woff2");
}

@font-face {
    font-family: "IBM Plex Mono";
    font-style: normal;
    font-weight: 800 900;
    font-display: swap;
    src: url("fonts/ibm-plex/IBMPlexMono-Bold.woff2") format("woff2");
}

:root {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --text: #1f2630;
    --muted: #667386;
    --primary: #2f6f9f;
    --primary-dark: #17324f;
    --accent: #3d8fd1;
    --warning: #b67532;
    --border: #d7dee8;
    --soft-blue: #72859c;
    --shadow: 0 12px 28px rgba(31, 38, 48, 0.08);
    --shadow-soft: 0 8px 18px rgba(31, 38, 48, 0.06);
    --radius-lg: 8px;
    --radius-md: 8px;
    --container: 1180px;
    --font-sans: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body::selection {
    background: rgba(61, 143, 209, 0.24);
}

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

button,
input,
select {
    font: inherit;
}

button {
    border: 0;
}

img,
svg {
    display: block;
    max-width: 100%;
}

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

.section {
    padding: 68px 0;
}

.skip-link {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 1000;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--primary-dark);
    color: var(--surface);
    transform: translateY(-160%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 3px solid rgba(61, 143, 209, 0.58);
    outline-offset: 4px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.utility-bar {
    display: none;
    border-bottom: 1px solid rgba(220, 230, 234, 0.62);
}

.utility-inner {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    color: var(--muted);
    font-size: 0.84rem;
}

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

.select-shell select {
    min-height: 30px;
    padding: 3px 28px 3px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
}

.secure-pill,
.footer-pill,
.status-dot,
.live-status {
    display: inline-flex;
    align-items: center;
    width: max-content;
    gap: 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.secure-pill {
    padding: 4px 12px;
    background: rgba(47, 111, 159, 0.09);
    border: 1px solid rgba(47, 111, 159, 0.15);
    color: var(--primary-dark);
    font-weight: 700;
}

.secure-pill::before,
.status-dot::before,
.live-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(61, 143, 209, 0.14);
}

.nav-wrap {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    flex: 0 0 auto;
    object-fit: cover;
}

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

.site-nav a {
    padding: 10px 14px;
    border-radius: 6px;
    color: var(--muted);
    font-weight: 800;
    font-size: 0.94rem;
    transition: color 160ms ease, background-color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
    background: rgba(47, 111, 159, 0.11);
    color: var(--primary-dark);
}

.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav-menu-button {
    display: none;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
}

.icon {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: max(620px, calc(100vh - 113px));
    padding-top: 54px;
    overflow: hidden;
    background: var(--bg);
}

.hero::before {
    content: "";
    position: absolute;
    inset: -9%;
    z-index: 0;
    background-image: url("hero-order-desk.webp");
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.82;
    -webkit-mask-image: radial-gradient(ellipse at 73% 48%, #000 0%, #000 46%, rgba(0, 0, 0, 0.84) 66%, rgba(0, 0, 0, 0.34) 86%, transparent 100%);
    mask-image: radial-gradient(ellipse at 73% 48%, #000 0%, #000 46%, rgba(0, 0, 0, 0.84) 66%, rgba(0, 0, 0, 0.34) 86%, transparent 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, var(--bg) 0%, rgba(244, 247, 251, 0.94) 31%, rgba(244, 247, 251, 0.26) 59%, rgba(244, 247, 251, 0.08) 78%, rgba(244, 247, 251, 0.46) 100%),
        linear-gradient(180deg, var(--bg) 0%, rgba(244, 247, 251, 0) 24%, rgba(244, 247, 251, 0) 70%, var(--bg) 100%);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 740px);
    align-items: center;
    min-height: 430px;
}

.hero-copy {
    max-width: 740px;
}

.hero .eyebrow {
    margin-bottom: 18px;
    font-size: 0.86rem;
}

.hero h1 {
    max-width: 740px;
    margin-bottom: 20px;
    font-size: clamp(2.75rem, 5.8vw, 4rem);
}

.hero .button {
    min-height: 56px;
    padding: 15px 25px;
    font-size: 1.05rem;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 620px;
    margin-bottom: 18px;
    color: var(--text);
    font-size: clamp(2.4rem, 5vw, 3.35rem);
    line-height: 1.06;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 18px;
    color: var(--text);
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1.15;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    color: var(--text);
    font-size: 1.18rem;
    line-height: 1.24;
}

.hero-text {
    max-width: 720px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 1.16rem;
    line-height: 1.65;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 26px;
}

.cta-row.compact {
    margin-bottom: 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 22px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.button-primary {
    background: var(--primary-dark);
    color: var(--surface);
    box-shadow: none;
}

.button-primary:hover {
    background: #102941;
    box-shadow: none;
}

.button-secondary {
    background: rgba(255, 255, 255, 0.68);
    border-color: var(--border);
    color: var(--primary-dark);
}

.button-secondary:hover {
    background: var(--surface);
    border-color: rgba(47, 111, 159, 0.3);
    box-shadow: var(--shadow-soft);
}

.button-danger {
    background: #050505;
    border-color: #050505;
    color: var(--surface);
}

.button-danger:hover {
    background: #1f2630;
}

.button-light {
    background: var(--surface);
    color: var(--primary-dark);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.20);
}

.button-full {
    width: 100%;
}

.trust-list,
.premium-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.trust-list li,
.premium-list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--primary-dark);
    font-size: 0.92rem;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(18, 57, 74, 0.06);
}

.hero .trust-list {
    gap: 12px;
}

.hero .trust-list li {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 1rem;
}

.hero .trust-list .icon {
    width: 19px;
    height: 19px;
}

.trust-list .icon,
.premium-list .icon {
    width: 17px;
    height: 17px;
    color: var(--accent);
}

.service-board {
    display: grid;
    gap: 18px;
    align-self: stretch;
}

.board-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-weight: 900;
}

.board-list {
    display: grid;
    gap: 0;
    margin: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.board-list div {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 16px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    background: #fbfcfa;
}

.board-list div:last-child {
    border-bottom: 0;
}

.board-list dt {
    color: var(--muted);
    font-weight: 800;
}

.board-list dd {
    margin: 0;
    color: var(--text);
    font-weight: 900;
    text-align: right;
}

.board-steps {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 800;
}

.board-steps span {
    padding: 10px 12px;
    border-left: 3px solid var(--primary);
    background: #fbfcfa;
}

.flow-line,
.dotted-line {
    fill: none;
    stroke: var(--soft-blue);
    stroke-width: 3;
    stroke-linecap: round;
}

.dotted-line {
    stroke-dasharray: 4 10;
    opacity: 0.72;
}

.node {
    filter: drop-shadow(0 12px 20px rgba(18, 57, 74, 0.10));
}

.coin {
    filter: drop-shadow(0 9px 16px rgba(245, 184, 75, 0.22));
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading.align-left {
    margin-inline: 0;
    text-align: left;
}

.section-heading.compact {
    margin-bottom: 28px;
}

.section-heading p:not(.eyebrow),
.explainer-copy p,
.faq-intro p,
.footer-brand p,
.feature-card p,
.benefit-card p,
.premium-card p {
    color: var(--muted);
}

.wizard-section {
    padding-top: 42px;
}

.wizard-card {
    min-width: 0;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

.wizard-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}

.step-tabs {
    min-width: 0;
    display: inline-flex;
    padding: 5px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #eef4f6;
}

.step-tab {
    min-width: 110px;
    padding: 10px 16px;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-weight: 900;
    cursor: default;
}

.step-tab.is-active {
    background: var(--surface);
    color: var(--primary-dark);
    box-shadow: 0 8px 18px rgba(18, 57, 74, 0.10);
}

.status-dot,
.live-status {
    padding: 8px 12px;
    background: rgba(61, 143, 209, 0.12);
    color: #1d5f94;
    font-size: 0.88rem;
    font-weight: 900;
}

.wizard-grid {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
}

.form-stack {
    min-width: 0;
    display: grid;
    gap: 18px;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 16px;
}

.swap-currency-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 16px;
}

.swap-reverse-control {
    align-self: start;
    margin: 36px 0 0;
}

.swap-reverse-button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(61, 143, 209, 0.32);
    border-radius: 50%;
    background: var(--surface);
    color: var(--primary-dark);
    box-shadow: 0 8px 18px rgba(18, 57, 74, 0.08);
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.swap-reverse-button .icon {
    width: 20px;
    height: 20px;
}

.swap-reverse-button:hover {
    border-color: rgba(61, 143, 209, 0.72);
    background: rgba(61, 143, 209, 0.08);
    box-shadow: 0 10px 24px rgba(18, 57, 74, 0.12);
    transform: translateY(-1px);
}

.swap-reverse-button:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 5px rgba(61, 143, 209, 0.16);
}

.swap-reverse-button:disabled {
    opacity: 0.42;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.fixed-terms {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.fixed-terms div {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fbfcfa;
}

.fixed-terms dt {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.fixed-terms dd {
    margin: 0;
    color: var(--text);
    font-weight: 900;
    overflow-wrap: anywhere;
}

.address-list {
    display: grid;
    gap: 12px;
    margin: 0;
}

.address-list div {
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fbfcfa;
}

.address-list dt {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.address-list dd {
    margin: 0;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 0.94rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.field label,
.field-label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-dark);
    font-weight: 900;
}

.field-label-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.required-badge {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 900;
}

.optional-label {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 900;
}

.field input,
.field select {
    width: 100%;
    min-height: 58px;
    padding: 15px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

#deposit-address,
#order-url,
#swap_amount,
#swap_destination,
#swap_refund_address,
#mix-deposit-amount,
#mix-complete-amount,
#mix-status-checked,
#swap-quoted-output,
#swap-min-output,
#swap-output-amount,
#swap-expires,
#swap-checked,
#swap-deposit-address,
#swap-destination-address,
#swap-refund-address {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
}

.field select {
    appearance: none;
}

.crypto-choice-field {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.crypto-choice-list {
    max-height: 300px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #f8fbfd;
}

.field .crypto-choice {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: inherit;
    text-align: left;
    appearance: none;
    cursor: pointer;
}

.crypto-choice-form {
    margin: 0;
    min-width: 0;
}

.swap-details-form {
    min-width: 0;
    display: grid;
    gap: 18px;
}

.field .crypto-choice input {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    padding: 0;
    border: 0;
    opacity: 0;
}

.crypto-choice-card {
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.crypto-choice input:checked + .crypto-choice-card,
.crypto-choice.is-selected .crypto-choice-card {
    border-color: rgba(61, 143, 209, 0.75);
    background: rgba(61, 143, 209, 0.1);
    box-shadow: 0 0 0 3px rgba(61, 143, 209, 0.12);
}

.crypto-choice:hover .crypto-choice-card {
    border-color: rgba(61, 143, 209, 0.38);
}

.crypto-choice.is-disabled {
    cursor: not-allowed;
}

.crypto-choice.is-disabled .crypto-choice-card,
.crypto-choice:disabled .crypto-choice-card {
    border-color: rgba(195, 207, 214, 0.72);
    background: #eef3f6;
    color: rgba(15, 28, 36, 0.52);
    box-shadow: none;
    opacity: 0.62;
    cursor: not-allowed;
}

.crypto-choice.is-disabled .crypto-icon-svg,
.crypto-choice:disabled .crypto-icon-svg {
    filter: grayscale(1);
    opacity: 0.58;
}

.crypto-choice input:focus-visible + .crypto-choice-card,
.crypto-choice:focus-visible .crypto-choice-card {
    border-color: rgba(61, 143, 209, 0.95);
    box-shadow: 0 0 0 5px rgba(61, 143, 209, 0.16);
}

.crypto-icon-svg {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
}

.crypto-choice-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.crypto-choice-copy span,
.crypto-choice-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.crypto-choice-copy span {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 900;
}

.crypto-choice-copy small {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
}

.crypto-choice-empty {
    min-height: 58px;
    display: flex;
    align-items: center;
    padding: 15px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--muted);
    font-weight: 800;
}

.field input:focus,
.field select:focus {
    border-color: rgba(61, 143, 209, 0.75);
    box-shadow: 0 0 0 5px rgba(61, 143, 209, 0.14);
    outline: 0;
}

.field input:disabled,
.field select:disabled,
.button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.validation-success {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 8px 0 0;
    color: #1e6da8;
    font-size: 0.92rem;
    font-weight: 900;
}

.validation-error {
    margin: 8px 0 0;
    color: #b33636;
    font-size: 0.92rem;
    font-weight: 900;
}

.field-note {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 800;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fbfdfe;
    color: var(--primary-dark);
    font-weight: 900;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.validation-success .icon {
    width: 17px;
    height: 17px;
}

.toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fbfdfe;
    color: var(--primary-dark);
    font-weight: 900;
    cursor: pointer;
}

.toggle-row input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.toggle-visual {
    position: relative;
    flex: 0 0 auto;
    width: 52px;
    height: 30px;
    border-radius: 999px;
    background: #cbd9de;
    transition: background-color 180ms ease;
}

.toggle-visual::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--surface);
    box-shadow: 0 4px 12px rgba(18, 57, 74, 0.24);
    transition: transform 180ms ease;
}

.toggle-row input:checked + .toggle-visual {
    background: var(--accent);
}

.toggle-row input:checked + .toggle-visual::before {
    transform: translateX(22px);
}

.banner {
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    color: var(--primary-dark);
}

.banner strong {
    color: var(--text);
}

.banner-info {
    background: rgba(47, 111, 159, 0.09);
    border-color: rgba(47, 111, 159, 0.16);
}

.banner-warning {
    background: rgba(245, 184, 75, 0.16);
    border-color: rgba(245, 184, 75, 0.34);
}

.deposit-tx-card {
    display: grid;
    gap: 14px;
    padding: 16px;
}

.deposit-tx-card[hidden] {
    display: none;
}

.swap-condition-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #f7fbfe;
}

.swap-condition-card p {
    margin: 0;
}

.swap-condition-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.swap-condition-header span:first-child {
    display: block;
    margin-bottom: 4px;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.swap-condition-header strong {
    display: block;
    color: var(--text);
    font-size: 1.15rem;
    line-height: 1.2;
}

.swap-status-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.swap-status-chip {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 6px 10px;
    border: 1px solid rgba(47, 111, 159, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--primary-dark);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.swap-status-chip.status-progress {
    border-color: rgba(47, 111, 159, 0.22);
    background: rgba(47, 111, 159, 0.1);
    color: var(--primary);
}

.swap-status-chip.status-complete {
    border-color: #b9dfc7;
    background: #ecf8f0;
    color: #1f6d3d;
}

.swap-status-chip.status-warning {
    border-color: #ead4ad;
    background: #fff7e8;
    color: #75531b;
}

.swap-status-chip.is-state {
    border-color: rgba(47, 111, 159, 0.16);
    background: rgba(255, 255, 255, 0.82);
    color: var(--primary-dark);
}

.swap-condition-progress {
    border-color: #d4e2ee;
    background: #edf5fb;
}

.swap-condition-warning {
    border-color: #ead4ad;
    background: #fff6e8;
}

.swap-condition-complete {
    border-color: #c9e8d5;
    background: #e9f7ee;
}

.swap-focus-card {
    display: grid;
    gap: 14px;
    padding: 17px;
    border: 1px solid #d4e2ee;
    border-radius: 8px;
    background: #fff;
}

.swap-focus-card p {
    margin: 0;
    color: var(--primary-dark);
}

.swap-focus-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.swap-focus-header span {
    display: block;
    margin-bottom: 5px;
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.swap-focus-header strong {
    display: block;
    color: var(--text);
    font-size: 1.32rem;
    line-height: 1.15;
}

.swap-focus-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.swap-focus-metrics div {
    display: grid;
    gap: 5px;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fbfcfa;
}

.swap-focus-metrics dt {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.swap-focus-metrics dd {
    margin: 0;
    color: var(--text);
    font-size: 1rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.swap-focus-deposit {
    border-color: #ead4ad;
    background: #fff9ef;
}

.swap-focus-deposit .swap-focus-header span,
.swap-focus-deposit .swap-focus-metrics dt {
    color: #75531b;
}

.swap-focus-deposit .swap-focus-metrics dd {
    font-family: var(--font-mono);
}

.swap-focus-warning {
    border-color: #ead4ad;
    background: #fff6e8;
}

.swap-focus-warning .swap-focus-header span,
.swap-focus-warning .swap-focus-metrics dt {
    color: #75531b;
}

.swap-focus-complete {
    border-color: #c9e8d5;
    background: #f0fbf4;
}

.swap-focus-complete .swap-focus-header span,
.swap-focus-complete .swap-focus-metrics dt {
    color: #1f6d3d;
}

.swap-status-board {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    display: grid;
    gap: 0;
    padding: 0;
    border: 1px solid #d4e2ee;
    border-radius: 8px;
    background: linear-gradient(135deg, #f7fbfe 0%, #ffffff 55%, #f4f8fb 100%);
}

.swap-status-board p,
.swap-status-board h3 {
    margin: 0;
}

.swap-status-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
    padding: 22px;
}

.swap-status-emblem {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(47, 111, 159, 0.2);
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 12px 26px rgba(18, 57, 74, 0.08);
}

.swap-status-emblem .icon {
    width: 28px;
    height: 28px;
    stroke-width: 2.3;
}

.swap-status-copy {
    min-width: 0;
    display: grid;
    gap: 7px;
}

.swap-status-copy span {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.swap-status-copy h3 {
    color: var(--text);
    font-size: clamp(1.55rem, 2.8vw, 2rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.swap-status-copy p {
    max-width: 64ch;
    color: var(--primary-dark);
    font-size: 1rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.swap-status-progress {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 0 22px 20px;
}

.swap-status-progress::before {
    content: "";
    position: absolute;
    left: 48px;
    right: 48px;
    top: 17px;
    height: 2px;
    background: #dbe7ee;
}

.swap-status-progress-step {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-align: center;
}

.swap-progress-dot {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 2px solid #dbe7ee;
    border-radius: 50%;
    background: #fff;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 900;
}

.swap-status-progress-step.is-current {
    color: #8a4c13;
}

.swap-status-progress-step.is-current .swap-progress-dot {
    border-color: #f0b755;
    background: #fff6e8;
    color: #8a4c13;
    box-shadow: 0 0 0 5px rgba(245, 184, 75, 0.18);
}

.swap-status-progress-step.is-done {
    color: #1f6d3d;
}

.swap-status-progress-step.is-done .swap-progress-dot {
    border-color: #86c99b;
    background: #e9f7ee;
    color: #1f6d3d;
}

.swap-status-progress-step.is-warning {
    color: #75531b;
}

.swap-status-progress-step.is-warning .swap-progress-dot {
    border-color: #e4bd77;
    background: #fff6e8;
    color: #75531b;
}

.swap-status-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    border-top: 1px solid rgba(47, 111, 159, 0.12);
    border-bottom: 1px solid rgba(47, 111, 159, 0.12);
    background: rgba(255, 255, 255, 0.68);
}

.swap-status-metrics div {
    display: grid;
    gap: 6px;
    padding: 17px 22px;
}

.swap-status-metrics div + div {
    border-left: 1px solid rgba(47, 111, 159, 0.12);
}

.swap-status-metrics dt {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.swap-status-metrics dd {
    margin: 0;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 1.08rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.swap-status-action {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin: 18px 22px 22px;
    padding: 14px 16px;
    border: 1px solid rgba(47, 111, 159, 0.15);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    background: rgba(47, 111, 159, 0.07);
}

.swap-status-action .icon {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.swap-status-action strong {
    display: block;
    margin-bottom: 2px;
    color: var(--text);
    font-size: 0.92rem;
}

.swap-status-action p {
    color: var(--primary-dark);
    line-height: 1.5;
}

.swap-status-board.swap-focus-deposit {
    border-color: #ead4ad;
    background: linear-gradient(135deg, #fff9ef 0%, #ffffff 58%, #fff6e8 100%);
}

.swap-status-board.swap-focus-deposit .swap-status-emblem,
.swap-status-board.swap-focus-deposit .swap-progress-dot {
    color: #8a4c13;
}

.swap-status-board.swap-focus-deposit .swap-status-copy span,
.swap-status-board.swap-focus-deposit .swap-status-metrics dt {
    color: #75531b;
}

.swap-status-board.swap-focus-deposit .swap-status-action {
    border-left-color: #f0b755;
    background: rgba(245, 184, 75, 0.12);
}

.swap-status-board.swap-focus-warning {
    border-color: #ead4ad;
    background: linear-gradient(135deg, #fff6e8 0%, #ffffff 58%, #fffaf1 100%);
}

.swap-status-board.swap-focus-warning .swap-status-emblem,
.swap-status-board.swap-focus-warning .swap-status-copy span,
.swap-status-board.swap-focus-warning .swap-status-metrics dt,
.swap-status-board.swap-focus-warning .swap-status-action .icon {
    color: #75531b;
}

.swap-status-board.swap-focus-warning .swap-status-action {
    border-left-color: #e4bd77;
    background: rgba(245, 184, 75, 0.12);
}

.swap-status-board.swap-focus-complete {
    border-color: #b9dfc7;
    background: linear-gradient(135deg, #edf9f2 0%, #ffffff 58%, #f4fbf6 100%);
}

.swap-status-board.swap-focus-complete .swap-status-emblem,
.swap-status-board.swap-focus-complete .swap-status-copy span,
.swap-status-board.swap-focus-complete .swap-status-metrics dt,
.swap-status-board.swap-focus-complete .swap-status-action .icon {
    color: #1f6d3d;
}

.swap-status-board.swap-focus-complete .swap-status-action {
    border-left-color: #86c99b;
    background: rgba(134, 201, 155, 0.12);
}

.swap-condition-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.swap-step-state {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    text-align: center;
}

.swap-step-state.is-current {
    border-color: #ead4ad;
    background: #fff6e8;
    color: #8a4c13;
}

.swap-step-state.is-done {
    border-color: #c9e8d5;
    background: #f2fbf5;
    color: #1f6d3d;
}

.swap-step-state.is-warning {
    border-color: #ead4ad;
    background: #fff6e8;
    color: #8a4c13;
}

.deposit-tx-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.deposit-tx-kicker {
    display: block;
    margin-bottom: 5px;
    color: #75531b;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.deposit-tx-header > div:first-child strong {
    display: block;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 1.35rem;
    line-height: 1.1;
}

.deposit-confirmation-pill {
    min-width: 128px;
    padding: 9px 11px;
    border: 1px solid rgba(245, 184, 75, 0.38);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.48);
    text-align: right;
}

.deposit-confirmation-pill span {
    display: block;
    margin-bottom: 3px;
    color: #75531b;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.deposit-confirmation-pill strong {
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 1rem;
}

.deposit-tx-details {
    display: grid;
    gap: 10px;
    margin: 0;
}

.deposit-tx-details div {
    display: grid;
    gap: 5px;
    padding-top: 11px;
    border-top: 1px solid rgba(245, 184, 75, 0.34);
}

.deposit-tx-details dt {
    color: #75531b;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.deposit-tx-details dd {
    margin: 0;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 0.92rem;
    font-weight: 900;
    text-align: left;
    overflow-wrap: anywhere;
}

.swap-order-details {
    margin-top: 0;
}

.swap-order-details div {
    background: #fff;
}

.swap-detail-section {
    display: grid;
    gap: 12px;
}

.swap-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    padding: 0 2px;
}

.swap-section-heading span {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.swap-section-heading strong {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.2;
}

.swap-tx-list {
    display: grid;
    gap: 10px;
}

.swap-tx-list:empty {
    display: none;
}

.swap-tx-list div {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fbfcfa;
}

.swap-tx-list span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.swap-tx-list strong,
.swap-tx-list small {
    overflow-wrap: anywhere;
}

.swap-tx-list strong {
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 0.92rem;
}

.swap-tx-list small {
    color: var(--muted);
    font-family: var(--font-mono);
    font-weight: 800;
}

.summary-panel {
    min-width: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    padding: 22px;
    border: 1px solid rgba(47, 111, 159, 0.14);
    border-radius: 8px;
    background: var(--surface);
}

.summary-kicker {
    margin-bottom: 16px;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.summary-panel dl {
    display: grid;
    gap: 12px;
    margin: 0 0 auto;
}

.summary-panel dl div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
}

.summary-panel dt {
    color: var(--muted);
    font-weight: 800;
}

.summary-panel dd {
    margin: 0;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 0.92rem;
    font-weight: 900;
    text-align: right;
    overflow-wrap: anywhere;
}

.summary-panel dl.swap-simple-summary {
    gap: 4px;
}

.summary-panel dl.swap-simple-summary div {
    padding: 16px 0;
}

.summary-panel dl.swap-simple-summary dt {
    color: var(--text);
    font-size: 0.95rem;
}

.summary-panel dl.swap-simple-summary dd {
    font-size: 1rem;
}

.tx-link {
    color: var(--primary);
    font-family: var(--font-mono);
    font-weight: 900;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.summary-panel .button {
    margin-top: 22px;
}

.summary-actions {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.summary-actions .button {
    margin-top: 0;
}

.inline-form {
    margin: 0;
}

.qr-code {
    width: min(100%, 220px);
    aspect-ratio: 1;
    align-self: center;
    margin: 0 auto 22px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    padding: 12px;
}

.qr-expired {
    margin-bottom: 22px;
}

.card-grid {
    display: grid;
    gap: 22px;
}

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

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

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

.feature-card,
.benefit-card {
    min-height: 100%;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 28px rgba(18, 57, 74, 0.05);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card:hover,
.benefit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(47, 111, 159, 0.24);
    box-shadow: var(--shadow-soft);
}

.icon-badge {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    border-radius: 8px;
    background: rgba(47, 111, 159, 0.10);
    color: var(--primary-dark);
}

.icon-badge.muted {
    background: #eef5fb;
}

.service-duo {
    background: #f5f8fb;
    border-top: 1px solid rgba(220, 230, 234, 0.6);
    border-bottom: 1px solid rgba(220, 230, 234, 0.6);
}

.service-card {
    display: flex;
    flex-direction: column;
}

.service-card .button {
    margin-top: auto;
}

.service-ad {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.service-ad span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
}

.service-ad .button {
    flex: 0 0 auto;
}

.home-terms {
    background: #f5f8fb;
    border-top: 1px solid rgba(220, 230, 234, 0.6);
    border-bottom: 1px solid rgba(220, 230, 234, 0.6);
}

.home-terms-grid,
.home-records-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    align-items: center;
    gap: 56px;
}

.terms-panel {
    display: grid;
    gap: 18px;
}

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

.number-badge {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
    border-radius: 8px;
    background: var(--primary-dark);
    color: var(--surface);
    font-size: 1rem;
    font-weight: 900;
}

.home-records {
    background: #f5f8fb;
    border-top: 1px solid var(--border);
}

.swap-ad-band {
    border-bottom: 1px solid var(--border);
    background: #ffffff;
}

.explainer {
    background: #f5f8fb;
    border-top: 1px solid rgba(220, 230, 234, 0.6);
    border-bottom: 1px solid rgba(220, 230, 234, 0.6);
}

.explainer-grid {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    align-items: center;
    gap: 56px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    color: var(--primary);
    font-weight: 900;
}

.text-link::after {
    content: "";
    width: 30px;
    height: 1px;
    margin-left: 10px;
    background: var(--accent);
    transition: width 160ms ease;
}

.text-link:hover::after {
    width: 44px;
}

.workflow-diagram {
    padding: 12px 0;
    overflow: visible;
}

.workflow-graphic {
    width: 100%;
    height: auto;
    color: var(--text);
}

.security-lead {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(244, 247, 251, 0.48) 52%, rgba(232, 240, 248, 0.86) 100%),
        repeating-linear-gradient(135deg, rgba(47, 111, 159, 0.08) 0 1px, transparent 1px 18px),
        #f4f7fb;
    border-top: 1px solid rgba(215, 222, 232, 0.74);
    border-bottom: 1px solid rgba(215, 222, 232, 0.92);
}

.security-lead-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
    align-items: center;
    gap: 56px;
}

.security-lead-copy {
    max-width: 760px;
}

.security-lead h1 {
    max-width: 760px;
    margin-bottom: 20px;
    font-size: clamp(2.55rem, 5.2vw, 4.15rem);
}

.security-lead-copy > p:not(.eyebrow) {
    max-width: 720px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 1.14rem;
    line-height: 1.68;
}

.security-risk-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 24px 0 0;
    list-style: none;
}

.security-risk-strip li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid rgba(47, 111, 159, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--primary-dark);
    font-size: 0.92rem;
    font-weight: 900;
}

.security-risk-strip .icon {
    width: 17px;
    height: 17px;
    color: var(--accent);
}

.security-proof-panel {
    position: relative;
    padding: 28px;
    border: 1px solid rgba(47, 111, 159, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 22px 46px rgba(31, 38, 48, 0.10);
}

.security-proof-panel::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(215, 222, 232, 0.72);
    border-radius: 6px;
    pointer-events: none;
}

.security-proof-header,
.security-proof-list,
.security-proof-footer {
    position: relative;
    z-index: 1;
}

.security-proof-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.security-proof-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--primary-dark);
    color: var(--surface);
}

.security-proof-icon .icon {
    width: 27px;
    height: 27px;
}

.security-proof-header h2 {
    margin-bottom: 0;
    font-size: 1.45rem;
}

.security-proof-list {
    display: grid;
    gap: 0;
    margin: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.security-proof-list div {
    display: grid;
    gap: 7px;
    padding: 17px 18px;
    border-bottom: 1px solid var(--border);
    background: rgba(251, 252, 250, 0.86);
}

.security-proof-list div:last-child {
    border-bottom: 0;
}

.security-proof-list dt {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text);
    font-weight: 900;
}

.security-proof-list dt .icon {
    width: 19px;
    height: 19px;
    color: var(--accent);
}

.security-proof-list dd {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 800;
    line-height: 1.55;
}

.security-proof-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 800;
}

.security-proof-footer strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-dark);
    white-space: nowrap;
}

.security-proof-footer strong::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #46c06f;
    box-shadow: 0 0 0 4px rgba(70, 192, 111, 0.16);
}

.premium-band {
    background: #f5f8fb;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.premium-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr) auto;
    align-items: center;
    gap: 34px;
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.premium-card h2,
.premium-card p,
.premium-card .eyebrow,
.premium-list li {
    color: var(--text);
}

.premium-card p {
    opacity: 1;
    color: var(--muted);
}

.premium-list {
    display: grid;
    gap: 10px;
}

.premium-list li {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.security-page {
    padding-top: 56px;
}

.security-card-grid {
    margin-bottom: 28px;
}

.security-columns {
    display: grid;
    grid-template-columns: 1.2fr repeat(2, minmax(0, 0.9fr));
    gap: 22px;
    align-items: start;
}

.security-panel {
    min-height: 100%;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.security-panel h3 {
    margin-bottom: 16px;
}

.security-checklist,
.security-list {
    margin: 0;
    padding: 0;
}

.security-checklist {
    display: grid;
    gap: 12px;
    padding-left: 22px;
    color: var(--muted);
    font-weight: 700;
}

.security-checklist li::marker {
    color: var(--primary);
    font-weight: 900;
}

.security-list {
    display: grid;
    gap: 12px;
    list-style: none;
}

.security-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    font-weight: 800;
}

.security-list .icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin-top: 3px;
    color: var(--accent);
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.38fr 0.62fr;
    gap: 54px;
    align-items: start;
}

.faq-intro {
    position: sticky;
    top: 140px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 22px rgba(18, 57, 74, 0.05);
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    color: var(--text);
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

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

.faq-icon {
    position: relative;
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(47, 111, 159, 0.10);
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary-dark);
    transform: translate(-50%, -50%);
    transition: transform 180ms ease;
}

.faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 22px;
    color: var(--muted);
    transition: max-height 220ms ease, padding-bottom 220ms ease;
}

.faq-item[open] .faq-content {
    max-height: 220px;
    padding-bottom: 20px;
}

.faq-content p {
    margin-bottom: 0;
}

.site-footer {
    padding: 72px 0 0;
    background: #0f1f2e;
    color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(2, 1fr);
    gap: 38px;
    padding-bottom: 52px;
}

.site-footer .brand,
.site-footer h3 {
    color: var(--surface);
}

.site-footer h3 {
    margin-bottom: 16px;
    font-size: 0.98rem;
}

.site-footer .footer-contact-heading {
    margin-top: 22px;
}

.site-footer a,
.site-footer span.footer-pill {
    display: flex;
    width: max-content;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--surface);
}

.footer-brand p {
    max-width: 360px;
    margin: 16px 0 20px;
    color: rgba(255, 255, 255, 0.66);
}

.footer-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
}

.operational-status::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #46c06f;
    box-shadow: 0 0 0 4px rgba(70, 192, 111, 0.16);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.88rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-powered {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.3em;
}

.footer-bottom .footer-powered a {
    display: inline;
    width: auto;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-bottom .footer-powered a:hover,
.footer-bottom .footer-powered a:focus-visible {
    color: var(--surface);
}

@media (max-width: 1024px) {
    .section {
        padding: 76px 0;
    }

    .hero-grid,
    .explainer-grid,
    .home-terms-grid,
    .home-records-grid,
    .security-lead-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 36px;
    }

    .security-lead-grid {
        gap: 34px;
    }

    .hero::before {
        background-attachment: scroll;
        background-position: center right;
        opacity: 0.62;
    }

    .wizard-grid,
    .premium-card,
    .security-columns {
        grid-template-columns: minmax(0, 1fr);
    }

    .swap-currency-row {
        grid-template-columns: 1fr;
    }

    .swap-reverse-control {
        justify-self: center;
        margin: -2px 0;
    }

    .summary-panel {
        min-height: auto;
    }

    .card-grid.two,
    .card-grid.three,
    .card-grid.four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .faq-intro {
        position: static;
    }

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

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .section {
        padding: 56px 0;
    }

    .section-heading {
        max-width: 100%;
    }

    .utility-inner {
        justify-content: flex-end;
    }

    .secure-pill {
        padding-inline: 10px;
    }

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

    .nav-wrap {
        min-height: 66px;
    }

    .nav-menu-button {
        display: grid;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 14px;
        right: 14px;
        display: grid;
        gap: 4px;
        padding: 12px;
        border: 1px solid var(--border);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: var(--shadow-soft);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    }

    .nav-toggle:checked ~ .site-nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .site-nav a {
        padding: 12px 14px;
    }

    .hero {
        padding-top: 52px;
        min-height: max(560px, calc(100svh - 107px));
    }

    .hero::before {
        inset: -6%;
        background-position: 68% center;
    }

    .hero::after {
        background:
            linear-gradient(90deg, var(--bg) 0%, rgba(244, 247, 251, 0.9) 42%, rgba(244, 247, 251, 0.44) 100%),
            linear-gradient(180deg, var(--bg) 0%, rgba(244, 247, 251, 0) 22%, rgba(244, 247, 251, 0) 72%, var(--bg) 100%);
    }

    .hero-grid {
        min-height: 390px;
        min-width: 0;
    }

    .hero-copy {
        min-width: 0;
    }

    h1 {
        font-size: clamp(2.12rem, 12vw, 2.62rem);
    }

    h2 {
        font-size: clamp(1.72rem, 8vw, 2rem);
        overflow-wrap: anywhere;
    }

    .wizard-section .section-heading h2 {
        max-width: 13ch;
        margin-inline: auto;
    }

    .wizard-section .section-heading p:not(.eyebrow) {
        width: min(100%, 28ch);
        max-width: 28ch;
        margin-inline: auto;
    }

    .hero-text {
        max-width: 100%;
        font-size: 1.08rem;
        overflow-wrap: anywhere;
    }

    .security-lead {
        padding-top: 52px;
    }

    .security-lead h1 {
        font-size: clamp(2.12rem, 10vw, 2.78rem);
        overflow-wrap: anywhere;
    }

    .security-lead-copy > p:not(.eyebrow) {
        max-width: 100%;
        font-size: 1.04rem;
        overflow-wrap: anywhere;
    }

    .security-risk-strip li {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .security-proof-panel {
        padding: 22px;
    }

    .security-proof-header {
        align-items: flex-start;
    }

    .security-proof-footer {
        display: grid;
        justify-items: start;
    }

    .cta-row {
        display: grid;
    }

    .button {
        min-width: 0;
        width: 100%;
    }

    .trust-list li {
        min-width: 0;
        width: 100%;
        justify-content: center;
        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .wizard-card {
        padding: 16px;
        border-radius: 8px;
    }

    .swap-order-card {
        padding-inline: 0;
    }

    .wizard-top {
        display: grid;
        align-items: stretch;
    }

    .swap-order-card .wizard-top,
    .swap-order-card .form-stack > .banner,
    .swap-order-card .form-stack > .swap-detail-section,
    .swap-order-card .swap-status-board,
    .swap-order-card .summary-panel {
        margin-inline: 16px;
    }

    .swap-order-card .swap-status-board {
        width: auto;
        max-width: calc(100vw - 62px);
        border-right-width: 1px;
        border-left-width: 1px;
        border-radius: 8px;
    }

    .step-tabs {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        border-radius: 8px;
    }

    .step-tab {
        min-width: 0;
        padding: 10px 6px;
        font-size: 0.86rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .field-row,
    .fixed-terms,
    .home-terms-list,
    .card-grid.two,
    .card-grid.three,
    .card-grid.four {
        grid-template-columns: 1fr;
    }

    .service-ad {
        display: grid;
    }

    .service-ad span {
        max-width: 32ch;
        overflow-wrap: anywhere;
    }

    .toggle-row {
        align-items: flex-start;
    }

    .swap-condition-header,
    .swap-focus-header {
        display: grid;
    }

    .swap-status-hero {
        grid-template-columns: 1fr;
        padding: 20px 16px;
    }

    .swap-status-copy,
    .swap-status-copy p {
        max-width: calc(100vw - 64px);
    }

    .swap-status-chips {
        justify-content: flex-start;
    }

    .swap-status-progress {
        grid-template-columns: 1fr;
        justify-items: start;
        padding: 0 16px 18px;
    }

    .swap-status-progress-step {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        justify-items: start;
        text-align: left;
    }

    .swap-status-progress::before {
        display: none;
    }

    .swap-status-metrics {
        grid-template-columns: 1fr;
    }

    .swap-status-metrics div {
        padding: 15px 16px;
    }

    .swap-status-metrics div + div {
        border-left: 0;
        border-top: 1px solid rgba(47, 111, 159, 0.12);
    }

    .swap-status-action {
        margin: 16px;
    }

    .swap-focus-metrics {
        grid-template-columns: 1fr;
    }

    .deposit-tx-header {
        display: grid;
        gap: 12px;
    }

    .deposit-confirmation-pill {
        width: 100%;
        text-align: left;
    }

    .summary-panel dl div {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .summary-panel dd {
        text-align: left;
    }

    .workflow-diagram {
        overflow-x: auto;
        padding-bottom: 12px;
    }

    .workflow-graphic {
        min-width: 760px;
    }

    .premium-card {
        padding: 26px;
        border-radius: 8px;
    }

    .premium-list li {
        align-items: flex-start;
    }

    .security-panel {
        padding: 22px;
    }

    .faq-item summary {
        padding: 18px;
    }

    .faq-content {
        padding-inline: 18px;
    }

    .footer-grid,
    .footer-bottom {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        gap: 28px;
    }

    .footer-bottom {
        display: grid;
    }

    .footer-powered {
        justify-content: flex-start;
    }
}

@media (max-width: 440px) {
    .utility-actions {
        flex-wrap: wrap;
        justify-content: center;
    }

    .select-shell select {
        max-width: 100px;
    }

    .brand {
        font-size: 0.98rem;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
    }

}

/* Plain operational finish */
.select-shell {
    display: inline-flex;
}

.language-selector {
    margin-left: auto;
}

.nav-menu-button,
.field input,
.field select,
.toggle-row,
.banner,
.summary-panel,
.qr-code,
.feature-card,
.benefit-card,
.faq-item,
.premium-card,
.icon-badge {
    border-radius: 8px;
}

.wizard-card,
.summary-panel,
.feature-card,
.benefit-card,
.faq-item,
.premium-card {
    background: var(--surface);
    box-shadow: none;
}

.summary-panel {
    border-color: var(--border);
}

.step-tabs,
.step-tab,
.trust-list li,
.premium-list li,
.secure-pill,
.footer-pill,
.status-dot,
.live-status {
    border-radius: 6px;
}

.status-dot,
.live-status,
.secure-pill {
    background: #eaf4fb;
    border: 1px solid #d4e2ee;
    color: #1d4f78;
}

.status-warning {
    background: #fff6e8;
    border-color: #ead4ad;
    color: #8a4c13;
}

.status-warning::before {
    background: var(--warning);
    box-shadow: 0 0 0 4px rgba(182, 117, 50, 0.16);
}

.status-progress {
    background: #fff6e8;
    border-color: #ead4ad;
    color: #8a4c13;
}

.status-progress::before {
    background: var(--warning);
    box-shadow: 0 0 0 4px rgba(182, 117, 50, 0.16);
}

.status-complete {
    background: #e9f7ee;
    border-color: #c9e8d5;
    color: #1f6d3d;
}

.status-complete::before {
    background: #34a853;
    box-shadow: 0 0 0 4px rgba(52, 168, 83, 0.16);
}

.button-light {
    border: 1px solid var(--border);
    box-shadow: none;
}

.button:hover {
    transform: none;
}

.banner-info {
    background: #edf5fb;
    border-color: #d4e2ee;
}

.banner-warning {
    background: #fff6e8;
    border-color: #ead4ad;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .hero::before {
        background-attachment: scroll;
    }
}
