:root {
  --color-bg: #000;
  --color-surface: #0c0c0c;
  --color-surface-raised: #151515;
  --color-line: rgba(255, 255, 255, 0.07);
  --color-line-strong: rgba(255, 255, 255, 0.14);
  --color-text: #f4f4ef;
  --color-muted: #8b8b85;
  --color-accent: #c6ff3d;
  --color-accent-ink: #0a0d02;
  --color-accent-soft: rgba(198, 255, 61, 0.12);
  --color-green-start: #a8e22a;
  --color-green-end: #1fd65f;

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-ui: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;

  --page-max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-space: clamp(88px, 12vw, 168px);
  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 28px;
  --radius-pill: 999px;
  --header-height: 68px;

  --ease-out: cubic-bezier(0.22, 0.7, 0.18, 1);
  --duration-reveal: 900ms;
  --reveal-stagger: 90ms;
  --focus-ring: 0 0 0 2px var(--color-bg), 0 0 0 4px var(--color-accent);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

code,
pre {
  font-family: var(--font-mono);
}

::selection {
  background: var(--color-accent);
  color: var(--color-accent-ink);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-s);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  color: currentColor;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-accent-ink);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 200ms var(--ease-out);
}

.skip-link:focus-visible {
  transform: none;
}

.container {
  width: 100%;
  max-width: calc(var(--page-max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.scroll-sentinel {
  position: absolute;
  top: 0;
  height: 1px;
  width: 1px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 300ms var(--ease-out), border-color 300ms var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.72);
  border-bottom-color: var(--color-line);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
}

.brand-mark {
  width: 30px;
  height: 30px;
  color: var(--color-accent);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.site-nav {
  display: none;
  gap: 4px;
  margin-left: auto;
}

.site-nav a,
.footer-nav a {
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  color: var(--color-muted);
  font-size: 15px;
  transition: color 200ms var(--ease-out), background-color 200ms var(--ease-out);
}

.site-nav a:hover,
.footer-nav a:hover {
  color: var(--color-text);
  background: var(--color-surface-raised);
}

.header-inner > .button {
  margin-left: auto;
}

.button {
  --button-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--button-height);
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 240ms var(--ease-out), background-color 240ms var(--ease-out), border-color 240ms var(--ease-out), color 240ms var(--ease-out);
}

.button:focus-visible {
  border-radius: var(--radius-pill);
}

.button:active {
  transform: scale(0.97);
}

.button-primary {
  background: var(--color-accent);
  color: var(--color-accent-ink);
}

.button-primary:hover {
  background: #d4ff6b;
}

.button-primary .icon {
  transition: transform 240ms var(--ease-out);
}

.button-primary:hover .icon {
  transform: translateX(2px);
}

.button-compact {
  --button-height: 40px;
  padding: 0 16px;
  font-size: 15px;
}

.button-hero {
  --button-height: 60px;
  padding: 0 30px;
  font-size: 17px;
}

.button-ghost {
  background: var(--color-surface);
  border-color: var(--color-line-strong);
  color: var(--color-text);
}

.button-ghost:hover {
  background: var(--color-surface-raised);
  border-color: rgba(198, 255, 61, 0.4);
}

.button-ghost .icon {
  color: var(--color-accent);
}

.hero {
  position: relative;
  display: grid;
  gap: 40px;
  overflow-x: clip;
  padding-top: clamp(24px, 5vw, 56px);
  padding-bottom: clamp(48px, 7vw, 96px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 6.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-line {
  display: block;
}

.hero-title em {
  font-style: normal;
  color: var(--color-accent);
}

.hero-lead {
  max-width: 34em;
  color: var(--color-muted);
  font-size: clamp(17px, 1.4vw, 19px);
}

.cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.cta-secondary .button {
  --button-height: 72px;
  flex-direction: column;
  gap: 8px;
  padding: 0 6px;
  border-radius: var(--radius-m);
  font-size: 14px;
  font-weight: 500;
}

.cta-secondary .button:focus-visible {
  border-radius: var(--radius-m);
}

.hero-stage {
  --mark-x: 0.5;
  --mark-y: 0.2;
  --mark-size: 290px;
  --phone-scale: 0.8;
  position: relative;
  height: 680px;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.hero-stage.is-dragging {
  cursor: grabbing;
}

.stage-glow {
  position: absolute;
  left: calc(var(--mark-x) * 100%);
  top: calc(var(--mark-y) * 100%);
  width: calc(var(--mark-size) * 1.9);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(198, 255, 61, 0.2), rgba(31, 214, 95, 0.06) 55%, transparent);
  pointer-events: none;
}

.stage-fallback,
.stage-canvas {
  position: absolute;
  pointer-events: none;
}

.stage-fallback {
  left: calc(var(--mark-x) * 100%);
  top: calc(var(--mark-y) * 100%);
  width: var(--mark-size);
  height: var(--mark-size);
  translate: -50% -50%;
  color: var(--color-accent);
  transition: opacity 600ms var(--ease-out);
}

.stage-canvas {
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 900ms var(--ease-out);
}

.hero-stage.is-rendering .stage-canvas {
  opacity: 1;
}

.hero-stage.is-rendering .stage-fallback {
  opacity: 0;
}

.phone {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: calc(300px * var(--phone-scale));
  font-size: calc(16px * var(--phone-scale));
  translate: -50% 0;
  padding: 0.55em;
  border-radius: 3.1em;
  background: linear-gradient(160deg, #2a2a2a, #0d0d0d 40%, #1c1c1c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 40px 80px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.6);
}

.phone-screen {
  display: flex;
  flex-direction: column;
  gap: 1.1em;
  height: 38.4em;
  overflow: hidden;
  padding: 0.75em 1em 0;
  border-radius: 2.6em;
  background: radial-gradient(120% 40% at 50% 12%, rgba(198, 255, 61, 0.1), transparent 70%), #000;
  font-size: 1em;
}

.phone-status {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.2em 0.6em 0;
  font-size: 0.8em;
  font-weight: 600;
}

.phone-island {
  width: 6.2em;
  height: 1.9em;
  border-radius: var(--radius-pill);
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone-battery {
  justify-self: end;
  width: 1.7em;
  height: 0.85em;
  border-radius: 0.25em;
  border: 1.5px solid rgba(244, 244, 239, 0.7);
  background: linear-gradient(90deg, var(--color-text) 70%, transparent 70%) content-box;
  padding: 1.5px;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-profile {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.25em 0.75em 0.25em 0.25em;
  border-radius: var(--radius-pill);
  background: var(--color-surface-raised);
  font-size: 0.85em;
  font-weight: 600;
}

.app-avatar {
  display: grid;
  place-items: center;
  width: 1.9em;
  height: 1.9em;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-accent-ink);
  font-size: 0.85em;
}

.app-icon-button {
  display: grid;
  place-items: center;
  width: 2.2em;
  height: 2.2em;
  border-radius: 50%;
  background: var(--color-surface-raised);
  color: var(--color-muted);
}

.app-icon-button .icon {
  width: 1.1em;
  height: 1.1em;
}

.app-balance {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3em;
  padding: 1.2em 0 0.4em;
}

.app-balance-label {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  color: var(--color-muted);
  font-size: 0.8em;
}

.app-balance-label .icon {
  width: 1em;
  height: 1em;
}

.app-balance-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.5em;
  letter-spacing: -0.04em;
  line-height: 1;
}

.app-balance-value span {
  color: var(--color-muted);
}

.app-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4em;
}

.app-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45em;
  font-size: 0.68em;
  color: var(--color-muted);
}

.app-action-icon {
  display: grid;
  place-items: center;
  width: 3.9em;
  height: 3.9em;
  border-radius: 50%;
  background: var(--color-surface-raised);
  color: var(--color-text);
}

.app-action-icon .icon {
  width: 1.8em;
  height: 1.8em;
}

.app-action.is-accent .app-action-icon {
  background: var(--color-accent);
  color: var(--color-accent-ink);
}

.app-section-head {
  display: flex;
  justify-content: space-between;
  padding-top: 0.3em;
  font-weight: 600;
  font-size: 0.95em;
}

.app-link {
  color: var(--color-accent);
  font-weight: 500;
  font-size: 0.85em;
}

.app-assets {
  display: flex;
  flex-direction: column;
  border-radius: 1.1em;
  background: var(--color-surface);
  box-shadow: inset 0 0 0 1px var(--color-line);
}

.app-asset {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7em;
  padding: 0.75em 0.85em;
}

.app-asset + .app-asset {
  border-top: 1px solid var(--color-line);
}

.app-asset-name,
.app-asset-amount {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 0.85em;
  line-height: 1.3;
}

.app-asset-amount {
  align-items: flex-end;
  font-variant-numeric: tabular-nums;
}

.app-asset small {
  color: var(--color-muted);
  font-weight: 400;
  font-size: 0.85em;
}

.coin {
  display: grid;
  place-items: center;
  width: 2.4em;
  height: 2.4em;
  border-radius: 50%;
  color: #fff;
}

.coin svg {
  width: 100%;
  height: 100%;
}

.coin-gram {
  background: radial-gradient(circle at 38% 32%, #2fb2ff, #0077d9);
}

.coin-usdt {
  background: radial-gradient(circle at 38% 32%, #3cc59a, #14876a);
}

.coin-not {
  background: #f4f4ef;
  color: #000;
}

.app-tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: auto -1em 0;
  padding: 0.7em 0.6em 1.4em;
  border-top: 1px solid var(--color-line);
  background: rgba(12, 12, 12, 0.9);
}

.app-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25em;
  font-size: 0.62em;
  color: var(--color-muted);
}

.app-tab .icon {
  width: 2em;
  height: 2em;
}

.app-tab.is-active {
  color: var(--color-accent);
}

.stage-toast {
  position: absolute;
  left: 0;
  top: 46%;
  z-index: 3;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 2px;
  padding: 12px 18px 12px 12px;
  border-radius: var(--radius-m);
  background: rgba(21, 21, 21, 0.82);
  box-shadow: inset 0 0 0 1px var(--color-line-strong), 0 24px 48px -16px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-size: 13px;
}

.stage-toast-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-green-start), var(--color-green-end));
  color: var(--color-accent-ink);
}

