:root {
  color-scheme: light;
  --ink: #0e1016;
  --ink-soft: #252936;
  --muted: #697083;
  --paper: #f7f8fb;
  --paper-2: #edf1f6;
  --white: #ffffff;
  --line: #dfe5ee;
  --plum: #7657ff;
  --plum-soft: #eeeaff;
  --teal: #0f9b9b;
  --teal-soft: #e3f7f5;
  --gold: #c98b3d;
  --gold-soft: #fbefd9;
  --green: #28a36e;
  --shadow: 0 24px 76px rgba(13, 16, 26, 0.14);
  --shadow-soft: 0 10px 34px rgba(13, 16, 26, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% -8%, rgba(118, 87, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 94% 12%, rgba(15, 155, 155, 0.14), transparent 28rem),
    linear-gradient(180deg, rgba(237, 241, 246, 0.66), rgba(247, 248, 251, 0) 520px),
    var(--paper);
  letter-spacing: 0;
}

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

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(223, 229, 238, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background:
    radial-gradient(circle at 34% 26%, #b8f7ff 0, transparent 30%),
    linear-gradient(145deg, #171a25, var(--plum));
  color: var(--white);
  box-shadow: 0 12px 30px rgba(118, 87, 255, 0.24);
}

.nav {
  display: flex;
  gap: clamp(12px, 2.2vw, 28px);
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle span + span {
  margin-top: 0;
}

.button,
.header-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.header-action:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.header-action,
.button.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
}

button:disabled,
.button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.96fr) minmax(360px, 0.72fr);
  gap: clamp(34px, 6vw, 86px);
  min-height: calc(100vh - 65px);
  align-items: center;
  padding: clamp(72px, 9vw, 128px) clamp(18px, 6vw, 92px) clamp(66px, 8vw, 110px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 12% 8%, rgba(118, 87, 255, 0.34), transparent 32rem),
    radial-gradient(circle at 86% 18%, rgba(15, 155, 155, 0.22), transparent 31rem),
    linear-gradient(135deg, #10131c 0%, #18151d 55%, #0f1118 100%);
  color: var(--white);
}

.hero-copy {
  max-width: 820px;
}

.hero-eyebrow {
  display: inline-flex;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--gold);
  color: var(--plum);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 26px;
  font-size: clamp(48px, 7.3vw, 104px);
  font-weight: 920;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.6vw, 62px);
  font-weight: 900;
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.lead {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.68;
}

.hero-actions,
.status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 32px;
}

.hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.hero-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
  max-width: 760px;
}

.hero-ledger div {
  min-height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.065);
}

.hero-ledger span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-ledger strong {
  display: block;
  margin-top: 12px;
  color: var(--white);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
}

.status-line {
  margin-top: 30px;
}

.status-line span,
.pill {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 900;
}

.hero .status-line span {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(185, 133, 46, 0.16);
}

.status-dot.online {
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(41, 150, 111, 0.16);
}

.hero-card {
  align-self: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.case-hero-card {
  overflow: hidden;
  background: #111014;
  color: var(--white);
}

.hero-preview-window {
  margin: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(126, 97, 255, 0.22), transparent 44%),
    #0d111b;
  padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.preview-bar {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.preview-bar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #f0c25b;
}

.preview-bar span:nth-child(2) {
  background: #77d9e6;
}

.preview-bar span:nth-child(3) {
  background: #a993ff;
}

.preview-route,
.preview-ledger {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 12px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.preview-route strong,
.preview-ledger strong {
  color: #fff;
}

.preview-message {
  max-width: 88%;
  margin-top: 14px;
  border-radius: 8px;
  padding: 13px 14px;
  font-size: 14px;
  line-height: 1.45;
}

.preview-message.customer {
  margin-left: auto;
  background: #f3efe7;
  color: #14191d;
}

.preview-message.assistant {
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.86);
}

.preview-ledger {
  grid-template-columns: 1fr auto;
  margin-top: 16px;
  background: rgba(119, 217, 230, 0.12);
}

.case-caption {
  padding: 24px 26px 26px;
  background:
    linear-gradient(135deg, rgba(111, 63, 95, 0.32), rgba(185, 133, 46, 0.12)),
    #111014;
}

.case-caption span,
.case-demo-top span,
.case-points span,
.chat-bubble span,
.euro-rail span {
  color: rgba(246, 236, 216, 0.68);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-caption strong {
  display: block;
  margin-top: 10px;
  font-size: 25px;
  line-height: 1.12;
}

.case-caption p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

.brand-panel {
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 236, 216, 0.44)),
    var(--white);
}

