/* ============================================================
   RT — premium business banking design system
   Light mode only. Soft blue/white, rounded cards, quiet type.
   ============================================================ */

@import url('https://api.fontshare.com/v2/css?f[]=general-sans@400,500,600,700&display=swap');

:root {
  /* Surfaces */
  --bg: #f6f8fc;            /* soft blue-white page */
  --bg-tint: #eef3fb;       /* slightly bluer wash */
  --surface: #ffffff;       /* cards */
  --surface-2: #f7f9fd;     /* inset / hover */
  --border: #e8ecf3;        /* hairline */
  --border-strong: #dce2ec;

  /* Text */
  --ink: #0b1524;           /* near-black */
  --ink-2: #4b5870;         /* secondary */
  --ink-3: #8a95a8;         /* muted */

  /* Brand */
  --rt-black: #020202;      /* logo tile */
  --rt-green: #8cd336;      /* logo dot accent */
  --accent: #1f6bff;        /* primary blue */
  --accent-ink: #0f4fd6;
  --accent-soft: #e7efff;

  /* Semantic */
  --pos: #1ea672;
  --pos-soft: #e3f6ee;
  --neg: #e0524d;
  --neg-soft: #fdeceb;
  --warn: #c98a12;
  --warn-soft: #fbf2dd;
  --info: #2f6fed;

  /* Radius / shadow */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(16,30,54,.04);
  --shadow: 0 6px 24px rgba(16,30,54,.06);
  --shadow-lg: 0 20px 60px rgba(16,30,54,.10);

  --maxw: 1200px;
  --font: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent);
}
.muted { color: var(--ink-2); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Logo ---------- */
.rt-logo { display: inline-flex; align-items: center; gap: 0; flex: 0 0 auto; }
.rt-logo svg, .rt-logo img { height: 30px; width: auto; }
.brand-full { height: 30px; width: auto; display: block; object-fit: contain; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--rt-black); color: #fff; }
.btn-dark:hover { box-shadow: 0 8px 22px rgba(2,2,2,.18); }
.btn-blue { background: var(--accent); color: #fff; }
.btn-blue:hover { background: var(--accent-ink); box-shadow: 0 8px 22px rgba(31,107,255,.28); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--border-strong); }
.btn-light:hover { border-color: var(--ink-3); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.card-pad { padding: 28px; }

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 11px; border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 600;
  background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--border);
}
.pill.pos { background: var(--pos-soft); color: var(--pos); border-color: transparent; }
.pill.neg { background: var(--neg-soft); color: var(--neg); border-color: transparent; }
.pill.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.pill.info { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- Product status badges ---------- */
.tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px;
  border-radius: var(--r-pill); font-size: 11.5px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.tag-new { background: #edf9e3; color: #3d7a15; }
.tag-soon { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--border-strong); }
.card-head-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.card-head-row h3 { margin: 0; }

/* ---------- Step story (used by Agent Pay) ---------- */
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step-card .n { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .06em; }
.step-card h3 { font-size: 18px; margin: 10px 0 8px; }
.step-card p { font-size: 14.5px; color: var(--ink-2); }
.step-card ul { margin-top: 12px; display: grid; gap: 7px; }
.step-card li { font-size: 13.5px; color: var(--ink-2); display: flex; gap: 8px; }
.step-card li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); margin-top: 8px; flex: 0 0 auto; }
@media (max-width: 920px) { .step-grid { grid-template-columns: 1fr; } }

/* ---------- Waitlist form ---------- */
.waitlist { display: grid; gap: 12px; max-width: 460px; }
.waitlist input[type="email"], .waitlist input[type="text"], .waitlist select {
  height: 48px; border: 1px solid var(--border-strong); border-radius: 12px;
  padding: 0 15px; font-size: 15px; font-family: inherit; background: #fff; color: var(--ink);
}
.waitlist label { font-size: 13px; font-weight: 600; color: var(--ink-2); display: grid; gap: 6px; }
.field-note { font-size: 12.5px; color: var(--ink-3); }

