/* KestoPay public site. Brand: ink #0E0F12, lime #C8F542, off-white #F4F4EF.
   Lime is always a fill behind ink, never text or thin lines on a light background. */

:root {
  --ink: #0e0f12;
  --ink-2: #17181c;
  --ink-line: #26282e;
  --ink-sub: #a3a6ad;
  --lime: #c8f542;
  --lime-soft: #eef8c9;
  --lime-text: #4a5c00;
  --bg: #f4f4ef;
  --bg-2: #ecece5;
  --card: #ffffff;
  --line: #e4e4de;
  --sub: #55585f;
  --muted: #8a8d94;
  --red: #e5484d;
  --green: #0e9f6e;
  --radius: 28px;
  --wrap: 1296px;
  --gutter: clamp(16px, 4vw, 48px);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 8px;
}

.dark :focus-visible {
  outline-color: var(--lime);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
}

.skip:focus {
  left: 8px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding-top: clamp(80px, 10vw, 128px);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sub);
}

.dark .eyebrow {
  color: var(--ink-sub);
}

.eyebrow.lime {
  color: var(--lime);
}

.h1 {
  margin: 0;
  font-size: clamp(52px, 8.4vw, 104px);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.h3 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.lead {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--sub);
}

.dark .lead,
.dark .body {
  color: var(--ink-sub);
}

.body {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--sub);
}

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

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

.mark {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.mark::after {
  content: '';
  position: absolute;
  left: -0.06em;
  right: -0.08em;
  bottom: 0.08em;
  height: 0.36em;
  background: var(--lime);
  z-index: -1;
  border-radius: 6px;
  transform-origin: left;
  animation: mark 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.4s both;
}

.dark {
  background: var(--ink);
  color: #fff;
}

.lime-text-dark {
  color: var(--lime);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.15s ease,
    background-color 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: #26282e;
}

.btn-line {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(14, 15, 18, 0.18);
}

.btn-line:hover {
  background: #fff;
}

.dark .btn-line {
  color: #fff;
  border-color: var(--ink-line);
}

.dark .btn-line:hover {
  background: var(--ink-2);
}

.btn-lime {
  background: var(--lime);
  color: var(--ink);
}

.btn-lime:hover {
  background: #d7fa6e;
}

.btn-sm {
  height: 44px;
  padding: 0 20px;
  font-size: 14px;
}

.arrow {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 14px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
}

.pill .tag {
  background: var(--lime);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 800;
}

.badge {
  display: inline-flex;
  align-self: flex-start;
  background: var(--lime);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 800;
}

.chip {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(14, 15, 18, 0.14);
  border-radius: 999px;
  padding: 7px 14px;
  background: #fff;
  white-space: nowrap;
}

.dot {
  display: inline-block;
  vertical-align: middle;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 0 0 3px var(--lime);
  flex-shrink: 0;
  animation: blink 1.6s ease-in-out infinite;
}

.ticks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.5;
}

.ticks li::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-top: 1px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.panel-dark {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  border-radius: 36px;
}

.glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: var(--lime);
  filter: blur(140px);
  opacity: 0.22;
  pointer-events: none;
}

/* ---------- Header ---------- */

.banner {
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 10px 16px;
}

.banner .tag {
  background: var(--lime);
  color: var(--ink);
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 11px;
  font-weight: 800;
  margin-right: 10px;
}

.banner a {
  color: var(--lime);
  font-weight: 700;
  margin-left: 6px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 244, 239, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.header.scrolled {
  border-bottom-color: var(--line);
}

.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 600;
  color: var(--sub);
}

.nav-links a:hover,
.nav-links a[aria-current='page'] {
  color: var(--ink);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  place-items: center;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease;
}

.menu-btn span::before,
.menu-btn span::after {
  content: '';
  position: absolute;
  left: 0;
}

.menu-btn span::before {
  top: -6px;
}

.menu-btn span::after {
  top: 6px;
}

.menu-btn[aria-expanded='true'] span {
  background: transparent;
}

.menu-btn[aria-expanded='true'] span::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-btn[aria-expanded='true'] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 40px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 96px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-copy .lead strong {
  color: var(--ink);
}

.settle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--sub);
  min-height: 30px;
  overflow: hidden;
}

