/* Velocity — cross-page enhancement layer (loaded on every marketing page). */

/* --- Hub-city constellation on coverage map --- */
@keyframes hub-pulse {
  0%   { r: 1.4; opacity: 1; }
  70%  { r: 5.5; opacity: 0; }
  100% { r: 5.5; opacity: 0; }
}
svg.map .hub-ring {
  transform-box: fill-box;
}

/* --- Footer horizontal "Get commercials" band --- */
.velo-footer-band {
  border-top: 1px solid rgba(244,246,250,.09);
  border-bottom: 1px solid rgba(244,246,250,.09);
  background: linear-gradient(180deg, rgba(174,182,194,.03), transparent 80%);
  padding: 50px 0;
}
.velo-footer-band .wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.velo-footer-band .k {
  font-family: "JetBrains Mono", monospace;
  font-size: .58rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #AEB6C2;
  margin-bottom: 12px;
}
.velo-footer-band h3 {
  font-family: "Clash Display", "Archivo", sans-serif;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.05;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  color: #F4F6FA;
  margin: 0;
  max-width: 24ch;
}
.velo-footer-band h3 b {
  font-weight: 800;
  background: linear-gradient(180deg, #eef1f5, #c6ccd6 46%, #9198a5 54%, #dadee4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.velo-footer-band .v-band-cta {
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .7rem;
  padding: 16px 30px;
  background: #F4F6FA;
  color: #05060A;
  border: 1px solid #F4F6FA;
  transition: .25s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.velo-footer-band .v-band-cta:hover {
  background: #AEB6C2;
  border-color: #AEB6C2;
  letter-spacing: .28em;
}

/* --- Pricing page — 01 → 02 → 03 chevron connectors --- */
.velo-three-parts {
  position: relative;
}
.velo-three-parts .seclabel .n::before {
  content: "";
}
/* Draw thin hairline connectors underneath child cards using ::before */
.velo-three-parts [class*="grid-3"] > *,
.velo-three-parts .three > *,
.velo-three-parts .parts > * {
  position: relative;
}
.velo-three-parts [class*="grid-3"] > *:not(:last-child)::after,
.velo-three-parts .three > *:not(:last-child)::after,
.velo-three-parts .parts > *:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  right: -14px;
  top: 40px;
  color: #AEB6C2;
  font-family: "JetBrains Mono", monospace;
  font-size: 22px;
  opacity: .7;
  pointer-events: none;
}
@media (max-width: 900px) {
  .velo-three-parts [class*="grid-3"] > *::after,
  .velo-three-parts .three > *::after,
  .velo-three-parts .parts > *::after { display: none; }
}

/* --- Hero stat sparklines --- */
.tcell {
  position: relative;
}
.tcell .spark {
  display: block;
  width: 80px;
  height: 18px;
  margin-top: 6px;
  opacity: .55;
}
.tcell:hover .spark { opacity: 1; transition: opacity .3s; }
.tcell .spark polyline {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: v-draw 1.8s ease-out .3s forwards;
}
@keyframes v-draw { to { stroke-dashoffset: 0; } }

/* --- Live pulse dot next to logo --- */
.brand .live-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4FE0A6;
  box-shadow: 0 0 8px #4FE0A6, 0 0 16px rgba(79, 224, 166, 0.4);
  margin-left: 6px;
  animation: v-pulse 1.9s ease-in-out infinite;
  display: inline-block;
  vertical-align: middle;
}
@keyframes v-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

/* --- Sign in link (subpages) - standardise --- */
.nav-r a.login {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .62rem;
  color: #9DA2B0;
  transition: color .18s, letter-spacing .18s;
}
.nav-r a.login:hover {
  color: #F4F6FA;
  letter-spacing: .2em;
}

/* --- Lead capture modal --- */
.velo-modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}
.velo-modal-bg.on { display: flex; animation: velo-modal-fade .35s ease; }
@keyframes velo-modal-fade { from { opacity: 0; } to { opacity: 1; } }