.brand-panel-art {
  position: relative;
  display: grid;
  min-height: 370px;
  align-content: center;
  padding: clamp(28px, 5vw, 44px);
  background:
    linear-gradient(90deg, rgba(17, 16, 20, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(17, 16, 20, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 12% 20%, rgba(111, 63, 95, 0.14), transparent 28%),
    radial-gradient(circle at 88% 72%, rgba(47, 140, 139, 0.13), transparent 30%);
  background-size:
    34px 34px,
    34px 34px,
    auto,
    auto;
}

.brand-panel-art::before {
  content: "";
  position: absolute;
  inset: 36px;
  border: 1px solid rgba(17, 16, 20, 0.1);
  border-radius: 8px;
}

.layer-card {
  position: relative;
  width: min(100%, 390px);
  border: 1px solid rgba(17, 16, 20, 0.13);
  border-radius: 8px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 48px rgba(17, 16, 20, 0.11);
}

.layer-card + .layer-card {
  margin-top: -4px;
}

.layer-card span,
.brand-panel-copy span,
.trust-strip span,
.story-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.layer-card strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  line-height: 1.1;
}

.layer-provider {
  transform: translateX(-18px);
}

.layer-gateway {
  z-index: 2;
  margin-left: auto;
  background: linear-gradient(135deg, var(--ink), #402a39);
  color: var(--white);
}

.layer-gateway span {
  color: rgba(255, 255, 255, 0.66);
}

.layer-customer {
  transform: translateX(18px);
  background: var(--gold-soft);
}

.brand-panel-copy {
  padding: 26px;
  border-top: 1px solid var(--line);
}

.brand-panel-copy strong {
  display: block;
  margin-top: 10px;
  font-size: 28px;
  line-height: 1.12;
}

.brand-panel-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.trust-strip div {
  min-height: 96px;
  padding: 18px;
}

.trust-strip div + div {
  border-left: 1px solid var(--line);
}

.trust-strip strong {
  display: block;
  margin-top: 8px;
  overflow-wrap: anywhere;
  font-size: 16px;
}

.hero-card-top {
  padding: 26px;
  border-bottom: 1px solid var(--line);
}

.hero-card-top span,
.section-label,
.metric-strip span,
.connection-list span,
.wallet-grid span,
.transaction-row span,
.data-list span,
.ledger-table span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-card-top strong {
  display: block;
  margin-top: 10px;
  font-size: 26px;
  line-height: 1.12;
}

.connection-list {
  display: grid;
}

.connection-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 26px;
  border-bottom: 1px solid var(--line);
}

.connection-list strong {
  text-align: right;
  overflow-wrap: anywhere;
}

.terminal-card {
  margin: 20px;
  overflow: hidden;
  border-radius: 8px;
  background: #111014;
  color: #e8e4dc;
}

.terminal-bar {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.terminal-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d86773;
}

.terminal-bar i:nth-child(2) {
  background: #d9a84e;
}

.terminal-bar i:nth-child(3) {
  background: #5caf86;
}

pre {
  margin: 0;
  overflow-x: auto;
  padding: 22px;
  line-height: 1.65;
}

.intro-section,
.story-section,
.case-section,
.capability-section,
.workflow-section,
.operations-section,
.api-section,
.billing-section,
.security-section,
.team-section,
.pricing-section,
.contact {
  padding: clamp(66px, 9vw, 118px) clamp(18px, 6vw, 92px);
}

.case-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(380px, 1fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  background:
    linear-gradient(180deg, rgba(246, 246, 243, 0.94), rgba(238, 238, 234, 0.86)),
    var(--paper-2);
}

.case-copy {
  max-width: 720px;
}

.case-copy p:not(.section-label) {
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.72;
}

.case-points {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.case-points div,
.route-board div,
.euro-rail div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.case-points div {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.case-points span {
  color: var(--muted);
}

.case-demo {
  overflow: hidden;
  border: 1px solid rgba(17, 16, 20, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 8%, rgba(185, 133, 46, 0.18), transparent 30%),
    linear-gradient(145deg, #151318, #26202a 56%, #111014);
  color: var(--white);
  box-shadow: var(--shadow);
}

.case-demo-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.case-demo-top strong {
  font-size: 18px;
}

.route-board {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.route-board div,
.euro-rail div {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.route-board span {
  color: rgba(246, 236, 216, 0.66);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.route-board strong,
.euro-rail strong {
  text-align: right;
  overflow-wrap: anywhere;
}

.chat-transcript {
  display: grid;
  gap: 14px;
  padding: 22px 20px;
}

.chat-bubble {
  width: min(88%, 620px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.chat-bubble.user {
  margin-left: auto;
  border-color: rgba(185, 133, 46, 0.32);
  background: rgba(185, 133, 46, 0.12);
}

.chat-bubble.assistant {
  border-color: rgba(111, 63, 95, 0.38);
}

.chat-bubble p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.62;
}

.euro-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 20px 20px;
}

.euro-rail div {
  grid-template-columns: 1fr;
  min-height: 88px;
}

.euro-rail strong {
  margin-top: 8px;
  color: var(--gold-soft);
  font-size: 24px;
  text-align: left;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
  background: var(--white);
}

.story-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 78px);
  background: #171417;
  color: var(--white);
}

.story-intro {
  max-width: 760px;
}

.story-copy {
  display: grid;
  gap: 18px;
  align-content: start;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.72;
}

.story-copy p {
  margin: 0;
}

.story-section .section-label,
.story-card span {
  color: rgba(246, 236, 216, 0.7);
}

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

.story-card {
  min-height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

.story-card h3 {
  margin-top: 26px;
}

.story-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

.intro-copy p:not(.section-label),
.section-heading p,
.capability-card p,
.workflow-item p,
.security-item p,
.team-copy p,
.price-card p,
.contact p,
.endpoint-card li {
  color: var(--muted);
  line-height: 1.68;
}

.section-heading {
  max-width: 910px;
  margin-bottom: 34px;
}

.intro-ledger,
.data-list,
.ledger-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.intro-ledger div,
.data-list div,
.ledger-table div,
.transaction-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.intro-ledger div + div,
.data-list div + div,
.ledger-table div + div {
  border-top: 1px solid var(--line);
}

.capability-grid,
.workflow-list,
.metric-strip,
.ops-grid,
.api-grid,
.billing-layout,
.security-list,
.pricing-grid {
  display: grid;
  gap: 16px;
}

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

.capability-card,
.workflow-item,
.activity-panel,
.model-panel,
.ledger-panel,
.endpoint-card,
.topup-card,
.crypto-card,
.balance-card,
.transaction-card,
.security-item,
.price-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.capability-card,
.security-item,
.price-card,
.endpoint-card {
  min-height: 230px;
  padding: 26px;
}

.capability-card span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--gold);
  font-weight: 900;
}

.workflow-section,
.billing-section {
  background: var(--paper-2);
}

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

.workflow-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 24px;
}

.workflow-item strong {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.operations-section {
  background: #17161a;
  color: var(--white);
}

.operations-section .section-heading p,
.operations-section .section-label,
.api-section .section-heading p,
.api-section .section-label,
.contact .section-label {
  color: rgba(255, 255, 255, 0.68);
}

.ops-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #101014;
  box-shadow: var(--shadow);
}

.ops-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72);
}

.ops-header strong {
  color: var(--white);
}

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

.metric-strip article {
  min-height: 140px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.055);
}

