:root {
  --bg: #060913;
  --bg-alt: #0a1020;
  --surface: rgba(16, 23, 42, 0.78);
  --surface-solid: #10172a;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f6fc;
  --text-muted: #9aa7c0;
  --accent: #6366f1;
  --accent-hover: #7577f8;
  --emerald: #10b981;
  --cyan: #06b6d4;
  --danger: #f43f5e;
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1180px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.bg-glow {
  position: fixed;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.16;
  pointer-events: none;
  z-index: -1;
}

.bg-glow--indigo {
  top: -180px;
  left: -140px;
  background: radial-gradient(circle, #6366f1, transparent 70%);
}

.bg-glow--emerald {
  top: 220px;
  right: -200px;
  background: radial-gradient(circle, #10b981, transparent 70%);
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(6, 9, 19, 0.78);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--emerald));
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #fff;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__text strong {
  font-size: 16px;
  letter-spacing: -0.02em;
}

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

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

.nav a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.18s ease;
}

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

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  transition: all 0.18s ease;
}

.icon-btn:hover {
  color: #fff;
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  color: #fff;
  box-shadow: 0 10px 28px rgba(99, 102, 241, 0.34);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--accent-hover), #5b52f0);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(99, 102, 241, 0.45);
}

.btn--primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.26);
}

.btn--sm {
  font-size: 13px;
  padding: 9px 15px;
}

.btn--lg {
  font-size: 15px;
  padding: 14px 24px;
}

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

.hero {
  padding: 58px 0 46px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.32);
  background: rgba(16, 185, 129, 0.09);
  color: #6ee7b7;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 22px;
}

.status-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22);
}

.hero__title {
  margin: 0 0 18px;
  font-size: clamp(32px, 4.1vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.gradient-text {
  background: linear-gradient(110deg, #a5b4fc 0%, #34d399 55%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  margin: 0 0 24px;
  font-size: 17px;
  color: var(--text-muted);
  max-width: 580px;
}

.hero__subtitle strong {
  color: var(--text);
  font-weight: 600;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.chip {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: #d6e0f5;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.hero__micro {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.calc-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.calc-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.calc-card__eyebrow {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #818cf8;
  font-weight: 700;
  margin-bottom: 4px;
}

.calc-card__head h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.tier-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.16);
  border: 1px solid rgba(99, 102, 241, 0.38);
  color: #c7d2fe;
}

.calc-field {
  margin-bottom: 18px;
}

.calc-field__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.calc-field__label strong {
  font-size: 18px;
  color: #fff;
}

.calc-field__title {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.range-input {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
  height: 6px;
}

.quick-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.quick-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  padding: 7px 6px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.quick-btn:hover, .quick-btn.is-active {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.55);
  color: #fff;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.seg-btn {
  font-family: inherit;
  font-size: 12.5px;
  line-height: 1.3;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.16s ease;
}

.seg-btn.is-active {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.5);
  color: #ecfdf5;
}

.select-input,
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: #0b1121;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 11px 13px;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.select-input:focus,
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.calc-result {
  background: rgba(6, 9, 19, 0.65);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}

.calc-result__row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.calc-result__row strong {
  color: var(--text);
}

.calc-result__divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}

.calc-result__total {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.calc-result__total small {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.calc-result__payout {
  font-size: 24px;
  font-weight: 700;
  color: #34d399;
  line-height: 1.2;
}

.calc-result__region {
  font-size: 12px;
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.14);
  padding: 4px 9px;
  border-radius: 8px;
}

.calc-card__note {
  margin: 10px 0 0;
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
}

.metrics {
  padding: 18px 0 44px;
}

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

.metrics__grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

.marquee-band {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(10, 16, 32, 0.72);
  padding: 16px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: corridor-scroll 36s linear infinite;
}

.marquee-band:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 12px;
}

.corridor-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: #e2e8f0;
  white-space: nowrap;
}

