:root {
  --bg: #090c14;
  --bg-raised: #101521;
  --surface: #121a27;
  --surface-2: #182233;
  --line: #273348;
  --line-strong: #3a4963;
  --text: #f2f4f8;
  --muted: #9ca9bc;
  --dim: #68758a;
  --gold: #f5b83d;
  --gold-soft: #ffe1a0;
  --violet: #a993ff;
  --violet-deep: #7157d9;
  --green: #55d59b;
  --red: #ff8e8e;
  --warning: #f0c66d;
  --radius: 14px;
  --content: 1180px;
  --display: "Orbitron", "Exo 2", sans-serif;
  --body: "Exo 2", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); z-index: 10; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
::selection { color: var(--bg); background: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.app-shell { min-height: 100vh; overflow: hidden; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 20; padding: 9px 12px; color: var(--bg); background: var(--gold); border-radius: 6px; transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.topbar { width: min(calc(100% - 48px), var(--content)); margin: 0 auto; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(58, 73, 99, .5); }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 600 17px var(--display); letter-spacing: -.04em; white-space: nowrap; }
.brand > span:last-child span { color: var(--gold); }
.brand-mark { width: 24px; height: 24px; display: inline-grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; transform: rotate(-20deg); position: relative; }
.brand-mark::before, .brand-mark::after, .brand-mark span { content: ""; position: absolute; width: 11px; height: 1px; background: var(--gold); transform: rotate(45deg); }
.brand-mark::after { transform: rotate(-45deg); }
.brand-mark span { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.brand-mark.small { width: 18px; height: 18px; }
.brand-mark.small::before, .brand-mark.small::after { width: 8px; }
.brand-mark.small span { width: 3px; height: 3px; }
.main-nav { min-width: 0; flex: 1 1 auto; color: var(--muted); font-size: 12px; }
.main-nav-panel { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.nav-primary, .nav-merchant { display: flex; align-items: center; gap: 16px; min-width: 0; }
.nav-merchant { margin-left: auto; }
.main-nav a, .text-link, .back-link, .icon-text-link { transition: color .2s ease; }
.main-nav a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); white-space: nowrap; }
.main-nav a:hover, .main-nav a.is-active, .text-link:hover, .back-link:hover, .icon-text-link:hover { color: var(--gold); }
.main-nav a.is-active { text-shadow: 0 0 18px rgba(245, 184, 61, .18); }
.nav-divider { width: 1px; height: 20px; flex: 0 0 auto; background: var(--line-strong); }
.nav-login { color: var(--gold) !important; }
.nav-logout-form { display: inline-flex; }
.nav-logout { min-height: 40px; padding: 0; color: var(--violet); border: 0; background: transparent; font-size: 12px; }
.nav-logout:hover { color: var(--gold); }
.nav-toggle { display: none; }
.topbar-actions { display: flex; align-items: center; gap: 15px; }
.network-pill, .live-indicator { display: inline-flex; align-items: center; gap: 7px; font: 500 11px var(--mono); color: var(--muted); white-space: nowrap; }
.network-dot, .live-indicator > span { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(85, 213, 155, .11); }
.live-indicator > span { width: 6px; height: 6px; box-shadow: none; }
.section-wrap { width: min(calc(100% - 48px), var(--content)); margin-inline: auto; }

.button { min-height: 46px; padding: 12px 18px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; border: 1px solid transparent; border-radius: 8px; font-weight: 600; font-size: 14px; line-height: 1; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.button:disabled, button[aria-busy="true"] { cursor: wait; opacity: .7; transform: none; }
.button[aria-busy="true"]::after { width: 13px; height: 13px; content: ""; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #10131b; background: var(--gold); border-color: var(--gold); }
.button-primary:hover { background: #ffd166; border-color: #ffd166; }
.button-gold { color: #18130a; background: var(--gold); border-color: var(--gold); }
.button-gold:hover { background: #ffd166; }
.button-quiet { color: var(--text); border-color: var(--line-strong); background: rgba(18, 26, 39, .6); }
.button-quiet:hover { color: var(--gold); border-color: var(--gold); }
.button-small { min-height: 36px; padding: 9px 12px; font-size: 12px; }
.button-full { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 14px; font-weight: 600; }
.eyebrow, .panel-kicker, .product-eyebrow { display: flex; align-items: center; gap: 9px; color: var(--gold); font: 500 11px var(--mono); letter-spacing: .07em; }
.eyebrow-line { width: 23px; height: 1px; background: var(--gold); display: inline-block; }
.mono-label, code, .mono { font-family: var(--mono); }
.mono-label { color: var(--dim); font-size: 10px; letter-spacing: .05em; }

.hero { min-height: 640px; padding-block: 104px 88px; display: grid; grid-template-columns: minmax(0, .91fr) minmax(420px, .86fr); align-items: center; gap: 95px; }
.hero h1 { max-width: 700px; margin: 25px 0 23px; font-size: clamp(42px, 5.2vw, 72px); line-height: 1.03; letter-spacing: -.055em; font-weight: 600; }
.hero-lede { max-width: 510px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; margin-top: 35px; }
.hero-note { margin-top: 40px; color: var(--dim); font-size: 12px; display: flex; gap: 8px; align-items: center; }
.status-check { width: 19px; height: 19px; display: grid; place-items: center; border: 1px solid rgba(85, 213, 155, .5); border-radius: 50%; color: var(--green); }
.hero-visual { min-height: 440px; position: relative; display: grid; place-items: center; }
.visual-grid { position: absolute; inset: 10px 0 0 26px; background-image: linear-gradient(rgba(132, 148, 177, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(132, 148, 177, .08) 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(to bottom right, black, transparent 77%); }
.visual-grid::after { content: ""; position: absolute; right: 22%; top: 17%; width: 150px; height: 150px; border: 1px solid rgba(245, 184, 61, .4); border-radius: 50%; box-shadow: 0 0 0 22px rgba(245, 184, 61, .035), 0 0 0 45px rgba(245, 184, 61, .025); }
.settlement-card { width: min(100%, 380px); position: relative; padding: 25px; background: rgba(19, 28, 43, .96); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 22px 24px 0 rgba(70, 57, 147, .12), 0 28px 80px rgba(0, 0, 0, .32); transform: rotate(2deg); }
.settlement-top, .settlement-row, .settlement-destination { display: flex; align-items: center; justify-content: space-between; }
.live-indicator { color: var(--green); }
.settlement-amount { margin-top: 34px; font: 600 53px var(--display); letter-spacing: -.09em; color: var(--text); }
.settlement-amount span { color: var(--gold); }
.settlement-amount::first-letter { color: var(--gold); }
.settlement-caption { margin: 4px 0 24px; color: var(--muted); font-size: 13px; }
.settlement-rule { height: 1px; margin: 0 -25px 19px; background: var(--line); }
.settlement-row { margin: 11px 0; color: var(--muted); font-size: 13px; }
.settlement-row strong { color: var(--text); font: 500 13px var(--mono); }
.settlement-row.accent-row { margin-top: 18px; color: var(--gold-soft); }
.settlement-row.accent-row strong { color: var(--gold); }
.settlement-destination { margin-top: 24px; justify-content: flex-start; gap: 10px; padding: 12px; background: rgba(9, 12, 20, .55); border: 1px solid var(--line); border-radius: 8px; }
.destination-icon { width: 27px; height: 27px; display: grid; place-items: center; color: var(--violet); background: rgba(169, 147, 255, .1); border-radius: 6px; }
.settlement-destination small, .settlement-destination b { display: block; }
.settlement-destination small { color: var(--dim); font-size: 10px; }
.settlement-destination b { margin-top: 2px; font: 500 11px var(--mono); color: var(--text); }
.destination-verified { margin-left: auto; color: var(--green); }
.visual-stamp { position: absolute; bottom: 34px; left: 6px; display: flex; gap: 8px; align-items: center; padding: 9px 12px; color: var(--gold-soft); background: rgba(20, 25, 38, .91); border: 1px solid rgba(245, 184, 61, .27); border-radius: 7px; font: 500 11px var(--mono); transform: rotate(-5deg); }
.proof-strip { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); }
.proof-strip > div { display: flex; align-items: center; gap: 14px; font-size: 13px; }
.proof-number { color: var(--gold); font: 500 11px var(--mono); }

.split-section { padding-block: 145px 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; scroll-margin-top: 24px; }
.split-section h2, .steps-section h2, .closing-cta h2 { max-width: 560px; margin: 22px 0 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.12; letter-spacing: -.045em; font-weight: 500; text-wrap: balance; }
.section-body { max-width: 470px; align-self: end; padding-bottom: 5px; }
.section-body p { margin: 0 0 27px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.feature-section { display: grid; grid-template-columns: 1.13fr .87fr .87fr; gap: 12px; }
.feature-card { min-height: 360px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.feature-card-large { background: linear-gradient(135deg, #162233, #111a28); }
.feature-card-dark { background: #101521; }
.feature-card-gold { background: #342d1d; border-color: #5e512f; }
.feature-icon { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: auto; border: 1px solid rgba(245, 184, 61, .42); border-radius: 8px; color: var(--gold); }
.feature-icon.violet { color: var(--violet); border-color: rgba(169, 147, 255, .45); }
.feature-icon.gold { color: var(--gold-soft); border-color: rgba(255, 225, 160, .5); }
.feature-card h3 { max-width: 230px; margin: 48px 0 12px; font-size: 22px; line-height: 1.2; letter-spacing: -.025em; }
.feature-card p { margin: 0; max-width: 310px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.feature-wire { margin-top: 26px; display: flex; align-items: center; gap: 7px; color: var(--gold-soft); font: 10px var(--mono); }
.feature-wire i { width: 20px; height: 1px; background: var(--gold); opacity: .6; }
.mini-code, .mini-state { display: flex; gap: 8px; align-items: center; margin-top: 26px; color: var(--violet); font: 10px var(--mono); }
.mini-code-dot { width: 7px; height: 7px; border: 1px solid var(--violet); border-radius: 50%; }
.mini-state { color: var(--gold-soft); }
.mini-state span { width: 18px; height: 18px; display: grid; place-items: center; color: var(--gold); border: 1px solid var(--gold); border-radius: 50%; }
.steps-section { padding-block: 145px; }
.steps-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.steps-heading h2 { margin: 0; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 60px; border-top: 1px solid var(--line); }
.step { min-height: 230px; padding: 26px 27px 20px 0; border-right: 1px solid var(--line); }
.step + .step { padding-left: 28px; }
.step:last-child { border-right: 0; }
.step-mark { color: var(--gold); font: 500 12px var(--mono); }
.step h3 { margin: 49px 0 10px; font-size: 21px; font-weight: 500; }
.step p { max-width: 250px; margin: 0; color: var(--muted); font-size: 14px; }
.closing-cta { padding-block: 83px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: end; }
.closing-cta h2 em { color: var(--gold); font-style: normal; }
.cta-side { max-width: 360px; padding-bottom: 6px; }
.cta-side p { margin: 0 0 25px; color: var(--muted); font-size: 14px; line-height: 1.65; }

.site-footer { width: min(calc(100% - 48px), var(--content)); margin: 0 auto; min-height: 89px; display: flex; align-items: center; gap: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 11px; }
.footer-brand { display: flex; align-items: center; gap: 8px; color: var(--text); font: 600 13px var(--display); }
.footer-note { margin-left: auto; }

.flash-stack { width: min(calc(100% - 48px), var(--content)); margin: 18px auto -18px; position: relative; z-index: 2; }
.flash { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--surface); color: var(--muted); font-size: 13px; }
.flash-success { color: var(--green); border-color: rgba(85, 213, 155, .35); }
.flash-warning { color: var(--warning); border-color: rgba(240, 198, 109, .35); }
.flash-error { color: var(--red); border-color: rgba(255, 142, 142, .35); }

.dashboard-head { padding-block: 70px 40px; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.dashboard-head h1 { margin: 18px 0 8px; font-size: clamp(34px, 4vw, 55px); font-weight: 500; line-height: 1.08; letter-spacing: -.045em; }
.dashboard-head p { margin: 0; color: var(--muted); font-size: 16px; }
.dashboard-status { display: flex; flex-direction: column; align-items: end; gap: 11px; padding-bottom: 5px; }
.text-button { padding: 0; color: var(--dim); background: none; border: 0; font: 11px var(--mono); }
.text-button:hover { color: var(--gold); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.metric { min-height: 142px; padding: 20px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.metric-highlight { border-color: rgba(245, 184, 61, .43); background: rgba(245, 184, 61, .07); }
.metric-label { color: var(--muted); font: 500 10px var(--mono); }
.metric strong { margin-top: auto; color: var(--text); font: 500 37px var(--display); letter-spacing: -.06em; }
.metric-note { color: var(--dim); font-size: 11px; }
.dashboard-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 12px; padding-block: 12px; }
.panel { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 24px; border-bottom: 1px solid var(--line); }
.panel-kicker { display: block; margin-bottom: 8px; color: var(--dim); letter-spacing: .04em; }
.panel-heading h2 { margin: 0; font-size: 21px; font-weight: 500; }
.panel-icon { width: 34px; height: 34px; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(245, 184, 61, .4); border-radius: 7px; }
.count-chip, .step-count { padding: 4px 8px; color: var(--gold); border: 1px solid rgba(245, 184, 61, .4); border-radius: 5px; font: 500 11px var(--mono); }
.stack-form { display: grid; gap: 18px; padding: 24px; }
.stack-form label { display: grid; gap: 8px; color: var(--text); font-size: 13px; font-weight: 500; }
.optional { color: var(--dim); font-size: 11px; font-weight: 400; }
input, textarea { width: 100%; color: var(--text); background: #0c111b; border: 1px solid var(--line); border-radius: 7px; padding: 12px 13px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
input { min-height: 45px; }
textarea { resize: vertical; min-height: 100px; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #556276; }
input:hover, textarea:hover { border-color: var(--line-strong); }
input:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 184, 61, .1); }
.input-with-suffix { position: relative; }
.input-with-suffix input { padding-right: 55px; }
.input-with-suffix span { position: absolute; top: 50%; right: 14px; color: var(--gold); font: 500 11px var(--mono); transform: translateY(-50%); }
.field-hint, .form-footnote { color: var(--dim); font-size: 11px; line-height: 1.45; font-weight: 400; }
.form-footnote { padding: 0 24px 22px; font-family: var(--mono); }
.inline-error { display: flex; align-items: center; gap: 8px; padding: 10px 11px; color: var(--red); border: 1px solid rgba(255, 142, 142, .32); background: rgba(255, 142, 142, .06); border-radius: 6px; font-size: 12px; }
.product-list { padding: 7px 0; }
.product-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 24px; border-bottom: 1px solid rgba(39, 51, 72, .72); }
.product-row:last-child { border-bottom: 0; }
.product-main { display: flex; align-items: center; gap: 12px; min-width: 0; }
.product-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(245, 184, 61, .1); }
.product-main strong, .product-main span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-main strong { font-size: 14px; font-weight: 600; }
.product-main span { max-width: 280px; margin-top: 3px; color: var(--muted); font-size: 11px; }
.product-actions { display: flex; align-items: center; flex: 0 0 auto; gap: 14px; }
.icon-text-link { display: inline-flex; align-items: center; gap: 4px; color: var(--gold); font-size: 12px; font-weight: 600; }
.copy-button { min-height: 34px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 6px; font-size: 11px; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.copy-button:hover { color: var(--gold); border-color: var(--gold); background: rgba(245, 184, 61, .06); }
.empty-state { min-height: 270px; padding: 30px; display: grid; place-content: center; text-align: center; }
.empty-state-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 19px; color: var(--gold); border: 1px solid rgba(245, 184, 61, .35); border-radius: 50%; }
.empty-state h3 { margin: 0 0 8px; font-size: 17px; font-weight: 500; }
.empty-state p { max-width: 270px; margin: 0; color: var(--muted); font-size: 13px; }
.orders-panel { margin-bottom: 72px; }
.dashboard-section { margin-top: 12px; }
.dashboard-section:last-of-type { margin-bottom: 12px; }
.section-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 13px; }
.section-toolbar h2 { margin: 0; font-size: 24px; font-weight: 500; }
.section-caption { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.ledger-panel { overflow: hidden; }
.ledger-table { min-width: 1100px; }
.ledger-table th, .ledger-table td { vertical-align: top; }
.review-reason { max-width: 190px; color: var(--warning); white-space: normal; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 670px; }
th, td { padding: 15px 18px; text-align: left; border-bottom: 1px solid rgba(39, 51, 72, .72); }
th { color: var(--dim); font: 500 10px var(--mono); letter-spacing: .04em; }
td { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
td strong, td span { display: block; }
td strong { color: var(--text); font-size: 13px; font-weight: 500; }
.cell-sub { margin-top: 3px; color: var(--dim); font-size: 10px; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 8px; color: var(--muted); background: rgba(156, 169, 188, .08); border: 1px solid var(--line); border-radius: 5px; white-space: nowrap; font: 500 10px var(--mono); }
.status-pill > span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.status-overpaid, .status-overpayment, .status-eligible { color: var(--gold); border-color: rgba(245, 184, 61, .3); background: rgba(245, 184, 61, .07); }
.status-overpaid > span, .status-overpayment > span, .status-eligible > span { background: var(--gold); }
.status-refund_finalized, .status-finalized, .status-paid_exact, .status-paid, .status-exact, .status-refunded, .status-complete { color: var(--green); border-color: rgba(85, 213, 155, .3); background: rgba(85, 213, 155, .06); }
.status-refund_finalized > span, .status-finalized > span, .status-paid_exact > span, .status-paid > span, .status-exact > span, .status-refunded > span, .status-complete > span { background: var(--green); }
.status-pending, .status-funding, .status-funding_pending, .status-funded, .status-payment_pending { color: var(--muted); }
.status-needs_review, .status-underpaid { color: var(--warning); border-color: rgba(240, 198, 109, .28); background: rgba(240, 198, 109, .06); }
.status-needs_review > span, .status-underpaid > span { background: var(--warning); }
.status-refund_submitted, .status-submitted, .status-refund_processing { color: var(--violet); border-color: rgba(169, 147, 255, .3); background: rgba(169, 147, 255, .06); }
.status-refund_submitted > span, .status-submitted > span, .status-refund_processing > span { background: var(--violet); }
.status-failed { color: var(--red); border-color: rgba(255, 142, 142, .3); background: rgba(255, 142, 142, .06); }
.status-failed > span { background: var(--red); }
.muted { color: var(--dim); }
.table-empty { min-height: 150px; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--dim); }
.table-empty p { margin: 0; font-size: 13px; }

.checkout-shell { min-height: 660px; padding-block: 75px 100px; display: grid; grid-template-columns: minmax(0, .94fr) minmax(380px, .76fr); gap: 90px; align-items: center; }
.product-shell { min-height: 690px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; color: var(--dim); font-size: 12px; }
.back-link .icon { transform: rotate(180deg); }
.product-eyebrow { margin-top: 72px; color: var(--violet); }
.checkout-intro h1 { max-width: 600px; margin: 19px 0 14px; font-size: clamp(45px, 6vw, 74px); line-height: 1.02; letter-spacing: -.065em; font-weight: 500; }
.product-description { max-width: 470px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.price-lockup { display: flex; align-items: baseline; gap: 9px; margin-top: 40px; color: var(--gold); font: 500 59px var(--display); letter-spacing: -.08em; }
.price-lockup small { color: var(--text); font: 500 14px var(--mono); letter-spacing: 0; }
.proof-note { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--green); font: 11px var(--mono); }
.checkout-card, .side-card { padding: 27px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); box-shadow: 18px 22px 0 rgba(70, 57, 147, .08); }
.card-topline { display: flex; justify-content: space-between; align-items: center; }
.checkout-card h2, .side-card h2 { margin: 31px 0 10px; font-size: 25px; font-weight: 500; letter-spacing: -.035em; }
.card-lede { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.checkout-card .stack-form { padding: 28px 0 0; }
.security-line, .side-note { display: flex; gap: 8px; align-items: start; margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--dim); font: 11px var(--mono); line-height: 1.5; }
.security-line .icon, .side-note .icon { flex: 0 0 auto; color: var(--violet); }
.checkout-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-block: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.checkout-trust > div { display: flex; align-items: center; gap: 10px; }
.checkout-trust .icon { color: var(--gold); }
.checkout-room { align-items: start; padding-top: 65px; }
.room-header { margin-top: 35px; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.room-header h1 { margin: 15px 0 0; font-size: 42px; font-weight: 500; letter-spacing: -.05em; }
.payment-panel { margin-top: 36px; padding: 30px; border: 1px solid var(--line-strong); border-radius: 12px; background: linear-gradient(145deg, #152237, #111825); }
.payment-label { color: var(--muted); font: 11px var(--mono); }
.payment-amount { margin: 15px 0 30px; font: 500 61px var(--display); letter-spacing: -.09em; }
.payment-amount span { color: var(--gold); }
.payment-amount small { color: var(--text); font: 500 14px var(--mono); letter-spacing: 0; }
.address-box { display: flex; gap: 15px; align-items: center; justify-content: space-between; padding: 15px; border: 1px solid var(--line); border-radius: 7px; background: rgba(9, 12, 20, .6); }
.address-box > div { min-width: 0; }
.address-label { display: block; margin-bottom: 7px; color: var(--dim); font: 10px var(--mono); }
.address-box code, .locked-destination code { display: block; overflow: hidden; color: var(--text); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.address-box .copy-button { flex: 0 0 auto; }
.payment-refund-note { margin: 12px 0 0; padding: 11px 13px; color: var(--muted); border-left: 2px solid rgba(245, 184, 61, .65); background: rgba(245, 184, 61, .05); font-size: 11px; line-height: 1.55; }
.payment-instructions { margin-top: 28px; display: grid; gap: 14px; }
.payment-instructions > div { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); font-size: 12px; }
.instruction-number { width: 20px; height: 20px; flex: 0 0 auto; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(245, 184, 61, .4); border-radius: 50%; font: 10px var(--mono); }
.demo-note { display: flex; align-items: flex-start; gap: 9px; margin-top: 24px; padding: 12px; color: var(--gold-soft); border: 1px solid rgba(245, 184, 61, .28); border-radius: 7px; background: rgba(245, 184, 61, .06); font-size: 12px; line-height: 1.5; }
.demo-note .icon { flex: 0 0 auto; margin-top: 2px; color: var(--gold); }
.demo-note strong, .demo-note span { display: block; }
.demo-note strong { margin-bottom: 2px; font-weight: 600; }
.locked-destination { display: flex; align-items: center; gap: 10px; margin-top: 17px; padding: 13px; border: 1px solid var(--line); border-radius: 8px; background: rgba(18, 26, 39, .58); }
.locked-destination > div { min-width: 0; }
.locked-destination > div > span { display: block; margin-bottom: 5px; color: var(--dim); font: 10px var(--mono); }
.locked-check { margin-left: auto; color: var(--green); }
.claim-banner { display: flex; gap: 15px; margin-top: 34px; padding: 18px; border: 1px solid rgba(169, 147, 255, .4); border-radius: 10px; background: rgba(169, 147, 255, .08); }
.claim-banner-icon { width: 37px; height: 37px; flex: 0 0 auto; display: grid; place-items: center; color: var(--violet); border: 1px solid rgba(169, 147, 255, .4); border-radius: 8px; }
.claim-banner strong { font-size: 14px; font-weight: 600; }
.claim-banner p { margin: 4px 0 13px; color: var(--muted); font-size: 12px; }
.claim-code { display: flex; align-items: center; gap: 12px; max-width: 100%; padding: 8px 8px 8px 11px; background: #0c111b; border: 1px solid rgba(169, 147, 255, .38); border-radius: 6px; }
.claim-code > span { overflow: hidden; color: var(--violet); font: 500 12px var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.claim-code .copy-button { margin-left: auto; border-color: rgba(169, 147, 255, .4); }
.room-side { padding-top: 93px; }
.side-card { box-shadow: none; }
.side-card h2 { margin-top: 16px; }
.side-card > p { color: var(--muted); font-size: 13px; }
.side-card .stack-form { padding: 22px 0 0; }
.result-block { display: flex; gap: 12px; align-items: flex-start; padding: 13px; margin: 20px 0 0; border: 1px solid var(--line); border-radius: 7px; }
.result-icon { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; }
.result-block strong { display: block; font-size: 13px; }
.result-block p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.result-gold { color: var(--gold); border-color: rgba(245, 184, 61, .35); background: rgba(245, 184, 61, .07); }
.result-gold .result-icon { background: rgba(245, 184, 61, .15); }
.result-green { color: var(--green); border-color: rgba(85, 213, 155, .35); background: rgba(85, 213, 155, .06); }
.result-green .result-icon { background: rgba(85, 213, 155, .12); }
.result-warn { color: var(--warning); border-color: rgba(240, 198, 109, .35); background: rgba(240, 198, 109, .06); }
.result-warn .result-icon { background: rgba(240, 198, 109, .12); }
.verified-lock { display: flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--green); font: 11px var(--mono); }

.recovery-hero { padding-block: 82px 53px; display: flex; justify-content: space-between; gap: 60px; align-items: end; }
.recovery-hero h1 { max-width: 680px; margin: 20px 0 15px; font-size: clamp(40px, 5vw, 66px); line-height: 1.04; letter-spacing: -.06em; font-weight: 500; }
.recovery-hero p { max-width: 550px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.recovery-seal { min-width: 152px; display: flex; gap: 11px; align-items: center; justify-content: center; padding: 21px 14px; color: var(--violet); border: 1px solid rgba(169, 147, 255, .4); border-radius: 10px; background: rgba(169, 147, 255, .08); font-size: 11px; line-height: 1.4; }
.recovery-seal strong { color: var(--text); font-weight: 500; }
.recovery-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 12px; align-items: stretch; padding-bottom: 60px; }
.recovery-form-panel { min-height: 560px; }
.recovery-form-panel .stack-form { padding-top: 27px; }
.security-list { display: grid; gap: 10px; padding: 0 24px 24px; color: var(--dim); font: 10px var(--mono); }
.security-list > div { display: flex; align-items: flex-start; gap: 8px; }
.security-list .icon { flex: 0 0 auto; color: var(--violet); }
.recovery-result { min-height: 560px; padding: 34px; border: 1px solid var(--line); border-radius: 10px; background: #0e141f; }
.result-header { display: flex; align-items: center; gap: 14px; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.result-header .state-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--gold); }
.result-header h2 { margin: 3px 0 0; font-size: 25px; font-weight: 500; }
.result-eligible .state-icon, .result-finalized .state-icon { color: var(--green); border-color: rgba(85, 213, 155, .4); }
.result-submitted .state-icon { color: var(--violet); border-color: rgba(169, 147, 255, .4); }
.result-needs_review .state-icon, .result-underpaid .state-icon { color: var(--warning); border-color: rgba(240, 198, 109, .4); }
.result-message { max-width: 520px; margin: 25px 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.eligibility-amount { padding: 23px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eligibility-amount > span { display: block; color: var(--dim); font: 11px var(--mono); }
.eligibility-amount strong { display: block; margin-top: 8px; color: var(--gold); font: 500 48px var(--display); letter-spacing: -.08em; }
.eligibility-amount strong small { color: var(--text); font: 500 12px var(--mono); letter-spacing: 0; }
.eligibility-amount div { color: var(--muted); font-size: 12px; }
.result-destination { margin-top: 20px; }
.request-form { margin-top: 20px; }
.action-note { margin: 14px 0 0; color: var(--dim); font: 10px var(--mono); line-height: 1.5; }
.status-summary { display: grid; gap: 1px; margin-top: 31px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.status-summary > div { display: grid; grid-template-columns: 130px 1fr; gap: 15px; padding: 14px; background: var(--surface); }
.status-summary > div + div { border-top: 1px solid var(--line); }
.status-summary span { color: var(--dim); font: 10px var(--mono); }
.status-summary strong, .status-summary code, .status-summary a { color: var(--text); font: 12px var(--mono); overflow-wrap: anywhere; }
.status-summary a { color: var(--gold); display: inline-flex; gap: 5px; align-items: center; }
.not-eligible-box { display: flex; gap: 11px; padding: 16px; color: var(--warning); border: 1px solid rgba(240, 198, 109, .3); border-radius: 7px; background: rgba(240, 198, 109, .06); }
.not-eligible-box strong { color: var(--text); font-size: 14px; font-weight: 500; }
.not-eligible-box p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.result-placeholder { min-height: 490px; display: grid; align-content: center; justify-items: center; text-align: center; }
.placeholder-orbit { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 23px; color: var(--gold); border: 1px solid rgba(245, 184, 61, .48); border-radius: 50%; box-shadow: 0 0 0 14px rgba(245, 184, 61, .04), 0 0 0 28px rgba(245, 184, 61, .025); }
.result-placeholder h2 { margin: 0 0 10px; font-size: 23px; font-weight: 500; }
.result-placeholder p { max-width: 340px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.placeholder-rule { display: flex; gap: 5px; margin-top: 30px; }
.placeholder-rule span { width: 28px; height: 2px; background: var(--line-strong); }
.placeholder-rule span:first-child { background: var(--gold); }
.warning-band { display: flex; gap: 13px; align-items: flex-start; max-width: var(--content); margin-bottom: 72px; padding: 18px 20px; border: 1px solid rgba(240, 198, 109, .3); border-radius: 8px; background: rgba(240, 198, 109, .05); }
.warning-icon { color: var(--warning); }
.warning-band strong { display: block; margin-bottom: 3px; color: var(--text); font-size: 13px; font-weight: 500; }
.warning-band p { max-width: 810px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.receipt-shell { padding-block: 83px 105px; }
.receipt-header { display: flex; align-items: center; gap: 19px; max-width: 780px; }
.receipt-success-mark { width: 59px; height: 59px; flex: 0 0 auto; display: grid; place-items: center; color: var(--green); border: 1px solid rgba(85, 213, 155, .5); border-radius: 50%; background: rgba(85, 213, 155, .08); }
.receipt-review-mark { color: var(--warning); border-color: rgba(240, 198, 109, .5); background: rgba(240, 198, 109, .08); }
.receipt-header h1 { margin: 13px 0 8px; font-size: clamp(38px, 5vw, 60px); line-height: 1; letter-spacing: -.06em; font-weight: 500; }
.receipt-header p { margin: 0; color: var(--muted); font-size: 15px; }
.receipt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 65px; }
.receipt-card { min-height: 160px; padding: 20px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.receipt-card strong { margin-top: auto; color: var(--text); font: 500 24px var(--display); letter-spacing: -.06em; }
.receipt-amount-card { border-color: rgba(85, 213, 155, .4); background: rgba(85, 213, 155, .06); }
.receipt-amount-card strong { color: var(--green); font-size: 32px; }
.receipt-card strong small { color: var(--text); font: 500 11px var(--mono); letter-spacing: 0; }
.receipt-code { overflow: hidden; margin-top: auto; color: var(--text); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.receipt-date { font-family: var(--mono) !important; font-size: 14px !important; }
.receipt-sub { margin-top: 7px; color: var(--dim); font-size: 10px; }
.transaction-proof { margin-top: 12px; padding: 26px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid var(--line-strong); border-radius: 9px; background: #131c2b; }
.transaction-proof h2 { margin: 9px 0 12px; font-size: 20px; font-weight: 500; }
.transaction-proof code { display: block; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.receipt-footer-note { display: flex; align-items: center; gap: 8px; margin-top: 28px; color: var(--dim); font: 11px var(--mono); }
.receipt-footer-note .icon { color: var(--violet); }
.empty-page { min-height: 640px; display: grid; place-content: center; justify-items: start; padding-block: 70px; }
.empty-mark { width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: 28px; color: var(--gold); border: 1px solid rgba(245, 184, 61, .4); border-radius: 50%; }
.empty-page h1 { margin: 18px 0 10px; font-size: 48px; font-weight: 500; letter-spacing: -.05em; }
.empty-page p { max-width: 450px; margin: 0 0 27px; color: var(--muted); }
.login-shell { min-height: 690px; padding-block: 90px; display: grid; grid-template-columns: 1fr minmax(360px, .7fr); gap: 90px; align-items: center; }
.login-intro h1 { max-width: 610px; margin: 21px 0 15px; font-size: clamp(42px, 5vw, 65px); line-height: 1.04; letter-spacing: -.06em; font-weight: 500; }
.login-intro p { max-width: 450px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.login-card { border: 1px solid var(--line-strong); border-radius: 11px; background: var(--surface); box-shadow: 18px 22px 0 rgba(70, 57, 147, .08); }
.login-error { margin: 21px 24px -4px; }

/* Customer-facing storefront and checkout */
.product-page { min-height: 0; padding-block: 28px 34px; display: grid; grid-template-columns: minmax(280px, .82fr) minmax(0, 1fr); grid-template-areas: "art copy"; gap: 56px; align-items: center; }
.product-art-column { grid-area: art; height: 410px; min-height: 410px; position: relative; display: grid; place-items: center; }
.product-art-backdrop { position: absolute; inset: 22px 7% 10px; background-image: linear-gradient(rgba(132, 148, 177, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(132, 148, 177, .08) 1px, transparent 1px); background-size: 30px 30px; mask-image: linear-gradient(to bottom right, black, transparent 78%); }
.product-art-backdrop::after { content: ""; position: absolute; width: 205px; height: 205px; top: 14%; right: 8%; border: 1px solid rgba(245, 184, 61, .32); border-radius: 50%; box-shadow: 0 0 0 26px rgba(245, 184, 61, .035), 0 0 0 52px rgba(245, 184, 61, .02); }
.ebook-cover { width: min(100%, 286px); aspect-ratio: .7; position: relative; display: flex; flex-direction: column; margin: 0; padding: 25px 25px 22px; overflow: hidden; color: #0a0d16; background: linear-gradient(153deg, #ffd76a 0%, #f5b83d 45%, #bd7d1f 100%); border: 1px solid rgba(255, 225, 160, .7); border-radius: 4px 11px 11px 4px; box-shadow: 19px 21px 0 rgba(169, 147, 255, .16), 24px 29px 45px rgba(0, 0, 0, .36); transform: rotate(-4deg); }
.ebook-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(122deg, rgba(255, 255, 255, .24), transparent 27%, transparent 71%, rgba(65, 39, 3, .14)); pointer-events: none; }
.ebook-cover::after { content: ""; position: absolute; top: 0; right: 12px; bottom: 0; width: 1px; background: rgba(10, 13, 22, .22); box-shadow: 4px 0 rgba(255, 225, 160, .2), 8px 0 rgba(10, 13, 22, .12); }
.cover-topline, .cover-bottomline { display: flex; justify-content: space-between; position: relative; z-index: 1; font: 600 9px var(--mono); letter-spacing: .06em; }
.cover-rule { width: 100%; height: 1px; position: relative; z-index: 1; margin-top: 12px; background: rgba(10, 13, 22, .4); }
.cover-kicker { position: relative; z-index: 1; margin-top: 58px; font: 600 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.cover-title { position: relative; z-index: 1; margin-top: 13px; font: 600 clamp(25px, 3.1vw, 38px)/1.05 var(--display); letter-spacing: -.08em; }
.cover-orbit { width: 82px; height: 82px; position: relative; margin: auto 0 21px auto; border: 1px solid rgba(10, 13, 22, .6); border-radius: 50%; }
.cover-orbit::before, .cover-orbit::after { content: ""; position: absolute; inset: 13px -9px; border: 1px solid rgba(10, 13, 22, .5); border-radius: 50%; transform: rotate(32deg); }
.cover-orbit::after { inset: -9px 13px; transform: rotate(32deg); }
.cover-orbit span, .cover-orbit i { width: 8px; height: 8px; position: absolute; top: 9px; right: 14px; z-index: 2; background: #0a0d16; border-radius: 50%; }
.cover-orbit i { top: auto; right: auto; bottom: 8px; left: 15px; background: #fff0c6; }
.cover-bottomline { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(10, 13, 22, .4); font-size: 8px; }
.product-art-caption { position: absolute; right: 2%; bottom: 16px; display: flex; align-items: center; gap: 8px; color: var(--muted); font: 11px var(--mono); }
.product-art-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 4px rgba(85, 213, 155, .1); }
.product-copy { grid-area: copy; max-width: 630px; }
.product-copy .product-eyebrow { margin-top: 0; color: var(--violet); }
.product-copy h1 { max-width: 600px; margin: 12px 0 14px; font-size: clamp(42px, 5.2vw, 66px); line-height: 1.02; letter-spacing: -.065em; font-weight: 500; text-wrap: balance; }
.product-copy .product-description { max-width: 520px; }
.product-purchase-row { display: flex; align-items: center; flex-wrap: wrap; gap: 19px; margin-top: 22px; }
.product-purchase-row .price-lockup { margin-top: 0; }
.product-format { padding: 6px 9px; color: var(--gold-soft); border: 1px solid rgba(245, 184, 61, .33); border-radius: 5px; font: 10px var(--mono); }
.product-purchase-meta { display: flex; align-items: center; gap: 12px; margin-top: 13px; }
.product-network-label { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font: 10px var(--mono); }
.product-network-label .icon { flex: 0 0 auto; }
.benefit-list { display: grid; gap: 13px; max-width: 530px; margin: 29px 0 0; padding: 0; color: var(--muted); list-style: none; font-size: 13px; }
.benefit-list li { display: flex; align-items: flex-start; gap: 11px; }
.benefit-check { width: 21px; height: 21px; flex: 0 0 auto; display: grid; place-items: center; color: var(--green); border: 1px solid rgba(85, 213, 155, .38); border-radius: 50%; }
.product-cta-form { margin-top: 20px; }
.product-cta { min-width: 214px; min-height: 52px; font-size: 15px; }
.product-note { max-width: 500px; margin: 15px 0 0; color: var(--dim); font: 11px/1.55 var(--mono); }
.product-secondary { padding-block: 14px 26px; border-top: 1px solid var(--line); }
.product-secondary .benefit-list { grid-template-columns: repeat(3, 1fr); max-width: none; gap: 22px; margin: 0; font-size: 12px; }
.product-secondary .benefit-list li { gap: 9px; }
.product-detail-strip { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 25px; padding-block: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-detail-strip > div { display: grid; gap: 7px; }
.detail-label { color: var(--gold); font: 500 10px var(--mono); letter-spacing: .05em; }
.product-detail-strip strong { max-width: 250px; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.5; }

.checkout-page { padding-block: 28px 58px; }
.checkout-nav-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.checkout-step { color: var(--dim); font: 10px var(--mono); letter-spacing: .05em; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, .92fr); gap: 22px; align-items: start; padding-top: 26px; }
.checkout-product-summary { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 24px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: rgba(18, 26, 39, .42); }
.checkout-product-summary .ebook-cover-small { width: 150px; flex: 0 0 150px; padding: 13px 12px 11px; transform: rotate(-3deg); box-shadow: 10px 12px 0 rgba(169, 147, 255, .12), 14px 19px 28px rgba(0, 0, 0, .28); }
.ebook-cover-small .cover-topline { font-size: 6px; }
.ebook-cover-small .cover-rule { margin-top: 7px; }
.ebook-cover-small .cover-kicker { margin-top: 23px; font-size: 6px; }
.ebook-cover-small .cover-title { margin-top: 7px; font-size: 14px; }
.ebook-cover-small .cover-orbit { width: 31px; height: 31px; margin-bottom: 7px; }
.ebook-cover-small .cover-orbit::before { inset: 5px -4px; }
.ebook-cover-small .cover-orbit::after { inset: -4px 5px; }
.ebook-cover-small .cover-orbit span, .ebook-cover-small .cover-orbit i { width: 4px; height: 4px; top: 4px; right: 5px; }
.ebook-cover-small .cover-orbit i { top: auto; right: auto; bottom: 4px; left: 5px; }
.ebook-cover-small .cover-bottomline { padding-top: 7px; font-size: 5px; }
.checkout-product-summary h1 { margin: 8px 0 8px; font-size: clamp(30px, 3.2vw, 45px); line-height: 1.05; letter-spacing: -.055em; font-weight: 500; text-wrap: balance; }
.checkout-product-summary p { max-width: 430px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.checkout-summary-price { margin-top: 14px; color: var(--gold); font: 500 17px var(--mono); }
.checkout-summary-price span { font-size: 24px; }
.checkout-devnet-label { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--green); font: 10px var(--mono); }
.checkout-devnet-label .icon { flex: 0 0 auto; }
.checkout-refund-note { max-width: 540px; margin-top: 14px; }
.checkout-payment-card { padding: 20px; background: linear-gradient(145deg, #152237, #111825); }
.checkout-payment-header { margin-bottom: 17px; }
.checkout-payment-card h2 { margin: 7px 0 0; font-size: 25px; font-weight: 500; letter-spacing: -.035em; }
.checkout-payment-card .address-box { align-items: flex-start; }
.checkout-payment-card .address-copy { min-width: 0; }
.checkout-payment-card .address-box code { overflow-wrap: anywhere; white-space: normal; line-height: 1.45; }
.checkout-payment-card .copy-button { min-height: 42px; }
.checkout-code-block { margin-top: 12px; padding: 13px; border: 1px solid rgba(169, 147, 255, .32); border-radius: 8px; background: rgba(169, 147, 255, .06); }
.checkout-code-heading { margin-bottom: 9px; color: var(--muted); font: 10px var(--mono); }
.checkout-code-block .claim-code { padding: 7px 7px 7px 10px; }
.checkout-code-block .claim-code > span { min-width: 0; overflow-wrap: anywhere; white-space: normal; line-height: 1.4; }
.checkout-save-note { margin: 8px 0 0; color: var(--dim); font: 10px/1.45 var(--mono); }
.payment-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; margin-top: 18px; }
.payment-network { display: inline-flex; align-items: center; gap: 6px; color: var(--dim); font: 10px var(--mono); }
.payment-network .icon { color: var(--green); }
.payment-gate { display: flex; align-items: flex-start; gap: 10px; margin-top: 26px; padding: 13px; color: var(--gold-soft); border: 1px solid rgba(245, 184, 61, .28); border-radius: 7px; background: rgba(245, 184, 61, .06); font-size: 12px; }
.payment-gate > .icon { flex: 0 0 auto; color: var(--gold); }
.payment-gate strong, .payment-gate p { display: block; }
.payment-gate strong { margin-bottom: 2px; font-weight: 600; }
.payment-gate p { margin: 0; color: var(--muted); line-height: 1.5; }
.payment-address-code { max-width: 100%; overflow-wrap: anywhere; white-space: normal !important; }
.checkout-side { display: block; padding-top: 0; }
.save-confirmation { display: flex; align-items: center; gap: 7px; margin-top: 17px; color: var(--green); font: 11px var(--mono); }
.verify-card { background: #0f1724; }
.verify-blocked { display: flex; align-items: center; gap: 9px; margin-top: 22px; padding: 13px; color: var(--dim); border: 1px dashed var(--line-strong); border-radius: 7px; font: 11px/1.45 var(--mono); }
.verify-blocked .icon { flex: 0 0 auto; color: var(--violet); }
.checkout-grid-simple .checkout-side { padding-top: 0; }

/* Public demo wallet and merchant treasury */
.demo-hero { padding-block: 76px 42px; display: flex; align-items: end; justify-content: space-between; gap: 35px; }
.demo-hero h1 { max-width: 780px; margin: 20px 0 13px; font-size: clamp(38px, 5vw, 62px); line-height: 1.04; letter-spacing: -.06em; font-weight: 500; text-wrap: balance; }
.demo-hero p { max-width: 660px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.demo-network-card { min-width: 230px; display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid rgba(85, 213, 155, .28); border-radius: 8px; background: rgba(85, 213, 155, .05); }
.demo-network-card strong, .demo-network-card span { display: block; }
.demo-network-card strong { font: 500 12px var(--mono); color: var(--text); }
.demo-network-card span:last-child { margin-top: 4px; color: var(--dim); font: 10px var(--mono); }
.demo-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .72fr); gap: 12px; align-items: start; padding-bottom: 45px; }
.demo-layout > .demo-error { grid-column: 1 / -1; }
.demo-start { min-height: 500px; padding: 58px; display: grid; align-content: center; justify-items: start; background: linear-gradient(135deg, #142337, #101722); }
.demo-start-mark { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 35px; color: var(--gold); border: 1px solid rgba(245, 184, 61, .45); border-radius: 50%; box-shadow: 0 0 0 14px rgba(245, 184, 61, .04); }
.demo-start h2 { margin: 8px 0 11px; font-size: 30px; font-weight: 500; letter-spacing: -.04em; }
.demo-start p { max-width: 470px; margin: 0 0 25px; color: var(--muted); line-height: 1.65; }
.demo-start form { margin-top: 4px; }
.demo-start-note { margin-top: 18px !important; color: var(--dim) !important; font: 10px/1.5 var(--mono); }
.demo-warning { display: flex; align-items: flex-start; gap: 8px; margin-top: 17px; padding: 11px 12px; color: var(--warning); border: 1px solid rgba(240, 198, 109, .3); border-radius: 7px; background: rgba(240, 198, 109, .06); font-size: 12px; line-height: 1.45; }
.demo-wallet-column, .demo-result-column { display: grid; gap: 12px; }
.wallet-card, .demo-payment-card, .merchant-code-card, .demo-result-card { overflow: hidden; }
.copy-field { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 24px; }
.copy-field > div { min-width: 0; }
.copy-field span { display: block; margin-bottom: 6px; color: var(--dim); font: 10px var(--mono); }
.copy-field code { display: block; overflow: hidden; color: var(--text); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.copy-field .copy-button { flex: 0 0 auto; }
.demo-private-note { display: flex; align-items: center; gap: 7px; margin: 0 24px 20px; padding-top: 15px; color: var(--violet); border-top: 1px solid var(--line); font: 10px/1.45 var(--mono); }
.demo-private-note .icon { flex: 0 0 auto; }
.demo-payment-card .panel-heading { align-items: start; }
.demo-limit { flex: 0 0 auto; color: var(--gold); font: 10px var(--mono); }
.demo-order-summary { display: grid; gap: 13px; padding: 21px 24px 0; }
.demo-order-summary > div { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.demo-order-summary span { color: var(--dim); font: 10px var(--mono); }
.demo-order-summary strong { color: var(--gold); font: 500 20px var(--mono); }
.demo-order-summary code { max-width: 75%; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.demo-order-summary .copy-button { flex: 0 0 auto; padding: 5px 7px; }
.demo-send-form { display: grid; gap: 14px; padding: 22px 24px 24px; }
.demo-send-form label { display: grid; gap: 8px; color: var(--text); font-size: 13px; font-weight: 500; }
.demo-send-form .field-hint { margin-top: -2px; }
.preset-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.preset-button { min-height: 53px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; padding: 8px 10px; color: var(--muted); background: #0c111b; border: 1px solid var(--line); border-radius: 6px; font-size: 10px; text-align: left; }
.preset-button:hover, .preset-button:focus-visible { color: var(--gold); border-color: var(--gold); background: rgba(245, 184, 61, .06); }
.preset-button span { color: var(--dim); font: 10px var(--mono); }
.merchant-code-card { padding: 23px 24px; background: linear-gradient(135deg, rgba(169, 147, 255, .12), rgba(18, 26, 39, .8)); border-color: rgba(169, 147, 255, .35); }
.merchant-code-card h2 { margin: 7px 0 7px; font-size: 21px; font-weight: 500; }
.merchant-code-card p { margin: 0 0 15px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.secret-code { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid rgba(169, 147, 255, .35); border-radius: 7px; background: rgba(9, 12, 20, .65); }
.secret-code code { overflow: hidden; color: var(--gold-soft); font-size: 12px; letter-spacing: .04em; text-overflow: ellipsis; white-space: nowrap; }
.secret-code .copy-button { flex: 0 0 auto; }
.demo-result-card { min-height: 350px; padding: 24px; }
.demo-result-card > .panel-kicker { margin-bottom: 26px; }
.demo-result-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 20px; color: var(--green); border: 1px solid rgba(85, 213, 155, .42); border-radius: 50%; background: rgba(85, 213, 155, .06); }
.demo-result-icon.pending { color: var(--warning); border-color: rgba(240, 198, 109, .4); background: rgba(240, 198, 109, .06); }
.demo-result-card h2 { margin: 0 0 9px; font-size: 23px; font-weight: 500; letter-spacing: -.03em; }
.demo-result-card > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.transaction-id { margin-top: 23px; padding: 13px; border: 1px solid var(--line); border-radius: 7px; background: rgba(9, 12, 20, .52); }
.transaction-id > span { display: block; color: var(--dim); font: 10px var(--mono); }
.transaction-id code { display: block; margin: 8px 0 12px; color: var(--text); overflow-wrap: anywhere; font-size: 10px; }
.transaction-id > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.demo-result-placeholder { min-height: 270px; display: grid; align-content: center; justify-items: center; text-align: center; }
.demo-result-placeholder h2 { margin-bottom: 10px; font-size: 21px; }
.demo-result-placeholder p { max-width: 270px; }
.demo-safety-note { display: flex; align-items: flex-start; gap: 8px; padding: 13px 15px; color: var(--violet); border: 1px solid rgba(169, 147, 255, .22); border-radius: 8px; background: rgba(169, 147, 255, .05); font: 10px/1.5 var(--mono); }
.demo-safety-note .icon { flex: 0 0 auto; }
.demo-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-block: 24px 70px; border-top: 1px solid var(--line); }
.demo-how > div { display: grid; gap: 8px; }
.demo-how strong { color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.5; }
.wallet-hero { padding-block: 34px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wallet-hero h1 { margin: 0 0 6px; font-size: clamp(34px, 4vw, 48px); line-height: 1.05; letter-spacing: -.06em; font-weight: 500; }
.wallet-hero p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.wallet-header-action { flex: 0 0 auto; }
.wallet-layout { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(350px, .74fr); gap: 16px; align-items: start; padding-bottom: 32px; }
.wallet-layout > .wallet-error { grid-column: 1 / -1; }
.wallet-start { min-height: 190px; grid-column: 1 / -1; padding: 28px; display: grid; align-content: center; background: linear-gradient(135deg, #142337, #101722); }
.wallet-start-copy { max-width: 600px; }
.wallet-start h2 { margin: 8px 0 6px; font-size: 22px; font-weight: 500; }
.wallet-start p { margin: 0; color: var(--muted); font-size: 13px; }
.wallet-limit { color: var(--gold); font: 500 11px var(--mono); white-space: nowrap; }
.wallet-send-card { overflow: hidden; }
.wallet-form-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.wallet-form-header .panel-kicker { margin-bottom: 5px; }
.wallet-form-header h2 { margin: 0; font-size: 21px; font-weight: 500; }
.wallet-send-form { display: grid; gap: 12px; padding: 18px 20px 20px; }
.wallet-send-form label { display: grid; gap: 6px; color: var(--text); font-size: 13px; font-weight: 500; }
.wallet-send-form .field-hint { margin-top: -2px; }
.wallet-preset-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.wallet-preset-row .preset-button { min-height: 46px; align-items: center; text-align: center; }
.wallet-preset-row .preset-button span { color: var(--dim); font: 10px var(--mono); }
.wallet-sender-field { padding: 15px 20px; border-bottom: 1px solid var(--line); }
.wallet-warning { margin: 0 24px 24px; }
.wallet-result-card { min-height: 310px; padding: 20px; }
.wallet-result-card > .panel-kicker { margin-bottom: 19px; }
.wallet-result-card h2 { margin: 0 0 7px; font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.wallet-result-card > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.wallet-result-card form { margin-top: 10px; }
.wallet-result-message { margin-top: 18px; padding: 12px; color: var(--warning); border: 1px solid rgba(240, 198, 109, .3); border-radius: 7px; background: rgba(240, 198, 109, .06); font: 11px/1.5 var(--mono); }
.demo-result-icon.failed, .demo-result-icon.review { color: var(--red); border-color: rgba(255, 142, 142, .35); background: rgba(255, 142, 142, .06); }
.demo-result-icon.review { color: var(--warning); border-color: rgba(240, 198, 109, .4); background: rgba(240, 198, 109, .06); }
.demo-result-icon.processing { color: var(--warning); border-color: rgba(240, 198, 109, .4); background: rgba(240, 198, 109, .06); }
.wallet-processing-spinner { width: 18px; height: 18px; display: block; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
.wallet-result-details { display: grid; gap: 8px; margin: 19px 0 14px; }
.wallet-result-details > div { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 7px; background: rgba(9, 12, 20, .52); }
.wallet-result-details span { color: var(--dim); font: 10px var(--mono); }
.wallet-result-details code, .wallet-result-details strong { min-width: 0; color: var(--text); overflow-wrap: anywhere; font-size: 10px; }
.wallet-result-details strong { color: var(--gold); font: 500 12px var(--mono); }
.wallet-result-details .copy-button { padding: 5px 7px; }
.wallet-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-block: 24px 70px; border-top: 1px solid var(--line); }
.wallet-how > div { display: grid; gap: 8px; }
.wallet-how strong { color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.5; }
.wallet-history { padding-block: 24px 70px; border-top: 1px solid var(--line); }
.wallet-history-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 20px; }
.wallet-history-heading h2 { margin: 9px 0 0; font-size: 28px; font-weight: 500; letter-spacing: -.04em; }
.wallet-history-heading p { max-width: 480px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.wallet-history-list { display: grid; gap: 10px; }
.wallet-history-item { padding: 20px 22px; border: 1px solid var(--line); border-radius: 10px; background: rgba(18, 26, 39, .72); }
.wallet-history-item-head { display: flex; align-items: start; justify-content: space-between; gap: 15px; }
.wallet-history-item-head h3 { margin: 4px 0 0; font-size: 16px; font-weight: 500; }
.wallet-history-date { color: var(--dim); font: 10px var(--mono); }
.wallet-history-grid { display: grid; grid-template-columns: 1fr 1fr .6fr 1.2fr; gap: 14px; margin-top: 18px; }
.wallet-history-grid > div { min-width: 0; }
.wallet-history-grid span { display: block; margin-bottom: 5px; color: var(--dim); font: 10px var(--mono); }
.wallet-history-grid code, .wallet-history-grid strong { display: block; overflow-wrap: anywhere; color: var(--text); font-size: 11px; }
.wallet-history-grid strong { color: var(--gold); font: 500 12px var(--mono); }
.wallet-history-error, .wallet-history-protected { display: flex; align-items: flex-start; gap: 7px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--warning); font-size: 11px; line-height: 1.45; }
.wallet-history-error .icon, .wallet-history-protected .icon { flex: 0 0 auto; margin-top: 2px; }
.wallet-history-protected { color: var(--violet); }
.wallet-history-funds { color: var(--green); }
.wallet-history-item form { margin-top: 14px; }
.wallet-history-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.treasury-head { padding-bottom: 34px; }
.treasury-live { color: var(--green); }
.treasury-paused { color: var(--warning); }
.treasury-error { margin-bottom: 18px; }
.treasury-unconfigured { min-height: 300px; margin-bottom: 70px; padding: 45px; display: grid; place-content: center; justify-items: center; text-align: center; }
.treasury-unconfigured h2 { margin: 14px 0 8px; font-size: 24px; font-weight: 500; }
.treasury-unconfigured p { max-width: 490px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.treasury-metrics { margin-bottom: 12px; }
.treasury-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: 12px; }
.treasury-address-body { padding: 23px 24px 25px; }
.treasury-address-body > p { max-width: 490px; margin: 0 0 19px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.treasury-address-box { align-items: flex-start; margin-bottom: 16px; }
.treasury-address-box code { overflow-wrap: anywhere; white-space: normal; }
.treasury-address-body > .text-link { color: var(--gold); font-size: 12px; }
.treasury-boundary { display: flex; align-items: flex-start; gap: 8px; margin-top: 24px; padding-top: 17px; color: var(--violet); border-top: 1px solid var(--line); font: 10px/1.5 var(--mono); }
.treasury-boundary .icon { flex: 0 0 auto; }
.treasury-settings-card .stack-form { gap: 16px; }
.toggle-label { min-height: 48px; position: relative; display: flex !important; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.toggle-label strong, .toggle-label small { display: block; }
.toggle-label strong { font-size: 13px; }
.toggle-label small { margin-top: 3px; color: var(--dim); font-size: 10px; font-weight: 400; }
.toggle-label input { width: 1px; height: 1px; position: absolute; opacity: 0; }
.toggle-label i { width: 39px; height: 22px; position: relative; flex: 0 0 auto; display: block; border: 1px solid var(--line-strong); border-radius: 20px; background: #0c111b; transition: background .2s ease, border-color .2s ease; }
.toggle-label i::after { width: 14px; height: 14px; content: ""; position: absolute; top: 3px; left: 3px; border-radius: 50%; background: var(--dim); transition: transform .2s ease, background .2s ease; }
.toggle-label input:checked + i { border-color: rgba(85, 213, 155, .5); background: rgba(85, 213, 155, .15); }
.toggle-label input:checked + i::after { background: var(--green); transform: translateX(17px); }
.cell-link { display: inline-flex !important; align-items: center; gap: 4px; margin-top: 4px; color: var(--gold); font-size: 10px; }
.treasury-warning { margin-bottom: 70px; }

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

@media (max-width: 1100px) {
  .main-nav { position: relative; flex: 0 0 auto; order: 2; }
  .main-nav-panel { width: min(300px, calc(100vw - 32px)); position: absolute; top: calc(100% + 9px); right: 0; z-index: 12; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 8px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface); box-shadow: 14px 18px 32px rgba(0, 0, 0, .35); }
  .main-nav.is-open .main-nav-panel { display: flex; }
  .nav-toggle { min-height: 42px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; color: var(--text); border: 1px solid var(--line-strong); border-radius: 7px; background: rgba(18, 26, 39, .7); font-size: 12px; }
  .nav-toggle:hover, .main-nav.is-open .nav-toggle { color: var(--gold); border-color: var(--gold); }
  .nav-primary, .nav-merchant { width: 100%; display: flex; align-items: stretch; flex-direction: column; gap: 2px; }
  .nav-merchant { margin-top: 7px; padding-top: 7px; border-top: 1px solid var(--line); }
  .nav-divider { display: none; }
  .main-nav a, .nav-logout { width: 100%; min-height: 44px; justify-content: flex-start; padding: 8px 10px; border-radius: 5px; }
  .main-nav a:hover, .main-nav a.is-active { background: rgba(245, 184, 61, .08); text-shadow: none; }
  .nav-logout-form { width: 100%; }
  .topbar-actions { order: 3; margin-left: auto; }
}

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; gap: 45px; padding-block: 82px 70px; }
  .hero-visual { max-width: 560px; margin-left: auto; width: 100%; }
  .split-section { gap: 55px; }
  .feature-section { grid-template-columns: 1fr 1fr; }
  .feature-card-large { grid-column: 1 / -1; min-height: 290px; }
  .dashboard-grid, .recovery-grid, .checkout-shell { grid-template-columns: 1fr; gap: 18px; }
  .room-side { padding-top: 0; }
  .checkout-shell { padding-block: 55px 80px; }
  .product-eyebrow { margin-top: 45px; }
  .receipt-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .topbar, .section-wrap, .site-footer, .flash-stack { width: min(calc(100% - 32px), var(--content)); }
  .topbar { min-height: 64px; gap: 12px; }
  .network-pill { font-size: 10px; }
  .hero { min-height: auto; padding-block: 65px 58px; }
  .hero h1 { font-size: clamp(39px, 11vw, 57px); }
  .hero-lede { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { justify-content: center; }
  .hero-visual { min-height: 390px; }
  .settlement-card { padding: 20px; transform: none; }
  .settlement-rule { margin-inline: -20px; }
  .settlement-amount { font-size: 43px; }
  .visual-stamp { bottom: 15px; left: 0; }
  .proof-strip { align-items: start; flex-direction: column; padding-block: 23px; gap: 15px; }
  .split-section { padding-block: 85px 70px; grid-template-columns: 1fr; gap: 27px; }
  .split-section h2, .steps-section h2, .closing-cta h2 { font-size: 36px; }
  .feature-section { grid-template-columns: 1fr; }
  .feature-card-large { grid-column: auto; }
  .feature-card { min-height: 320px; }
  .steps-section { padding-block: 85px; }
  .steps-heading { display: block; }
  .steps-grid { grid-template-columns: 1fr; margin-top: 38px; }
  .step, .step + .step { min-height: auto; padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .step h3 { margin-top: 22px; }
  .closing-cta { padding-block: 62px; grid-template-columns: 1fr; gap: 27px; }
  .cta-side { padding: 0; }
  .site-footer { min-height: 120px; align-items: start; flex-direction: column; gap: 12px; padding-block: 23px; }
  .footer-note { margin: 0; }
  .dashboard-head { padding-block: 55px 31px; align-items: start; flex-direction: column; gap: 22px; }
  .dashboard-status { align-items: start; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric { min-height: 125px; padding: 16px; }
  .metric strong { font-size: 29px; }
  .panel-heading { padding-inline: 18px; }
  .stack-form { padding-inline: 18px; }
  .form-footnote { padding-inline: 18px; }
  .product-row { align-items: start; flex-direction: column; gap: 13px; padding-inline: 18px; }
  .product-main span { max-width: 240px; }
  .product-actions { width: 100%; justify-content: space-between; }
  .orders-panel { margin-bottom: 50px; }
  .checkout-shell { padding-block: 45px 65px; }
  .checkout-card, .side-card { padding: 20px; }
  .checkout-intro h1 { font-size: 46px; }
  .price-lockup { font-size: 48px; margin-top: 31px; }
  .checkout-trust { grid-template-columns: 1fr; gap: 14px; padding-block: 20px; }
  .room-header { align-items: start; flex-direction: column; gap: 17px; }
  .room-header h1 { font-size: 35px; }
  .payment-panel { padding: 20px; }
  .payment-amount { font-size: 48px; }
  .address-box { align-items: start; flex-direction: column; }
  .address-box .copy-button { width: 100%; }
  .claim-banner { align-items: start; flex-direction: column; }
  .claim-code { align-items: stretch; flex-direction: column; }
  .claim-code .copy-button { margin: 0; justify-content: center; }
  .recovery-hero { padding-block: 57px 36px; align-items: start; flex-direction: column; gap: 29px; }
  .recovery-hero h1 { font-size: 44px; }
  .recovery-hero p { font-size: 16px; }
  .recovery-grid { padding-bottom: 35px; }
  .recovery-result { min-height: 420px; padding: 22px; }
  .recovery-form-panel { min-height: auto; }
  .result-placeholder { min-height: 330px; }
  .status-summary > div { grid-template-columns: 1fr; gap: 6px; }
  .warning-band { margin-bottom: 50px; }
  .receipt-shell { padding-block: 58px 75px; }
  .receipt-header { align-items: start; flex-direction: column; }
  .receipt-header h1 { font-size: 45px; }
  .receipt-grid { grid-template-columns: 1fr; margin-top: 43px; }
  .transaction-proof { align-items: start; flex-direction: column; padding: 20px; }
  .transaction-proof .button { width: 100%; }
  .empty-page { min-height: 520px; }
  .empty-page h1 { font-size: 40px; }
  .login-shell { min-height: 560px; padding-block: 60px; grid-template-columns: 1fr; gap: 35px; }
  .login-intro h1 { font-size: 45px; }
}

@media (max-width: 920px) {
  .product-page { grid-template-columns: 1fr; grid-template-areas: "copy" "art"; gap: 28px; padding-block: 32px 38px; }
  .product-art-column { height: 360px; min-height: 360px; max-width: 530px; margin-inline: auto; width: 100%; }
  .product-copy { max-width: 700px; }
  .product-copy .back-link { margin-bottom: 45px; }
  .product-detail-strip { grid-template-columns: repeat(3, 1fr); }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-side { padding-top: 0; }
}

@media (max-width: 680px) {
  .product-page { grid-template-areas: "copy" "art"; padding-block: 22px 28px; gap: 24px; }
  .product-art-column { height: 250px; min-height: 250px; }
  .ebook-cover { width: min(100%, 170px); }
  .cover-kicker { margin-top: 28px; }
  .product-art-caption { right: 0; bottom: 4px; font-size: 10px; }
  .product-copy h1 { margin-top: 10px; font-size: clamp(39px, 11vw, 52px); }
  .product-copy .product-description { font-size: 14px; line-height: 1.55; }
  .product-purchase-row { align-items: flex-start; flex-direction: column; gap: 9px; margin-top: 17px; }
  .product-cta-form { margin-top: 17px; }
  .product-cta { width: 100%; }
  .product-secondary { padding-block: 12px 22px; }
  .product-secondary .benefit-list { grid-template-columns: 1fr; gap: 14px; }
  .product-detail-strip { grid-template-columns: 1fr; gap: 18px; padding-block: 21px; }
  .product-detail-strip strong { max-width: 100%; }
  .checkout-page { padding-block: 20px 38px; }
  .checkout-nav-row { align-items: start; flex-direction: column; gap: 12px; }
  .checkout-grid { gap: 14px; padding-top: 18px; }
  .checkout-product-summary { grid-template-columns: 96px minmax(0, 1fr); align-items: start; gap: 14px; padding: 14px; }
  .checkout-product-summary .ebook-cover-small { width: 96px; flex-basis: 96px; padding: 10px 8px 8px; }
  .ebook-cover-small .cover-kicker { margin-top: 16px; }
  .ebook-cover-small .cover-title { font-size: 10px; }
  .checkout-product-summary h1 { margin-top: 5px; font-size: 27px; }
  .checkout-product-summary p { font-size: 12px; }
  .checkout-summary-price { margin-top: 9px; font-size: 17px; }
  .checkout-summary-price span { font-size: 22px; }
  .checkout-payment-card { padding: 15px; }
  .checkout-payment-card h2 { font-size: 22px; }
  .checkout-payment-card .address-box { align-items: stretch; flex-direction: column; gap: 10px; }
  .checkout-payment-card .address-box .copy-button { width: 100%; }
  .checkout-code-block .claim-code { align-items: stretch; flex-direction: column; gap: 8px; }
  .checkout-code-block .claim-code .copy-button { width: 100%; margin-left: 0; }
  .checkout-payment-card .payment-actions { align-items: stretch; flex-direction: column; gap: 10px; }
  .checkout-payment-card .payment-actions .button { width: 100%; }
  .checkout-payment-card .payment-network { justify-content: center; }
}

@media (max-width: 920px) {
  .demo-hero { align-items: start; flex-direction: column; padding-block: 58px 35px; }
  .demo-network-card { min-width: 0; }
  .demo-layout { grid-template-columns: 1fr; }
  .demo-result-column { grid-row: auto; }
  .wallet-hero { align-items: start; flex-direction: column; padding-block: 42px 24px; }
  .wallet-layout { grid-template-columns: 1fr; }
  .wallet-result-column { grid-row: auto; }
  .treasury-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .demo-hero { padding-block: 45px 28px; }
  .demo-hero h1 { font-size: 42px; }
  .demo-hero p { font-size: 14px; }
  .demo-start { min-height: 410px; padding: 30px 22px; }
  .demo-start h2 { font-size: 25px; }
  .demo-start .button { width: 100%; }
  .demo-layout { padding-bottom: 32px; }
.copy-field, .demo-order-summary, .demo-send-form { padding-inline: 18px; }
  .demo-private-note { margin-inline: 18px; }
  .demo-order-summary > div { align-items: flex-start; flex-wrap: wrap; }
  .demo-order-summary code { max-width: calc(100% - 55px); }
  .preset-row { grid-template-columns: 1fr; }
  .merchant-code-card, .demo-result-card { padding-inline: 18px; }
  .secret-code { align-items: stretch; flex-direction: column; }
  .secret-code .copy-button { justify-content: center; }
  .transaction-id > div { align-items: stretch; flex-direction: column; }
  .transaction-id .button, .transaction-id .copy-button { width: 100%; justify-content: center; }
  .demo-how { grid-template-columns: 1fr; gap: 17px; padding-block: 21px 50px; }
  .wallet-hero { padding-block: 34px 20px; }
  .wallet-hero h1 { font-size: 38px; }
  .wallet-hero p { font-size: 14px; }
  .wallet-header-action, .wallet-header-action .button { width: 100%; }
  .wallet-start { min-height: 170px; padding: 22px 18px; }
  .wallet-layout { padding-bottom: 32px; }
  .wallet-form-header { align-items: flex-start; flex-direction: column; padding-inline: 18px; }
  .wallet-sender-field, .wallet-send-form { padding-inline: 18px; }
  .wallet-preset-row { grid-template-columns: repeat(2, 1fr); }
  .wallet-warning { margin-inline: 18px; }
  .wallet-result-card { padding-inline: 18px; }
  .wallet-result-details > div { grid-template-columns: 1fr; gap: 6px; }
  .wallet-result-details .copy-button { width: 100%; justify-content: center; }
  .wallet-history { padding-bottom: 50px; }
  .wallet-history-heading { align-items: start; flex-direction: column; gap: 12px; }
  .wallet-history-grid { grid-template-columns: 1fr; gap: 12px; }
  .wallet-history-item { padding-inline: 18px; }
  .wallet-how { grid-template-columns: 1fr; gap: 17px; padding-block: 21px 50px; }
  .treasury-unconfigured { min-height: 270px; margin-bottom: 50px; padding: 30px 20px; }
  .treasury-address-body { padding-inline: 18px; }
  .treasury-settings-card .stack-form { padding-inline: 18px; }
  .treasury-warning { margin-bottom: 50px; }
}

/* Interactive demo guide */
.demo-guide { position: relative; isolation: isolate; background: radial-gradient(circle at 78% 7%, rgba(113, 87, 217, .1), transparent 29rem); }
.demo-guide-hero { min-height: 650px; padding-block: 80px 76px; display: grid; grid-template-columns: minmax(0, .91fr) minmax(420px, .87fr); align-items: center; gap: 76px; }
.demo-guide-hero h1 { max-width: 650px; margin: 24px 0 18px; font-size: clamp(48px, 6vw, 78px); line-height: 1.02; letter-spacing: -.07em; font-weight: 500; text-wrap: balance; }
.demo-guide-lede { max-width: 540px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.6; }
.demo-guide-note { display: flex; align-items: center; gap: 9px; margin: 24px 0 0; color: var(--gold-soft); font: 11px var(--mono); }
.demo-guide-note-icon { width: 24px; height: 24px; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(245, 184, 61, .35); border-radius: 50%; background: rgba(245, 184, 61, .08); }
.demo-guide-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 35px; }
.demo-guide-hero-visual { min-height: 470px; position: relative; display: grid; place-items: center; }
.demo-guide-orbit { position: absolute; border: 1px solid rgba(245, 184, 61, .28); border-radius: 50%; pointer-events: none; }
.demo-guide-orbit-one { width: 360px; height: 360px; right: 5%; top: 5%; box-shadow: 0 0 0 22px rgba(245, 184, 61, .025), 0 0 0 45px rgba(245, 184, 61, .02); }
.demo-guide-orbit-two { width: 180px; height: 180px; right: 29%; top: 24%; border-color: rgba(169, 147, 255, .25); }
.demo-example-card { width: min(100%, 438px); position: relative; z-index: 1; padding: 24px; border: 1px solid var(--line-strong); border-radius: 13px; background: rgba(18, 26, 39, .97); box-shadow: 18px 22px 0 rgba(70, 57, 147, .13), 0 35px 80px rgba(0, 0, 0, .3); transform: rotate(1.2deg); }
.demo-example-topline, .demo-example-head, .demo-example-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.demo-example-badge { color: var(--dim); font: 10px var(--mono); text-align: right; }
.demo-example-head { align-items: flex-start; margin-top: 31px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.demo-example-kicker, .demo-example-head strong { display: block; }
.demo-example-kicker { margin-bottom: 7px; color: var(--dim); font: 10px var(--mono); }
.demo-example-head strong { font-size: 17px; font-weight: 500; }
.demo-example-status { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; padding: 5px 8px; color: var(--green); border: 1px solid rgba(85, 213, 155, .28); border-radius: 5px; background: rgba(85, 213, 155, .06); font: 10px var(--mono); }
.demo-math { margin: 0; padding: 18px 0 8px; }
.demo-math-row { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 9px 0; color: var(--muted); font-size: 13px; }
.demo-math-row dt, .demo-math-row dd { margin: 0; }
.demo-math-row dd { color: var(--text); font: 500 16px var(--mono); font-variant-numeric: tabular-nums; }
.demo-math-row dd small { color: var(--dim); font-size: 10px; }
.demo-math-row-received dd { color: var(--gold-soft); }
.demo-math-rule { display: flex; align-items: center; gap: 4px; margin: 6px 0 2px; }
.demo-math-rule span { height: 2px; flex: 1; background: var(--line-strong); }
.demo-math-rule span:last-child { flex: 0 0 22px; background: var(--gold); }
.demo-math-row-refund { margin: 3px -10px 0; padding: 15px 10px; color: var(--gold-soft); border: 1px solid rgba(245, 184, 61, .34); border-radius: 8px; background: rgba(245, 184, 61, .09); }
.demo-math-row-refund dt { display: flex; align-items: center; gap: 8px; }
.demo-math-row-refund dd { color: var(--gold); font-size: 24px; letter-spacing: -.05em; }
.demo-refund-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(245, 184, 61, .12); }
.demo-example-foot { align-items: flex-start; margin-top: 16px; padding-top: 15px; color: var(--dim); border-top: 1px solid var(--line); font: 10px/1.4 var(--mono); }
.demo-example-foot span:first-child { display: flex; align-items: flex-start; gap: 7px; color: var(--violet); }
.demo-example-foot span:last-child { color: var(--green); text-align: right; }
.demo-example-callout { position: absolute; z-index: 2; right: -4px; bottom: 28px; display: flex; align-items: center; gap: 9px; max-width: 230px; padding: 11px 13px; color: var(--gold-soft); border: 1px solid rgba(245, 184, 61, .27); border-radius: 7px; background: rgba(20, 25, 38, .94); font: 11px/1.35 var(--mono); transform: rotate(-3deg); }
.demo-example-callout span { color: var(--gold); }
.demo-guide-signal { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); }
.demo-guide-signal > div { display: flex; align-items: center; gap: 13px; font-size: 13px; }
.demo-guide-signal-number { color: var(--gold); font: 500 11px var(--mono); }
.demo-guide-section { padding-block: 130px 100px; scroll-margin-top: 24px; }
.demo-guide-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, .68fr); align-items: end; gap: 70px; }
.demo-guide-section-heading h2 { max-width: 610px; margin: 20px 0 0; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.1; letter-spacing: -.05em; font-weight: 500; text-wrap: balance; }
.demo-guide-section-heading > p { max-width: 390px; margin: 0 0 5px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.demo-lifecycle { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 61px; }
.demo-lifecycle::before { content: ""; position: absolute; z-index: -1; top: 24px; right: 8%; left: 8%; border-top: 1px dashed rgba(245, 184, 61, .38); }
.demo-step { min-width: 0; padding: 0 22px 0 0; }
.demo-step + .demo-step { padding-left: 22px; border-left: 1px solid var(--line); }
.demo-step-index { width: 49px; height: 49px; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(245, 184, 61, .5); border-radius: 50%; background: var(--bg); font: 500 12px var(--mono); }
.demo-step-body { min-height: 350px; display: flex; flex-direction: column; margin-top: 25px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.demo-step-icon { width: 39px; height: 39px; display: grid; place-items: center; margin-bottom: 29px; color: var(--gold); border: 1px solid rgba(245, 184, 61, .4); border-radius: 8px; }
.demo-step-icon-violet { color: var(--violet); border-color: rgba(169, 147, 255, .4); }
.demo-step-icon-gold { color: var(--gold-soft); border-color: rgba(255, 225, 160, .45); }
.demo-step-icon-green { color: var(--green); border-color: rgba(85, 213, 155, .4); }
.demo-step-kicker { color: var(--dim); font: 10px var(--mono); letter-spacing: .05em; }
.demo-step h3 { margin: 10px 0 11px; font-size: 20px; line-height: 1.2; font-weight: 500; }
.demo-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.demo-step-detail { margin-top: 11px !important; color: var(--dim) !important; font-size: 11px !important; line-height: 1.5 !important; }
.demo-step-link { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 26px; color: var(--gold); font-size: 12px; font-weight: 600; }
.demo-step-link:hover { color: var(--gold-soft); }
.demo-benefit-section { padding-top: 30px; }
.demo-benefit-heading { padding-top: 100px; border-top: 1px solid var(--line); }
.demo-compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 48px; }
.demo-compare-card { padding: 26px 28px 29px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.demo-compare-without { background: linear-gradient(135deg, rgba(255, 142, 142, .055), var(--surface)); }
.demo-compare-with { border-color: rgba(85, 213, 155, .28); background: linear-gradient(135deg, rgba(85, 213, 155, .08), var(--surface)); }
.demo-compare-heading { display: flex; align-items: center; gap: 11px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.demo-compare-heading h3 { margin: 0; font-size: 17px; font-weight: 500; }
.demo-compare-mark { width: 25px; height: 25px; display: grid; place-items: center; color: var(--red); border: 1px solid rgba(255, 142, 142, .32); border-radius: 50%; font: 16px var(--mono); }
.demo-compare-with .demo-compare-mark { color: var(--green); border-color: rgba(85, 213, 155, .35); }
.demo-compare-card ul { display: grid; gap: 13px; margin: 21px 0 0; padding: 0; list-style: none; }
.demo-compare-card li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.demo-compare-card li::before { content: ""; width: 5px; height: 5px; flex: 0 0 auto; margin-top: 7px; border-radius: 50%; background: var(--dim); }
.demo-compare-with li::before { background: var(--green); }
.demo-guide-close { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 70px; padding-block: 80px 105px; border-top: 1px solid var(--line); }
.demo-guide-close h2 { margin: 21px 0 0; font-size: clamp(33px, 4vw, 50px); line-height: 1.1; letter-spacing: -.05em; font-weight: 500; }
.demo-guide-close h2 span { color: var(--gold); }
.demo-guide-close > p { max-width: 350px; margin: 0 0 5px; color: var(--muted); font-size: 14px; line-height: 1.65; }

@media (max-width: 1020px) {
  .demo-guide-hero { grid-template-columns: minmax(0, .95fr) minmax(360px, .85fr); gap: 45px; }
  .demo-example-card { width: min(100%, 410px); }
  .demo-step-body { padding: 19px; }
  .demo-step + .demo-step { padding-left: 15px; }
  .demo-step { padding-right: 15px; }
}

@media (max-width: 820px) {
  .demo-guide-hero { min-height: 0; grid-template-columns: 1fr; gap: 52px; padding-block: 61px 66px; }
  .demo-guide-hero-copy { max-width: 680px; }
  .demo-guide-hero-visual { min-height: 430px; }
  .demo-guide-section-heading, .demo-guide-close { grid-template-columns: 1fr; gap: 25px; }
  .demo-guide-section-heading > p, .demo-guide-close > p { max-width: 560px; }
  .demo-lifecycle { grid-template-columns: repeat(2, 1fr); gap: 39px 0; }
  .demo-lifecycle::before { display: none; }
  .demo-step:nth-child(3) { border-left: 0; padding-left: 0; }
  .demo-step:nth-child(odd) { padding-right: 18px; }
  .demo-step:nth-child(even) { padding-left: 18px; padding-right: 0; }
  .demo-step-body { min-height: 330px; }
  .demo-benefit-heading { padding-top: 75px; }
}

@media (max-width: 580px) {
  .demo-guide-hero { padding-block: 45px 50px; }
  .demo-guide-hero h1 { font-size: 47px; }
  .demo-guide-lede { font-size: 16px; }
  .demo-guide-note { align-items: flex-start; line-height: 1.45; }
  .demo-guide-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .demo-guide-actions .button { width: 100%; }
  .demo-guide-hero-visual { min-height: 390px; margin-inline: -4px; }
  .demo-guide-orbit-one { width: 290px; height: 290px; right: 0; }
  .demo-guide-orbit-two { width: 145px; height: 145px; right: 25%; }
  .demo-example-card { padding: 19px; transform: none; }
  .demo-example-head { gap: 10px; margin-top: 24px; }
  .demo-example-head strong { font-size: 15px; }
  .demo-example-badge { max-width: 122px; line-height: 1.35; }
  .demo-example-foot { align-items: flex-start; flex-direction: column; gap: 7px; }
  .demo-example-foot span:last-child { text-align: left; }
  .demo-example-callout { right: 0; bottom: 0; font-size: 10px; }
  .demo-guide-signal { align-items: flex-start; flex-direction: column; gap: 15px; padding-block: 20px; }
  .demo-guide-section { padding-block: 85px 70px; }
  .demo-guide-section-heading h2 { font-size: 36px; }
  .demo-lifecycle { grid-template-columns: 1fr; gap: 18px; margin-top: 40px; }
  .demo-lifecycle::before { display: block; top: 25px; right: auto; bottom: 25px; left: 24px; border-top: 0; border-left: 1px dashed rgba(245, 184, 61, .38); }
  .demo-step, .demo-step:nth-child(odd), .demo-step:nth-child(even), .demo-step + .demo-step, .demo-step:nth-child(3) { display: grid; grid-template-columns: 49px minmax(0, 1fr); gap: 16px; padding: 0; border: 0; }
  .demo-step-body { min-height: 0; margin-top: 0; padding: 19px; }
  .demo-step-index { position: relative; z-index: 1; }
  .demo-step-icon { margin-bottom: 21px; }
  .demo-step-link { margin-top: 24px; padding-top: 0; }
  .demo-benefit-section { padding-top: 8px; }
  .demo-benefit-heading { padding-top: 68px; }
  .demo-compare-grid { grid-template-columns: 1fr; margin-top: 35px; }
  .demo-compare-card { padding-inline: 20px; }
  .demo-guide-close { gap: 21px; padding-block: 69px 82px; }
}

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