.word {
  display: inline-block;
  color: var(--ink);
  font-weight: 800;
  background: var(--lime);
  border-radius: 8px;
  padding: 1px 10px;
}

.word.swap {
  animation: word 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-art {
  position: relative;
  height: 640px;
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both;
}

.hero-art .glow {
  right: 40px;
  top: 60px;
  width: 420px;
  height: 420px;
  filter: blur(110px);
  opacity: 0.5;
  animation: glow 9s ease-in-out infinite;
}

.preview-tag {
  position: absolute;
  left: 0;
  top: -6px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--sub);
}

/* Browser + dashboard mock */
.browser {
  position: absolute;
  left: 0;
  top: 24px;
  width: 600px;
  max-width: 100%;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 50px 100px -50px rgba(14, 15, 18, 0.45);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  border-bottom: 1px solid #ecece5;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--line);
}

.browser-bar b {
  margin-left: 12px;
  font-weight: 600;
}

.dash {
  display: grid;
  grid-template-columns: 150px 1fr;
  height: 470px;
}

.dash-side {
  background: var(--ink);
  color: var(--ink-sub);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
}

.dash-side strong {
  color: #fff;
  font-weight: 800;
  padding: 0 8px 14px;
}

.dash-side span {
  padding: 8px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
}

.dash-side .on {
  background: var(--ink-line);
  color: #fff;
}

.dash-side b {
  background: var(--lime);
  color: var(--ink);
  border-radius: 999px;
  padding: 0 7px;
  font-size: 11px;
}

.dash-main {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--sub);
}

.dash-head span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.balance {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.balance small {
  font-size: 24px;
  color: var(--muted);
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 90px;
}

.bars span {
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: var(--line);
  transform-origin: bottom;
  animation: grow 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.bars span.hot {
  background: var(--ink);
}

.bars span.top {
  background: var(--lime);
}

.feed {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feed-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  padding: 8px 10px;
  background: var(--bg);
}

.feed-row.new {
  animation: drop 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.feed-ico {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
  background: var(--lime);
  color: var(--ink);
}

.feed-ico.out {
  background: var(--ink);
  color: #fff;
}

.feed-text {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.feed-text strong {
  font-size: 13px;
}

.feed-text span {
  font-size: 11px;
  color: var(--muted);
}

.feed-amt {
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* Phone mock */
.phone {
  width: 300px;
  border-radius: 44px;
  background: var(--ink);
  padding: 10px;
  box-shadow: 0 50px 90px -40px rgba(14, 15, 18, 0.55);
}

.hero-art .phone {
  position: absolute;
  right: 0;
  top: 0;
  animation: float 7s ease-in-out infinite;
}

.screen {
  border-radius: 36px;
  background: var(--bg);
  overflow: hidden;
  height: 600px;
  display: flex;
  flex-direction: column;
}

.screen-top {
  background: var(--ink);
  color: #fff;
  padding: 34px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.screen-top small {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-sub);
}

.screen-top strong {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.screen-top em {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}

.screen-body {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.step {
  display: none;
  flex-direction: column;
  gap: 12px;
  animation: rise 0.45s ease both;
}

.step.on {
  display: flex;
}

.step.center {
  align-items: center;
  text-align: center;
  padding-top: 28px;
  gap: 14px;
}

.pay-btn {
  height: 54px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  background: var(--ink);
  color: #fff;
}

.pay-btn i {
  font-style: normal;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--lime);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 13px;
}

.pay-btn.alt {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  font-weight: 700;
}

.spinner {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 3px solid var(--lime-soft);
}

.spinner::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  border: 3px solid transparent;
  border-top-color: var(--ink);
  animation: spin 1s linear infinite;
}

.check {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: var(--lime);
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 800;
  animation: pop 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.float-card {
  position: absolute;
  left: 380px;
  bottom: 30px;
  background: var(--ink);
  color: #fff;
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 30px 60px -24px rgba(14, 15, 18, 0.55);
  animation: float 6s ease-in-out 0.8s infinite;
}

.float-card .feed-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.float-card span {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: var(--ink-sub);
}

.float-card strong {
  font-size: 14px;
  color: #fff;
}

/* ---------- Marquee ---------- */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 60px;
  animation: marquee 34s linear infinite;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--sub);
  white-space: nowrap;
}

.marquee-track span {
  display: flex;
  align-items: center;
  gap: 14px;
}

.marquee-track span::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--lime);
  transform: rotate(45deg);
}

/* ---------- Kinetic statement ---------- */

.kinetic {
  margin: 0;
  font-size: clamp(36px, 5.6vw, 72px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.055em;
  max-width: 1180px;
}

.kinetic span {
  display: inline-block;
  margin-right: 0.24em;
  opacity: 0.12;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.kinetic span.on {
  opacity: 1;
  transform: none;
}

.kinetic span.hl.on {
  background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Stats ---------- */

.stats {
  padding: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.stats .glow {
  left: -120px;
  bottom: -260px;
  opacity: 0.25;
}

.stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat strong {
  font-size: clamp(56px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--lime);
}

.stat span {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-sub);
}

/* ---------- Product rows ---------- */

.stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.product.dark-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}

.product-copy {
  padding: clamp(32px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
}

.product-art {
  background: var(--bg-2);
  position: relative;
  min-height: 600px;
  overflow: hidden;
}

.dark-card .product-art {
  background: transparent;
}

.dark-card .ticks li {
  color: #fff;
}

.product-art .phone {
  position: absolute;
  width: 270px;
}

.product-art .phone .screen {
  height: 560px;
}

.tilt-l {
  left: 8%;
  top: 60px;
  transform: rotate(-4deg);
}

.tilt-r {
  right: 7%;
  top: 110px;
  transform: rotate(5deg);
}

.qr-box {
  position: relative;
  width: 196px;
  height: 196px;
  background: #fff;
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 10px 30px -18px rgba(14, 15, 18, 0.4);
}

.qr-box .qr-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
}

.address {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--sub);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
}

.order-card {
  margin-top: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--sub);
}

.order-card span {
  display: flex;
  justify-content: space-between;
}

.order-card strong {
  color: var(--ink);
}

/* Payout list */
.payout-art {
  padding: clamp(24px, 4vw, 56px);
  position: relative;
}

.payout-art .glow {
  left: 60px;
  top: 80px;
  width: 360px;
  height: 360px;
  filter: blur(130px);
}

.payout-list {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
  border-radius: 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.payout-list header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-sub);
}

.payout-list header strong {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

.payout-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--ink-line);
  font-size: 15px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--ink-line);
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}