.metric-strip strong {
  display: block;
  margin: 12px 0 8px;
  font-size: clamp(28px, 4vw, 44px);
}

.metric-strip small {
  color: rgba(255, 255, 255, 0.62);
}

.ops-grid {
  grid-template-columns: 1.25fr 0.75fr;
  padding: 0 16px 16px;
}

.activity-panel,
.model-panel,
.ledger-panel {
  padding: 24px;
  color: var(--ink);
  box-shadow: none;
}

.activity-panel,
.model-panel {
  min-height: 360px;
}

.ledger-panel {
  grid-column: 1 / -1;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.pill {
  background: var(--teal-soft);
  color: var(--teal);
}

.pill.amber {
  background: var(--gold-soft);
  color: #8a5e1d;
}

.line-chart {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  height: 260px;
  gap: 9px;
  padding: 18px;
  border-radius: 8px;
  background:
    repeating-linear-gradient(
      to top,
      transparent 0,
      transparent 54px,
      rgba(17, 16, 20, 0.08) 55px
    ),
    #f5f5f1;
}

.line-chart span {
  display: block;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #b98aa8, var(--plum));
}

.ledger-table div {
  grid-template-columns: 1fr auto auto;
}

.ledger-table em {
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--teal-soft);
  color: var(--teal);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.api-section,
.contact {
  background: var(--ink);
  color: var(--white);
}

.api-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.code-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #111014;
  box-shadow: var(--shadow);
}

