/* =========================================================
   Rosta — landing page
   Brand: navy #00256E · blue #0A72ED · cyan #01B8FE
   ========================================================= */

:root {
  --rs-navy: #00256E;
  --rs-navy-900: #04163F;
  --rs-ink: #0B1A3A;
  --rs-body: #46557A;
  --rs-muted: #7182A3;
  --rs-blue: #0A72ED;
  --rs-blue-700: #164AC2;
  --rs-cyan: #01B8FE;
  --rs-sky: #EAF3FE;
  --rs-bg-tint: #F4F7FC;
  --rs-line: #E2E8F3;
  --rs-ok: #16A34A;
  --rs-warn: #D97706;
  --rs-bad: #DC2626;
  --rs-grad: linear-gradient(135deg, #01B8FE 0%, #0A72ED 48%, #164AC2 100%);
  --rs-shadow-lg: 0 30px 70px -30px rgba(4, 22, 63, .35);
  --rs-shadow-md: 0 18px 40px -24px rgba(4, 22, 63, .35);
  --rs-ease: cubic-bezier(.2, .8, .2, 1);
  --bs-body-font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-color: var(--rs-body);
  --bs-link-color-rgb: 10, 114, 237;
}

html { scroll-padding-top: 84px; }
body {
  background: #fff;
  color: var(--rs-body);
  font-family: var(--bs-body-font-family);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { color: var(--rs-ink); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.9rem); line-height: 1.12; text-wrap: balance; }
a { text-decoration: none; }
:focus-visible { outline: 3px solid rgba(10, 114, 237, .45); outline-offset: 3px; }

.grad-text {
  background: var(--rs-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-text-light {
  background: linear-gradient(120deg, #7FDBFF, #01B8FE 45%, #6EA8FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn-rs,
.btn-rs-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 700;
  border-radius: 14px;
  padding: .7rem 1.25rem;
  transition: transform .25s var(--rs-ease), box-shadow .25s var(--rs-ease), background-color .25s;
}
.btn-rs.btn-lg, .btn-rs-ghost.btn-lg { padding: .9rem 1.5rem; font-size: 1.02rem; }
.btn-rs {
  color: #fff;
  background: var(--rs-grad);
  background-size: 140% 140%;
  border: 0;
  box-shadow: 0 12px 28px -12px rgba(10, 114, 237, .7);
}
.btn-rs:hover, .btn-rs:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -12px rgba(10, 114, 237, .75);
  background-position: 100% 0;
}
.btn-rs .bi-arrow-right { transition: transform .25s var(--rs-ease); }
.btn-rs:hover .bi-arrow-right { transform: translateX(3px); }
.btn-rs-ghost {
  color: var(--rs-navy);
  background: #fff;
  border: 1px solid var(--rs-line);
  box-shadow: 0 6px 18px -12px rgba(4, 22, 63, .35);
}
.btn-rs-ghost:hover { color: var(--rs-blue); border-color: rgba(10, 114, 237, .35); transform: translateY(-2px); }

/* ---------- Header: announcement bar ---------- */
.announce {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  max-height: 60px;
  padding: .55rem 1rem;
  overflow: hidden;
  font-size: .86rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, var(--rs-navy-900), #0B3FA8 50%, var(--rs-navy-900));
  transition: max-height .35s var(--rs-ease), padding .35s var(--rs-ease);
}
.announce:hover { color: #fff; }
.announce-badge {
  flex: none;
  padding: .15rem .6rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--rs-navy-900);
  background: #7FDBFF;
  border-radius: 999px;
}
.announce-cta { flex: none; color: #7FDBFF; }
.announce-cta i { transition: transform .25s var(--rs-ease); }
.announce:hover .announce-cta i { transform: translateX(3px); }
.site-header.is-scrolled .announce { max-height: 0; padding-block: 0; }
@media (max-width: 575.98px) {
  .announce { font-size: .8rem; gap: .5rem; }
  .announce-cta { display: none; }
}

/* ---------- Navbar ---------- */
.site-nav {
  padding: 16px 0;
  transition: background-color .3s, box-shadow .3s, padding .3s;
}
.site-header.is-scrolled .site-nav {
  padding: 10px 0;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--rs-line), 0 10px 30px -20px rgba(4, 22, 63, .3);
}
.site-nav .navbar-brand img { height: 34px; width: auto; }
.site-nav .nav-link {
  color: var(--rs-ink);
  font-weight: 600;
  font-size: .95rem;
  padding: .5rem .9rem !important;
  border-radius: 10px;
  position: relative;
}
.site-nav .nav-link:hover { color: var(--rs-blue); }
.site-nav .nav-link.active { color: var(--rs-blue); }
.site-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--rs-blue);
  transform: translateX(-50%);
}
.navbar-toggler { border: 1px solid var(--rs-line); border-radius: 12px; padding: .35rem .6rem; font-size: 1.5rem; color: var(--rs-navy); }
.navbar-toggler:focus { box-shadow: none; }

@media (max-width: 991.98px) {
  .site-nav .navbar-collapse {
    background: #fff;
    border: 1px solid var(--rs-line);
    border-radius: 18px;
    padding: 12px;
    margin-top: 12px;
    box-shadow: var(--rs-shadow-md);
  }
  .site-nav .navbar-collapse .btn-rs { width: 100%; margin-top: 8px; }
  .site-nav .nav-link.active::after { display: none; }
}

/* ---------- Phone frame ---------- */
.phone {
  --pw: 280px;
  --bar: #fff;
  width: var(--pw);
  padding: calc(var(--pw) * .035);
  border-radius: calc(var(--pw) * .16);
  background: linear-gradient(150deg, #262e40, #0a0e17 60%);
  box-shadow:
    inset 0 0 0 1.5px #343c4f,
    0 50px 90px -40px rgba(4, 22, 63, .6),
    0 22px 40px -22px rgba(4, 22, 63, .45);
}
.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--pw) * .125);
  background: var(--bar);
}
.phone-status {
  position: relative;
  height: calc(var(--pw) * .1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 calc(var(--pw) * .075);
  font-size: calc(var(--pw) * .04);
  font-weight: 700;
  color: var(--bar-ink, #111);
  background: var(--bar);
  transition: background-color .5s, color .5s;
}
.phone-island {
  position: absolute;
  left: 50%; top: 52%;
  width: 30%; height: 56%;
  transform: translate(-50%, -50%);
  background: #0a0e17;
  border-radius: 999px;
}
.screen-media { position: relative; aspect-ratio: 720 / 1430; background: var(--bar); }
.screen-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .5s ease, transform .7s var(--rs-ease);
}
.screen-media img.is-active { opacity: 1; transform: none; }

/* ---------- Navbar over the dark hero ---------- */
.site-header .logo-on-light { display: none; }
.site-header.is-scrolled .logo-on-light { display: inline-block; }
.site-header.is-scrolled .logo-on-dark { display: none; }
.site-header:not(.is-scrolled) .navbar-toggler { color: #fff; border-color: rgba(255, 255, 255, .25); }
@media (min-width: 992px) {
  .site-header:not(.is-scrolled) .site-nav .nav-link { color: rgba(255, 255, 255, .82); }
  .site-header:not(.is-scrolled) .site-nav .nav-link:hover,
  .site-header:not(.is-scrolled) .site-nav .nav-link.active { color: #fff; }
  .site-header:not(.is-scrolled) .site-nav .nav-link.active::after { background: #7FDBFF; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: 175px 0 80px;
  overflow: hidden;
  color: #B9C6E4;
  background: linear-gradient(180deg, var(--rs-navy-900) 0%, #061B4D 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: drift 16s ease-in-out infinite alternate;
}
.aurora.a1 { width: 560px; height: 560px; top: -200px; right: -120px; background: #01B8FE; opacity: .42; }
.aurora.a2 { width: 520px; height: 520px; bottom: -280px; left: -160px; background: #0A72ED; opacity: .5; animation-duration: 20s; animation-delay: -6s; }
.aurora.a3 { width: 380px; height: 380px; top: 28%; left: 40%; background: #5B5BFF; opacity: .2; animation-duration: 24s; animation-delay: -12s; }
@keyframes drift { to { transform: translate(70px, 50px) scale(1.15); } }

/* faint grid everywhere + a brighter patch that follows the pointer */
.hero-grid, .hero-grid::after {
  position: absolute;
  inset: 0;
  background-size: 48px 48px;
}
.hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 25%, transparent 80%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 25%, transparent 80%);
}
.hero-grid::after {
  content: "";
  background-image:
    linear-gradient(rgba(127, 219, 255, .35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 219, 255, .35) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(circle 230px at var(--mx, 72%) var(--my, 42%), #000, transparent 70%);
  mask-image: radial-gradient(circle 230px at var(--mx, 72%) var(--my, 42%), #000, transparent 70%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .9rem;
  font-size: .82rem;
  font-weight: 600;
  color: #DCE6FF;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .5);
  animation: livePulse 2s infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.hero-title {
  font-size: clamp(2.3rem, 1.4rem + 3.6vw, 3.9rem);
  line-height: 1.06;
  margin: 1.25rem 0 1.1rem;
  color: #fff;
}
.rotator { display: grid; }
.rotator > span {
  grid-area: 1 / 1;
  background: linear-gradient(110deg, #7FDBFF 0%, #01B8FE 45%, #6EA8FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(.35em);
  filter: blur(4px);
  transition: opacity .55s var(--rs-ease), transform .55s var(--rs-ease), filter .55s;
}
.rotator > span.is-active { opacity: 1; transform: none; filter: none; transition-delay: .28s; }
.rotator > span.is-leaving { opacity: 0; transform: translateY(-.35em); filter: blur(4px); transition-duration: .3s; }
.hero-lead { font-size: 1.15rem; line-height: 1.65; max-width: 34rem; margin-bottom: 2rem; color: #B9C6E4; }
.hero-proof {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  margin: 1.8rem 0 0;
  padding: 0;
  font-size: .9rem;
  font-weight: 600;
  color: #DCE6FF;
}
.hero-proof i { margin-right: .3rem; color: #7FDBFF; }
.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1.25rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  transition: transform .25s var(--rs-ease), background-color .25s, border-color .25s;
}
.btn-glass.btn-lg { padding: .9rem 1.5rem; font-size: 1.02rem; }
.btn-glass:hover, .btn-glass:focus-visible { color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .35); transform: translateY(-2px); }

/* Hero visual: modules orbiting the app in 3D */
.hero-visual {
  --D: 540px;   /* outer orbit diameter */
  --Di: 380px;  /* inner orbit diameter */
  position: relative;
  height: 620px;
  perspective: 1400px;
}
.orbit-glow {
  position: absolute;
  top: 52%; left: 50%;
  width: 540px; height: 540px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 184, 254, .38), rgba(10, 114, 237, .12) 42%, transparent 68%);
  pointer-events: none;
}
.hero-stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--rs-ease);
}
.orbit {
  position: absolute;
  top: 56%; left: 50%;
  width: var(--D); height: var(--D);
  margin: calc(var(--D) / -2) 0 0 calc(var(--D) / -2);
  border-radius: 50%;
  transform-style: preserve-3d;
  transform: rotateX(74deg);
  animation: orbitSpin 36s linear infinite;
}
.orbit--outer {
  border: 1.5px solid rgba(127, 219, 255, .5);
  box-shadow: 0 0 40px rgba(1, 184, 254, .25), inset 0 0 40px rgba(1, 184, 254, .18);
}
.orbit--inner {
  --D: var(--Di);
  border: 1.5px dashed rgba(127, 219, 255, .3);
  animation-direction: reverse;
  animation-duration: 50s;
}
@keyframes orbitSpin {
  from { transform: rotateX(74deg) rotateZ(0deg); }
  to { transform: rotateX(74deg) rotateZ(360deg); }
}
.orbit-node {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  transform-style: preserve-3d;
  transform: rotate(var(--a)) translateX(calc(var(--D) / 2)) rotate(calc(var(--a) * -1));
}
/* counter-rotates in sync with the orbit so each chip always faces the viewer */
.orbit-chip {
  position: absolute;
  top: 0; left: 0;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .38rem .85rem .38rem .38rem;
  white-space: nowrap;
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  background: rgba(8, 28, 80, .94);
  border: 1px solid rgba(127, 219, 255, .4);
  border-radius: 999px;
  box-shadow: 0 12px 30px -12px rgba(1, 184, 254, .65);
  transform-origin: 0 0;
  transform: rotateZ(0deg) rotateX(-74deg) translate(-50%, -50%);
  animation: chipCounter 36s linear infinite;
}
@keyframes chipCounter {
  from { transform: rotateZ(0deg) rotateX(-74deg) translate(-50%, -50%); }
  to { transform: rotateZ(-360deg) rotateX(-74deg) translate(-50%, -50%); }
}
.orbit-chip i {
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  font-size: .85rem;
  background: var(--rs-grad);
  border-radius: 50%;
}
.orbit-chip b { font-weight: 700; }
.phone--hero {
  --pw: 250px;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) translateZ(0);
}

.hero-badge {
  position: absolute;
  top: 56px; right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .7rem 1rem .7rem .7rem;
  line-height: 1.25;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55);
  animation: bob 6s ease-in-out infinite;
}
.hero-badge > i {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  color: var(--rs-ok);
  background: #DCFCE7;
  border-radius: 12px;
}
.hero-badge strong { display: block; font-size: .88rem; color: var(--rs-ink); }
.hero-badge small { font-size: .76rem; color: var(--rs-muted); }
@keyframes bob { 50% { translate: 0 -10px; } }

.live-feed {
  position: absolute;
  left: -24px; bottom: 16px;
  z-index: 5;
  width: 280px;
  padding: 14px 14px 4px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6);
}
.lf-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .35rem;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rs-muted);
}
/* fixed row height so exactly three rows show; the 4th slides out of view */
.lf-list { --row: 52px; position: relative; height: calc(var(--row) * 3); margin: 0; padding: 0; overflow: hidden; list-style: none; }
.lf-item {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: .65rem;
  height: var(--row);
  border-top: 1px solid var(--rs-line);
  overflow: hidden;
}
.lf-item:first-child { border-top-color: transparent; }
.lf-item.is-new { animation: lfIn .6s var(--rs-ease); }
@keyframes lfIn {
  from { height: 0; opacity: 0; }
  to { height: var(--row); opacity: 1; }
}
.lf-ic { width: 34px; height: 34px; display: grid; place-items: center; font-size: 1rem; border-radius: 10px; }
.lf-ic.ok { color: #16A34A; background: #DCFCE7; }
.lf-ic.blue { color: var(--rs-blue); background: var(--rs-sky); }
.lf-ic.warn { color: #B45309; background: #FEF3C7; }
.lf-ic.violet { color: #7C3AED; background: #EDE9FE; }
.lf-txt { min-width: 0; }
.lf-txt strong { display: block; font-size: .84rem; line-height: 1.25; color: var(--rs-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lf-txt small { display: block; font-size: .74rem; color: var(--rs-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lf-when { font-size: .7rem; font-weight: 700; color: var(--rs-muted); }
.lf-item:first-child .lf-when { color: var(--rs-ok); }

/* side-by-side from 1200px: shift phone + orbit right to leave room for the live feed,
   and size the title so the longest rotating word stays on one line */
@media (min-width: 1200px) {
  .orbit, .phone--hero, .orbit-glow { left: 57%; }
  .hero-title { font-size: 3.35rem; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .hero-visual { --D: 500px; --Di: 350px; }
}
@media (min-width: 1400px) {
  .hero-title { font-size: 3.9rem; }
}
/* stacked below 1200px */
@media (max-width: 1199.98px) {
  .hero { padding: 160px 0 60px; }
  .hero-visual { --D: 470px; --Di: 330px; max-width: 560px; margin: 0 auto; }
  .phone--hero { --pw: 230px; }
  .live-feed { left: 0; }
}
@media (max-width: 575.98px) {
  .hero-visual { --D: 310px; --Di: 220px; height: 500px; }
  .orbit-glow { width: 380px; height: 380px; }
  .phone--hero { --pw: 200px; }
  .orbit-chip { padding: .3rem; }
  .orbit-chip b { display: none; }
  .orbit-chip i { width: 30px; height: 30px; }
  .hero-badge { top: 0; padding: .5rem .75rem .5rem .5rem; }
  .hero-badge small { display: none; }
  .hero-badge > i { width: 32px; height: 32px; }
  .live-feed { left: 0; width: 250px; bottom: 0; }
  .lf-list { height: calc(var(--row) * 2); }
}

/* ---------- Value strip (marquee) ---------- */
/* sits directly under the hero, so it continues the dark background */
.strip {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  background: #061B4D;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.strip::before, .strip::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  z-index: 1;
  width: 12%;
  pointer-events: none;
}
.strip::before { left: 0; background: linear-gradient(90deg, #061B4D, transparent); }
.strip::after { right: 0; background: linear-gradient(-90deg, #061B4D, transparent); }
.strip-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip-list { display: flex; list-style: none; margin: 0; padding: 0; }
.strip-list li {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: 0 2rem;
  font-weight: 700;
  color: #C6D3EE;
  white-space: nowrap;
  position: relative;
}
.strip-list li i { color: #7FDBFF; font-size: 1.1rem; }
.strip-list li::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  transform: translate(50%, -50%);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-tint { background: var(--rs-bg-tint); }
.section-head { max-width: 720px; margin: 0 auto 56px; }
.section-head p { font-size: 1.1rem; margin: .9rem 0 0; }
.kicker {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rs-blue);
  margin-bottom: .9rem;
}
.kicker-light { color: #7FDBFF; }
@media (max-width: 767.98px) {
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 40px; }
}

/* ---------- How it works (flow) ---------- */
.flow { --p: 0%; max-width: 1120px; margin: 0 auto; }
.flow-phases { display: grid; grid-template-columns: repeat(9, 1fr); margin-bottom: 22px; }
.flow-phases span {
  grid-column: var(--from) / var(--to);
  position: relative;
  text-align: center;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rs-muted);
  padding-bottom: 12px;
}
.flow-phases span::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 0;
  height: 8px;
  border: 1.5px solid var(--rs-line);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}
.flow-track { position: relative; }
.flow-line {
  position: absolute;
  top: 28px;
  left: calc(100% / 18);
  right: calc(100% / 18);
  height: 3px;
  border-radius: 3px;
  background: var(--rs-line);
  overflow: hidden;
}
.flow-line-fill { height: 100%; width: var(--p); background: var(--rs-grad); border-radius: inherit; transition: width .7s var(--rs-ease), height .7s var(--rs-ease); }
.flow-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}
.flow-node {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 4px;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}
.flow-icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: var(--rs-muted);
  background: #fff;
  border: 1px solid var(--rs-line);
  border-radius: 18px;
  box-shadow: 0 8px 20px -14px rgba(4, 22, 63, .35);
  transition: all .45s var(--rs-ease);
}
.flow-label { font-size: .84rem; font-weight: 700; color: var(--rs-body); line-height: 1.3; text-align: center; transition: color .3s; }
.flow-desc { display: none; }
.flow-node.is-done .flow-icon { color: var(--rs-blue); background: var(--rs-sky); border-color: rgba(10, 114, 237, .25); }
.flow-node.is-active .flow-icon {
  color: #fff;
  background: var(--rs-grad);
  border-color: transparent;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 16px 30px -10px rgba(10, 114, 237, .65);
}
.flow-node.is-active .flow-label { color: var(--rs-ink); }
.flow-caption {
  margin: 44px auto 0;
  max-width: 640px;
  min-height: 3.6em;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.flow-caption-step { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--rs-blue); }
.flow-caption-text { font-size: 1.12rem; font-weight: 600; color: var(--rs-ink); transition: opacity .3s; }
.flow-caption.is-swapping .flow-caption-text { opacity: 0; }

@media (max-width: 991.98px) {
  .flow { max-width: 460px; }
  .flow-phases, .flow-caption { display: none; }
  .flow-line { top: 28px; bottom: 28px; left: 26.5px; right: auto; width: 3px; height: auto; }
  .flow-line-fill { width: 100%; height: var(--p); }
  .flow-steps { grid-template-columns: 1fr; gap: 14px; }
  .flow-node {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 18px;
    align-items: center;
    text-align: left;
    padding: 0;
  }
  .flow-icon { grid-row: 1 / span 2; }
  .flow-label { grid-column: 2; text-align: left; font-size: 1rem; }
  .flow-desc {
    display: block;
    grid-column: 2;
    font-size: .9rem;
    color: var(--rs-body);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .45s var(--rs-ease), opacity .35s;
  }
  .flow-node.is-active .flow-desc { max-height: 4.5em; opacity: 1; margin-top: 2px; }
}

/* ---------- Features ---------- */
.feature-switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(440px, 100%);
  margin: -16px auto 48px;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--rs-line);
  border-radius: 16px;
  box-shadow: 0 10px 30px -20px rgba(4, 22, 63, .4);
}
.fs-pill {
  position: absolute;
  top: 5px; bottom: 5px; left: 5px;
  width: calc(50% - 5px);
  background: var(--rs-grad);
  border-radius: 12px;
  box-shadow: 0 10px 22px -10px rgba(10, 114, 237, .7);
  transition: transform .45s var(--rs-ease);
}
.feature-switch[data-active="dash"] .fs-pill { transform: translateX(100%); }
.fs-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .7rem .5rem;
  font-size: .95rem;
  font-weight: 700;
  color: var(--rs-body);
  background: none;
  border: 0;
  border-radius: 12px;
  transition: color .3s;
}
.feature-switch[data-active="app"] .fs-btn[data-group="app"],
.feature-switch[data-active="dash"] .fs-btn[data-group="dash"] { color: #fff; }
.feature-tab[hidden] { display: none; }
@media (max-width: 575.98px) {
  .feature-switch { margin-bottom: 32px; }
  .fs-btn { font-size: .86rem; }
  .feature-tabs { gap: 4px; }
  .feature-tab { gap: 12px; padding: 11px 14px 13px; }
  .ft-icon { flex-basis: 40px; height: 40px; font-size: 1.1rem; }
}
.feature-tabs { display: flex; flex-direction: column; gap: 8px; }
.feature-tab {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 16px 18px 18px;
  text-align: left;
  color: inherit;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 18px;
  overflow: hidden;
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.feature-tab:hover { background: rgba(255, 255, 255, .65); }
.feature-tab.is-active { background: #fff; border-color: var(--rs-line); box-shadow: var(--rs-shadow-md); }
.ft-icon {
  flex: 0 0 46px;
  height: 46px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--rs-blue);
  background: var(--rs-sky);
  border-radius: 14px;
  transition: all .35s var(--rs-ease);
}
.feature-tab.is-active .ft-icon { color: #fff; background: var(--rs-grad); box-shadow: 0 10px 22px -10px rgba(10, 114, 237, .7); }
.ft-body { flex: 1; min-width: 0; padding-top: 2px; }
.ft-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-weight: 700; font-size: 1.04rem; color: var(--rs-ink); }
.aud {
  font-style: normal;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: 999px;
}
.aud-app { color: #0369A1; background: #E0F4FF; }
.aud-dash { color: #3730A3; background: #ECEEFF; }
.ft-text {
  display: block;
  font-size: .94rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .45s var(--rs-ease), opacity .35s, margin .35s;
}
.feature-tab.is-active .ft-text { max-height: 4.5em; opacity: 1; margin-top: 4px; }
.ft-progress { position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; border-radius: 3px; overflow: hidden; }
.feature-tab.is-active .ft-progress { background: #EDF1F8; }
.ft-progress span { display: block; width: 0; height: 100%; background: var(--rs-grad); }
.feature-showcase.in-view .feature-tab.is-active .ft-progress span { animation: ftProgress 5.5s linear forwards; }
@media (hover: hover) {
  .feature-showcase:hover .feature-tab.is-active .ft-progress span { animation-play-state: paused; }
}
@keyframes ftProgress { from { width: 0; } to { width: 100%; } }

.feature-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 10px 0; }
.feature-stage .phone { --pw: 300px; position: relative; z-index: 1; }
.stage-glow {
  position: absolute;
  top: 55%; left: 50%;
  width: 460px; height: 460px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 184, 254, .35), rgba(10, 114, 237, .12) 45%, transparent 70%);
  pointer-events: none;
}
@media (max-width: 575.98px) {
  .feature-stage .phone { --pw: 250px; }
  .stage-glow { width: 340px; height: 340px; }
}

/* ---------- Branding (white-label) ---------- */
.brand-lead { font-size: 1.1rem; margin: 1rem 0 1.6rem; }
.brand-lead strong { color: var(--rs-ink); }
.brand-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1.1rem;
  width: fit-content;
  max-width: 100%;
  padding: .85rem 1.1rem;
  margin-bottom: .4rem;
  background: var(--rs-bg-tint);
  border: 1px solid var(--rs-line);
  border-radius: 18px;
}
.brand-picker-label { font-size: .85rem; font-weight: 700; color: var(--rs-ink); }
.swatches { display: flex; gap: .6rem; }
.swatch {
  position: relative;
  width: 32px; height: 32px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--rs-line);
  cursor: pointer;
  transition: transform .2s var(--rs-ease), box-shadow .2s;
}
/* the swatch colour uses the same hue shift as the phone, so they always match */
.swatch::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #C62828;
  filter: hue-rotate(var(--h, 0deg));
}
.swatch:hover { transform: scale(1.08); }
.swatch.is-active { transform: scale(1.12); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--rs-ink); }

.brand-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 10px 0; }
.brand-stage .phone { --pw: 290px; position: relative; z-index: 1; }
.brand-tag {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .45rem 1.1rem .45rem .45rem;
  background: #fff;
  border: 1px solid var(--rs-line);
  border-radius: 16px;
  box-shadow: 0 10px 24px -16px rgba(4, 22, 63, .4);
}
.brand-tag strong { display: block; font-size: .92rem; color: var(--rs-ink); }
.brand-tag small { font-size: .72rem; color: var(--rs-muted); }
.brand-logo {
  position: relative;
  isolation: isolate;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  font-size: .82rem;
  font-weight: 800;
  color: #fff;
  border-radius: 11px;
}
.brand-logo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: #C62828;
  filter: hue-rotate(var(--brand-h, 0deg));
  transition: filter .6s ease;
}
.brand-screen img { filter: hue-rotate(var(--brand-h, 0deg)); transition: filter .6s ease; }
.brand-powered {
  position: absolute;
  left: 0; right: 0;
  top: 72%;
  transform: translateY(-50%);
  text-align: center;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: calc(var(--pw) * .025);
  color: #8E95A3;
}
@media (max-width: 575.98px) {
  .brand-stage .phone { --pw: 250px; }
  .brand-picker { width: 100%; }
}

/* ---------- Attendance (dark) ---------- */
.section-dark {
  color: #B9C6E4;
  background:
    radial-gradient(700px 500px at 15% 30%, rgba(1, 184, 254, .16), transparent 70%),
    radial-gradient(600px 500px at 95% 90%, rgba(22, 74, 194, .35), transparent 70%),
    var(--rs-navy-900);
  overflow: hidden;
}
.section-dark h2 { color: #fff; }
.lead-muted { font-size: 1.1rem; color: #B9C6E4; }
.trust-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: 1.1rem 1.2rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 18px;
  transition: background-color .3s, border-color .3s, transform .3s var(--rs-ease);
}
.trust-card:hover { background: rgba(255, 255, 255, .07); border-color: rgba(1, 184, 254, .4); transform: translateY(-3px); }
.trust-card i { font-size: 1.35rem; color: var(--rs-cyan); margin-bottom: .35rem; }
.trust-card strong { color: #fff; font-weight: 700; }
.trust-card span { font-size: .9rem; color: #A3B2D4; }
.tiny-tags { margin: 1.5rem 0 0; font-size: .85rem; font-weight: 600; letter-spacing: .02em; color: #8FA0C6; }

.radar-wrap { max-width: 440px; margin: 0 auto; }
.radar {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 184, 254, .1), rgba(1, 184, 254, .02) 60%, transparent 71%);
  border: 1px solid rgba(255, 255, 255, .08);
}
.radar-rings, .radar-rings::before, .radar-rings::after {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .07);
}
.radar-rings { inset: 0; border: 0; }
.radar-rings::before { content: ""; inset: 14%; }
.radar-rings::after { content: ""; inset: 34%; }
.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(1, 184, 254, .32), rgba(1, 184, 254, 0) 70deg);
  animation: spin 5s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.radar-fence {
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  border: 2px dashed rgba(74, 222, 128, .7);
  background: rgba(34, 197, 94, .07);
  animation: fence 3s ease-in-out infinite;
}
.radar-fence span {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: .1rem .55rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #86EFAC;
  background: var(--rs-navy-900);
  border-radius: 999px;
}
@keyframes fence { 50% { box-shadow: 0 0 0 10px rgba(34, 197, 94, .05); } }
.radar-site {
  position: absolute;
  top: 50%; left: 50%;
  width: 54px; height: 54px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: var(--rs-navy);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px -8px rgba(1, 184, 254, .6);
}
.radar-person {
  --x: 60%; --y: 40%;
  position: absolute;
  left: var(--x); top: var(--y);
  width: 40px; height: 40px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  color: #fff;
  border-radius: 50%;
  transition: left 1.4s var(--rs-ease), top 1.4s var(--rs-ease), background-color .5s;
}
.radar-person::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: .5;
  animation: ping 1.8s ease-out infinite;
}
@keyframes ping { from { transform: scale(.8); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.radar-person.tone-ok { background: var(--rs-ok); color: #fff; }
.radar-person.tone-warn { background: #EAB308; }
.radar-person.tone-bad { background: var(--rs-bad); }

.radar-status {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 28px auto 0;
  padding: .85rem 1.1rem;
  max-width: 360px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-left: 4px solid var(--tone, var(--rs-ok));
  border-radius: 14px;
  transition: border-color .4s;
}
.radar-status > i { font-size: 1.4rem; color: var(--tone); }
.radar-status strong { display: block; color: #fff; }
.radar-status small { color: #A3B2D4; }
.tone-ok { --tone: #4ADE80; }
.tone-warn { --tone: #FACC15; }
.tone-bad { --tone: #F87171; }
.radar-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.radar-legend li {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .7rem;
  font-size: .78rem;
  font-weight: 600;
  color: #8FA0C6;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  transition: all .3s;
}
.radar-legend li i { color: var(--tone); }
.radar-legend li.is-active { color: #fff; border-color: var(--tone); background: rgba(255, 255, 255, .05); }

/* ---------- Timesheets & wages ---------- */
.check-list { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: .85rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; font-weight: 600; color: var(--rs-ink); }
.check-list i {
  flex: none;
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: var(--rs-blue);
  background: var(--rs-sky);
  border-radius: 8px;
}
.fine-print { font-size: .85rem; color: var(--rs-muted); margin: 0; }
.cost-lead { font-size: 1.1rem; margin: 1rem 0 1.8rem; }
.cost-steps { list-style: none; display: grid; gap: 1.1rem; margin: 0 0 1.8rem; padding: 0; }
.cost-steps li { position: relative; display: flex; align-items: flex-start; gap: .9rem; }
.cost-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px; top: 38px; bottom: -16px;
  width: 2px;
  background: var(--rs-line);
}
.cost-steps li > span {
  flex: none;
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  font-size: .9rem;
  font-weight: 800;
  color: #fff;
  background: var(--rs-grad);
  border-radius: 10px;
  box-shadow: 0 8px 18px -10px rgba(10, 114, 237, .8);
}
.cost-steps strong { display: block; color: var(--rs-ink); font-weight: 700; }
.cost-steps small { font-size: .92rem; color: var(--rs-body); }

.wage-card {
  position: relative;
  max-width: 540px;
  margin-left: auto;
  padding: 26px 28px;
  background: #fff;
  border: 1px solid var(--rs-line);
  border-radius: 26px;
  box-shadow: var(--rs-shadow-lg);
}
.wage-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: 27px;
  background: var(--rs-grad);
  opacity: .25;
  filter: blur(30px);
  transform: translateY(20px) scale(.95);
}
.wage-head { display: flex; align-items: center; gap: .8rem; padding-bottom: 1rem; border-bottom: 1px solid var(--rs-line); }
.wage-who { flex: 1; min-width: 0; }
.wage-who strong { display: block; color: var(--rs-ink); }
.wage-who small { font-size: .8rem; color: var(--rs-muted); }
.avatar {
  flex: none;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 800;
  color: var(--rs-navy);
  background: var(--rs-sky);
  border-radius: 50%;
}
.ts-chip { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .65rem; font-size: .76rem; font-weight: 700; border-radius: 999px; white-space: nowrap; }
.ts-chip.ok { color: #166534; background: #DCFCE7; }

.wage-rows { list-style: none; margin: .4rem 0 0; padding: 0; }
.wage-rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .72rem 0;
  font-size: .95rem;
  border-bottom: 1px dashed var(--rs-line);
}
.wage-rows li > span { display: flex; align-items: center; gap: .6rem; color: var(--rs-body); }
.wage-rows i { width: 20px; color: var(--rs-blue); }
.wage-rows em {
  font-style: normal;
  font-size: .7rem;
  font-weight: 700;
  color: #166534;
  background: #DCFCE7;
  border-radius: 999px;
  padding: .1rem .5rem;
}
.wage-rows b { font-weight: 700; color: var(--rs-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.wage-rows b.neg { color: var(--rs-muted); }
.wage-rows li.wage-sub {
  margin: .35rem -12px;
  padding: .72rem 12px;
  background: var(--rs-bg-tint);
  border: 0;
  border-radius: 12px;
}
.wage-rows li.wage-sub > span { color: var(--rs-ink); font-weight: 700; }
.wage-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  color: #C6D3EE;
  background:
    radial-gradient(260px 120px at 100% 0%, rgba(1, 184, 254, .35), transparent 70%),
    linear-gradient(135deg, var(--rs-navy), #0B3FA8);
  border-radius: 16px;
}
.wage-total span { font-weight: 600; }
.wage-total strong { font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }

.week-compare { margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--rs-line); }
.wc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  margin-bottom: .5rem;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rs-muted);
}
.wc-chip { padding: .2rem .6rem; font-size: .76rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: #166534; background: #DCFCE7; border-radius: 999px; white-space: nowrap; }
.wc-row { display: grid; grid-template-columns: 9.5rem 1fr auto; align-items: center; gap: .8rem; margin-top: .55rem; font-size: .86rem; }
.wc-label { font-weight: 600; color: var(--rs-body); }
.wc-track { height: 10px; overflow: hidden; background: #EEF2F8; border-radius: 999px; }
.wc-bar { display: block; width: var(--w); height: 100%; border-radius: 999px; }
.wc-plan { background: #B8D3FA; }
.wc-actual { background: var(--rs-blue); }
.wc-row b { color: var(--rs-ink); font-variant-numeric: tabular-nums; }

/* Card builds up line by line when scrolled into view */
.js .wage-rows li, .js .wage-total { opacity: 0; transform: translateX(-10px); transition: opacity .45s ease, transform .45s var(--rs-ease); }
.js .wc-bar { width: 0; transition: width 1.1s var(--rs-ease) 1.4s; }
.wage-card.is-on .wage-rows li, .wage-card.is-on .wage-total { opacity: 1; transform: none; }
.wage-card.is-on .wc-bar { width: var(--w); }
.wage-rows li:nth-child(2) { transition-delay: .15s; }
.wage-rows li:nth-child(3) { transition-delay: .3s; }
.wage-rows li:nth-child(4) { transition-delay: .5s; }
.wage-rows li:nth-child(5) { transition-delay: .7s; }
.js .wage-total { transition-delay: .95s; }

@media (max-width: 991.98px) {
  .wage-card { margin: 0 auto; }
}
@media (max-width: 575.98px) {
  .wage-card { padding: 20px 16px; }
  .wage-rows li { font-size: .9rem; }
  .wage-total strong { font-size: 1.7rem; }
  .wc-row { grid-template-columns: 1fr auto; row-gap: .35rem; }
  .wc-track { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- Solutions (bento) ---------- */
.bento {
  height: 100%;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--rs-line);
  border-radius: 24px;
  transition: transform .35s var(--rs-ease), box-shadow .35s var(--rs-ease), border-color .35s;
}
.bento:hover { transform: translateY(-4px); box-shadow: var(--rs-shadow-md); border-color: rgba(10, 114, 237, .25); }
.bento h3 { font-size: 1.15rem; font-weight: 800; margin: 1rem 0 .35rem; }
.bento p { margin: 0; font-size: .95rem; }
.bento-icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  color: var(--rs-blue);
  background: var(--rs-sky);
  border-radius: 14px;
  transition: all .35s var(--rs-ease);
}
.bento:hover .bento-icon { color: #fff; background: var(--rs-grad); }
.bento-big {
  position: relative;
  overflow: hidden;
  color: #C6D3EE;
  background: linear-gradient(160deg, #0B2A78 0%, var(--rs-navy-900) 70%);
  border: 0;
}
.bento-big::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 184, 254, .45), transparent 70%);
}
.bento-big h3 { color: #fff; font-size: 1.45rem; }
.bento-big p { color: #B9C6E4; }
.bento-big .bento-icon { color: #fff; background: rgba(255, 255, 255, .1); }
.branches { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .6rem; position: relative; }
.branches li {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .75rem 1rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
}
.br-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.br-dot.ok { background: #4ADE80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .15); }
.br-dot.warn { background: #FACC15; box-shadow: 0 0 0 4px rgba(250, 204, 21, .15); }
.br-name { font-weight: 700; color: #fff; }
.br-meta { margin-left: auto; font-size: .82rem; color: #A3B2D4; }

/* ---------- Pricing ---------- */
#pricing { padding-bottom: 0; }
.price-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rs-line);
  border-radius: 30px;
  box-shadow: var(--rs-shadow-lg);
}
.price-main { height: 100%; padding: 52px 44px; }
.price-main h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); margin-bottom: 1.6rem; }
.price-tag { display: flex; flex-direction: column; margin-bottom: 2rem; }
.price-from { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--rs-muted); }
.price-amount {
  font-size: clamp(3.4rem, 2.4rem + 3.4vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.04em;
  background: var(--rs-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-amount sup { font-size: .45em; top: -.85em; margin-right: .04em; }
.price-unit { font-weight: 600; color: var(--rs-body); }
.price-fee {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  width: fit-content;
  margin-top: .9rem;
  padding: .4rem .85rem;
  font-size: .88rem;
  font-weight: 700;
  color: var(--rs-navy);
  background: var(--rs-sky);
  border: 1px solid rgba(10, 114, 237, .18);
  border-radius: 999px;
}
.price-fee i { color: var(--rs-blue); }
.price-calc {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 44px;
  color: #C6D3EE;
  background:
    radial-gradient(400px 300px at 100% 0%, rgba(1, 184, 254, .3), transparent 70%),
    linear-gradient(160deg, var(--rs-navy), var(--rs-navy-900));
}
.calc-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.calc-head label { font-weight: 700; color: #fff; }
.calc-head output { font-weight: 800; color: #7FDBFF; font-variant-numeric: tabular-nums; }
.calc-range {
  --fill: 12%;
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, #01B8FE var(--fill), rgba(255, 255, 255, .15) var(--fill));
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px;
  background: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(1, 184, 254, .3);
}
.calc-range::-moz-range-thumb {
  width: 24px; height: 24px;
  background: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(1, 184, 254, .3);
}
.calc-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(127, 219, 255, .7); }
.calc-breakdown { list-style: none; display: grid; gap: .45rem; margin: 1.5rem 0 0; padding: 0; font-size: .92rem; }
.calc-breakdown li { display: flex; justify-content: space-between; gap: 1rem; }
.calc-breakdown b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-result { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; margin: 1rem 0 1.6rem; padding-top: 1rem; border-top: 1px dashed rgba(255, 255, 255, .18); }
.calc-result small { width: 100%; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8FA0C6; }
.calc-result strong { font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.calc-result span { font-weight: 600; color: #B9C6E4; }
.calc-points { list-style: none; display: grid; gap: .75rem; margin: 0; padding: 1.4rem 0 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.calc-points li { display: flex; align-items: center; gap: .7rem; font-size: .95rem; font-weight: 600; color: #fff; }
.calc-points i { font-size: 1.1rem; color: #7FDBFF; }
@media (max-width: 575.98px) {
  .price-main, .price-calc { padding: 34px 22px; }
}

/* ---------- Demo / trial ---------- */
.demo-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rs-line);
  border-radius: 30px;
  box-shadow: var(--rs-shadow-lg);
}
.demo-side {
  position: relative;
  height: 100%;
  padding: 48px 40px;
  color: #C6D3EE;
  background:
    radial-gradient(400px 300px at 100% 0%, rgba(1, 184, 254, .35), transparent 70%),
    linear-gradient(160deg, var(--rs-navy) 0%, var(--rs-navy-900) 100%);
}
.demo-side h2 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.3rem); }
.demo-side p { margin: 1rem 0 1.8rem; font-size: 1.02rem; }
.demo-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.demo-points li { display: flex; align-items: center; gap: .75rem; font-weight: 600; color: #fff; }
.demo-points i {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  flex: none;
  color: #7FDBFF;
  background: rgba(255, 255, 255, .08);
  border-radius: 10px;
}
.demo-points a { color: #fff; border-bottom: 1px dashed rgba(255, 255, 255, .4); }
.demo-form, .demo-success { padding: 44px 40px; }
.form-label { font-size: .85rem; font-weight: 700; color: var(--rs-ink); margin-bottom: .4rem; }
.form-label .opt { font-weight: 500; color: var(--rs-muted); }
.form-control, .form-select {
  padding: .7rem .9rem;
  font-size: .95rem;
  color: var(--rs-ink);
  background-color: var(--rs-bg-tint);
  border: 1px solid var(--rs-line);
  border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.form-control:focus, .form-select:focus {
  background-color: #fff;
  border-color: rgba(10, 114, 237, .55);
  box-shadow: 0 0 0 4px rgba(10, 114, 237, .12);
}
.text-muted-rs { color: var(--rs-muted); }
.segmented {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--rs-bg-tint);
  border: 1px solid var(--rs-line);
  border-radius: 14px;
}
.segmented label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--rs-body);
  border-radius: 10px;
  cursor: pointer;
  transition: all .25s var(--rs-ease);
}
.segmented .btn-check:checked + label { color: #fff; background: var(--rs-grad); box-shadow: 0 8px 18px -10px rgba(10, 114, 237, .8); }
.segmented .btn-check:focus-visible + label { outline: 3px solid rgba(10, 114, 237, .45); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .9rem;
  font-size: .86rem;
  font-weight: 600;
  color: var(--rs-navy);
  background: #fff;
  border: 1px solid var(--rs-line);
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  transition: all .2s;
}
.chip:hover { color: var(--rs-blue); border-color: rgba(10, 114, 237, .4); }
.btn-check:checked + .chip { color: var(--rs-blue); background: var(--rs-sky); border-color: rgba(10, 114, 237, .5); }
.btn-check:checked + .chip::before { content: "\F26E"; font-family: "bootstrap-icons"; font-size: .9rem; }
.btn-check:focus-visible + .chip { outline: 3px solid rgba(10, 114, 237, .45); }
.demo-success { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 420px; }
.demo-success[hidden] { display: none; }
.demo-success p { max-width: 26rem; }
.success-icon {
  width: 72px; height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  font-size: 2rem;
  color: #fff;
  background: var(--rs-ok);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(22, 163, 74, .12);
  animation: pop .5s var(--rs-ease);
}
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@media (max-width: 575.98px) {
  .demo-side, .demo-form, .demo-success { padding: 32px 22px; }
  .segmented { display: flex; }
  .segmented label { flex: 1; justify-content: center; padding: .55rem .5rem; }
}

/* ---------- Support ---------- */
.support { padding: 0 0 110px; }
.support-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  background: var(--rs-bg-tint);
  border: 1px solid var(--rs-line);
  border-radius: 24px;
}
.support-icon {
  flex: none;
  width: 60px; height: 60px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: #fff;
  background: var(--rs-grad);
  border-radius: 18px;
}
.support-body { flex: 1; min-width: 0; }
.support-body h3 { font-size: 1.25rem; margin: 0 0 .25rem; }
.support-body p { margin: 0; font-size: .95rem; }
.support-cta { flex: none; }
@media (max-width: 991.98px) {
  .support-card { flex-direction: column; align-items: flex-start; }
  .support { padding-bottom: 76px; }
}

/* ---------- Footer ---------- */
.footer {
  padding: 72px 0 28px;
  color: #A3B2D4;
  background: var(--rs-navy-900);
}
.footer img { height: 38px; width: auto; }
.footer-tag { max-width: 22rem; }
.footer-mail { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: #fff; }
.footer-mail:hover { color: #7FDBFF; }
.footer h4 { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer ul a { color: #A3B2D4; transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
  font-size: .85rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.to-top {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border-radius: 12px;
  transition: background-color .2s, transform .2s;
}
.to-top:hover { color: #fff; background: var(--rs-blue); transform: translateY(-2px); }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 1030;
  transform: translateY(140%);
  transition: transform .4s var(--rs-ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn-rs { padding: .85rem; box-shadow: 0 16px 34px -10px rgba(10, 114, 237, .7); }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--rs-ease), transform .8s var(--rs-ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .strip-track { flex-wrap: wrap; }
  .feature-tab.is-active .ft-progress span { width: 100%; }
}