.corridor-chip em {
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: var(--text-muted);
}

.corridor-chip--accent {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.4);
  color: #a7f3d0;
}

.corridor-chip--accent em {
  color: #6ee7b7;
}

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

.section__head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: end;
}

.primitives-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.primitive-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.primitive-card:hover {
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateY(-2px);
}

.primitive-card__num {
  font-size: 12px;
  font-weight: 700;
  color: #818cf8;
  margin-bottom: 10px;
}

.primitive-card h3 {
  margin: 0 0 6px;
  font-size: 19px;
  letter-spacing: -0.015em;
}

.primitive-card__lead {
  font-size: 13.5px;
  font-weight: 600;
  color: #6ee7b7 !important;
  margin: 0 0 10px !important;
}

.primitive-card p {
  margin: 0 0 16px;
  font-size: 13.5px;
  color: var(--text-muted);
  flex: 1;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-row span {
  font-size: 11.5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: #cbd5e1;
}

.roadmap-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(16, 185, 129, 0.08));
  border: 1px solid rgba(165, 180, 252, 0.26);
}

.roadmap-bar__content {
  max-width: 760px;
}

.roadmap-bar h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.roadmap-bar p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

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

.code-card--response {
  border-color: rgba(16, 185, 129, 0.35);
}

.code-status {
  color: #34d399;
  font-weight: 600;
}

.metric-card {
  background: rgba(16, 23, 42, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.metric-card strong {
  display: block;
  font-size: 26px;
  color: #fff;
  margin-bottom: 6px;
}

.metric-card span {
  font-size: 13.5px;
  color: var(--text-muted);
}

.section {
  padding: 76px 0;
}

.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__head {
  max-width: 680px;
  margin-bottom: 42px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #34d399;
  margin-bottom: 10px;
}

.section__head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.section__head p {
  margin: 0;
  font-size: 16px;
  color: var(--text-muted);
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(99, 102, 241, 0.45);
  transform: translateY(-2px);
}

.feature-card__icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #a5b4fc;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.015em;
}

.feature-card p {
  margin: 0 0 16px;
  font-size: 14.5px;
  color: var(--text-muted);
}

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

.check-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: #dbe4f5;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 700;
}

.flow-board {
  display: grid;
  grid-template-columns: 1fr auto 1.25fr;
  gap: 24px;
  align-items: center;
}

.flow-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.flow-col h3 {
  margin: 0 0 16px;
  font-size: 17px;
  color: #fff;
}

.flow-item {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  margin-bottom: 10px;
}

.flow-item:last-child {
  margin-bottom: 0;
}

.flow-item strong {
  display: block;
  font-size: 14.5px;
  margin-bottom: 3px;
}

.flow-item span {
  font-size: 13px;
  color: var(--text-muted);
}

.flow-bridge__core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(16, 185, 129, 0.22));
  border: 1px solid rgba(165, 180, 252, 0.4);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.28);
  text-align: center;
}

.flow-bridge__core span {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.flow-bridge__core small {
  font-size: 10px;
  color: #a5b4fc;
}

.corridor-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.corridor-pill {
  padding: 13px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.corridor-pill--accent {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.35);
}

.corridor-pill strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.corridor-pill span {
  font-size: 12.5px;
  color: var(--text-muted);
}

.tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.tab-btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.18s ease;
}

.tab-btn.is-active {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.55);
  color: #fff;
}

.tab-panel {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
}

.tab-panel.is-active {
  display: block;
}

.integration-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.integration-split h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.integration-split p {
  color: var(--text-muted);
  margin: 0 0 18px;
}

.integration-split .check-list {
  margin-bottom: 22px;
}

.mockup-card,
.code-card {
  background: #070b16;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  overflow: hidden;
}

.mockup-card__bar,
.code-card__head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

.mockup-card__bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.mockup-card__bar small {
  margin-left: auto;
}

.mockup-card__content {
  padding: 20px;
}