.code-tabs {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab {
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.tab.active {
  background: #e6ddd4;
  color: var(--ink);
}

.endpoint-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.endpoint-card li {
  color: rgba(255, 255, 255, 0.72);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}

.check-list span {
  width: 12px;
  height: 12px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.billing-layout {
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
}

.topup-card,
.crypto-card,
.balance-card,
.transaction-card {
  display: grid;
  gap: 18px;
  padding: 26px;
}

.billing-panels {
  display: grid;
  gap: 16px;
}

.crypto-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 0%, rgba(15, 155, 155, 0.18), transparent 16rem),
    linear-gradient(145deg, #141722, #211a2f 62%, #11131a);
  color: var(--white);
}

.crypto-card::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 22px;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 46%, rgba(255, 255, 255, 0.34) 46% 54%, transparent 54%),
    linear-gradient(0deg, transparent 46%, rgba(255, 255, 255, 0.34) 46% 54%, transparent 54%),
    rgba(255, 255, 255, 0.06);
}

.crypto-card > * {
  position: relative;
  z-index: 1;
}

.crypto-card .section-label,
.crypto-grid span {
  color: rgba(255, 255, 255, 0.64);
}

.crypto-card p:not(.section-label) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.68;
}

.crypto-card .button.secondary {
  width: fit-content;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.crypto-card .form-note {
  color: rgba(255, 255, 255, 0.66);
}

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

.crypto-grid div {
  min-height: 96px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.07);
}

.crypto-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--white);
  line-height: 1.25;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.amount-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.amount-group legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.amount-group label {
  display: block;
  cursor: pointer;
}

.amount-group input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.amount-group span {
  display: grid;
  min-height: 54px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
}

.amount-group input:checked + span {
  border-color: rgba(111, 63, 95, 0.48);
  background: var(--plum-soft);
  color: var(--plum);
}

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

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

.wallet-grid div {
  min-height: 118px;
  padding: 18px;
  border-radius: 8px;
  background: var(--paper);
}

.wallet-grid strong {
  display: block;
  margin-top: 10px;
  overflow-wrap: anywhere;
}

.transaction-card {
  align-content: start;
}

.transaction-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.transaction-row + .transaction-row {
  margin-top: -8px;
}

.security-section {
  background: var(--white);
}

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