.stage-toast-text {
  display: flex;
  flex-direction: column;
  color: var(--color-muted);
  line-height: 1.3;
}

.stage-toast-text strong {
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.stage-toast-fee {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-accent);
}

.section {
  padding-top: var(--section-space);
}

.section-head {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.assets-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.03em;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
  max-width: 15em;
}

.section-lead {
  max-width: 36em;
  color: var(--color-muted);
  font-size: clamp(17px, 1.4vw, 19px);
}

.bento {
  display: grid;
  gap: 12px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-l);
  background: var(--color-surface);
  box-shadow: inset 0 0 0 1px var(--color-line);
  overflow: hidden;
}

.tile-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tile-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.tile-title,
.feature-title,
.step-title,
.extra-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.tile-text,
.feature-text,
.step-text,
.extra-text {
  color: var(--color-muted);
  font-size: 16px;
}

.tile-send {
  gap: 32px;
  background: radial-gradient(90% 70% at 100% 100%, rgba(31, 214, 95, 0.22), transparent 70%), radial-gradient(60% 60% at 80% 110%, rgba(168, 226, 42, 0.25), transparent 70%), var(--color-surface);
}

.transfer-demo {
  display: grid;
  gap: 8px;
}

.transfer-field {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-m);
  background: rgba(0, 0, 0, 0.55);
  box-shadow: inset 0 0 0 1px var(--color-line);
}

