/* RT product/developer pages: premium business banking depth, light mode only */
.nav-brand { gap: 0; }
.brand-full {
  height: 30px;
  width: auto;
  display: block;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex: 0 0 auto;
  box-shadow: 0 10px 28px rgba(2, 2, 2, .12);
}
.brand-word {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.045em;
}
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 42px;
  min-height: 560px;
  background:
    radial-gradient(circle at 82% 8%, rgba(31,107,255,.13), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.58), rgba(246,248,252,0));
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .32;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
  pointer-events: none;
  animation: gridDrift 14s linear infinite;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  right: -160px;
  top: -180px;
  background: radial-gradient(circle, rgba(31,107,255,.18), transparent 68%);
  filter: blur(4px);
  pointer-events: none;
  animation: orbPulse 7s ease-in-out infinite;
}
.page-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 52px;
  align-items: center;
}
.page-kicker {
  display: inline-flex;
  height: 30px;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(31,107,255,.08);
}
.page-hero h1 {
  margin-top: 18px;
  max-width: 720px;
  font-size: clamp(40px, 6vw, 68px);
  letter-spacing: -.03em;
  line-height: 1.08;
}
.page-hero .lede {
  max-width: 34ch;
  margin-top: 18px;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.45;
  color: var(--ink-2);
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.76);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.product-visual {
  min-height: 430px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  justify-content: center;
  align-content: center;
  gap: 16px 18px;
  isolation: isolate;
  padding: 24px 0;
}
.product-visual::before {
  content: "";
  position: absolute;
  width: 78%;
  height: 78%;
  border-radius: 38% 62% 54% 46%;
  background:
    radial-gradient(circle at 32% 22%, rgba(31,107,255,.28), transparent 32%),
    radial-gradient(circle at 72% 72%, rgba(104,156,255,.20), transparent 38%),
    linear-gradient(135deg, rgba(255,255,255,.86), rgba(231,239,255,.72));
  filter: blur(.2px);
  z-index: -1;
  animation: blobShift 9s ease-in-out infinite;
}
.floating-card {
  position: relative;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(220,226,236,.9);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(16,30,54,.13);
  backdrop-filter: blur(10px);
  animation: floatCard 6.4s ease-in-out infinite, cardEnter .62s cubic-bezier(.2,.8,.2,1) both;
  will-change: transform;
}
.floating-card.main {
  position: relative;
  grid-column: 1 / -1;
  width: min(440px, 100%);
  justify-self: center;
  padding: 24px;
}
.floating-card.side-a {
  width: 100%;
  padding: 18px;
  right: auto !important;
  top: auto !important;
  animation-delay: -1.2s;
}
.floating-card.side-b {
  width: 100%;
  padding: 18px;
  left: auto !important;
  bottom: auto !important;
  animation-delay: -2.4s;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes cardEnter {
  from { opacity: 0; transform: translateY(22px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 56px 56px, 56px 56px; }
}
@keyframes orbPulse {
  0%, 100% { transform: translate3d(0,0,0) scale(1); opacity: .85; }
  50% { transform: translate3d(-34px,28px,0) scale(1.08); opacity: 1; }
}
@keyframes blobShift {
  0%, 100% { transform: rotate(0deg) scale(1); border-radius: 38% 62% 54% 46%; }
  50% { transform: rotate(5deg) scale(1.04); border-radius: 56% 44% 42% 58%; }
}
.visual-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.visual-row:last-child { border-bottom: 0; }
.visual-label { font-size: 14px; font-weight: 700; }
.visual-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.visual-value { font-size: 14px; font-weight: 800; color: var(--ink); }
.route-map {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.route-step {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  min-height: 150px;
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.route-step:hover {
  transform: translateY(-4px);
  border-color: rgba(31,107,255,.24);
  box-shadow: var(--shadow);
}
.route-step::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  right: -20px;
  bottom: -20px;
  border-radius: 50%;
  background: var(--accent-soft);
}
.route-step b { display: block; font-size: 15px; margin-top: 10px; position: relative; z-index: 1; }
.route-step p { color: var(--ink-2); font-size: 13.5px; margin-top: 7px; position: relative; z-index: 1; }
.step-num {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--rt-black);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.deep-section { padding: 80px 0; }
.deep-section.alt { background: var(--bg-tint); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: start;
}
.sticky-copy { position: sticky; top: 104px; }
.copy-block h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.04em; }
.copy-block p { color: var(--ink-2); font-size: 17px; margin-top: 14px; }
.feature-stack { display: grid; gap: 14px; }
.line-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: #fff;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.line-card:hover {
  transform: translateY(-3px);
  border-color: rgba(31,107,255,.22);
  box-shadow: var(--shadow);
}
.line-card .mini-ic {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-weight: 800;
}
.line-card h3 { font-size: 18px; margin-bottom: 6px; }
.line-card p { font-size: 14.5px; color: var(--ink-2); }
.code-card {
  border-radius: 24px;
  background: #0b1524;
  color: #d7e4ff;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.code-head {
  display: flex;
  gap: 7px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.code-dot { width: 10px; height: 10px; border-radius: 50%; background: #ff6b6b; }
.code-dot:nth-child(2) { background: #f9c74f; }
.code-dot:nth-child(3) { background: #75d66b; }
pre {
  margin: 18px 0 0;
  white-space: pre-wrap;
  font-size: 13.5px;
  line-height: 1.75;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}
.flow-band {
  display: flex;
  gap: 14px;
  align-items: center;
}
.flow-band > .flow-node { flex: 1 1 0; min-width: 0; }
.flow-band > .flow-arrow { flex: 0 0 auto; }
.flow-node {
  min-height: 150px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.flow-node h3 { font-size: 18px; }
.flow-node p { color: var(--ink-2); font-size: 14.5px; margin-top: 8px; }
.flow-arrow {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}
.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.metric {
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border);
}
.metric .num { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.metric .lab { color: var(--ink-2); font-size: 13.5px; margin-top: 3px; }
.page-nav-note {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.page-nav-note a {
  height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--r-pill);
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 700;
}
.glow-line {
  height: 3px;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent), #76a9ff, transparent);
  background-size: 220% 100%;
  animation: sweep 3.6s linear infinite;
}
@keyframes sweep {
  from { background-position: 0% 0; }
  to { background-position: 220% 0; }
}
@media (max-width: 960px) {
  .site-header .nav {
    height: 72px;
    min-height: 72px;
    padding-top: 0;
    padding-bottom: 0;
    flex-wrap: nowrap;
    gap: 12px;
    justify-content: initial;
  }
  .site-header .nav-links {
    display: none;
  }
  .site-header .menu-toggle {
    display: inline-flex;
    margin-left: 0;
  }
  .page-hero-grid, .split, .route-map, .metric-strip { grid-template-columns: 1fr; }
  .product-visual { min-height: 420px; grid-template-columns: 1fr; }
  .floating-card.main { grid-column: auto; }
  .floating-card.side-a, .floating-card.side-b { position: relative; inset: auto; width: 100%; margin-top: 0; }
  .flow-band { flex-direction: column; align-items: stretch; }
  .flow-arrow { transform: rotate(90deg); margin: 0 auto; }
  .sticky-copy { position: static; }
}
@media (max-width: 560px) {
  .site-header .nav { gap: 10px; }
  .site-header .nav-cta .btn-ghost { display: none; }
  .brand-full { height: 28px; }
  .page-hero { padding: 48px 0 28px; min-height: auto; }
  .page-hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.08; }
  .deep-section { padding: 56px 0; }
  .line-card { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero::before,
  .page-hero::after,
  .product-visual::before,
  .floating-card,
  .glow-line {
    animation: none !important;
  }
}
