:root {
  color: #181b20;
  background: #eef0f1;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --page: #eef0f1;
  --bg: #f5f6f7;
  --surface: #ffffff;
  --surface-2: #f0f2f3;
  --surface-3: #e8ebed;
  --heading: #101317;
  --text: #252a30;
  --muted: #69717c;
  --muted-2: #8a929d;
  --border: #dfe3e6;
  --border-strong: #cbd1d6;
  --primary: #176b58;
  --primary-hover: #105847;
  --primary-bright: #4fb095;
  --primary-soft: #e5f2ee;
  --success: #157a55;
  --warning: #a56b15;
  --danger: #c13d4a;
  --blue: #3167c6;
  --shadow: 0 12px 34px rgba(25, 32, 40, 0.08);
  --shadow-strong: 0 26px 70px rgba(20, 25, 31, 0.16);
  --radius: 20px;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -180px, rgba(79, 176, 149, 0.13), transparent 440px),
    var(--page);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(16, 19, 23, 0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 19, 23, 0.018) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black, transparent 820px);
}

::selection {
  background: rgba(23, 107, 88, 0.2);
}

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

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button,
summary {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(23, 107, 88, 0.3);
  outline-offset: 3px;
}

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

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--heading);
  padding: 10px 14px;
  color: white;
  font-size: 13px;
  font-weight: 700;
  transition: transform 160ms ease;
}

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

.section-shell {
  width: min(1320px, calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
}

/* Header */

.site-header {
  position: sticky;
  z-index: 100;
  top: 12px;
  width: min(1320px, calc(100% - 32px));
  height: 72px;
  margin: 16px auto 0;
  border: 1px solid rgba(203, 209, 214, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(25, 32, 40, 0.04);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 36px rgba(25, 32, 40, 0.11);
}

.header-inner {
  display: grid;
  height: 100%;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 20px;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--heading);
  color: white;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark > span {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-bright);
  box-shadow: 0 0 0 3px rgba(79, 176, 149, 0.12);
}

.brand-name {
  color: var(--heading);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

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

.site-nav a {
  position: relative;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: background 150ms ease, color 150ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--surface-2);
  color: var(--heading);
}

.site-nav a.active::after {
  position: absolute;
  right: 12px;
  bottom: 5px;
  left: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  content: "";
}

.mobile-nav-cta {
  display: none;
}

.header-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 16px;
}

.text-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  transition: color 150ms ease;
}

.text-link:hover {
  color: var(--heading);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  padding: 0;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--heading);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .menu-toggle > span:nth-of-type(2) {
  transform: translateY(5.5px) rotate(45deg);
}

.nav-open .menu-toggle > span:nth-of-type(3) {
  opacity: 0;
}

.nav-open .menu-toggle > span:nth-of-type(4) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* Shared controls */

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

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

.button-primary {
  background: var(--primary);
  box-shadow: 0 9px 24px rgba(23, 107, 88, 0.19);
  color: white;
}

.button-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 12px 30px rgba(23, 107, 88, 0.25);
}

.button-dark {
  background: var(--heading);
  box-shadow: 0 7px 18px rgba(16, 19, 23, 0.16);
  color: white;
}

.button-dark:hover {
  background: #292d31;
}

.button-secondary {
  border-color: var(--border);
  background: var(--surface);
  color: var(--heading);
}

.button-secondary:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.button-light:hover {
  background: rgba(255, 255, 255, 0.14);
}

.button-small {
  min-height: 40px;
  border-radius: 9px;
  padding: 0 15px;
  font-size: 12px;
}

.button-full {
  width: 100%;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  padding: 7px 11px;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-transform: none;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(23, 107, 88, 0.11);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  align-items: end;
  gap: 64px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin-top: 12px;
  color: var(--heading);
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.section-heading > p {
  max-width: 500px;
  padding-bottom: 3px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  padding: 78px 36px 36px;
  box-shadow: 0 20px 54px rgba(25, 32, 40, 0.06);
}

.hero::before {
  position: absolute;
  top: -180px;
  left: -130px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 176, 149, 0.11), transparent 69%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.97fr) minmax(520px, 1.03fr);
  align-items: center;
  gap: 72px;
}

.hero-copy {
  padding: 20px 0 44px;
}