.transfer-label {
  color: var(--color-muted);
  font-size: 14px;
}

.transfer-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.transfer-amount {
  font-size: clamp(26px, 3vw, 36px);
}

.transfer-amount small {
  font-size: 0.5em;
  color: var(--color-muted);
}

.transfer-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--radius-m);
  background: var(--color-accent);
  color: var(--color-accent-ink);
  font-weight: 600;
}

.transfer-check {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-accent-ink);
  color: var(--color-accent);
}

.transfer-check .icon {
  width: 16px;
  height: 16px;
}

.transfer-fee {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
}

.swap-demo {
  position: relative;
  display: grid;
  gap: 6px;
}

.swap-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-m);
  background: var(--color-surface-raised);
}

.swap-side {
  color: var(--color-muted);
  font-size: 14px;
}

.swap-asset {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.swap-toggle {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 4px solid var(--color-surface);
  background: var(--color-accent);
  color: var(--color-accent-ink);
}

.swap-toggle .icon {
  width: 18px;
  height: 18px;
}

.tile-figure {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 4.2vw, 60px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--color-accent);
}

.tile-figure small {
  font-size: 0.3em;
  letter-spacing: 0;
  color: var(--color-muted);
}

.tile-figure-hero {
  margin-top: auto;
  font-size: clamp(96px, 12vw, 168px);
  line-height: 0.8;
}