/* ---------- Phone mock (mobile account preview) ---------- */
.phone {
  width: 300px; max-width: 100%; border-radius: 38px; background: #fff;
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); padding: 18px 16px 22px;
  margin: 0 auto;
}
.phone .notch { width: 92px; height: 5px; border-radius: 999px; background: var(--border-strong); margin: 0 auto 18px; }
.phone .bal { font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.phone .lbl { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.phone .rowline { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.phone .rowline:last-child { border-bottom: 0; }
.phone .quick { display: flex; gap: 8px; margin: 16px 0 10px; }
.phone .quick span { flex: 1; text-align: center; font-size: 12.5px; font-weight: 700; padding: 9px 0; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); color: var(--ink-2); }

/* ---------- Site header (marketing) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,248,252,.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  height: 72px; display: flex; align-items: center; gap: 28px;
}
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: 12px; }
.nav-link {
  padding: 8px 11px; border-radius: var(--r-pill); font-size: 14.5px;
  font-weight: 500; color: var(--ink-2); transition: .15s; white-space: nowrap;
}
.nav-link:hover { background: var(--surface-2); color: var(--ink); }
.nav-spacer { flex: 1; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; background: none; border: none; padding: 8px; }

/* ---------- Hero ---------- */
.hero { padding: 54px 0 48px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 62px); letter-spacing: -0.03em; }
.hero .lede { font-size: clamp(16.5px, 1.8vw, 19px); color: var(--ink-2); margin-top: 16px; max-width: 32ch; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.trust-row { display: flex; gap: 22px; margin-top: 34px; flex-wrap: wrap; align-items: center; }
.trust-row .item { font-size: 13.5px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }

/* ---------- Sections ---------- */
section { scroll-margin-top: 90px; }
.section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.section-head p { color: var(--ink-2); font-size: 17px; margin-top: 14px; }

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

.feature { padding: 26px; }
.feature .ic {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 16px;
}
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: 14.5px; }
.feature .lnk { display:inline-flex; align-items:center; gap:6px; margin-top:14px; font-weight:600; font-size:14px; color: var(--accent-ink); }
.feature .lnk:hover { gap: 10px; }

/* business account / money movement panel */
.movement-panel {
  margin-top: 30px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow-sm);
}
.movement-panel h3 {
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -.035em;
  margin-top: 8px;
}
.movement-panel p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 15.5px;
}
.movement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.movement-grid span {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #fff, #f8fbff);
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 700;
}
.contrast-card {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px;
  border-radius: var(--r-lg);
  background: #0b1524;
  color: #fff;
  box-shadow: var(--shadow);
}
.contrast-card h3 {
  color: #fff;
  font-size: clamp(22px, 2.6vw, 30px);
  margin-top: 8px;
}
.contrast-card p {
  color: rgba(255,255,255,.72);
  margin-top: 10px;
  font-size: 15px;
}
.contrast-card .eyebrow { color: #8cc7ff; }

/* product showcase block */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.showcase.rev { direction: rtl; } .showcase.rev > * { direction: ltr; }
.showcase h3 { font-size: clamp(24px,3vw,32px); }
.showcase ul { margin-top: 18px; display: grid; gap: 12px; }
.showcase li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: 15.5px; }
.showcase li .chk { flex: 0 0 auto; color: var(--pos); margin-top: 2px; }
.visual { border-radius: var(--r-lg); overflow: hidden; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #0b1524, #16263f);
  border-radius: var(--r-lg); padding: 56px; color: #fff; text-align: center;
}
.cta-band h2 { font-size: clamp(28px,4vw,42px); color:#fff; }
.cta-band p { color: rgba(255,255,255,.78); margin: 14px auto 0; max-width: 52ch; }

/* footer */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 40px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 14px; }
.footer-col a { display: block; padding: 5px 0; color: var(--ink-2); font-size: 14.5px; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display:flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--ink-3); font-size: 13px; flex-wrap: wrap; }
.footer-disclosure { margin-top: 18px; max-width: 980px; color: var(--ink-3); font-size: 12.5px; line-height: 1.6; }

/* payment badges */
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pay-badge {
  height: 32px; padding: 0 12px; border-radius: 8px; background: #fff;
  border: 1px solid var(--border); display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
}

/* reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
#heroVisual,
#acctVisual,
#payVisual,
#rtusdVisual {
  position: relative;
}
#heroVisual::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  border-radius: 32px;
  background: radial-gradient(circle at 50% 40%, rgba(31,107,255,.18), transparent 62%);
  filter: blur(8px);
  animation: rtPulse 7s ease-in-out infinite;
  pointer-events: none;
}
#heroVisual > div {
  animation: rtFloat 6.5s ease-in-out infinite;
  will-change: transform;
}
#heroVisual .card,
#acctVisual,
#payVisual,
#rtusdVisual {
  animation: rtCardIn .65s cubic-bezier(.2,.8,.2,1) both;
}
.feature,
.card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(31,107,255,.22);
  box-shadow: var(--shadow);
}
@keyframes rtFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes rtPulse {
  0%, 100% { transform: scale(.98); opacity: .72; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes rtCardIn {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  #heroVisual::before,
  #heroVisual > div,
  #heroVisual .card,
  #acctVisual,
  #payVisual,
  #rtusdVisual {
    animation: none !important;
  }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid, .showcase, .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .movement-panel { grid-template-columns: 1fr; padding: 24px; }
  .contrast-card { align-items: flex-start; flex-direction: column; }
  .grid-2 { grid-template-columns: 1fr; }
  .showcase.rev { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero { padding: 48px 0 36px; }
  .section { padding: 52px 0; }
  .cta-band { padding: 40px 24px; }
  .showcase.rev { direction: ltr !important; }
  #get-started .card.reveal { grid-template-columns: 1fr !important; }
  #get-started .card.reveal > div { padding: 30px !important; }
  #get-started .card.reveal > div + div { border-left: 0 !important; border-top: 1px solid var(--border); }
  #rtusdVisual { max-width: 100%; overflow: hidden; }
}
@media (max-width: 560px) {
  .nav { gap: 10px; }
  .nav-cta .btn-ghost { display: none; }
  .brand-full { height: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .card-pad, .feature { padding: 22px; }
  .movement-grid { grid-template-columns: 1fr; }
}

/* mobile nav sheet */
.mobile-sheet {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: none; flex-direction: column; padding: 24px;
}
.mobile-sheet.open { display: flex; }
.mobile-sheet .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.mobile-sheet a { padding: 16px 4px; font-size: 20px; font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-sheet .actions { margin-top: 24px; display: grid; gap: 12px; }

/* ---------- Footer: entities + legal links (rt20260929legal) ---------- */
.footer-entities { margin-top: 14px; font-size: 12.5px; line-height: 1.6; color: var(--ink-3); }
.footer-legal-links { display: inline-flex; gap: 18px; flex-wrap: wrap; }
.footer-legal-links a { color: var(--ink-2); }
.footer-legal-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-disclosure strong { color: var(--ink-2); font-weight: 600; }
.quick-start { display: grid; gap: 14px; }
.quick-start .qs-note { font-size: 12.5px; color: var(--ink-3); text-align: center; line-height: 1.55; }
.quick-start .qs-note a { color: var(--accent-ink); text-decoration: underline; }
.quick-start label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.quick-start input, .quick-start select { height: 44px; border: 1px solid var(--border-strong); border-radius: 10px; padding: 0 14px; font-size: 15px; font-family: inherit; background: #fff; color: var(--ink); width: 100%; }
.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; font-size: 13px; }
.lnk { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: 14px; color: var(--accent-ink); }
.lnk:hover { gap: 10px; }
.text-link { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.stat-num { font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; margin-bottom: 4px; line-height: 1.1; }
@media (max-width: 920px) { .usd-stats { grid-template-columns: 1fr 1fr !important; gap: 0 !important; } .usd-stats > div { border-left: 0 !important; } .usd-stats > div:nth-child(even) { border-left: 1px solid var(--border) !important; } .usd-stats > div:nth-child(n+3) { border-top: 1px solid var(--border); } }
@media (max-width: 760px) {
  .card[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .card[style*="grid-template-columns"] > div { padding: 28px !important; border-left: 0 !important; }
  .card[style*="grid-template-columns"] > div[id$="Visual"] { padding: 0 !important; min-height: 220px; }
}
#ai-agents .showcase li { color: rgba(255,255,255,.84); }
#ai-agents .showcase li .chk { color: #5ee0a0; }
.stat-list { display: grid; }
.stat-list .li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.stat-list .li:first-child { border-top: 0; }
.stat-list .lbl { opacity: .78; }
.stat-list .val { font-weight: 700; text-align: right; color: #fff; }
@media (max-width: 760px) {
  #rtusd .card { grid-template-columns: 1fr !important; }
  #rtusd .card > div:first-child { padding: 28px !important; }
  #rtusdVisual { min-height: 200px; }
}
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; } }