.hero-copy h1 {
  max-width: 680px;
  margin-top: 25px;
  color: var(--heading);
  font-size: clamp(58px, 6.4vw, 88px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.91;
}

.hero-copy h1 span {
  color: var(--primary);
}

.hero-lede {
  max-width: 620px;
  margin-top: 29px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.63;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 31px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 25px;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.hero-tags svg {
  width: 16px;
  color: var(--primary);
  stroke-width: 2.4;
}

.hero-console-wrap {
  position: relative;
  min-width: 0;
  padding: 28px 20px 35px 34px;
}

.console-glow {
  position: absolute;
  inset: -5% -12% -8% -8%;
  border-radius: 40px;
  background:
    radial-gradient(circle at 70% 15%, rgba(79, 176, 149, 0.19), transparent 35%),
    linear-gradient(145deg, #eff3f2, #e4e8e9);
  transform: rotate(-2deg);
}

.console-glow::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: linear-gradient(rgba(16, 19, 23, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 19, 23, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  mask-image: linear-gradient(145deg, black, transparent 85%);
}

.hero-console {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(203, 209, 214, 0.95);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-strong);
}

.console-header {
  display: flex;
  height: 50px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding: 0 17px;
  background: #fafbfb;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #aeb5bb;
}

.window-dots span:nth-child(2) {
  background: #838c94;
}

.window-dots span:nth-child(3) {
  background: var(--primary-bright);
}

.console-label {
  margin-left: 14px;
  color: var(--heading);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.console-time {
  margin-left: auto;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
}

.payment-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 23px 20px;
}

.micro-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.payment-overview strong {
  color: var(--heading);
  font-size: 27px;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.payment-overview strong small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 700;
}

.status-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(21, 122, 85, 0.1);
}

.status-success {
  background: var(--primary-soft);
  color: var(--success);
}

.event-stream {
  margin: 0 14px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #fbfcfc;
}

.event-row {
  position: relative;
  display: grid;
  grid-template-columns: 29px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 59px;
  padding: 7px 13px;
}

.event-row + .event-row {
  border-top: 1px solid #e9ecee;
}

.event-row.live::before {
  position: absolute;
  inset: 8px auto 8px 0;
  width: 2px;
  border-radius: 999px;
  background: var(--primary);
  content: "";
}

.event-icon {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
}

.event-icon svg {
  width: 14px;
  stroke-width: 2.4;
}

.event-row > span:nth-child(2) {
  display: grid;
  gap: 3px;
}

.event-row strong {
  color: var(--heading);
  font-size: 11px;
  font-weight: 680;
}

.event-row small {
  color: var(--muted-2);
  font-size: 9px;
}

.event-row > code {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
}

.settlement-card {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--surface);
}

.settlement-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: var(--heading);
  color: white;
}

.settlement-icon svg {
  width: 18px;
}

.settlement-card > span {
  display: grid;
  gap: 3px;
}

.settlement-card small {
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.settlement-card strong {
  color: var(--heading);
  font-family: var(--mono);
  font-size: 10px;
}

.settlement-card em {
  margin-left: auto;
  color: var(--primary);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}

.flow-track {
  display: flex;
  align-items: center;
  padding: 13px 16px 15px;
  background: var(--surface-2);
}

.flow-node {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  padding: 5px 7px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 650;
  white-space: nowrap;
}

.flow-node.active {
  border-color: rgba(23, 107, 88, 0.24);
  color: var(--primary);
}

.flow-track > i {
  width: 100%;
  height: 1px;
  background: rgba(23, 107, 88, 0.3);
}

.floating-chip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(203, 209, 214, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 13px 30px rgba(25, 32, 40, 0.12);
  padding: 9px 12px;
  color: var(--heading);
  font-size: 9px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.floating-chip-top {
  top: 8px;
  right: 3px;
}

.floating-chip-bottom {
  right: -4px;
  bottom: 9px;
}

.floating-chip > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(23, 107, 88, 0.1);
}

.floating-chip svg {
  width: 14px;
  color: var(--primary);
}

.proof-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 42px;
}

.proof-grid article {
  display: flex;
  min-height: 110px;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #fafbfb;
  padding: 18px 16px;
}

.proof-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 9px;
  background: var(--primary-soft);
  color: var(--primary);
}

.proof-icon svg {
  width: 17px;
}

.proof-grid strong {
  display: block;
  margin: 2px 0 5px;
  color: var(--heading);
  font-size: 12px;
  line-height: 1.3;
}

.proof-grid p {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

/* Product bento */

.product-section {
  padding: 128px 36px 72px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.bento-card {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 21px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(25, 32, 40, 0.04);
  padding: 27px;
}

.bento-card::before {
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 176, 149, 0.12), transparent 68%);
  content: "";
}

.bento-checkout,
.bento-treasury {
  grid-column: span 7;
}

.bento-api,
.bento-payouts {
  grid-column: span 5;
}