.velo-modal {
  background: #0A0C12;
  border: 1px solid rgba(244, 246, 250, .16);
  width: 100%;
  max-width: 620px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  padding: 44px 44px 36px;
  animation: velo-modal-slide .45s cubic-bezier(.16, .8, .24, 1);
}
@keyframes velo-modal-slide { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .velo-modal { padding: 32px 22px; } }

.velo-modal .close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: "JetBrains Mono", monospace;
  font-size: .66rem;
  letter-spacing: .18em;
  color: #575C6B;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  text-transform: uppercase;
  transition: color .2s;
}
.velo-modal .close:hover { color: #F4F6FA; }

.velo-modal .kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: .58rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #AEB6C2;
  margin-bottom: 14px;
}
.velo-modal h2 {
  font-family: "Clash Display", "Archivo", sans-serif;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.05;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  margin-bottom: 12px;
  color: #F4F6FA;
}
.velo-modal h2 b {
  font-weight: 700;
  background: linear-gradient(180deg, #eef1f5, #c6ccd6 46%, #9198a5 54%, #dadee4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.velo-modal p.sub {
  color: #9DA2B0;
  font-size: .95rem;
  margin-bottom: 28px;
  line-height: 1.55;
}

.velo-modal .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.velo-modal .col { display: flex; flex-direction: column; }
.velo-modal label {
  font-family: "JetBrains Mono", monospace;
  font-size: .54rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #575C6B;
  margin-bottom: 6px;
}
.velo-modal input,
.velo-modal select,
.velo-modal textarea {
  background: #05060A;
  border: 1px solid rgba(244, 246, 250, .09);
  color: #F4F6FA;
  padding: 12px 14px;
  font-family: "Satoshi", "Inter", sans-serif;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
  width: 100%;
}
.velo-modal input:focus,
.velo-modal select:focus,
.velo-modal textarea:focus { border-color: #AEB6C2; }
.velo-modal textarea { resize: vertical; min-height: 88px; }
@media (max-width: 560px) { .velo-modal .row { grid-template-columns: 1fr; } }

.velo-modal .submit {
  margin-top: 20px;
  width: 100%;
  background: #F4F6FA;
  color: #05060A;
  border: 1px solid #F4F6FA;
  padding: 14px 22px;
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .66rem;
  cursor: pointer;
  transition: .25s;
}
.velo-modal .submit:hover { background: #AEB6C2; border-color: #AEB6C2; letter-spacing: .28em; }
.velo-modal .submit:disabled { opacity: .5; cursor: not-allowed; letter-spacing: .22em; }

.velo-modal .success {
  padding: 30px 10px;
  text-align: center;
  color: #F4F6FA;
}
.velo-modal .success .tick {
  width: 56px;
  height: 56px;
  border: 1px solid #4FE0A6;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  color: #4FE0A6;
  font-size: 26px;
  animation: v-pulse 2s ease-in-out infinite;
}
.velo-modal .success h3 {
  font-family: "Clash Display", sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.velo-modal .success p {
  color: #9DA2B0;
  font-size: .92rem;
  max-width: 42ch;
  margin: 0 auto;
}
.velo-modal .err {
  color: #e06f6f;
  font-size: .82rem;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: .1em;
  margin-top: 12px;
  text-align: center;
}

/* ============================================================
   Colour + visibility pass — 2026-02-14
   Shared across every velo* marketing page. Backwards-compatible
   with each page's inline style block; these rules are ADDITIVE.
   ============================================================ */

/* Primary filled CTA — green gradient instead of chrome silver on all pages */
.btn.btn-p {
  background: linear-gradient(135deg, #4FE0A6 0%, #33B885 100%) !important;
  color: #04140C !important;
  border: 1px solid rgba(4,20,12,.28);
  box-shadow: 0 8px 30px -8px rgba(79,224,166,.45);
}
.btn.btn-p:hover {
  background: linear-gradient(135deg, #6BEEB8 0%, #4FE0A6 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 36px -8px rgba(79,224,166,.7);
}

/* Warmer body — softer, non-clashing gradient. Constrained to page edges
   so it doesn't halo behind the telemetry / stat bars. Previous version
   had a wide amber blob that landed directly behind the middle telemetry
   cells and looked like a JPG artefact. */
body {
  background:
    radial-gradient(650px 500px at 5% -220px, rgba(167,139,250,.08), transparent 65%),
    radial-gradient(700px 500px at 100% -100px, rgba(79,224,166,.05), transparent 60%),
    radial-gradient(900px 600px at 50% 120%, rgba(245,185,89,.045), transparent 65%),
    #0A0D14;
  background-attachment: fixed;
}
/* Telemetry gets its own solid backdrop so nothing bleeds through. */
.telemetry, .telemetry .wrap, .tcell, .tfoot {
  background-color: #0A0D14;
}
.tcell { background: linear-gradient(180deg, rgba(255,255,255,.008), rgba(0,0,0,.15)) !important; }
.telemetry .wrap { background-color: rgba(9,11,17,.72); backdrop-filter: blur(4px); }

/* Section separators — 1.7× more visible than before */
.seclabel .bar {
  background: linear-gradient(90deg, #4FE0A6 0%, rgba(79,224,166,.05) 100%);
}
.seclabel .r { color: #F4F6FA; opacity: .92; }

/* Footer link hover in brand green */
footer a:hover, .foot a:hover { color: #4FE0A6 !important; }

/* Nav CTA hover fill */
.nav-cta:hover {
  background: #4FE0A6;
  color: #04140C;
  border-color: #4FE0A6;
}

/* Industry / feature cards — coloured accent stripe on hover.
   Works on any `.ind`, `.ib`, `.iblock`, `.card`. */
.ind, .iblock, .feat, .card {
  position: relative;
  overflow: hidden;
  transition: background .3s, border-color .3s;
}
.ind::before, .iblock::before, .feat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, #4FE0A6 0%, #F5B959 100%);
  transition: height .4s cubic-bezier(.16,.8,.24,1);
}
.ind:hover::before, .iblock:hover::before, .feat:hover::before { height: 100%; }
.ind:hover, .iblock:hover, .feat:hover {
  background: rgba(79,224,166,.03);
  border-color: rgba(79,224,166,.28);
}

/* Cover-teaser — subtle amber ring so it pops off flat sections */
.covteaser {
  border: 1px solid rgba(245,185,89,.20);
  background: linear-gradient(180deg, rgba(245,185,89,.03), transparent 60%), rgba(15,18,28,.4);
}

/* Live dot punchier glow */
.live::before, .tcell .v .live::before {
  background: #4FE0A6;
  box-shadow: 0 0 12px #4FE0A6, 0 0 24px rgba(79,224,166,.35);
}

/* Mobile — ensure long code snippets, tables and tag rows don't force
   horizontal scroll on any velo page. */
@media (max-width: 640px) {
  pre, code, .tags, .marquee, .covmarquee { max-width: 100%; overflow-x: auto; }
  section.blk { padding: 70px 0; }
  .wrap { padding: 0 22px; }
  h1 { font-size: clamp(2rem, 9vw, 3.4rem) !important; }
  h2 { font-size: clamp(1.6rem, 7vw, 2.6rem) !important; }
  .btn { padding: 12px 20px; font-size: .8rem; }
  .cta-btns { flex-direction: column; gap: 10px; }
  .cta-btns .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   Mobile header — 2026-02-14 fix
   The 8 folder pages inherited a truncated @media(max-width:960px)
   rule from the URL-cleanup refactor: only `.nav-mid{display:none}`
   was copied over, leaving `.nav-r .login` + `.nav-cta` visible on
   375px viewports and forcing 96–104px of horizontal overflow.
   Hardening the mobile header rules here means the rule can never
   drift out of sync again.
   ============================================================ */
@media (max-width: 960px) {
  .nav-mid { display: none !important; }
  .nav-r .login,
  .nav-r .signgrp,
  .nav-r a[data-merchant-signin],
  .nav-r a[data-testid="marketing-nav-merchant-signin"],
  .nav-r a[data-testid="marketing-nav-admin-signin"] { display: none !important; }
}
@media (max-width: 480px) {
  .nav-r .nav-cta {
    padding: 10px 14px !important;
    font-size: .55rem !important;
    letter-spacing: .16em !important;
  }
  header#hdr .wrap.nav { gap: 8px; }
  header#hdr .brand { font-size: .78rem !important; }
}

/* ============================================================
   DESIGN POLISH PASS — 2026-02-14 (v2, cross-page)
   Applies to all 9 marketing pages via velocity-enhance.css.
   ============================================================ */

/* --- Consistent section rhythm ------------------------------- */
section.blk { padding: 100px 0; }
section.blk + section.blk { border-top: 1px solid rgba(244,246,250,.06); }
@media (max-width: 820px) { section.blk { padding: 80px 0; } }

/* --- Section eyebrow (01 · KICKER) — brighter, alternating hue */
.seclabel { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.seclabel .n { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .26em; color: #4FE0A6; }
.seclabel .r { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .26em; color: #F4F6FA; opacity: .92; }
section.blk:nth-child(even) .seclabel .n { color: #F5B959; }
section.blk:nth-child(even) .seclabel .bar {
  background: linear-gradient(90deg, #F5B959 0%, rgba(245,185,89,.04) 100%) !important;
}
section.blk:nth-child(3n) .seclabel .n { color: #A78BFA; }
section.blk:nth-child(3n) .seclabel .bar {
  background: linear-gradient(90deg, #A78BFA 0%, rgba(167,139,250,.04) 100%) !important;
}

/* --- Breadcrumb across pages -------------------------------- */
.crumb {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #8A8F9C;
  margin-bottom: 24px;
}
.crumb a { color: #B4B9C5; }
.crumb a:hover { color: #4FE0A6; }

/* --- Hero visual accent (right column on sub-pages) --------- */
.hero-accent {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,224,166,.12), rgba(79,224,166,0) 60%);
  pointer-events: none;
  filter: blur(2px);
}
@media (max-width: 820px) { .hero-accent { display: none; } }

/* --- Nav consolidation — signgrp becomes a subtle dropdown --- */
@media (min-width: 961px) {
  .signgrp {
    position: relative;
    padding: 8px 14px;
    border: 1px solid rgba(244,246,250,.10);
    border-radius: 999px;
    background: rgba(15,18,28,.4);
  }
  .signgrp:hover { border-color: rgba(79,224,166,.28); }
  .signsep { background: rgba(244,246,250,.14) !important; }
}

/* --- Cards get a soft violet ring on hover (adds a third hue) */
.ind:hover, .iblock:hover {
  box-shadow: 0 8px 30px -12px rgba(79,224,166,.18), 0 0 0 1px rgba(167,139,250,.14);
}

/* --- Marquee — gentler cross-fade at edges */
.marquee, .covmarquee {
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

/* --- Typography — brighten body copy, tighter kern on headings */
h1, h2, h3 { letter-spacing: -.015em; }
h1 { color: #FFFFFF; }
h2 { color: #F4F6FA; }
p, .sub, .lead { color: #C2C7D2; }
.sub { color: #B4B9C5; }
strong, b { color: #F4F6FA; }

/* --- Primary link colour — brand green underline */
main a:not(.btn):not(.nav-cta):not(.brand):not(.crumb a):not(.foot a) {
  color: #4FE0A6;
  border-bottom: 1px dotted rgba(79,224,166,.4);
  transition: border-color .15s;
}
main a:hover:not(.btn):not(.nav-cta) { border-bottom-color: #4FE0A6; }

/* --- Footer visual weight bump ------------------------------ */
footer {
  padding: 96px 0 60px !important;
  background: linear-gradient(180deg, transparent 0%, rgba(12,15,23,.75) 55%, rgba(12,15,23,.98) 100%);
  border-top: 1px solid rgba(244,246,250,.08);
}
footer .foot h5 {
  color: #4FE0A6 !important;
  opacity: 1 !important;
  font-family: 'JetBrains Mono', monospace;
  font-size: .58rem;
  letter-spacing: .24em;
}
footer .foot a { color: #C2C7D2 !important; }

/* --- Consistent CTA scroll target -------------------------- */
[id="cta"] { scroll-margin-top: 80px; }