.tile-figure-hero small {
  max-width: 11em;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.split {
  display: grid;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

.split-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.split-copy > .button {
  align-self: flex-start;
}

.feature-pair {
  display: grid;
  gap: 28px;
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--color-line);
}

.feature {
  display: grid;
  gap: 12px;
  align-content: start;
}

.tickets {
  --invoice-shift: 16%;
  position: relative;
  display: grid;
  justify-items: start;
  padding: 12px 8px;
}

.ticket {
  --ticket-notch: 14px;
  --ticket-cut: 168px;
  position: relative;
  width: min(84%, 340px);
  border-radius: var(--radius-l);
  -webkit-mask: radial-gradient(circle at 0 var(--ticket-cut), transparent var(--ticket-notch), #000 calc(var(--ticket-notch) + 0.5px)) left / 51% 100% no-repeat, radial-gradient(circle at 100% var(--ticket-cut), transparent var(--ticket-notch), #000 calc(var(--ticket-notch) + 0.5px)) right / 51% 100% no-repeat;
  mask: radial-gradient(circle at 0 var(--ticket-cut), transparent var(--ticket-notch), #000 calc(var(--ticket-notch) + 0.5px)) left / 51% 100% no-repeat, radial-gradient(circle at 100% var(--ticket-cut), transparent var(--ticket-notch), #000 calc(var(--ticket-notch) + 0.5px)) right / 51% 100% no-repeat;
}

.ticket-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: var(--ticket-cut);
  padding: 22px 26px;
}

.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ticket-kind {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticket-mark {
  width: 24px;
  height: 24px;
}

.ticket-amount {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.ticket-amount small {
  font-size: 0.42em;
  letter-spacing: 0;
}

.ticket-note {
  font-size: 15px;
}

.ticket-stub {
  display: grid;
  gap: 10px;
  padding: 18px 26px 22px;
  border-top: 2px dashed currentColor;
  border-top-color: color-mix(in srgb, currentColor 22%, transparent);
}

.ticket-check {
  rotate: -4deg;
  background: var(--color-accent);
  color: var(--color-accent-ink);
}

.ticket-check .ticket-note {
  opacity: 0.72;
}

.ticket-progress {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 500;
}

.ticket-count {
  font-family: var(--font-mono);
}

.ticket-bar {
  height: 6px;
  border-radius: var(--radius-pill);
  background: rgba(10, 13, 2, 0.16);
  overflow: hidden;
}

.ticket-bar span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: var(--color-accent-ink);
}

.ticket-invoice {
  z-index: 1;
  margin-top: -6px;
  translate: var(--invoice-shift) 0;
  rotate: 3deg;
  background: var(--color-surface-raised);
  color: var(--color-text);
  box-shadow: inset 0 0 0 1px var(--color-line-strong);
}

.ticket-invoice .ticket-mark {
  color: var(--color-accent);
}

.ticket-invoice .ticket-note {
  color: var(--color-muted);
}

.ticket-button {
  display: grid;
  place-items: center;
  height: 46px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-accent-ink);
  font-weight: 600;
}

.channels {
  position: relative;
  display: grid;
  gap: 48px;
  padding: clamp(28px, 5vw, 72px);
  border-radius: calc(var(--radius-l) + 8px);
  background: radial-gradient(70% 90% at 100% 0%, rgba(198, 255, 61, 0.08), transparent 70%), var(--color-surface);
  box-shadow: inset 0 0 0 1px var(--color-line);
  overflow: hidden;
}

.channels-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.channels .section-title {
  font-size: clamp(30px, 3.8vw, 54px);
}

.steps {
  display: grid;
  margin-top: 8px;
}

.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding-block: 22px;
  border-top: 1px solid var(--color-line);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--color-accent);
  padding-top: 4px;
}

.step-title {
  margin-bottom: 6px;
}

.step-title code {
  padding: 2px 8px;
  border-radius: 8px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-size: 0.82em;
}

.channel-card {
  align-self: center;
  justify-self: center;
  display: grid;
  gap: 18px;
  width: min(100%, 360px);
  padding: 24px;
  border-radius: var(--radius-l);
  background: #000;
  box-shadow: inset 0 0 0 1px var(--color-line-strong), 0 40px 80px -30px rgba(198, 255, 61, 0.18);
}