.card-copy {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.card-number {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
}

.card-copy h3 {
  max-width: 470px;
  margin-top: 17px;
  color: var(--heading);
  font-size: clamp(25px, 2.5vw, 34px);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.card-copy p {
  max-width: 490px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.checkout-demo {
  position: absolute;
  z-index: 1;
  right: 34px;
  bottom: -42px;
  width: 360px;
  min-height: 280px;
  transform: rotate(1.5deg);
  border: 1px solid var(--border);
  border-radius: 18px 18px 0 0;
  background: #fafbfb;
  box-shadow: 0 21px 50px rgba(25, 32, 40, 0.15);
  padding: 18px;
}

.checkout-demo-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
}

.mini-brand {
  display: inline-grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 7px;
  background: var(--heading);
  color: white;
  font-size: 10px;
  font-weight: 800;
}

.checkout-demo-head small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
}

.checkout-demo-amount {
  display: grid;
  gap: 6px;
  padding: 22px 3px 15px;
}

.checkout-demo-amount small {
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.checkout-demo-amount strong {
  color: var(--heading);
  font-size: 30px;
  letter-spacing: -0.04em;
}

.checkout-demo-amount em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.checkout-demo-network {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: white;
  padding: 9px 10px;
}

.checkout-demo-network > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--heading);
  font-size: 10px;
  font-weight: 650;
}

.checkout-demo-network svg {
  width: 13px;
  color: var(--muted-2);
}

.network-mark {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.network-mark.ethereum,
.large-network-mark.ethereum {
  background: #e9edfb;
  color: #5364aa;
}

.network-mark.tron,
.large-network-mark.tron {
  background: #fae9eb;
  color: #b83b49;
}

.checkout-demo-button {
  margin-top: 10px;
  border-radius: 9px;
  background: var(--primary);
  padding: 11px;
  color: white;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.api-mini {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  overflow: hidden;
  border: 1px solid #29322f;
  border-radius: 15px;
  background: #121816;
  box-shadow: 0 20px 46px rgba(16, 19, 23, 0.18);
}

.api-mini div {
  display: grid;
  grid-template-columns: 45px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 14px;
}

.api-mini div + div {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.api-mini code {
  color: var(--primary-bright);
  font-family: var(--mono);
  font-size: 9px;
}

.api-mini span {
  overflow: hidden;
  color: #cad3d0;
  font-family: var(--mono);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.api-mini em {
  border-radius: 999px;
  background: rgba(79, 176, 149, 0.13);
  padding: 4px 6px;
  color: #78cbb3;
  font-family: var(--mono);
  font-size: 8px;
  font-style: normal;
}

.payout-stack {
  position: absolute;
  right: 23px;
  bottom: 23px;
  left: 23px;
  display: grid;
  gap: 7px;
}

.payout-stack > div {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 57px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fafbfb;
  padding: 8px 11px;
  box-shadow: 0 7px 18px rgba(25, 32, 40, 0.035);
}

.payout-stack > div:nth-child(2) {
  transform: translateX(11px);
}

.avatar {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  font-size: 8px;
  font-weight: 800;
}

.avatar-green { background: var(--primary-soft); color: var(--primary); }
.avatar-blue { background: #e9effb; color: var(--blue); }
.avatar-amber { background: #fff1dc; color: var(--warning); }

.payout-stack > div > span:nth-child(2) {
  display: grid;
  gap: 3px;
}

.payout-stack strong {
  color: var(--heading);
  font-size: 10px;
}

.payout-stack small {
  color: var(--muted-2);
  font-size: 8px;
}

.payout-stack em {
  color: var(--heading);
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
}

.treasury-demo {
  position: absolute;
  right: 30px;
  bottom: -24px;
  left: 30px;
  min-height: 245px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 17px 17px 0 0;
  background: #f9fafa;
  box-shadow: 0 20px 42px rgba(25, 32, 40, 0.1);
  padding: 20px;
}

.treasury-total {
  display: grid;
  gap: 4px;
}

.treasury-total small {
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.treasury-total strong {
  color: var(--heading);
  font-size: 27px;
  letter-spacing: -0.04em;
}

.treasury-total span {
  color: var(--muted);
  font-size: 9px;
}

.treasury-bars {
  display: flex;
  height: 75px;
  align-items: end;
  gap: 8px;
  margin-top: 12px;
  border-bottom: 1px solid var(--border);
}

.treasury-bars i {
  width: 100%;
  height: var(--bar);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, var(--primary), #7bc5b1);
  opacity: 0.78;
}

.treasury-networks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.treasury-networks span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--heading);
  font-size: 9px;
  font-weight: 650;
}

.treasury-networks svg {
  width: 18px;
  color: var(--muted-2);
}

/* Developer section */

.developer-section {
  padding: 72px 36px 80px;
}

.developer-panel {
  position: relative;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 58px;
  overflow: hidden;
  border: 1px solid #26302d;
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 5%, rgba(79, 176, 149, 0.14), transparent 32%),
    #111715;
  padding: 56px;
  box-shadow: 0 24px 60px rgba(16, 19, 23, 0.18);
}

.developer-panel::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(90deg, black, transparent 70%);
}

.developer-intro,
.code-window {
  position: relative;
  z-index: 1;
}

.section-kicker-light {
  color: #78cbb3;
}

.developer-intro h2 {
  max-width: 520px;
  margin-top: 15px;
  color: white;
  font-size: clamp(39px, 4.2vw, 57px);
  font-weight: 760;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.developer-intro > p {
  max-width: 500px;
  margin-top: 20px;
  color: #9aa8a4;
  font-size: 14px;
  line-height: 1.6;
}

.developer-points {
  display: grid;
  gap: 10px;
  margin-top: 29px;
}

.developer-points span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd4d1;
  font-size: 11px;
  font-weight: 600;
}

.developer-points i {
  display: inline-grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(79, 176, 149, 0.25);
  border-radius: 7px;
  background: rgba(79, 176, 149, 0.08);
  color: #78cbb3;
  font-family: var(--mono);
  font-size: 8px;
  font-style: normal;
}

.code-window {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 17px;
  background: #0b100f;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.35);
}

.code-header {
  display: grid;
  height: 48px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.03);
}

.code-header > span {
  color: #83918d;
  font-family: var(--mono);
  font-size: 9px;
}

.code-header button {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 5px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  padding: 6px;
  color: #83918d;
  font-family: var(--mono);
  font-size: 8px;
}

.code-header button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: white;
}

.code-header button svg {
  width: 13px;
}

.code-window pre {
  min-height: 369px;
  margin: 0;
  overflow: auto;
  padding: 23px 24px;
  color: #d0d8d5;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.72;
  tab-size: 2;
}

.code-purple { color: #bc9ee8; }
.code-green { color: #79c9b2; }

.code-result {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.03);
}

.code-result span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #79c9b2;
  font-family: var(--mono);
  font-size: 8px;
}

.code-result i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #79c9b2;
  box-shadow: 0 0 0 4px rgba(121, 201, 178, 0.08);
}

