/* ───────────── Fonts (bundled, OFL) ───────────── */
@font-face { font-family: "Work Sans"; src: url("assets/fonts/work-sans-latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("assets/fonts/source-sans-3-latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

/* ───────────── Tokens: NOWPayments website (dark) ───────────── */
:root {
  --bg: #0f0f14;
  --surface: #17171c;
  --surface-2: #1f1f23;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #ffffff;
  --text-2: #b1b1b1;
  --text-3: #8a8a92; /* ≥4.5:1 on --bg and LK surfaces */
  --orange: #f2572b;
  --orange-hover: #ff6539;

  /* white block */
  --l-bg: #ffffff;
  --l-surface: #f8f8f8;
  --l-line: #f0f0f0;
  --l-text: #0f0f14;
  --l-text-2: #545454;

  /* account (LK) in dark */
  --lk-bg: #141418;
  --lk-surface: #1f1f23;
  --lk-surface-2: #25262a;
  --lk-line: #2e2f34;
  --lk-blue: #4f78ff;
  --lk-blue-soft: rgba(79, 120, 255, .14);
  --lk-green: #5fd08b;
  --lk-green-soft: rgba(95, 208, 139, .12);

  --f-head: "Work Sans", -apple-system, "Segoe UI", sans-serif;
  --f-body: "Source Sans 3", "Source Sans Pro", -apple-system, "Segoe UI", sans-serif;

  --pad: clamp(20px, 5.6vw, 80px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --card-grad: linear-gradient(160deg, #1e1e23 0%, #141418 70%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.4 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: left; }
img { display: block; }
:focus { outline: none; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 12px; }
.lk :focus-visible { outline-color: var(--lk-blue); }
.btn:focus-visible, .nav-btn:focus-visible, .lk-btn:focus-visible { border-radius: 999px; }

/* ───────────── Deck shell ───────────── */
.deck { height: 100vh; height: 100dvh; display: grid; grid-template-rows: 80px 1fr 80px; }

.top, .bottom {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  transition: color .4s var(--ease), background .4s var(--ease);
}
.brands { display: flex; align-items: center; gap: 16px; }
.np-logo { display: block; height: 24px; width: auto; }
.x { color: var(--text-3); font: 400 20px/1 var(--f-head); }
.partner-logo { height: 22px; width: auto; transition: filter .4s; }
.top-meta { display: flex; align-items: center; gap: 24px; font: 500 14px/1 var(--f-head); color: var(--text-2); }
.counter b { color: var(--text); font-weight: 600; }

.bottom { border-top: 1px solid var(--line); margin: 0 var(--pad); padding: 0; gap: 32px; }
.hint { min-width: 240px; font: 500 14px/18px var(--f-head); color: var(--text-3); }
.progress { flex: 1; max-width: 480px; display: flex; gap: 8px; }
.progress button { flex: 1; height: 24px; position: relative; }
.progress button::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; border-radius: 2px; background: var(--line-strong); transition: background .3s; }
.progress button.is-done::before { background: var(--text-2); }
.progress button.is-active::before { background: var(--orange); }
.nav { display: flex; gap: 8px; min-width: 240px; justify-content: flex-end; }
.nav-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .2s, border-color .2s, opacity .2s; }
.nav-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-btn:hover { border-color: var(--text); }
.nav-btn--primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.nav-btn--primary:hover { background: var(--orange-hover); border-color: var(--orange-hover); }
.nav-btn:disabled { opacity: .3; pointer-events: none; }

/* ───────────── Slides ───────────── */
main { position: relative; }
.slide {
  position: absolute; inset: -80px 0 -80px; /* bleed under header/footer */
  padding: 80px 0;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden; background: var(--bg);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s;
  transform: translateX(calc(var(--dir, 1) * 32px));
}
.slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s; }
.slide.is-leaving { transform: translateX(calc(var(--dir, 1) * -32px)); }

.wrap { position: relative; z-index: 2; width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.slide.is-active .reveal { opacity: 1; transform: none; }
.slide.is-active .reveal:nth-child(2) { transition-delay: .08s; }
.slide.is-active .reveal:nth-child(3) { transition-delay: .16s; }
.slide.is-active .reveal:nth-child(4) { transition-delay: .24s; }

/* type */
h1, h2 { font: 600 clamp(36px, 3.9vw, 56px)/1.07 var(--f-head); letter-spacing: -.01em; }
h3 { font: 600 20px/24px var(--f-head); }
.lead { margin-top: 16px; max-width: 560px; font-size: 20px; line-height: 24px; color: var(--text-2); }
.num { font: 500 14px/18px var(--f-head); color: var(--text-3); }
.footnote { margin-top: 16px; font-size: 14px; line-height: 18px; color: var(--text-3); max-width: 640px; }

/* button — DS buttons-landing / primary / L
   Two layers. Bottom: orange pill with white text — it never changes.
   Top: a white pill parked off the left edge, only its round head (the 40px circle with the arrow) visible.
   On hover the white pill slides out over the orange one; its arrow turns ↗ → →. Nothing fades. */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center;
  height: 40px; padding: 0 20px 0 52px;
  border-radius: 999px; background: var(--orange); color: #fff;
  font: 600 20px/24px var(--f-head); text-decoration: none; white-space: nowrap;
}
.btn-cover {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 0 0 20px;
  border-radius: 999px; background: #fff; color: var(--orange-hover);
  transform: translateX(calc(-100% + 40px));
  transition: transform .45s var(--ease);
}
.btn-arrow {
  flex: none; width: 40px; height: 40px; background: var(--orange); /* 20px arrow centred in the 40px round head */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M8 7h9v9'/%3E%3C/svg%3E") center/20px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M8 7h9v9'/%3E%3C/svg%3E") center/20px no-repeat;
  transition: transform .45s var(--ease), background .45s;
}
.btn:hover .btn-cover, .btn:focus-visible .btn-cover { transform: none; }
.btn:hover .btn-arrow, .btn:focus-visible .btn-arrow { transform: rotate(45deg); background: var(--orange-hover); }

/* slide head: title, description under it, content far below */
.slide-head { max-width: 820px; }
.slide-head + * { margin-top: 56px; }

/* cards */
.card {
  position: relative;
  background: var(--card-grad);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 32px;
}
.card p { margin-top: 8px; font-size: 16px; line-height: 20px; color: var(--text-2); }
.card--white { background: #fff; color: var(--l-text); border-color: #fff; }
.card--white p { color: var(--l-text-2); }
.card--white .num { color: var(--l-text-2); }

/* pixel motif */
.pixels { position: absolute; inset: 0; z-index: 0; display: grid; grid-template-columns: repeat(auto-fill, 48px); grid-auto-rows: 48px; gap: 2px; pointer-events: none;
  -webkit-mask: radial-gradient(120% 80% at 50% 50%, transparent 35%, #000 85%); mask: radial-gradient(120% 80% at 50% 50%, transparent 35%, #000 85%); }
.pixels i { background: #1c1c21; opacity: 0; transition: opacity 1.2s ease; }
.pixels--soft { opacity: .6; }

/* ───────────── 01 hero ───────────── */
.hero-art {
  position: absolute; z-index: 1; right: 0; top: 0; width: min(60vw, 1040px); height: auto;
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 40%), linear-gradient(180deg, transparent 0%, #000 18%, #000 60%, transparent 100%); -webkit-mask-composite: source-in;
  mask: linear-gradient(90deg, transparent 0%, #000 40%) intersect, linear-gradient(180deg, transparent 0%, #000 18%, #000 60%, transparent 100%);
  opacity: .9;
}
.hero-text { max-width: 760px; }
.equation { display: grid; grid-template-columns: 1fr 24px 1fr 24px 1fr 24px 1fr; align-items: stretch; gap: 8px; }
.equation .card { display: flex; flex-direction: column; padding: 28px; }
.equation .card h3 { margin-top: 16px; }
.op { align-self: center; text-align: center; font: 400 24px/1 var(--f-head); color: var(--text-3); }

/* ───────────── 02 lister + email ───────────── */
.retention { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; align-items: start; }
.lister { display: flex; flex-direction: column; gap: 16px; }
.lister-item { display: flex; flex-direction: column; gap: 8px; }
.lister-title { display: inline-flex; align-items: center; gap: 12px; font: 500 36px/40px var(--f-head); color: var(--text-3); transition: color .25s; }
.lister-title::after { content: "→"; font-size: 24px; opacity: 0; transform: translateX(-8px); transition: opacity .2s, transform .2s; }
.lister-item:not(.is-active):hover .lister-title::after { opacity: 1; transform: none; }
.lister-item:hover .lister-title { color: var(--text-2); }
.lister-body { overflow: hidden; max-height: 0; opacity: 0; font-size: 18px; line-height: 22px; color: var(--text-2); transition: max-height .35s var(--ease), opacity .3s; }
.lister-item.is-active .lister-title { color: var(--text); }
.lister-item.is-active .lister-body { opacity: 1; }
.lister-item.is-active .lister-body { max-height: 48px; }

.email { display: flex; flex-direction: column; align-items: flex-start; background: #fff; color: var(--l-text); border-radius: 32px; padding: 32px; transition: opacity .2s; }
.email.is-swapping { opacity: 0; }
.email-from { align-self: stretch; display: flex; align-items: center; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--l-line); }
.email-from img { height: 16px; filter: invert(1); }
.email-from span { margin-left: auto; font-size: 14px; line-height: 18px; color: var(--l-text-2); }
.email h4 { margin-top: 24px; font: 600 24px/28px var(--f-head); }
.email p { margin-top: 8px; margin-bottom: 24px; font-size: 16px; line-height: 20px; color: var(--l-text-2); max-width: 420px; }
.email-btn { display: inline-flex; margin-top: auto; height: 40px; align-items: center; padding: 0 20px; border-radius: 999px; background: var(--l-text); color: #fff; font: 600 16px/1 var(--f-head); }
.email-offer { display: inline-flex; margin: -8px 0 24px; padding: 8px 12px; border-radius: 12px; background: var(--l-surface); font: 600 14px/1 var(--f-head); }

/* ───────────── 03 compare ───────────── */
.compare-row { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; }
.compare-row > * { padding: 12px 24px; border-top: 1px solid var(--line); }
.compare-row--head > * { border-top: 0; padding-top: 20px; font: 500 14px/18px var(--f-head); color: var(--text-3); }
.compare-row--head .cell--np { display: flex; flex-direction: column; gap: 2px; color: var(--text-2); }
.compare-row--head .np-logo { height: 20px; margin-bottom: 4px; }
.cell--np { background: #1b1b20; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.compare-row--head .cell--np { border-radius: 32px 32px 0 0; border-top: 1px solid var(--line); }
.compare-row:last-child .cell--np { border-radius: 0 0 32px 32px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.crit b, .cell b { display: block; font: 600 18px/22px var(--f-head); }
.crit span, .cell span { display: block; margin-top: 2px; font-size: 16px; line-height: 20px; color: var(--text-2); }
.crit span { color: var(--text-3); }
.cell { display: flex; gap: 12px; align-items: flex-start; }
.cell:not(.cell--np) b { color: var(--text-2); }
.ico { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; position: relative; }
.ico--ok { background: var(--orange); }
.ico--ok::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ico--neutral { border: 1.5px solid var(--text-3); }
.ico--neutral::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 1.5px; transform: translate(-50%, -50%); background: var(--text-3); }

/* ───────────── 04 flow ───────────── */
.flow { display: grid; grid-template-columns: 1fr 32px 1fr 32px 1fr 32px 1fr; align-items: center; }
.flow-node { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border-radius: 24px; border: 1px solid var(--line); background: var(--card-grad); transition: border-color .25s, color .25s; }
.flow-node b { margin-top: 8px; font: 600 20px/24px var(--f-head); }
.flow-node > span:last-child { font-size: 16px; color: var(--text-2); }
.flow-node:hover { border-color: var(--line-strong); }
.flow-node.is-active { background: #fff; color: var(--l-text); border-color: #fff; }
.flow-node.is-active .num { color: var(--l-text-2); }
.flow-node.is-active > span:last-child { color: var(--l-text-2); }
.flow-arrow { height: 1.5px; background: var(--text-3); position: relative; margin: 0 8px; }
.flow-arrow::after { content: ""; position: absolute; right: 0; top: -6px; width: 12px; height: 12px; border: solid var(--text-2); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.flow-detail { margin-top: 16px; display: grid; grid-template-columns: 4fr 7fr; gap: 24px; align-items: start; }
.flow-copy h3 { font-size: 24px; line-height: 28px; }
.flow-copy p { margin-top: 12px; font-size: 18px; line-height: 22px; color: var(--text-2); }
.flow-copy .footnote { font-size: 14px; }
#flow-copy, #flow-mock { transition: opacity .2s; }
.is-swapping { opacity: 0 !important; }

/* ───────────── Account (LK) dark mock ───────────── */
.lk { background: var(--lk-bg); border: 1px solid var(--lk-line); border-radius: 20px; overflow: hidden; font-family: var(--f-head); box-shadow: 0 24px 64px rgba(0,0,0,.4); }
.lk-bar { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 20px; border-bottom: 1px solid var(--lk-line); font-size: 14px; color: var(--text-2); }
.lk-bar b { color: var(--text); font-weight: 600; font-size: 16px; }
.lk-bar .lk-url { margin-left: auto; color: var(--text-3); font-family: var(--f-body); }
.lk-body { padding: 20px; display: grid; gap: 12px; }
.lk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lk-card { background: var(--lk-surface); border-radius: 12px; padding: 16px; }
.lk-label { font-size: 12px; font-weight: 500; color: var(--text-3); }
.lk-value { margin-top: 4px; font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.lk-sub { margin-top: 2px; font: 400 14px/18px var(--f-body); color: var(--text-2); }
.lk-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--lk-surface); border-radius: 12px; font-size: 14px; }
.lk-row .r { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lk-row .muted { color: var(--text-2); font-family: var(--f-body); }
.lk-avatar { width: 28px; height: 28px; border-radius: 8px; background: var(--lk-surface-2); display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--text-2); }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font: 500 12px/1 var(--f-head); }
.tag--green { background: var(--lk-green-soft); color: var(--lk-green); }
.tag--blue { background: var(--lk-blue-soft); color: var(--lk-blue); }
.tag--gray { background: var(--lk-surface-2); color: var(--text-2); }
/* DS buttons-account: pill; primary #3962ea → hover #4f78ff → active #173fc1; secondary = outline */
.lk-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border-radius: 999px; background: #3962ea; color: #fff; font: 600 18px/22px var(--f-head); width: 100%; transition: opacity .2s, background .2s, color .2s, border-color .2s; }
.lk-btn:hover { background: #4f78ff; }
.lk-btn:active { background: #173fc1; }
.lk-btn--outline { background: none; border: 1.5px solid #4f78ff; color: #4f78ff; }
.lk-btn--outline:hover { background: none; border-color: #6a8cff; color: #6a8cff; }
.lk-plan { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--lk-line); }
.lk-plan.is-sel { border-color: var(--lk-blue); background: var(--lk-blue-soft); }
.lk-plan .r { margin-left: auto; font-weight: 600; }
.lk-route { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.lk-route i { flex: 1; height: 1px; background: var(--lk-line); }

/* checkout */
.lk--checkout { max-width: 480px; display: flex; flex-direction: column; }
.lk--checkout .lk-body { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.lk--checkout #pay { margin-top: auto; }
.co-amount { text-align: center; padding: 8px 0 4px; }
.co-amount .lk-value { font-size: 36px; margin-top: 4px; }
.co-method { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--lk-line); cursor: pointer; transition: border-color .2s, background .2s; width: 100%; }
.co-method.is-sel { border-color: var(--lk-blue); background: var(--lk-blue-soft); }
.co-method .radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--text-3); position: relative; flex: none; }
.co-method.is-sel .radio { border-color: var(--lk-blue); }
.co-method.is-sel .radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--lk-blue); }
.co-method b { font-size: 14px; font-weight: 500; }
.co-method .r { margin-left: auto; }
.co-check { display: flex; gap: 12px; align-items: flex-start; font: 400 14px/18px var(--f-body); color: var(--text-2); cursor: pointer; }
.co-check input { accent-color: var(--lk-blue); margin-top: 2px; width: 16px; height: 16px; }
.lk-btn:disabled { opacity: .4; pointer-events: none; }
.lk [tabindex="-1"] { cursor: default; pointer-events: none; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.co-success { text-align: center; padding: 12px 0 4px; }
.co-tick { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: var(--lk-green-soft); display: grid; place-items: center; animation: pop .4s var(--ease); }
.co-tick svg { width: 28px; height: 28px; stroke: var(--lk-green); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.co-success h4 { margin-top: 16px; font: 600 24px/28px var(--f-head); }
.co-success p { margin-top: 4px; font: 400 16px/20px var(--f-body); color: var(--text-2); }
.co-lines { display: grid; gap: 0; background: var(--lk-surface); border-radius: 12px; padding: 16px; }
.co-lines div { display: flex; justify-content: space-between; padding: 12px 0; font-size: 14px; border-bottom: 1px solid var(--lk-line); }
.co-lines div:first-child { padding-top: 0; }
.co-lines div:last-child { border: 0; padding-bottom: 0; }
.co-lines span { color: var(--text-2); font-family: var(--f-body); }
.co-replay { text-align: center; font: 500 14px/1 var(--f-head); color: var(--text-2); padding: 4px; width: 100%; }
.co-replay:hover { color: var(--text); }

/* steps */
.next-step { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.next-step .btn { margin-top: 24px; }
.next-step .footnote { margin-top: 16px; }
.steps { list-style: none; display: grid; }
.steps li { display: flex; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps b { display: block; font: 600 18px/22px var(--f-head); }
.steps span:not(.num) { display: block; margin-top: 2px; font-size: 16px; color: var(--text-2); }
.steps .num { width: 24px; padding-top: 2px; }

/* ───────────── Responsive ───────────── */
@media (max-height: 820px) and (min-width: 1001px) {
  h1, h2 { font-size: 36px; line-height: 40px; }
  .equation .card { padding: 24px; }
  .lister-title { font-size: 24px; line-height: 28px; }
  .email { padding: 24px; }
  .email h4 { margin-top: 16px; font-size: 24px; }
  .slide-head + * { margin-top: 32px; }
  .slide-head { max-width: none; }
  .footnote { max-width: none; }
  .lead { font-size: 18px; line-height: 22px; max-width: 900px; }
  .co-lines { padding: 12px 16px; }
  .co-lines div { padding: 8px 0; }
  .co-success { padding: 0; }
  .co-tick { width: 40px; height: 40px; }
  .co-tick svg { width: 20px; height: 20px; }
  .co-success h4 { margin-top: 8px; font-size: 20px; line-height: 24px; }
  .co-amount { padding: 0; }
  .co-amount .lk-value { font-size: 24px; }
  .compare-row > * { padding-top: 8px; padding-bottom: 8px; }
  .compare-row--head > * { padding-top: 16px; }
  .compare-row:last-child .cell--np { padding-bottom: 16px; }
  .steps li { padding: 12px 0; }
  .lk-body { padding: 16px; gap: 8px; }
  .lk-bar { height: 40px; }
  .flow-node { padding: 12px 16px; border-radius: 20px; }
  .flow-node b { font-size: 18px; line-height: 22px; margin-top: 4px; }
  .lk-plan { padding: 8px 16px; }
  .lk-plan .lk-sub, .lk-row .lk-sub { display: none; }
  .lk-row { padding: 8px 16px; }
  .lk-card { padding: 12px 16px; }
}

@media (max-width: 1000px) {
  body { overflow: auto; }
  .deck { height: auto; min-height: 100vh; grid-template-rows: 64px 1fr 72px; }
  .top-label { display: none; }
  .slide { position: relative; inset: auto; padding: 32px 0 48px; display: none; transform: none !important; }
  .slide.is-active { display: block; }
  .retention, .flow-detail, .next-step { grid-template-columns: 1fr; gap: 24px; }
  .equation { grid-template-columns: 1fr 1fr; gap: 12px; }
  .op { display: none; }
  .flow { grid-template-columns: 1fr 1fr; gap: 12px; }
  .flow-arrow { display: none; }
  .hero-art { width: 100%; top: 0; opacity: .5; }
  .lk--checkout { margin: 0; max-width: none; }
  .bottom { position: sticky; bottom: 0; background: var(--bg); }
  .hint { display: none; }
  .progress button { height: 44px; }
  .progress button::before { top: 21px; }
  .nav { min-width: 0; }
}
@media (max-width: 700px) {
  .brands { gap: 12px; }
  .np-logo { height: 18px; }
  .partner-logo { height: 16px; }
  .equation { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; gap: 8px; }
  .flow-node { padding: 12px 16px; border-radius: 20px; }
  .flow-node b { font-size: 16px; line-height: 20px; margin-top: 4px; }
  .flow-node > span:last-child { font-size: 14px; }
  /* compare: each row = criterion on top, Today | nowpayments side by side */
  .compare-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 8px; }
  .compare-row--head .np-logo { max-width: 100%; height: auto; }
  .compare-row > * { padding: 12px 16px; }
  .compare-row .crit { grid-column: 1 / -1; padding: 16px 0 8px; }
  .compare-row--head .crit { display: none; }
  .compare-row--head > * { padding-top: 0; }
  .cell, .cell--np { border-top: 0; flex-direction: column; gap: 8px; }
  .cell { border-radius: 16px; background: rgba(255,255,255,.03); }
  .cell--np, .compare-row--head .cell--np, .compare-row:last-child .cell--np { border: 1px solid var(--line); border-radius: 16px; padding-bottom: 12px; }
  .compare-row--head .cell, .compare-row--head .cell--np { background: none; border: 0; }
  .crit span { display: none; }
  .lister-title { font-size: 24px; line-height: 28px; }
  .card { padding: 24px; border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .slide, .reveal { transform: none !important; }
}