.channel-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.channel-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-surface-raised);
  color: var(--color-accent);
  box-shadow: inset 0 0 0 1px var(--color-line-strong);
}

.channel-name {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
}

.channel-name small {
  color: var(--color-muted);
  font-weight: 400;
  font-size: 14px;
}

.channel-plan {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding: 20px;
  border-radius: var(--radius-m);
  background: var(--color-surface);
}

.channel-price {
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.channel-period {
  color: var(--color-muted);
}

.channel-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 4px;
  font-size: 15px;
}

.toggle {
  position: relative;
  width: 44px;
  height: 26px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
}

.toggle span {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent-ink);
}

.channel-button {
  display: grid;
  place-items: center;
  height: 52px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-accent-ink);
  font-weight: 600;
}

.api-features {
  display: grid;
  gap: 2px;
}

.api-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 14px;
  border-bottom: 1px solid var(--color-line);
  font-weight: 500;
}

.api-features .icon {
  color: var(--color-accent);
}

.api-fee {
  display: flex;
  align-items: center;
  gap: 18px;
}

.api-fee-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--color-accent);
}

.api-fee-label {
  max-width: 14em;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.4;
}

.code-window {
  min-width: 0;
  border-radius: var(--radius-l);
  background: var(--color-surface);
  box-shadow: inset 0 0 0 1px var(--color-line-strong), 0 60px 120px -40px rgba(198, 255, 61, 0.14);
  overflow: hidden;
}

.code-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 20px;
  border-bottom: 1px solid var(--color-line);
}

.code-file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-muted);
}

.code-file .icon {
  color: var(--color-accent);
}

.code-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-surface-raised);
  color: var(--color-text);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out);
}

.code-copy:hover {
  background: #1f1f1f;
}

.code-copy:focus-visible {
  border-radius: var(--radius-pill);
}

.code-copy.is-copied {
  color: var(--color-accent);
}

.code-copy .icon {
  width: 16px;
  height: 16px;
}

.code-body {
  margin: 0;
  padding: clamp(20px, 3vw, 32px);
  overflow-x: auto;
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.8;
  color: var(--color-text);
  tab-size: 2;
}

.tok-cmd {
  color: var(--color-accent);
}

.tok-url {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: var(--color-line-strong);
  text-underline-offset: 4px;
}

.tok-flag {
  color: var(--color-muted);
}

.tok-str {
  color: #b9e8ff;
}

.extras {
  display: grid;
  border-top: 1px solid var(--color-line);
}

.extra {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  row-gap: 6px;
  padding-block: 28px;
  border-bottom: 1px solid var(--color-line);
}

.extra .icon {
  grid-row: span 2;
  width: 26px;
  height: 26px;
  color: var(--color-accent);
}

.assets {
  padding-top: var(--section-space);
}

.assets-head {
  margin-bottom: 28px;
}

.marquee {
  display: flex;
  overflow: hidden;
  border-block: 1px solid var(--color-line);
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  flex: none;
  align-items: center;
  padding-block: clamp(24px, 4vw, 40px);
}

.ticker {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding-inline: clamp(20px, 3vw, 40px);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: var(--color-text);
}

.ticker::after {
  content: "";
  align-self: center;
  width: 0.28em;
  height: 0.28em;
  margin-left: clamp(20px, 3vw, 40px);
  border-radius: 50%;
  background: var(--color-accent);
}

.ticker small {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--color-muted);
}

.final-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: clamp(56px, 9vw, 120px) clamp(20px, 5vw, 64px);
  border-radius: calc(var(--radius-l) + 8px);
  background: radial-gradient(60% 70% at 50% 0%, rgba(198, 255, 61, 0.14), transparent 70%), var(--color-surface);
  box-shadow: inset 0 0 0 1px var(--color-line);
  text-align: center;
  overflow: hidden;
}

.final-mark {
  width: clamp(64px, 8vw, 96px);
  height: clamp(64px, 8vw, 96px);
  margin-bottom: 8px;
  color: var(--color-accent);
  filter: drop-shadow(0 0 40px rgba(198, 255, 61, 0.45));
}

.final-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
  max-width: 12em;
}

.final-lead {
  max-width: 32em;
  color: var(--color-muted);
  font-size: clamp(17px, 1.4vw, 19px);
}

.cta-group-center {
  width: 100%;
  max-width: 520px;
  margin-top: 8px;
}