.payout-row .who {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.payout-row .who span {
  font-size: 12px;
  color: var(--ink-sub);
}

.payout-row .amt {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.status {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  border: 1px solid var(--ink-line);
  background: transparent;
  color: var(--ink-sub);
  display: inline-flex;
  align-items: center;
}

button.status {
  cursor: pointer;
  font-family: inherit;
}

.status.go {
  border: 0;
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 0 4px rgba(200, 245, 66, 0.18);
}

.status.done {
  color: var(--lime);
}

/* Wallet split */
.split-art {
  padding: clamp(24px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.incoming {
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.incoming small {
  display: block;
  font-size: 12px;
  color: var(--ink-sub);
  font-weight: 700;
}

.incoming strong {
  font-size: 22px;
}

.incoming span {
  font-size: 13px;
  font-weight: 700;
  color: var(--lime);
}

.down {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
}

.wallets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.wallet {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wallet strong {
  font-size: 13px;
  font-weight: 800;
}

.wallet .sum {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.meter {
  height: 8px;
  border-radius: 99px;
  background: var(--bg-2);
  overflow: hidden;
}

.meter i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--ink);
  transition: width 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.wallet small {
  font-size: 12px;
  color: var(--sub);
}

.held {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--sub);
  padding-top: 6px;
}

.held strong {
  color: var(--ink);
}

/* Segmented control */
.seg {
  display: inline-flex;
  gap: 4px;
  background: var(--bg-2);
  border-radius: 999px;
  padding: 4px;
  align-self: flex-start;
}

.seg button {
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  background: transparent;
  color: var(--sub);
}

.seg button[aria-selected='true'] {
  background: var(--ink);
  color: #fff;
}

/* ---------- Before / after ---------- */

.split-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.split-head > div:not(.seg) {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 820px;
}

#products + .stack {
  padding-top: 40px;
}

.story {
  position: relative;
  height: 640px;
  border-radius: 32px;
  overflow: hidden;
}

.story[hidden] {
  display: none;
}

.mess-board {
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(14, 15, 18, 0.05) 31px 32px),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(14, 15, 18, 0.05) 31px 32px),
    var(--bg-2);
  animation: rise 0.45s ease both;
}

.mess {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 20px 40px -24px rgba(14, 15, 18, 0.35);
  font-size: 14px;
  line-height: 1.45;
  transform: rotate(var(--r, 0deg));
  animation: bob var(--d, 7s) ease-in-out var(--delay, 0s) infinite;
}

.m-chat {
  left: 36px;
  top: 36px;
  width: 340px;
  --r: -3deg;
  --d: 7s;
}

.m-sheet {
  left: 410px;
  top: 26px;
  width: 420px;
  --r: 2deg;
  --d: 8s;
  --delay: 0.6s;
}

.m-shot {
  right: 36px;
  top: 40px;
  width: 300px;
  --r: -2.5deg;
  --d: 6.5s;
  --delay: 1.1s;
}

.m-list {
  left: 48px;
  bottom: 40px;
  width: 340px;
  --r: 2.5deg;
  --d: 7.5s;
  --delay: 0.3s;
}

.m-twice {
  right: 340px;
  bottom: 52px;
  width: 290px;
  --r: -1.5deg;
  --d: 6s;
  --delay: 0.9s;
}

.m-late {
  right: 40px;
  bottom: 40px;
  width: 270px;
  --r: 3deg;
  --d: 8.5s;
  --delay: 1.4s;
}

.mess strong {
  display: block;
}

.m-late strong {
  margin-top: 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.m-twice strong {
  margin-top: 8px;
  font-size: 17px;
}

.mess .mono {
  font-size: 12px;
  color: var(--muted);
}

.mess.red {
  border-color: #f3c9c9;
}

.mess.red .mono {
  color: var(--red);
}

.mess.ink {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.mess.ink .mono,
.mess.ink span {
  color: var(--ink-sub);
}

.bubbles {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
}

.bubbles span {
  align-self: flex-start;
  background: var(--bg-2);
  border-radius: 16px 16px 16px 4px;
  padding: 9px 14px;
}

.bubbles span.me {
  align-self: flex-end;
  background: var(--ink);
  color: #fff;
  border-radius: 16px 16px 4px 16px;
}

.sheet {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  font-family: var(--mono);
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.sheet span {
  padding: 8px 10px;
}

.sheet .th {
  background: var(--bg);
}

.sheet .bad {
  color: var(--red);
}

.sheet .tot {
  border-top: 1px solid var(--line);
  font-weight: 600;
}

.shot {
  margin-top: 12px;
  height: 140px;
  border-radius: 12px;
  background: repeating-linear-gradient(135deg, var(--line) 0 10px, var(--bg-2) 10px 20px);
  display: grid;
  place-items: center;
  color: var(--sub);
  font-size: 13px;
  font-weight: 600;
}

.pings {
  position: absolute;
  left: 50%;
  top: 290px;
  width: 380px;
  margin-left: -190px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}

.ping {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow: 0 16px 30px -20px rgba(14, 15, 18, 0.4);
}

.ping.new {
  animation: drop 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.ping.fade {
  opacity: 0.6;
}

.ping i {
  font-style: normal;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ping div {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.ping strong {
  font-size: 14px;
}

.ping div span {
  font-size: 13px;
  color: var(--sub);
}

.unread {
  align-self: center;
  margin-top: 4px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 12px;
}

.mess ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--sub);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.progress {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.progress div {
  flex-grow: 1;
  height: 8px;
  border-radius: 99px;
  background: var(--bg-2);
  overflow: hidden;
}

.progress i {
  display: block;
  width: 15%;
  height: 100%;
  background: var(--ink);
}

.calm-board {
  background: var(--ink);
  color: #fff;
  padding: clamp(24px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  animation: rise 0.45s ease both;
}

.calm-board .glow {
  left: 30%;
  top: -200px;
  opacity: 0.18;
}

.calm {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
  border-radius: 24px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.calm .mono {
  font-size: 12px;
  color: var(--lime);
}

.calm strong {
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.calm p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-sub);
  line-height: 1.55;
  flex-grow: 1;
}

.calm ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calm li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  background: var(--ink);
  border: 1px solid var(--ink-line);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
}

.calm li b {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  color: var(--lime);
}

/* ---------- Use cases ---------- */

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

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

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

.use {
  border-radius: 26px;
  padding: 28px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  transition:
    background-color 0.5s ease,
    color 0.5s ease,
    transform 0.5s ease,
    border-color 0.5s ease;
}

.use .ico {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: var(--bg);
  transition: background-color 0.5s ease;
}

.use h3 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.use p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--sub);
}

.use .tagline {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  padding: 5px 12px;
  background: var(--bg-2);
}

.use.on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: translateY(-6px);
}

.use.on .ico,
.use.on .tagline {
  background: var(--lime);
  color: var(--ink);
}

.use.on p {
  color: var(--ink-sub);
}

/* ---------- Developers ---------- */

.dev {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.dev-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.paths {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.path {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 20px;
  cursor: pointer;
  text-align: left;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.path strong {
  display: block;
  font-size: 17px;
}

.path span {
  font-size: 14px;
  color: var(--sub);
}

.path em {
  font-style: normal;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  padding: 5px 12px;
  background: var(--bg-2);
}

.path[aria-selected='true'] {
  background: #fff;
  border-color: var(--ink);
  box-shadow: 0 20px 40px -24px rgba(14, 15, 18, 0.35);
}

.path[aria-selected='true'] em {
  background: var(--lime);
}

.code {
  background: var(--ink);
  color: #e4e4de;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 50px 100px -50px rgba(14, 15, 18, 0.6);
  min-width: 0;
}

.code-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ink-line);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-sub);
}

.code-bar i {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--ink-line);
}

.code-bar b {
  margin-left: 12px;
  font-weight: 700;
}

.code pre {
  margin: 0;
  padding: 26px 28px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.75;
  overflow-x: auto;
  min-height: 330px;
}

.code pre[hidden] {
  display: none;
}

.code .k {
  color: var(--lime);
}

.code .s {
  color: #ffffff;
}

.code .c {
  color: #7d8089;
}

.code-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-top: 1px solid var(--ink-line);
  font-size: 13px;
  font-weight: 700;
}

.code-foot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--lime);
}

/* ---------- Security ---------- */

.security {
  padding: clamp(32px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.security .glow {
  right: -140px;
  top: -200px;
  width: 560px;
  height: 560px;
  filter: blur(150px);
  opacity: 0.2;
}

.gates-wrap {
  position: relative;
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--ink-line);
}

.gates {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gate {
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--ink-line);
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease;
}

.gate .mono {
  font-size: 12px;
  color: var(--muted);
}

.gate strong {
  font-size: 17px;
}

.gate span {
  font-size: 13px;
  color: var(--ink-sub);
  line-height: 1.45;
}

.gate.on {
  background: var(--ink-2);
  border-color: var(--lime);
}

.gate.on .mono {
  color: var(--lime);
}

.sec-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pillar {
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pillar strong {
  font-size: 16px;
}

.pillar span {
  font-size: 14px;
  color: var(--ink-sub);
  line-height: 1.5;
}

.approve {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 360px;
  background: var(--bg);
  color: var(--ink);
  border-radius: 30px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}

.approve .amount {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.approve small {
  font-size: 13px;
  color: var(--sub);
  line-height: 1.5;
}

.key {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--lime);
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.key.ok {
  background: var(--lime);
  color: var(--ink);
}

.approve .btn {
  width: 100%;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 940px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  min-height: 68px;
  padding: 18px 24px;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.faq summary::after {
  content: '+';
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 500;
  background: var(--bg);
  transition:
    transform 0.25s ease,
    background-color 0.25s ease;
}

.faq details[open] summary::after {
  background: var(--lime);
  transform: rotate(45deg);
}

.faq details p {
  margin: 0;
  padding: 0 24px 24px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--sub);
}

/* ---------- CTA + footer ---------- */

.cta {
  position: relative;
  overflow: hidden;
  background: var(--lime);
  border-radius: 40px;
  padding: clamp(48px, 7vw, 96px) clamp(28px, 5vw, 72px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.cta-seal {
  position: absolute;
  right: -40px;
  bottom: -90px;
  width: 380px;
  height: 380px;
  opacity: 0.14;
}

.cta h2 {
  position: relative;
  margin: 0;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.cta-side {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 400px;
}

.cta-side p {
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
}

.cta-side .btn-line {
  border-color: rgba(14, 15, 18, 0.3);
}

.cta-link {
  font-size: 15px;
  font-weight: 700;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
  align-self: flex-start;
}

.footer {
  margin-top: 96px;
  background: var(--ink);
  color: var(--ink-sub);
  font-size: 15px;
}

.footer-top {
  padding-top: 72px;
  padding-bottom: 48px;
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand .logo {
  color: #fff;
  font-size: 20px;
}

.footer-brand p {
  margin: 0;
  max-width: 300px;
  line-height: 1.6;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col strong {
  color: #fff;
  font-size: 14px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--ink-line);
  padding-top: 22px;
  padding-bottom: 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  line-height: 1.6;
}

.footer-bottom p {
  margin: 0;
  max-width: 760px;
}

/* ---------- Inner pages ---------- */

.page-hero {
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 980px;
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.price {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.price .rate {
  font-size: clamp(56px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.price.dark-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}

.price.dark-card .rate {
  color: var(--lime);
}

.price.dark-card .body {
  color: var(--ink-sub);
}

.calc {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}

.calc-main {
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.calc-main label {
  font-size: 14px;
  font-weight: 700;
  color: var(--sub);
}

.calc-amount {
  font-size: clamp(52px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.calc input[type='range'] {
  width: 100%;
  height: 28px;
  cursor: pointer;
  accent-color: var(--ink);
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 17px;
}

.calc-row.line {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.calc-row span {
  color: var(--sub);
}

.calc-row strong {
  font-variant-numeric: tabular-nums;
}

.calc-result {
  background: var(--lime);
  border-radius: 12px;
  padding: 6px 12px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.calc-side {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.calc-side .ticks li {
  color: #e4e4de;
}

.small-print {
  font-size: 14px;
  color: var(--sub);
  line-height: 1.6;
  margin: 0;
}

.prose {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.prose h2 {
  margin: 24px 0 0;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.prose p,
.prose li {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--sub);
}

.prose ul {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prose a {
  color: var(--ink);
  font-weight: 700;
  border-bottom: 2px solid var(--lime);
}

.feature {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature .num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--lime);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}

.feature h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.feature p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--sub);
}

.feature .soon {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 12px;
  background: var(--bg-2);
  border-radius: 999px;
  padding: 4px 10px;
}

.compare-table {
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 22px 32px;
  border-bottom: 1px solid #ecece5;
  font-size: 16px;
  line-height: 1.55;
}

.compare-row:last-child {
  border-bottom: 0;
}

.compare-row.head {
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sub);
}

.compare-row .yes::before,
.compare-row .no::before {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  margin-right: 10px;
  font-size: 12px;
  font-weight: 800;
}

.compare-row .yes::before {
  content: '✓';
  background: var(--lime);
}

.compare-row .no::before {
  content: '✕';
  background: var(--ink);
  color: #fff;
}

.endpoint {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-bottom: 1px solid #ecece5;
  font-family: var(--mono);
  font-size: 14px;
  flex-wrap: wrap;
}

.endpoint:last-child {
  border-bottom: 0;
}

.endpoint b {
  font-weight: 600;
  min-width: 52px;
  background: var(--ink);
  color: var(--lime);
  border-radius: 8px;
  padding: 3px 8px;
  text-align: center;
}

.endpoint span {
  font-family: var(--font);
  color: var(--sub);
  margin-left: auto;
}

.contact h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.contact-email {
  font-size: 15px;
  background: var(--bg);
  border-radius: 12px;
  padding: 10px 12px;
  word-break: break-all;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.contact-app {
  font-size: 14px;
  font-weight: 700;
  color: var(--sub);
  border-bottom: 1px solid var(--line);
  margin-left: 4px;
}

/* ---------- Animations ---------- */

@keyframes mark {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes rise {
  from {
    transform: translateY(18px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: rotate(var(--r, 0deg)) translateY(0);
  }
  50% {
    transform: rotate(var(--r, 0deg)) translateY(-8px);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

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

@keyframes pop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  70% {
    transform: scale(1.08);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

@keyframes drop {
  from {
    transform: translateY(-12px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@keyframes word {
  from {
    transform: translateY(60%);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@keyframes grow {
  from {
    transform: scaleY(0.15);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes glow {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    padding-bottom: 64px;
  }

  .hero-art {
    height: 640px;
    max-width: 720px;
  }

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

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

@media (max-width: 960px) {
  .nav-links,
  .nav-cta .btn-line {
    display: none;
  }

  .menu-btn {
    display: grid;
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px var(--gutter) 20px;
    border-bottom: 1px solid var(--line);
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu a {
    font-size: 18px;
    font-weight: 700;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .mobile-menu a:last-child {
    border-bottom: 0;
  }

  .mobile-menu .btn {
    margin-top: 12px;
    padding: 0 26px;
    font-size: 15px;
  }

  .product,
  .dev,
  .security,
  .calc {
    grid-template-columns: 1fr;
  }

  .product-art {
    min-height: 560px;
  }

  .product.flip .product-copy {
    order: -1;
  }

  .stats,
  .price-cards,
  .grid-3,
  .calm-board {
    grid-template-columns: 1fr;
  }

  .stats {
    gap: 28px;
  }

  .calm-board {
    gap: 12px;
  }

  .story {
    height: auto;
  }

  .mess-board {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
  }

  .mess,
  .pings {
    position: relative;
    inset: auto;
    width: auto;
    margin: 0;
  }

  .pings {
    order: -1;
    left: auto;
    top: auto;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .compare-row {
    padding: 18px 20px;
  }
}

@media (max-width: 720px) {
  .hero-art {
    height: 640px;
  }

  .browser,
  .float-card {
    display: none;
  }

  .hero-art .phone {
    left: 50%;
    right: auto;
    margin-left: -150px;
  }

  .hero-art {
    height: 660px;
  }

  .hero-art .preview-tag {
    left: 50%;
    top: auto;
    bottom: 0;
    transform: translateX(-50%);
  }

  .code pre {
    font-size: 12.5px;
    padding: 20px;
  }

  .grid-4,
  .grid-2,
  .gates,
  .pillars,
  .wallets {
    grid-template-columns: 1fr;
  }

  .tilt-l {
    left: -40px;
  }

  .tilt-r {
    right: -40px;
  }

  .use {
    min-height: 0;
  }

  .compare-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .compare-row.head {
    display: none;
  }

  .payout-row .who span {
    display: none;
  }

  .endpoint span {
    margin-left: 0;
    width: 100%;
  }

  .endpoint {
    word-break: break-all;
  }

  /* Payout list: keep name, amount and status on one row at phone width */
  .payout-art {
    padding: 16px;
  }

  .payout-list {
    padding: 16px;
  }

  .payout-list header {
    flex-wrap: wrap;
    gap: 4px 12px;
  }

  .payout-list header strong {
    font-size: 28px;
  }

  .payout-row {
    gap: 10px;
    font-size: 14px;
  }

  .payout-row .who {
    overflow: hidden;
  }

  .payout-row .who strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .avatar {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .status {
    height: 30px;
    padding: 0 10px;
    font-size: 11px;
  }

  .incoming {
    flex-wrap: wrap;
  }

  .seg button {
    padding: 0 14px;
    font-size: 13px;
  }

  .stats,
  .security,
  .cta {
    border-radius: 28px;
  }

  .approve {
    padding: 24px 20px;
  }

  .approve .amount {
    font-size: 36px;
  }

  .calm {
    padding: 20px;
  }

  .calm strong {
    font-size: 22px;
  }

  .sheet {
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .h1 {
    font-size: 48px;
  }

  .btn-row .btn {
    width: 100%;
  }

  .phone {
    width: 270px;
  }

  .hero-art .phone {
    margin-left: -135px;
  }

  .tilt-l,
  .tilt-r {
    transform: none;
  }

  .tilt-r {
    display: none;
  }

  .tilt-l {
    left: 50%;
    margin-left: -135px;
  }

  /* Small phones: logo + menu only in the bar; both buttons live in the menu */
  .nav-cta .btn {
    display: none;
  }

  .avatar {
    display: none;
  }

  .payout-row .amt {
    font-size: 13px;
  }

  .seg {
    width: 100%;
  }

  .seg button {
    flex: 1;
    padding: 0 8px;
  }

  .split-head .seg {
    align-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .kinetic span {
    opacity: 1;
    transform: none;
  }
}