.code-result code {
  overflow: hidden;
  color: #83918d;
  font-family: var(--mono);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.integration-contract {
  display: grid;
  grid-template-columns: 0.53fr 1.47fr;
  gap: 45px;
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  padding: 31px;
}

.integration-contract h3 {
  max-width: 280px;
  margin-top: 10px;
  color: var(--heading);
  font-size: 27px;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.contract-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.contract-grid article {
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #fafbfb;
  padding: 15px;
}

.contract-grid code {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--primary);
  font-family: var(--mono);
  font-size: 8px;
}

.contract-grid strong {
  display: block;
  margin-bottom: 7px;
  color: var(--heading);
  font-size: 11px;
}

.contract-grid p {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

/* Steps */

.steps-section {
  padding: 72px 36px 90px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps-grid li {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--surface);
  padding: 20px;
}

.steps-grid li::after {
  position: absolute;
  right: -28px;
  bottom: -45px;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 176, 149, 0.16), transparent 70%);
  content: "";
}

.steps-grid li > span {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
}

.step-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-top: 29px;
  place-items: center;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
}

.step-icon svg {
  width: 21px;
}

.steps-grid h3 {
  margin-top: 16px;
  color: var(--heading);
  font-size: 18px;
  letter-spacing: -0.03em;
}

.steps-grid p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

/* Networks */

.networks-section {
  padding: 0 36px 90px;
}

.network-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 54px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 90%, rgba(79, 176, 149, 0.12), transparent 33%),
    var(--surface);
  padding: 45px;
}