.team-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 0.82fr);
  gap: clamp(32px, 6vw, 86px);
  background: var(--paper);
}

.team-copy {
  max-width: 720px;
}

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

.principles div {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.principles span {
  color: var(--gold);
  font-weight: 900;
}

.principles strong {
  font-size: 20px;
  line-height: 1.28;
}

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

.price-card.featured {
  border-color: rgba(111, 63, 95, 0.3);
  background: linear-gradient(145deg, var(--plum-soft), var(--white));
}

.price {
  margin-bottom: 16px;
  font-size: 34px;
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(340px, 0.72fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.contact p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-copy {
  display: grid;
  gap: 22px;
}

.contact-stack {
  display: grid;
  gap: 12px;
  max-width: 680px;
}

.contact-row {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.contact-row:hover {
  transform: translateY(-1px);
  border-color: rgba(246, 236, 216, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.contact-row span,
.privacy-note span {
  color: rgba(246, 236, 216, 0.68);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-row strong {
  color: var(--white);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.contact-row small {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

.privacy-note {
  max-width: 680px;
  border: 1px solid rgba(185, 133, 46, 0.28);
  border-radius: 8px;
  padding: 18px;
  background: rgba(185, 133, 46, 0.1);
}

.privacy-note p {
  margin: 8px 0 0;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  color: var(--ink);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 6vw, 92px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

.reveal {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 1;
    transform: translateY(28px);
    transition: transform 620ms ease;
  }

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

  .hero-card {
    animation: cardFloat 7s ease-in-out infinite;
  }

  .layer-provider {
    animation: layerDriftLeft 8s ease-in-out infinite;
  }

  .layer-customer {
    animation: layerDriftRight 8s ease-in-out infinite;
  }

  .line-chart span {
    transform-origin: bottom;
    animation: barRise 850ms ease both;
  }
}

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

@keyframes layerDriftLeft {
  0%,
  100% {
    transform: translateX(-18px);
  }
  50% {
    transform: translateX(-8px);
  }
}

@keyframes layerDriftRight {
  0%,
  100% {
    transform: translateX(18px);
  }
  50% {
    transform: translateX(8px);
  }
}

@keyframes barRise {
  from {
    transform: scaleY(0.2);
    opacity: 0.35;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (max-width: 1180px) {
  .hero,
  .intro-section,
  .story-section,
  .capability-grid,
  .story-grid,
  .security-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy,
  .hero-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1080px) {
  .nav {
    overflow-x: auto;
    max-width: 54vw;
    padding-bottom: 2px;
  }

  .workflow-list,
  .story-grid,
  .metric-strip,
  .ops-grid,
  .api-grid,
  .billing-layout,
  .case-section,
  .team-section,
  .pricing-grid,
  .contact {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 900px) {
  .nav {
    max-width: calc(100vw - 190px);
  }

  .header-action {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    order: 3;
    width: 100%;
    max-width: none;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 12px;
    overflow: visible;
  }

  .nav-open .nav {
    display: grid;
  }

  .nav a {
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 11px 12px;
    background: var(--white);
    color: var(--ink);
    font-weight: 850;
  }

  .nav-open .menu-toggle span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-open .menu-toggle span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero,
  .intro-section,
  .story-section,
  .capability-grid,
  .story-grid,
  .security-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(42px, 12vw, 62px);
  }

  .connection-list div,
  .case-points div,
  .route-board div,
  .trust-strip,
  .intro-ledger div,
  .data-list div,
  .ledger-table div,
  .transaction-row {
    grid-template-columns: 1fr;
  }

  .trust-strip div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .metric-strip,
  .ops-grid {
    padding: 12px;
  }

  .amount-group {
    grid-template-columns: 1fr;
  }

  .euro-rail {
    grid-template-columns: 1fr;
  }

  .status-line {
    align-items: stretch;
    flex-direction: column;
  }

  .status-line span {
    justify-content: flex-start;
  }

  .footer {
    flex-direction: column;
  }
}