.mockup-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.mockup-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 16px 0;
}

.mockup-methods span {
  text-align: center;
  font-size: 12.5px;
  padding: 9px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.mockup-methods span.is-selected {
  border-color: var(--emerald);
  background: rgba(16, 185, 129, 0.12);
  color: #ecfdf5;
  font-weight: 600;
}

.mockup-btn {
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
}

.mockup-card__content > small {
  display: block;
  text-align: center;
  font-size: 11.5px;
  color: var(--text-muted);
}

.code-card__head {
  justify-content: space-between;
}

.copy-btn {
  font-family: inherit;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
}

.code-card pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  font-size: 12.5px;
  line-height: 1.6;
  color: #c7d2fe;
}

.b2b-steps-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.b2b-step {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  font-size: 14px;
}

.b2b-step strong {
  color: var(--emerald);
  margin-right: 6px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.step-card__num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #34d399;
  margin-bottom: 12px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.step-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

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

.tariff-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.tariff-card--featured {
  border-color: rgba(99, 102, 241, 0.65);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.12), rgba(16, 23, 42, 0.85));
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.18);
}

.tariff-card__badge {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #c7d2fe;
  margin-bottom: 14px;
}

.tariff-card--featured .tariff-card__badge {
  background: var(--accent);
  color: #fff;
}

.tariff-card h3 {
  margin: 0 0 4px;
  font-size: 22px;
}

.tariff-card__volume {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.tariff-card__rate {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
}

.tariff-card .check-list {
  margin-bottom: 24px;
  flex: 1;
}

.faq-wrap {
  max-width: 860px;
}

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

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
}

.faq-item summary {
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '−';
  color: var(--emerald);
}

.faq-item p {
  margin: 12px 0 0;
  font-size: 14.5px;
  color: var(--text-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 40px;
  align-items: start;
}

.contact-info h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
}

.contact-info > p {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 15.5px;
}

.direct-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.direct-card {
  display: block;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

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

.direct-card--tg {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.35);
}

.direct-card--wa {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.35);
}

.direct-card__title {
  font-weight: 700;
  font-size: 15.5px;
  margin-bottom: 3px;
}

.direct-card__sub {
  font-size: 13px;
  color: var(--text-muted);
}

.contact-meta {
  font-size: 13.5px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-meta a {
  color: #a5b4fc;
  text-decoration: underline;
}

.lead-form {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.lead-form h3 {
  margin: 0 0 20px;
  font-size: 21px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

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

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-status {
  margin-top: 14px;
  font-size: 13.5px;
  border-radius: 10px;
  padding: 0;
}

.form-status.is-success {
  padding: 12px 14px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #a7f3d0;
}

.form-status.is-error {
  padding: 12px 14px;
  background: rgba(244, 63, 94, 0.14);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fecdd3;
}

.form-consent {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: #a5b4fc;
  text-decoration: underline;
  cursor: pointer;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 34px 0 90px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__legal {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--text-muted);
  max-width: 560px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 10px 14px;
  background: rgba(6, 9, 19, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-strong);
  gap: 10px;
}

.mobile-bar .btn {
  flex: 1;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.modal__box {
  position: relative;
  width: min(100%, 520px);
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.modal__head h3 {
  margin: 0;
}

.modal__close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}

.modal__body p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 12px;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero__grid,
  .flow-board,
  .integration-split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .flow-bridge {
    display: flex;
    justify-content: center;
  }

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

  .section__head--split {
    grid-template-columns: 1fr;
  }

  .roadmap-bar {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 640px) {
  .hero {
    padding-top: 34px;
  }

  .cards-grid--2,
  .metrics__grid,
  .metrics__grid--5,
  .primitives-grid,
  .steps-grid,
  .corridor-pills,
  .form-row,
  .segmented {
    grid-template-columns: 1fr;
  }

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

  .mobile-bar {
    display: flex;
  }

  .header__actions .btn {
    display: none;
  }
}