.network-copy h2 {
  max-width: 520px;
  margin-top: 12px;
  color: var(--heading);
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.network-copy p {
  max-width: 470px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.network-list {
  display: grid;
  gap: 9px;
}

.network-list article {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fafbfb;
  padding: 12px 15px;
}

.large-network-mark {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 13px;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.network-list article > div {
  display: grid;
  gap: 2px;
}

.network-list small {
  color: var(--muted-2);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.network-list strong {
  color: var(--heading);
  font-size: 14px;
}

.network-list p {
  color: var(--muted);
  font-size: 9px;
}

.network-list em {
  border-radius: 999px;
  background: var(--surface-2);
  padding: 7px 9px;
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
  font-weight: 650;
  white-space: nowrap;
}

/* Pricing */

.pricing-section {
  padding: 72px 36px 92px;
}

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

.price-card {
  position: relative;
  display: flex;
  min-height: 540px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 19px;
  background: var(--surface);
  padding: 23px;
  box-shadow: 0 11px 30px rgba(25, 32, 40, 0.04);
}

.price-card::before {
  position: absolute;
  top: -80px;
  right: -60px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 176, 149, 0.13), transparent 69%);
  content: "";
}

.price-card-featured {
  border-color: #aeb8b4;
  background: linear-gradient(160deg, #f5faf8, #ffffff 48%);
  box-shadow: 0 17px 42px rgba(23, 107, 88, 0.1);
}

.featured-ribbon {
  position: absolute;
  top: 0;
  right: 24px;
  border-radius: 0 0 8px 8px;
  background: var(--primary);
  padding: 7px 10px;
  color: white;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-card-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.plan-label {
  border-radius: 999px;
  background: var(--surface-2);
  padding: 7px 9px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
}

.price-card-featured .plan-label {
  background: var(--primary-soft);
  color: var(--primary);
}

.price-card-top > small {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.price-card h3 {
  position: relative;
  margin-top: 28px;
  color: var(--heading);
  font-size: 21px;
  letter-spacing: -0.035em;
}

.plan-price {
  position: relative;
  display: flex;
  align-items: end;
  gap: 7px;
  margin-top: 13px;
}

.plan-price > strong {
  color: var(--heading);
  font-size: clamp(49px, 5vw, 64px);
  font-weight: 780;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.plan-price > span {
  display: grid;
  gap: 4px;
  padding-bottom: 5px;
  color: var(--heading);
  font-size: 11px;
  font-weight: 700;
}

.plan-price small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
}

.plan-equivalent {
  min-height: 19px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
}

.plan-description {
  min-height: 78px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.55;
}

.price-divider {
  height: 1px;
  margin: 22px 0;
  background: var(--border);
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 11px;
}

.price-card li::before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 14px;
  height: 14px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  content: "✓";
  font-size: 8px;
  font-weight: 800;
}

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

.pricing-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 19px;
  color: var(--muted-2);
  font-size: 10px;
  text-align: center;
}

.pricing-note svg {
  width: 15px;
}

/* FAQ */

.faq-section {
  padding: 68px 36px 100px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 75px;
}

.faq-heading {
  position: sticky;
  top: 110px;
  align-self: start;
}

.faq-heading h2 {
  max-width: 480px;
  margin-top: 13px;
  color: var(--heading);
  font-size: clamp(39px, 4vw, 55px);
  letter-spacing: -0.06em;
  line-height: 1;
}

.faq-heading p {
  max-width: 460px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.faq-list {
  border-top: 1px solid var(--border-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--border-strong);
}

.faq-list summary {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--heading);
  font-size: 15px;
  font-weight: 650;
  list-style: none;
}

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

.faq-list summary span {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 1px solid var(--border);
  border-radius: 50%;
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 11px;
  left: 6px;
  width: 10px;
  height: 1px;
  background: var(--muted);
  content: "";
}

.faq-list summary span::after {
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.faq-list details[open] summary span::after {
  transform: rotate(0);
}

.faq-list details p {
  max-width: 700px;
  padding: 0 48px 24px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

/* CTA and footer */

.final-cta {
  padding: 0 36px 28px;
}

.cta-panel {
  position: relative;
  display: flex;
  min-height: 280px;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  border: 1px solid #252d2b;
  border-radius: 23px;
  background:
    radial-gradient(circle at 85% 20%, rgba(79, 176, 149, 0.2), transparent 26%),
    #111715;
  padding: 47px;
  box-shadow: 0 24px 58px rgba(16, 19, 23, 0.16);
}

.cta-panel .section-kicker {
  color: #78cbb3;
}

.cta-panel h2 {
  margin-top: 12px;
  color: white;
  font-size: clamp(40px, 4.7vw, 62px);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.cta-panel p {
  margin-top: 14px;
  color: #9aa8a4;
  font-size: 13px;
}

.cta-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.cta-orbit {
  position: absolute;
  top: -90px;
  right: -70px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.cta-orbit::before,
.cta-orbit::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.cta-orbit::before { inset: 53px; }
.cta-orbit::after { inset: 107px; }

.cta-orbit span {
  position: absolute;
  z-index: 2;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-bright);
  box-shadow: 0 0 0 7px rgba(79, 176, 149, 0.08);
}

.cta-orbit span:nth-child(1) { top: 46px; left: 45px; }
.cta-orbit span:nth-child(2) { right: 84px; bottom: 55px; }
.cta-orbit span:nth-child(3) { top: 50%; left: 50%; }

.cta-panel-compact {
  min-height: 230px;
}

.cta-panel-compact h2 {
  font-size: clamp(38px, 4vw, 54px);
}

.site-footer {
  margin-top: 52px;
  border-top: 1px solid var(--border-strong);
  padding: 46px 36px 24px;
}

.footer-main {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}

.footer-brand > p {
  max-width: 330px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  padding: 7px 10px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
}

.footer-status > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(23, 107, 88, 0.09);
}

.footer-status.degraded > i {
  background: var(--warning);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-links > div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links strong {
  margin-bottom: 5px;
  color: var(--heading);
  font-size: 10px;
}

.footer-links a {
  width: fit-content;
  color: var(--muted);
  font-size: 10px;
  transition: color 140ms ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  color: var(--muted-2);
  font-size: 9px;
}

/* Changelog */

.changelog-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 80px;
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(circle at 75% 10%, rgba(79, 176, 149, 0.14), transparent 27%),
    var(--surface);
  padding: 86px 54px 55px;
  box-shadow: 0 20px 54px rgba(25, 32, 40, 0.06);
}

.changelog-hero h1 {
  margin-top: 21px;
  color: var(--heading);
  font-size: clamp(66px, 8vw, 108px);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.changelog-hero-copy > p {
  max-width: 650px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.changelog-signal {
  display: flex;
  width: 320px;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(250, 251, 251, 0.9);
  padding: 16px;
}

.signal-rings {
  position: relative;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border: 1px solid rgba(23, 107, 88, 0.18);
  border-radius: 50%;
}

.signal-rings span:nth-child(1) {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(23, 107, 88, 0.22);
  border-radius: 50%;
}

.signal-rings span:nth-child(2) {
  position: absolute;
  inset: 21px;
  border-radius: 50%;
  background: var(--primary-soft);
}

.signal-rings i {
  position: absolute;
  top: 27px;
  left: 27px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(23, 107, 88, 0.09);
}

.changelog-signal > div:last-child {
  display: grid;
  gap: 4px;
}

.changelog-signal small {
  color: var(--muted-2);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.changelog-signal strong {
  color: var(--heading);
  font-size: 13px;
}

.changelog-signal p {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 9px;
  font-weight: 650;
}

.changelog-signal p i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.changelog-feed {
  max-width: 1110px;
  padding: 95px 36px 65px;
}

.release {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 34px;
}

.release + .release {
  margin-top: 66px;
}

.release-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.release-meta time {
  display: grid;
  width: 72px;
  min-height: 84px;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: var(--surface);
  padding: 8px 0;
  box-shadow: 0 8px 22px rgba(25, 32, 40, 0.05);
}

.release-meta time span,
.release-meta time small {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.release-meta time strong {
  color: var(--heading);
  font-size: 29px;
  letter-spacing: -0.04em;
  line-height: 0.8;
}

.release-line {
  width: 1px;
  height: 100%;
  min-height: 90px;
  margin-top: 12px;
  background: linear-gradient(var(--border-strong), transparent);
}

.release-content {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 14px 38px rgba(25, 32, 40, 0.055);
  padding: 30px;
}

.release-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.release-version {
  display: block;
  margin-bottom: 9px;
  color: var(--primary);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.release-heading h2 {
  color: var(--heading);
  font-size: clamp(27px, 3vw, 38px);
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.change-badge {
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.change-new {
  background: var(--primary-soft);
  color: var(--primary);
}

.change-improved {
  background: #e9effb;
  color: var(--blue);
}

.change-fixed {
  background: #fff1dc;
  color: var(--warning);
}

.release-summary {
  max-width: 760px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.release-list {
  display: grid;
  gap: 0;
  margin: 27px 0 0;
  border-top: 1px solid var(--border);
  padding: 0;
  list-style: none;
}

.release-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding: 17px 0;
}

.release-list li > span {
  display: inline-grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
}

.release-list strong {
  display: block;
  margin: 1px 0 4px;
  color: var(--heading);
  font-size: 11px;
}

.release-list p {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.release-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 25px -30px -30px;
  border-top: 1px solid var(--border);
  background: #fafbfb;
  padding: 14px 30px;
}

.release-footer > span {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.release-footer a {
  color: var(--heading);
  font-size: 10px;
  font-weight: 700;
}

.release-footer a:hover {
  color: var(--primary);
}

.release-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin-top: 26px;
}

.release-feature-grid > div {
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #fafbfb;
  padding: 15px;
}

.release-feature-icon {
  display: grid;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
}

.release-feature-icon svg {
  width: 16px;
}

.release-feature-grid strong {
  color: var(--heading);
  font-size: 11px;
}

.release-feature-grid p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.release-code {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  margin-top: 24px;
  border: 1px solid #29322f;
  border-radius: 11px;
  background: #111715;
  padding: 13px;
}

.release-code span {
  border-radius: 6px;
  background: rgba(79, 176, 149, 0.13);
  padding: 5px 7px;
  color: #78cbb3;
  font-family: var(--mono);
  font-size: 8px;
}

.release-code code {
  color: #d3dcda;
  font-family: var(--mono);
  font-size: 10px;
}

.release-code em {
  color: #7f8c88;
  font-family: var(--mono);
  font-size: 8px;
  font-style: normal;
}

.changelog-beginning {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 65px 0 0 126px;
  border: 1px dashed var(--border-strong);
  border-radius: 15px;
  padding: 18px;
}

.beginning-mark {
  display: inline-grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 10px;
  background: var(--heading);
  color: white;
  font-size: 13px;
  font-weight: 800;
}

.changelog-beginning strong {
  color: var(--heading);
  font-size: 11px;
}

.changelog-beginning p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

/* Progressive reveal */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms cubic-bezier(0.22, 1, 0.36, 1), transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal-delay-1 { transition-delay: 80ms; }
.js .reveal-delay-2 { transition-delay: 150ms; }
.js .reveal-delay-3 { transition-delay: 220ms; }

/* Responsive */

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
    gap: 35px;
  }

  .hero-copy h1 {
    font-size: clamp(54px, 6.5vw, 72px);
  }

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

  .developer-panel {
    gap: 36px;
    padding: 42px;
  }

  .code-window pre {
    font-size: 9px;
  }

  .network-panel {
    gap: 35px;
    padding: 35px;
  }

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

@media (max-width: 960px) {
  .site-header {
    top: 8px;
  }

  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .menu-toggle {
    display: block;
    grid-column: 3;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    gap: 3px;
    transform: translateY(-8px) scale(0.99);
    visibility: hidden;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-strong);
    padding: 8px;
    opacity: 0;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
    backdrop-filter: blur(18px);
  }

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

  .nav-open .site-nav {
    transform: translateY(0) scale(1);
    visibility: visible;
    opacity: 1;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .header-actions .text-link {
    display: none;
  }

  .hero {
    padding-top: 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
    padding-bottom: 0;
  }

  .hero-copy h1 {
    font-size: clamp(61px, 10vw, 86px);
  }

  .hero-console-wrap {
    width: min(650px, 100%);
    margin: 5px auto 0;
  }

  .bento-checkout,
  .bento-treasury,
  .bento-api,
  .bento-payouts {
    grid-column: span 6;
  }

  .bento-card {
    min-height: 460px;
  }

  .checkout-demo {
    right: 22px;
    left: 22px;
    width: auto;
  }

  .developer-panel {
    grid-template-columns: 1fr;
  }

  .developer-intro > p {
    max-width: 650px;
  }

  .integration-contract {
    grid-template-columns: 1fr;
  }

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

  .network-panel {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    min-height: auto;
  }

  .plan-description {
    min-height: 0;
  }

  .price-card ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-card .button {
    margin-top: 14px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq-heading {
    position: static;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .changelog-hero {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .changelog-signal {
    width: min(100%, 420px);
  }
}

@media (max-width: 720px) {
  .section-shell,
  .site-header {
    width: min(100% - 20px, 1320px);
  }

  .site-header {
    height: 64px;
    margin-top: 10px;
    border-radius: 15px;
  }

  .header-inner {
    gap: 10px;
    padding: 0 11px;
  }

  .brand-name {
    font-size: 12px;
  }

  .header-actions .button {
    min-height: 38px;
    padding: 0 12px;
    font-size: 10px;
  }

  .hero {
    margin-top: 10px;
    border-radius: 19px;
    padding: 52px 20px 20px;
  }

  .hero-copy h1 {
    margin-top: 20px;
    font-size: clamp(50px, 15vw, 74px);
  }

  .hero-lede {
    margin-top: 22px;
    font-size: 15px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-tags {
    display: grid;
  }

  .hero-console-wrap {
    padding: 24px 3px 28px 8px;
  }

  .console-glow {
    inset: 0 -25px;
  }

  .floating-chip-top {
    right: -5px;
  }

  .floating-chip-bottom {
    display: none;
  }

  .payment-overview {
    padding: 21px 17px 16px;
  }

  .event-row {
    grid-template-columns: 27px 1fr;
  }

  .event-row > code {
    display: none;
  }

  .flow-node {
    font-size: 6px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid article {
    min-height: auto;
  }

  .product-section,
  .developer-section,
  .steps-section,
  .pricing-section,
  .faq-section {
    padding: 86px 10px 35px;
  }

  .networks-section {
    padding: 35px 10px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 21px;
    margin-bottom: 30px;
  }

  .section-heading h2 {
    font-size: 40px;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-checkout,
  .bento-treasury,
  .bento-api,
  .bento-payouts {
    grid-column: 1;
  }

  .bento-card {
    min-height: 450px;
    padding: 21px;
  }

  .card-copy h3 {
    font-size: 28px;
  }

  .checkout-demo {
    right: 16px;
    left: 16px;
  }

  .api-mini,
  .payout-stack {
    right: 16px;
    left: 16px;
  }

  .treasury-demo {
    right: 16px;
    left: 16px;
  }

  .developer-panel {
    gap: 34px;
    border-radius: 19px;
    padding: 28px 20px 20px;
  }

  .developer-intro h2 {
    font-size: 39px;
  }

  .code-window pre {
    min-height: 0;
    padding: 18px;
    font-size: 8.5px;
  }

  .code-result code {
    display: none;
  }

  .integration-contract {
    gap: 24px;
    padding: 21px;
  }

  .contract-grid {
    grid-template-columns: 1fr;
  }

  .contract-grid code {
    margin-bottom: 10px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid li {
    min-height: 230px;
  }

  .network-panel {
    border-radius: 18px;
    padding: 25px 19px;
  }

  .network-copy h2 {
    font-size: 38px;
  }

  .network-list article {
    grid-template-columns: 46px 1fr;
  }

  .network-list em {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .price-card {
    padding: 22px;
  }

  .price-card ul {
    grid-template-columns: 1fr;
  }

  .pricing-note {
    align-items: flex-start;
    line-height: 1.5;
  }

  .faq-heading h2 {
    font-size: 41px;
  }

  .faq-list summary {
    font-size: 13px;
  }

  .final-cta {
    padding: 35px 10px 18px;
  }

  .cta-panel {
    min-height: 370px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    border-radius: 19px;
    padding: 27px 21px;
  }

  .cta-panel h2 {
    font-size: 43px;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .button {
    width: 100%;
  }

  .site-footer {
    padding: 38px 10px 20px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .changelog-hero {
    margin-top: 10px;
    border-radius: 19px;
    padding: 64px 22px 30px;
  }

  .changelog-hero h1 {
    font-size: 65px;
  }

  .changelog-hero-copy > p {
    font-size: 14px;
  }

  .changelog-signal {
    padding: 12px;
  }

  .changelog-feed {
    padding: 70px 10px 25px;
  }

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

  .release + .release {
    margin-top: 48px;
  }

  .release-meta {
    align-items: flex-start;
  }

  .release-meta time {
    display: flex;
    width: auto;
    min-height: 0;
    gap: 5px;
    border-radius: 999px;
    padding: 8px 11px;
  }

  .release-meta time strong {
    font-size: 10px;
    line-height: 1;
  }

  .release-line {
    display: none;
  }

  .release-content {
    border-radius: 17px;
    padding: 22px 18px;
  }

  .release-heading {
    align-items: flex-start;
    flex-direction: column-reverse;
    gap: 13px;
  }

  .release-heading h2 {
    font-size: 29px;
  }

  .release-feature-grid {
    grid-template-columns: 1fr;
  }

  .release-code {
    grid-template-columns: auto 1fr;
  }

  .release-code em {
    display: none;
  }

  .release-footer {
    margin: 24px -18px -22px;
    padding: 13px 18px;
  }

  .changelog-beginning {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .header-actions {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    grid-column: 2;
  }

  .mobile-nav-cta {
    display: block !important;
    background: var(--heading) !important;
    color: white !important;
    text-align: center;
  }

  .hero-copy h1 {
    font-size: 47px;
  }

  .payment-overview strong {
    font-size: 23px;
  }

  .console-label {
    display: none;
  }

  .checkout-demo {
    transform: none;
  }

  .payout-stack > div {
    grid-template-columns: 34px 1fr;
  }

  .payout-stack > div > em {
    display: none;
  }

  .payout-stack > div:nth-child(2) {
    transform: none;
  }

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

  .release-footer > span {
    display: none;
  }

  .release-footer {
    justify-content: flex-end;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