.site-footer {
  margin-top: var(--section-space);
  border-top: 1px solid var(--color-line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-block: 32px calc(32px + env(safe-area-inset-bottom));
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-inline: -12px;
}

.footer-note {
  color: var(--color-muted);
  font-size: 14px;
}

.js [data-reveal] {
  opacity: 0;
  translate: 0 24px;
  transition: opacity var(--duration-reveal) var(--ease-out), translate var(--duration-reveal) var(--ease-out);
  transition-delay: calc(var(--reveal-step, 0) * var(--reveal-stagger));
}

.js [data-reveal].is-visible {
  opacity: 1;
  translate: 0 0;
}

.js .ticket-check[data-reveal] {
  translate: 0 40px;
}

.js .ticket-invoice[data-reveal] {
  translate: var(--invoice-shift) 56px;
}

.js .ticket-invoice[data-reveal].is-visible {
  translate: var(--invoice-shift) 0;
}

.js .ticket-check[data-reveal].is-visible {
  translate: 0 0;
}

.marquee.is-animated .marquee-track {
  animation: marquee-scroll var(--marquee-duration, 40s) linear infinite;
}

@keyframes marquee-scroll {
  to {
    transform: translateX(-100%);
  }
}

@media (min-width: 560px) {
  .cta-group {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .cta-secondary {
    display: flex;
    flex-wrap: wrap;
  }

  .cta-secondary .button {
    --button-height: 52px;
    flex-direction: row;
    padding: 0 20px;
    border-radius: var(--radius-pill);
    font-size: 15px;
  }

  .cta-secondary .button:focus-visible {
    border-radius: var(--radius-pill);
  }

  .cta-group-center {
    flex-direction: column;
    max-width: none;
  }

  .cta-group-center .cta-secondary {
    justify-content: center;
  }

  .hero-stage {
    --mark-size: 340px;
    --phone-scale: 0.9;
    height: 760px;
  }

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

  .tile-send,
  .tile-swap {
    grid-column: span 2;
  }

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

@media (min-width: 900px) {
  .site-nav {
    display: flex;
  }

  .header-inner > .button {
    margin-left: 8px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    min-height: min(860px, calc(100svh - var(--header-height)));
  }

  .hero-stage {
    --mark-x: 0.4;
    --mark-y: 0.4;
    --mark-size: 400px;
    --phone-scale: 0.94;
    height: 680px;
  }

  .phone {
    left: auto;
    right: 0;
    bottom: 10px;
    translate: 0 0;
    rotate: 4deg;
  }

  .stage-toast {
    left: -4%;
    top: auto;
    bottom: 120px;
  }

  .bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto auto;
  }

  .tile-send {
    grid-column: span 2;
    grid-row: span 2;
  }

  .tile-swap {
    grid-column: span 2;
  }

  .tile-deposit,
  .tile-withdraw {
    grid-column: span 1;
  }

  .section-head {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    column-gap: 64px;
    align-items: end;
  }

  .section-head .section-lead {
    padding-bottom: 8px;
  }

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

  .split-code {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

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

  .channels {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
  }

  .extras {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 0;
    border-bottom: 1px solid var(--color-line);
  }

  .extra {
    grid-template-columns: 1fr;
    align-content: start;
    row-gap: 12px;
    padding: 36px 28px 40px;
    border-bottom: 0;
  }

  .extra + .extra {
    border-left: 1px solid var(--color-line);
  }

  .extra .icon {
    grid-row: auto;
    margin-bottom: 12px;
  }
}

@media (min-width: 1200px) {
  .hero-stage {
    --mark-size: 460px;
    --mark-x: 0.42;
    --phone-scale: 1;
    height: 720px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js [data-reveal],
  .js .ticket-check[data-reveal],
  .js .ticket-invoice[data-reveal] {
    transition: opacity 300ms linear;
  }

  .js [data-reveal]:not(.is-visible) {
    translate: none;
  }

  .js .ticket-invoice[data-reveal] {
    translate: var(--invoice-shift) 0;
  }

  .marquee {
    -webkit-mask: none;
    mask: none;
  }

  .marquee-track {
    flex-wrap: wrap;
    flex: 1;
    justify-content: center;
    row-gap: 16px;
  }

  .ticker {
    font-size: clamp(26px, 4.6vw, 64px);
  }
}
