/* ---------- Bookkeeping page: builds on styles.css, same tokens, nav, buttons, plans, FAQ and footer ---------- */

.bk-page { padding-top: 0; }
.bk-page .nav {
  background: linear-gradient(to bottom, rgba(7, 23, 42, .92) 0%, rgba(7, 23, 42, 0) 100%);
  border-bottom: none;
  box-shadow: none;
  transition: background .35s ease, box-shadow .35s ease;
}
.bk-page .nav-links a,
.bk-page .nav-quiet { color: #fff; opacity: .78; }
.bk-page .nav-links a:hover,
.bk-page .nav-quiet:hover { color: #fff; opacity: 1; }
.bk-page .nav-drop-panel a,
.bk-page .nav-drop-panel a:hover,
.bk-page .nav-drop-panel a:focus-visible,
.bk-page .nav-drop-panel a[aria-current="page"],
.bk-page .nav:not(.solid) .nav-drop-panel a,
.bk-page .nav:not(.solid) .nav-drop-panel a:hover,
.bk-page .nav:not(.solid) .nav-drop-panel a[aria-current="page"],
.bk-page .nav.solid .nav-drop-panel a,
.bk-page .nav.solid .nav-drop-panel a:hover,
.bk-page .nav.solid .nav-drop-panel a[aria-current="page"],
.bk-page .nav.is-mega-open .nav-drop-panel a,
.bk-page .nav.is-mega-open .nav-drop-panel a:hover,
.bk-page .nav-drop-copy strong {
  color: var(--navy);
  opacity: 1;
}
.bk-page .nav-drop-panel .nav-mega-ico,
.bk-page .nav:not(.solid) .nav-drop-panel .nav-mega-ico,
.bk-page .nav.solid .nav-drop-panel .nav-mega-ico {
  color: var(--navy-2);
  opacity: 1;
}
.bk-page .nav-drop-panel a[aria-current="page"],
.bk-page .nav:not(.solid) .nav-drop-panel a[aria-current="page"],
.bk-page .nav.solid .nav-drop-panel a[aria-current="page"] {
  font-weight: 650;
  background: #eef3f9;
}
.bk-page .nav-drop-panel a[aria-current="page"] strong,
.bk-page .nav:not(.solid) .nav-drop-panel a[aria-current="page"] strong {
  color: var(--navy);
  opacity: 1;
}
.bk-page .nav-drop-copy span { color: var(--body); opacity: .9; }
.bk-page .nav-drop-panel a .nav-drop-ico { color: var(--navy-2); }
.bk-page .brand img { height: 36px; width: auto; }
.bk-page .brand-on-light { display: none; }
.bk-page .brand-word { color: #fff; }
.bk-page .brand-word b { color: var(--yellow); }
.bk-page .nav.solid {
  background: var(--white);
  border-bottom: none;
  box-shadow: 0 8px 24px -16px rgba(11, 37, 69, .18);
}
.bk-page .nav.solid .nav-links a,
.bk-page .nav.solid .nav-quiet { color: var(--ink); opacity: .8; }
.bk-page .nav.solid .nav-links a:hover,
.bk-page .nav.solid .nav-quiet:hover { color: var(--navy); opacity: 1; }
.bk-page .nav.solid .brand-on-dark { display: none; }
.bk-page .nav.solid .brand-on-light { display: block; }
.bk-page .nav.solid .brand-word { color: var(--navy); }
.bk-page .nav.solid .brand-word b { color: #E2A400; }

/* Mega open: snap to a solid white bar (no bg fade — that left navy text on a still-dark bar) */
.bk-page .nav.is-mega-open {
  background: #fff;
  border-bottom: none;
  box-shadow: 0 8px 24px -16px rgba(11, 37, 69, .18);
  transition: none;
}
.bk-page .nav:not(.solid).is-mega-open .nav-links > a,
.bk-page .nav:not(.solid).is-mega-open .nav-links > a[aria-current="page"],
.bk-page .nav:not(.solid).is-mega-open .nav-drop-trigger,
.bk-page .nav:not(.solid).is-mega-open .nav-drop-trigger[aria-current="page"],
.bk-page .nav:not(.solid).is-mega-open .nav-quiet {
  color: var(--ink);
  opacity: .88;
  transition: opacity .2s ease, color .2s ease, background .2s ease;
}
.bk-page .nav:not(.solid).is-mega-open .nav-links > a:hover,
.bk-page .nav:not(.solid).is-mega-open .nav-quiet:hover {
  color: var(--navy);
  opacity: 1;
}
.bk-page .nav:not(.solid).is-mega-open .nav-drop.is-open .nav-drop-trigger,
.bk-page .nav:not(.solid).is-mega-open .nav-drop.is-open .nav-drop-trigger[aria-current="page"] {
  background: rgba(2, 65, 123, .08);
  color: var(--navy);
  opacity: 1;
}
.bk-page .nav:not(.solid).is-mega-open .nav-glide {
  opacity: 0;
}
.bk-page .nav:not(.solid).is-mega-open .brand-on-dark { display: none; }
.bk-page .nav:not(.solid).is-mega-open .brand-on-light { display: block; }
.bk-page .nav:not(.solid).is-mega-open .brand-word { color: var(--navy); }
.bk-page .nav:not(.solid).is-mega-open .brand-word b { color: #E2A400; }

/* hero: normal height, copy centred, slider faded at the edges so tiles are not sliced */
.bk-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-sizing: border-box;
  display: grid;
  height: auto;
  min-height: 560px;
  padding: 88px 0 48px;
  background: #07172a;
  color: #fff;
}
.bk-hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  perspective: 1600px;
  pointer-events: none;
}
.bk-hero-stage::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 22%;
  z-index: 1;
  background: linear-gradient(180deg, #07172a 0%, transparent 100%);
  pointer-events: none;
}
.tt-plane {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 280%;
  height: 260%;
  display: flex;
  gap: 6px;
  transform:
    translate3d(-50%, -50%, 0)
    translate3d(-40px, 0, 0)
    rotateX(40deg)
    rotateY(16deg)
    rotateZ(-20deg);
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}
.tt-col {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  transform: translate3d(0, var(--shift, 0px), 0);
  backface-visibility: hidden;
}
.tt-track {
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: tt-rise var(--dur, 48s) linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}
.tt-col.is-alt .tt-track { animation-direction: reverse; }
@keyframes tt-rise { to { transform: translate3d(0, -50%, 0); } }
.tt-tile {
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px;
  background: #0b2545;
  box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .08);
  backface-visibility: hidden;
  transform: translateZ(0);
}
.tt-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 14%;
}
.bk-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 62% 72% at 50% 48%, rgba(7, 23, 42, .55) 0%, rgba(7, 23, 42, .24) 100%),
    rgba(7, 23, 42, .34);
}
.bk-hero-in {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: start;
  min-height: 500px;
}
.bk-crumbs {
  display: flex;
  justify-content: center;
  margin: 0 0 8px;
}
.bk-crumbs ol {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(219, 234, 254, .75);
}
.bk-crumbs li { display: flex; align-items: center; gap: 8px; }
.bk-crumbs a { color: inherit; text-decoration: none; }
.bk-crumbs a:hover { color: #fff; }
.bk-crumbs-sep { width: 14px; height: 14px; color: rgba(255, 255, 255, .35); }
.bk-crumbs [aria-current="page"] {
  color: #61dafb;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 6px;
  background: rgba(97, 218, 251, .14);
}
.bk-hero-copy {
  align-self: center;
  justify-self: center;
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
  width: 100%;
  max-width: 72rem;
  padding: 8px 20px;
  background: none;
  box-shadow: none;
}
.bk-kicker {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: rgba(247, 248, 248, .86);
  text-shadow: 0 1px 12px rgba(7, 23, 42, .7);
}
.bk-hero h1 {
  margin: 0;
  color: #f7f8f8;
  font-size: clamp(1.7rem, 2.4vw + 1rem, 3.35rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.08;
  text-align: center;
  text-wrap: pretty;
  text-shadow: 0 2px 24px rgba(7, 23, 42, .85);
}
.bk-hero .mark { transition-delay: .55s; }
.bk-hero .lede {
  margin: 0;
  color: rgba(232, 238, 246, .88);
  font-size: var(--fs-lede);
  line-height: 1.45;
  max-width: 48em;
  text-shadow: 0 1px 16px rgba(7, 23, 42, .75);
  text-align: center;
}
.bk-hero .actions { justify-content: center; }

/* the four steps: a numbered strip joined by a line */
.bk-steps { background: var(--navy); color: rgba(232, 238, 246, .8); }
.bk-steps-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 auto; padding: 0; list-style: none; }
.bk-steps li { position: relative; display: grid; gap: 4px; padding: 30px 24px 32px; }
.bk-steps li + li { border-left: 1px solid rgba(255, 255, 255, .1); }
.bk-steps span { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--yellow); }
.bk-steps b { color: #fff; font-size: 17px; letter-spacing: -.02em; }
.bk-steps p { font-size: 14px; color: rgba(232, 238, 246, .62); }

.bk-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--navy-2); background: #eef3f9; box-shadow: inset 0 0 0 1px #dfe7f1; }
.bk-ic .ic { width: 22px; height: 22px; }

/* Linear-style feature chapters: split headline, then two product shots */
.fx {
  background: var(--white);
  padding: clamp(56px, 8vh, 96px) 0 clamp(72px, 10vh, 128px);
}
.fx-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  padding: clamp(48px, 7vh, 88px) 0 36px;
  border-top: 1px solid var(--line);
}
.fx-split:first-child { padding-top: 8px; border-top: 0; }
.fx-split h2 {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -.034em;
  line-height: 1.12;
  color: var(--navy);
  -webkit-mask-image: linear-gradient(#000, #000);
  mask-image: linear-gradient(#000, #000);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: left center;
  mask-position: left center;
  -webkit-mask-size: 0% 100%;
  mask-size: 0% 100%;
  transition:
    -webkit-mask-size 2.6s cubic-bezier(.4, 0, .2, 1) .05s,
    mask-size 2.6s cubic-bezier(.4, 0, .2, 1) .05s;
}
.fx-split.is-read h2 {
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.fx-split p {
  margin: 0;
  max-width: 34em;
  color: var(--body);
  font-size: var(--fs-lede);
  line-height: 1.5;
}
.fx-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.fx-cell {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 28px 0 52px;
  min-width: 0;
}
.fx-cell:first-child { padding-right: clamp(20px, 3vw, 48px); }
.fx-cell + .fx-cell {
  padding-left: clamp(20px, 3vw, 48px);
  border-left: 1px solid var(--line);
}
.fx-shot {
  position: relative;
  margin: 0 0 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  background: #eef3f9;
  box-shadow: inset 0 0 0 1px rgba(11, 37, 69, .1);
}
.fx-shot img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.fx-shot-ui img { object-position: 12% 0; }
.fx-shot-vat img { object-position: 50% 18%; }
.fx-wide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  padding: 36px 0 8px;
  border-top: 1px solid var(--line);
}
.fx-wide .fx-shot { margin: 0; }
.fx-wide h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.2;
}
.fx-wide p {
  margin: 0;
  max-width: 38em;
  color: var(--body);
  font-size: 15px;
  line-height: 1.55;
}
.fx-panel,
.fx-xero {
  display: grid;
  place-items: center;
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(2, 65, 123, .1), transparent 62%),
    radial-gradient(rgba(11, 37, 69, .05) 1px, transparent 1.2px) 0 0 / 18px 18px,
    var(--mist);
  box-shadow: none;
}
.fx-panel img,
.fx-xero img {
  position: static;
  width: min(46%, 168px);
  height: auto;
  object-fit: contain;
}
.fx-rule {
  display: grid;
  width: min(92%, 400px);
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  text-align: left;
  box-shadow:
    0 28px 50px -30px rgba(11, 37, 69, .55),
    inset 0 0 0 1px rgba(11, 37, 69, .08);
}
.fx-rule-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: linear-gradient(180deg, #003566, #00243f);
  color: #dbe6f2;
}
.fx-rule-bar span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #dbe6f2;
}
.fx-rule-bar i {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: #0b2545;
  padding: 3px 8px;
  border-radius: 99px;
  background: var(--yellow);
}
.fx-rule-body {
  display: grid;
  gap: 10px;
  padding: 16px 16px 14px;
}
.fx-rule-body strong {
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -.03em;
  line-height: 1.2;
}
.fx-rule-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fx-rule-tags li {
  padding: 5px 9px;
  border-radius: 6px;
  background: #f4f7fb;
  box-shadow: inset 0 0 0 1px #e4ebf3;
  color: var(--navy);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -.01em;
}
.fx-rule-rows {
  display: grid;
  gap: 0;
  margin: 2px 0 0;
}
.fx-rule-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid #eef2f7;
  font-size: 13.5px;
}
.fx-rule-rows dt { margin: 0; color: var(--body); font-weight: 500; }
.fx-rule-rows dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}
.fx-rule-rows .on { color: var(--navy); }
.fx-rule-rows .on dt,
.fx-rule-rows .on dd { font-weight: 700; }
.fx-rule-foot {
  margin: 2px 0 0;
  padding-top: 10px;
  border-top: 1px solid #e8edf3;
  color: var(--navy-2);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.fx-cell h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.25;
}
.fx-cell p {
  margin: 0;
  max-width: 38em;
  color: var(--body);
  font-size: 15px;
  line-height: 1.55;
}

/* integrations: white cards, mesh gradient on the visual */
.plug { background: var(--white); padding: 8px 0 clamp(64px, 9vh, 112px); overflow-x: clip; }
.plug .fx-split { padding-top: 8px; border-top: 0; }
.plug-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 16px;
  min-width: 0;
}
.plug-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  min-height: 420px;
  padding: 16px 16px 24px;
  border-radius: 16px;
  color: var(--navy);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  box-sizing: border-box;
}
.plug-visual {
  position: relative;
  isolation: isolate;
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 28px 20px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}
.plug-mesh {
  position: absolute;
  inset: -22%;
  z-index: 0;
  pointer-events: none;
  filter: blur(36px);
  opacity: .88;
  transform: translateZ(0);
}
.plug-card-warm .plug-mesh {
  background:
    radial-gradient(120% 95% at 0% 100%, rgba(248, 180, 0, .58) 0%, rgba(248, 180, 0, .28) 40%, transparent 68%),
    radial-gradient(115% 90% at 100% 0%, rgba(2, 65, 123, .38) 0%, rgba(2, 65, 123, .16) 42%, transparent 70%),
    radial-gradient(70% 65% at 48% 42%, rgba(254, 174, 3, .28) 0%, transparent 60%);
}
.plug-card-cool .plug-mesh {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(2, 65, 123, .42) 0%, rgba(2, 65, 123, .16) 42%, transparent 70%),
    radial-gradient(125% 100% at 100% 100%, rgba(26, 58, 99, .36) 0%, rgba(26, 58, 99, .14) 42%, transparent 70%),
    radial-gradient(70% 60% at 72% 18%, rgba(254, 174, 3, .3) 0%, transparent 58%);
}
.plug-pills,
.plug-orbit { position: relative; z-index: 1; }
.plug-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.plug-pill {
  display: grid;
  place-items: center;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 28px -14px rgba(11, 37, 69, .35), inset 0 0 0 1px rgba(11, 37, 69, .06);
}
.plug-pill img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}
.plug-pill-fill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.plug-pill-fit img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}
.plug-pill-gc { background: #FFD64E; }
.plug-orbit {
  position: relative;
  width: min(100%, 252px);
  aspect-ratio: 1;
}
.plug-orbit::before,
.plug-orbit::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(11, 37, 69, .14);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.plug-orbit::before { width: 58%; height: 58%; }
.plug-orbit::after { width: 88%; height: 88%; }
.plug-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  background: none;
  box-shadow: none;
}
.plug-hub img { width: 56px; height: 56px; display: block; }
.plug-sat {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 22px -14px rgba(11, 37, 69, .32);
  transform: rotate(var(--a)) translate(var(--r, 96px)) rotate(calc(var(--a) * -1));
}
.plug-sat img,
.plug-sat .ic { width: 26px; height: 26px; object-fit: contain; display: block; }
.plug-sat .ic { color: var(--navy-2); }
.plug-sat-fill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.plug-sat-fit img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}
.plug-pills-in .plug-pill {
  transform: none;
  opacity: 1;
}
@media (hover: hover) {
  .plug-card:hover .plug-pills-in .plug-pill {
    animation: plug-from-left .85s cubic-bezier(.22, 1, .36, 1) 1 both;
  }
  .plug-card:hover .plug-pills-in .plug-pill:nth-child(2) { animation-delay: .12s; }
  .plug-card:hover .plug-pills-in .plug-pill:nth-child(3) { animation-delay: .24s; }
}
@keyframes plug-from-left {
  from { transform: translateX(-240px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
.plug-orbit-live .plug-ring {
  position: absolute;
  inset: 0;
  animation: plug-spin 22s linear infinite;
  will-change: transform;
}
.plug-orbit-live .plug-sat {
  background: none;
  box-shadow: none;
  overflow: visible;
}
.plug-orbit-live .plug-sat img {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 22px -14px rgba(11, 37, 69, .32);
  transform-origin: center center;
  animation: plug-unspin 22s linear infinite;
  will-change: transform;
}
.plug-orbit-live .plug-sat-fill img {
  padding: 0;
  object-fit: cover;
}
.plug-orbit-live .plug-sat-fit img {
  padding: 14%;
  object-fit: contain;
}
@keyframes plug-spin { to { transform: rotate(1turn); } }
@keyframes plug-unspin { to { transform: rotate(-1turn); } }
.plug-copy { padding: 18px 8px 4px; }
.plug-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -.03em;
}
.plug-card p {
  margin: 0;
  max-width: 36em;
  color: var(--body);
  font-size: 15px;
  line-height: 1.5;
}
.plug-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.plug-legend li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 2px;
  align-items: center;
  min-height: 76px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.plug-legend li:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px #dfe6ef, var(--shadow-sm);
}
.plug-ico {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mist);
}
.plug-legend img,
.plug-legend .ic {
  width: 24px;
  height: 24px;
  object-fit: contain;
  object-position: center;
  display: block;
}
.plug-legend .ic { color: var(--navy-2); }
.plug-pill .ic {
  width: 28px;
  height: 28px;
  color: var(--navy-2);
}
.plug-legend b {
  display: block;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.25;
}
.plug-legend li > span:last-child,
.plug-legend-copy > span {
  display: block;
  color: var(--body);
  font-size: 13px;
  line-height: 1.35;
}
.plug-legend-apps li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
}
.plug-legend-apps .plug-ico {
  grid-row: auto;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(11, 37, 69, .06);
}
.plug-legend-apps .plug-ico img {
  width: 28px;
  height: 28px;
}
.plug-legend-apps .plug-ico-fill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.plug-legend-apps .plug-ico-fit img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}
.plug-legend-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}
.plug-legend-copy b,
.plug-legend-copy > span {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.plug-legend-8 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.plug-pill.plug-brand-nest,
.plug-sat.plug-brand-nest,
.plug-ico.plug-brand-nest { background: #FF8201; }
.plug-pill.plug-brand-smart,
.plug-sat.plug-brand-smart,
.plug-ico.plug-brand-smart { background: #062A28; }
.plug-pill.plug-brand-people,
.plug-sat.plug-brand-people,
.plug-ico.plug-brand-people { background: #00B8E4; }
.plug-pill.plug-brand-aviva,
.plug-sat.plug-brand-aviva,
.plug-ico.plug-brand-aviva { background: #FFD100; }
.plug-pill.plug-brand-bacs,
.plug-sat.plug-brand-bacs,
.plug-ico.plug-brand-bacs { background: #0B2545; }
.plug-brand-nest img,
.plug-brand-smart img {
  object-fit: contain;
}
@media (max-width: 1180px) {
  .plug-legend-8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* why double entry */
.bk-why { background: #f7f9fc; }
.bk-why-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.bk-why-photo { margin: 0; aspect-ratio: 10 / 11; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -44px rgba(11, 37, 69, .5); }
.bk-why-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk-why-copy { display: grid; gap: 16px; justify-items: stretch; }
.bk-why-copy .display {
  width: 100%;
  max-width: none;
  color: var(--navy);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.034em;
  text-wrap: wrap;
}
.bk-why-copy > p:not(.eyebrow) { color: var(--body); font-size: var(--fs-md); line-height: 1.65; max-width: none; }
.bk-checks { display: grid; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.bk-checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--navy); font-weight: 500; }
.bk-checks .ic {
  flex: none;
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 8px;
  color: var(--navy-2);
  background: #eef3f9;
  stroke-width: 1.8;
}

/* pricing: Pricing 8 comparison table */
.bk-pricing {
  position: relative;
  overflow: visible;
  background: var(--mist);
}
.bk-pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 48% 42% at 12% 18%, rgba(2, 65, 123, .09), transparent 72%),
    radial-gradient(ellipse 44% 38% at 92% 12%, rgba(248, 180, 0, .14), transparent 70%),
    radial-gradient(ellipse 40% 36% at 78% 88%, rgba(11, 37, 69, .07), transparent 72%);
}
.bk-pricing .wrap { position: relative; z-index: 1; }
.p8 {
  --p8-r: 6px;
  margin-top: var(--block-gap);
  border-radius: var(--p8-r);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), var(--bevel), var(--shadow-lg);
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.p8-head,
.p8-row {
  display: grid;
  grid-template-columns: minmax(168px, 1.15fr) repeat(3, minmax(140px, 1fr));
  min-width: 760px;
}
.p8-head {
  position: sticky;
  top: 76px;
  z-index: 8;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  border-radius: var(--p8-r) var(--p8-r) 0 0;
  background: #fff;
  box-shadow: 0 14px 28px -22px rgba(11, 37, 69, .4);
}
.p8-corner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  gap: 14px;
  padding: 20px 16px 22px;
}
.p8-brand {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 0;
}
.p8-brand img { width: 96px; height: 96px; display: block; }
.p8-brand span {
  color: var(--navy);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.03em;
}
.p8-brand b { color: #E2A400; font-weight: 700; }
.p8-corner .toggle {
  margin: 0 auto;
  width: max-content;
  height: 42px;
  align-items: center;
  padding: 3px;
  flex: none;
}
.p8-corner .toggle button {
  height: 36px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.p8-plan {
  position: relative;
  overflow: visible;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 28px 18px 24px;
  border-left: 1px solid var(--line);
}
.p8-plan.tilt {
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .6s var(--ease);
}
.p8-plan.tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .55), transparent 45%);
}
.p8-plan.tilt:hover::after { opacity: 1; }
.p8-plan h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.03em;
}
.p8-plan .price { margin: 4px 0 0; }
.p8-plan .price b { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.p8-plan .price-sub { margin: 0 0 12px; }
.p8-plan .btn { width: 100%; height: 42px; padding: 0 14px; font-size: 14px; }
.p8-plan-pop {
  z-index: 3;
  background: radial-gradient(120% 60% at 0% 0%, rgba(255, 255, 255, .08), transparent 50%), linear-gradient(170deg, var(--navy-3) 0%, var(--navy) 60%);
  color: var(--on-dark);
  box-shadow: 0 28px 48px -32px rgba(11, 37, 69, .55);
}
.p8-plan-pop h3, .p8-plan-pop .price b { color: #fff; }
.p8-plan-pop .kicker, .p8-plan-pop .price span, .p8-plan-pop .price-sub { color: var(--on-dark-2); }
.p8-plan-pop.tilt::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .1), transparent 45%); }
.p8-group {
  border-bottom: 1px solid var(--line);
}
.p8-group:last-child {
  border-bottom: 0;
  border-radius: 0 0 var(--p8-r) var(--p8-r);
}
.p8-group:last-child:not([open]) > summary,
.p8-group:last-child[open] .p8-row:last-child {
  border-radius: 0 0 var(--p8-r) var(--p8-r);
}
.p8-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  list-style: none;
  cursor: pointer;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  background: #fff;
  transition: background-color .12s ease;
}
.p8-group > summary:hover { background: #f4f7fb; }
.p8-group > summary::-webkit-details-marker { display: none; }
.p8-group > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  opacity: .55;
  transition: transform .2s ease;
}
.p8-group[open] > summary::after { transform: rotate(225deg); margin-top: 4px; }
.p8-row {
  position: relative;
  border-top: 1px solid #eef2f6;
  background: #fff;
  font-size: 14px;
  color: var(--body);
  transition: background-color .1s ease, color .1s ease, box-shadow .1s ease;
}
.p8-row:hover,
.p8-group[open] .p8-row:nth-child(even):hover {
  background: #dce6f4;
  color: var(--navy);
  box-shadow: inset 4px 0 0 var(--yellow);
}
.p8-row:hover span:first-child { font-weight: 600; }
.p8-row:hover span:nth-child(3),
.p8-group[open] .p8-row:nth-child(even):hover span:nth-child(3) {
  background: rgba(2, 65, 123, .12);
}
.p8-row span {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 18px;
}
.p8-row span + span {
  justify-content: center;
  border-left: 1px solid #eef2f6;
  text-align: center;
  font-weight: 600;
  color: var(--navy);
}
.p8-row span:nth-child(3) {
  background: rgba(11, 37, 69, .04);
}
.p8-row .p8-on { color: #12b76a; }
.p8-row .p8-off { color: var(--mute); font-weight: 500; }
.p8-row .p8-on .ic { width: 18px; height: 18px; stroke-width: 2.8; color: #12b76a; }
/* numeric / text plan values (not check or dash) */
.p8-row > span + span:not(.p8-on):not(.p8-off) {
  color: #0ea5e9;
  font-variant-numeric: tabular-nums;
}
.p8-group[open] .p8-row:nth-child(even) { background: #fafbfd; }
.p8-plan.has-collab, .p8-plan.has-collab * { cursor: none !important; }
@media (pointer: fine) {
  .p8-plan.has-collab, .p8-plan.has-collab * { cursor: none; }
}

/* works with the rest */
.bk-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: var(--block-gap); }
.bk-link {
  display: grid; gap: 8px; align-content: start; padding: 26px; border-radius: 20px; background: #fff; color: var(--navy);
  box-shadow: inset 0 0 0 1px #e8edf3; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.bk-link:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(11, 37, 69, .35), inset 0 0 0 1px #dfe6ef; }
.bk-link b { font-size: 18px; letter-spacing: -.02em; margin-top: 6px; }
.bk-link p { font-size: 14.5px; color: var(--body); }
.bk-link em { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-style: normal; font-weight: 600; font-size: 14px; color: var(--navy-2); }
.bk-link em .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.bk-link:hover em .ic { transform: translateX(4px); }

/* plain related cards: one brand tone, icon tile, no rainbow link colours */
.bk-links-plain { gap: 14px; }
.bk-links-plain .bk-link {
  --tone: var(--navy-2);
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(11, 37, 69, .04), 0 18px 40px -30px rgba(11, 37, 69, .35), inset 0 0 0 1px #e6ebf2;
}
.bk-links-plain .bk-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 2px rgba(11, 37, 69, .05), 0 28px 56px -28px rgba(11, 37, 69, .45), inset 0 0 0 1px #d6dfea;
}
.bk-links-plain .bkw-body {
  display: grid;
  gap: 10px;
  align-content: start;
  justify-items: start;
  padding: 24px 24px 22px;
  min-height: 196px;
}
.bk-links-plain .bk-ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--navy);
  background: linear-gradient(180deg, #f1f6fc, #e3ecf7);
  box-shadow: inset 0 0 0 1px #d9e4f1;
}
.bk-links-plain .bk-ic .ic { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.75; }
.bk-links-plain .bk-link:hover .bk-ic {
  color: #0b2545;
  background: linear-gradient(180deg, #ffd45c, #f8b400);
  box-shadow: 0 8px 18px -10px rgba(248, 180, 0, .8);
}
.bk-links-plain .bkw-body b { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.bk-links-plain .bkw-body p { margin: 0; max-width: 28em; font-size: 14.5px; line-height: 1.5; color: var(--body); }
.bk-links-plain .bkw-body em {
  margin-top: auto;
  padding-top: 8px;
  color: var(--navy-2);
  font-weight: 700;
}
.bk-links-plain .bk-link:hover em { color: #0b2545; }

/* Receipt Sync: three accounting destinations, credit visual */
.plug-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plug-card-slim { min-height: 0; }
.plug-card-slim .plug-visual { min-height: 168px; padding: 28px 20px; }
.plug-card-slim .plug-visual img {
  position: relative;
  z-index: 1;
  width: auto;
  height: 72px;
  object-fit: contain;
}
.plug-card-slim .plug-copy { padding: 8px 4px 0; }
.plug-ticks {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.plug-ticks li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--body);
}
.plug-ticks .ic {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--navy-2);
  stroke-width: 2;
}
.rs-credit {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  margin: 0 0 8px;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  background: var(--mist);
  box-shadow: inset 0 0 0 1px rgba(11, 37, 69, .1);
  color: var(--navy);
  text-align: center;
}
.rs-credit strong {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
}
.rs-credit span { font-size: 15px; color: var(--body); }
.fx-cell .bk-checks { margin-top: 4px; }

/* Receipts mobile app: scatter collage inside the navy band, abstract pattern behind */
.rs-app {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 860px;
  padding: 72px 0 80px;
  background:
    radial-gradient(900px 520px at 12% 16%, rgba(248, 180, 0, .18), transparent 62%),
    radial-gradient(760px 500px at 88% 10%, rgba(2, 65, 123, .5), transparent 64%),
    radial-gradient(820px 480px at 82% 90%, rgba(248, 180, 0, .14), transparent 60%),
    radial-gradient(640px 420px at 6% 88%, rgba(244, 247, 251, .08), transparent 62%),
    radial-gradient(70% 60% at 50% 45%, #0c2748 0%, #07172a 72%);
  color: #fff;
}
.rs-app-paint {
  position: absolute;
  inset: -8% -4%;
  z-index: 0;
  pointer-events: none;
  background: url("assets/rs-abstract.svg") center / cover no-repeat;
  opacity: .9;
}
.rs-app-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.rs-app-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 23, 42, .1) 0%, transparent 18%, transparent 82%, rgba(7, 23, 42, .12) 100%);
}
.rs-app-in {
  position: relative;
  z-index: 4;
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 720px;
}
.rs-app-copy {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
  width: min(52rem, 100%);
  padding: 28px 32px 24px;
  border-radius: 20px;
  background: rgba(7, 23, 42, .82);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.rs-app h2 {
  margin: 0;
  color: #fff;
  font-size: var(--fs-display);
  font-weight: 800;
  letter-spacing: -.052em;
  line-height: .98;
}
.rs-app .lede {
  margin: 0;
  color: rgba(244, 247, 251, .94);
  font-size: 17px;
  line-height: 1.5;
  max-width: 34em;
}
.rs-app-points {
  counter-reset: rs-pt;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  width: 100%;
  text-align: left;
}
.rs-app-points li {
  counter-increment: rs-pt;
  position: relative;
  display: grid;
  gap: 4px;
  padding: 18px 18px 18px 60px;
  border-radius: 16px;
  background: #0b2545;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 18px 32px -22px rgba(0, 0, 0, .55);
}
.rs-app-points li::before {
  content: counter(rs-pt, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 17px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  color: #0b2545;
  background: var(--yellow);
  box-shadow: 0 6px 14px -6px rgba(248, 180, 0, .8);
}
.rs-app-points b {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.rs-app-points span {
  color: rgba(232, 238, 246, .9);
  font-size: 13.5px;
  line-height: 1.45;
}
.rs-phone {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: var(--z, 1);
  width: var(--w, 220px);
  margin: 0;
  padding: 7px;
  border-radius: 15% / 7%;
  background: linear-gradient(145deg, #9a9ca0 0%, #4a4c50 16%, #2a2b2e 50%, #505256 84%, #a3a5a9 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .4),
    inset 0 0 0 3px #161719,
    0 36px 64px -24px rgba(0, 0, 0, .7),
    0 0 0 1px rgba(0, 0, 0, .35);
  transform: rotate(var(--r, 0deg));
  transform-origin: 50% 50%;
  animation: rs-drift 10s ease-in-out infinite alternate;
}
.rs-phone:nth-child(even) { animation-duration: 12s; animation-delay: -3s; }
.rs-phone:nth-child(3n) { animation-delay: -6s; }
.rs-phone::after {
  content: "";
  position: absolute;
  right: -1.4%;
  top: 22%;
  width: 1.4%;
  height: 10%;
  border-radius: 0 2px 2px 0;
  background: #55575b;
}
.rs-phone img,
.rs-phone .sr-screen {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12.5% / 5.8%;
  box-shadow: 0 0 0 3px #050505;
}
.rs-phone .sr-screen {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  aspect-ratio: 390 / 844;
  overflow: hidden;
  background: #eef2f6;
  color: #12253c;
}
.rs-phone .sr-status {
  display: flex;
  justify-content: space-between;
  padding: 11px 14px 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  background: #003566;
}
.rs-phone .sr-head {
  padding: 6px 14px 14px;
  background: linear-gradient(180deg, #003566, #00243f);
  color: #fff;
}
.rs-phone .sr-head small { display: block; font-size: 9px; color: #93aac4; }
.rs-phone .sr-head b { display: block; margin-top: 2px; font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.rs-phone .sr-body { display: grid; gap: 7px; align-content: start; padding: 9px; }
.rs-phone .sr-card {
  padding: 9px 10px;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 8px 16px -14px rgba(11, 37, 69, .5);
}
.rs-phone .sr-card strong { display: block; font-size: 11px; font-weight: 700; }
.rs-phone .sr-card span { display: block; margin-top: 2px; font-size: 9.5px; line-height: 1.35; color: #4b5563; }
.rs-phone .sr-card-act { background: #003566; color: #fff; }
.rs-phone .sr-card-act span { color: #93aac4; }
.rs-phone .sr-pin {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 4px 8px 2px;
}
.rs-phone .sr-pin b {
  justify-self: center;
  width: 8px;
  height: 8px;
  margin: 4px 0 8px;
  border-radius: 50%;
  background: #003566;
}
.rs-phone .sr-pin i {
  display: grid;
  place-items: center;
  min-height: 28px;
  border-radius: 8px;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  background: #fff;
  box-shadow: 0 8px 16px -14px rgba(11, 37, 69, .5);
}
.rs-phone .sr-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-top: 1px solid #dce3eb;
  font-size: 8px;
  font-weight: 700;
  color: #8496a9;
  text-align: center;
}
.rs-phone .sr-tabs em { font-style: normal; padding: 9px 0 10px; }
.rs-phone .sr-tabs em.on { color: #0f6fb8; }
.rs-phone:nth-child(1) { --x: 6%; --y: 8%; --r: -16deg; --w: 228px; --z: 2; }
.rs-phone:nth-child(2) { --x: 18%; --y: 28%; --r: -7deg; --w: 262px; --z: 5; }
.rs-phone:nth-child(3) { --x: 70%; --y: 6%; --r: 13deg; --w: 240px; --z: 3; }
.rs-phone:nth-child(4) { --x: 80%; --y: 42%; --r: 8deg; --w: 204px; --z: 1; }
.rs-phone:nth-child(5) { --x: 46%; --y: 2%; --r: 5deg; --w: 246px; --z: 4; }
.rs-phone:nth-child(6) { --x: 56%; --y: 48%; --r: -12deg; --w: 230px; --z: 4; }
.rs-phone:nth-child(7) { --x: 3%; --y: 52%; --r: 11deg; --w: 212px; --z: 2; }
.rs-phone:nth-child(8) { --x: 32%; --y: 56%; --r: -4deg; --w: 204px; --z: 3; }
.rs-phone:nth-child(9) { --x: 86%; --y: 14%; --r: -14deg; --w: 184px; --z: 1; }
@keyframes rs-drift { from { translate: 0 0; } to { translate: 0 -8px; } }

/* closing call to action over a photo */
.bk-cta { padding: 0 0 clamp(64px, 10vh, 120px); background: #fff; }
.bk-cta-card { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; min-height: 380px; display: grid; align-items: end; }
.bk-cta-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bk-cta-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 27, 51, .92) 0%, rgba(7, 27, 51, .75) 45%, rgba(7, 27, 51, .25) 100%); }
.bk-cta-copy { display: grid; gap: 16px; justify-items: start; max-width: 560px; padding: clamp(28px, 5vw, 56px); }
.bk-cta-copy h2 { color: #fff; font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.034em; line-height: 1.12; }
.bk-cta-copy p { color: rgba(232, 238, 246, .8); }

/* reveal on scroll (this page's own, so it does not depend on the homepage scripts) */
.bk-page .band .lede { color: var(--body); }
.bk-page .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform 1s var(--ease); }
.bk-page .reveal.in { opacity: 1; transform: none; }

/* ---------- tablet + small laptop: headings use the full row ---------- */
@media (max-width: 1100px) {
  .fx-split {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }
  .fx-split h2 {
    width: 100%;
    max-width: none;
  }
  .fx-split p {
    max-width: min(48em, 100%);
    width: 100%;
  }
}
/* ---------- tablet ---------- */
@media (max-width: 960px) {
  .bk-why-in { grid-template-columns: 1fr; }
  .bk-hero { min-height: 480px; }
  .bk-hero-in { min-height: 440px; }
  .tt-plane { width: 320%; height: 280%; }
  .bk-steps-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bk-steps li:nth-child(3) { border-left: 0; }
  .bk-steps li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .bk-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-pair { grid-template-columns: 1fr; }
  .fx-cell:first-child { padding-right: 0; }
  .fx-cell + .fx-cell { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .fx-wide { grid-template-columns: 1fr; padding-top: 28px; }
  .fx-panel img,
  .fx-xero img { width: min(40%, 120px); }
  .plug-grid,
  .plug-grid-3 { grid-template-columns: 1fr; }
  .plug-card { min-height: 360px; }
  .plug-legend,
  .plug-legend-8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bk-why-photo { aspect-ratio: 16 / 10; }
  .rs-app { min-height: 0; padding: 56px 0 64px; }
  .rs-app-in { min-height: 0; }
  .rs-app-copy { width: min(40rem, 100%); padding: 22px 20px 18px; }
  .rs-app-points { grid-template-columns: 1fr; }
  .rs-phone:nth-child(n + 6) { display: none; }
  .rs-phone:nth-child(1) { --x: 2%; --y: 6%; --w: 188px; }
  .rs-phone:nth-child(2) { --x: 58%; --y: 22%; --w: 210px; }
  .rs-phone:nth-child(3) { --x: 8%; --y: 48%; --w: 196px; }
  .rs-phone:nth-child(4) { --x: 62%; --y: 52%; --w: 178px; }
  .rs-phone:nth-child(5) { --x: 36%; --y: 4%; --w: 186px; }
}
/* ---------- phones ---------- */
@media (max-width: 600px) {
  .bk-page { padding-top: 0; }
  .bk-hero { min-height: 560px; padding: 76px 0 40px; }
  .bk-hero-in { min-height: 0; }
  .bk-hero h1 {
    font-size: clamp(1.6rem, 5.8vw, 1.85rem);
    letter-spacing: -.035em;
    line-height: 1.12;
  }
  .bk-hero .lede { font-size: 15px; }
  /* hero CTAs: side by side, compact on phones — never widen the page */
  .bk-hero-copy {
    max-width: 100%;
    min-width: 0;
    padding: 20px 16px 8px;
    box-sizing: border-box;
  }
  .bk-crumbs ol {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
  }
  .bk-hero-note {
    max-width: 36em;
    padding-inline: 4px;
    text-wrap: pretty;
  }
  .bk-hero .actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .bk-hero .actions .btn {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
    letter-spacing: -.015em;
  }
  .bk-hero-veil {
    background:
      radial-gradient(ellipse 82% 78% at 50% 48%, rgba(7, 23, 42, .62) 0%, rgba(7, 23, 42, .34) 100%),
      rgba(7, 23, 42, .42);
  }
  .fx-split h2,
  .bk-why-copy .display,
  .bk-cta-copy h2 { font-size: clamp(1.6rem, 7.4vw, 1.85rem); line-height: 1.08; }
  .bk-hero-stage { perspective: 900px; }
  .bk-hero-stage::after { height: 18%; opacity: .85; }
  /* two big zoomed columns — screens fill the phone, not a sliver texture */
  .bk-hero-stage.is-mobile-board .tt-plane {
    width: 210%;
    height: 260%;
    gap: 14px;
    transform:
      translate3d(-50%, -40%, 0)
      translate3d(-12px, 0, 0)
      scale(1.65)
      rotateX(22deg)
      rotateY(6deg)
      rotateZ(-10deg);
  }
  .bk-hero-stage.is-mobile-board .tt-tile {
    border-radius: 14px;
    box-shadow: 0 18px 32px -14px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .12);
  }
  .bk-hero-stage.is-mobile-board .tt-tile img { object-position: 50% 10%; }
  .bk-hero-stage.is-mobile-board .tt-track { gap: 14px; }
  .bk-steps li { padding: 20px 16px 22px; }
  .bk-steps b { font-size: 15px; }
  .bk-steps p { font-size: 13px; }
  .bk-links { grid-template-columns: 1fr; gap: 12px; }
  .bk-link { padding: 20px; }
  .bk-link b { font-size: 16px; }
  .bk-link p { font-size: 13.5px; }
  .fx-shot { border-radius: 6px; }
  .fx-cell { padding: 22px 0 36px; gap: 12px; }
  .fx-cell p { font-size: 14px; }
  .plug-grid,
  .plug-grid-3 { grid-template-columns: minmax(0, 1fr); }
  .plug-card {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    padding: 12px 12px 20px;
  }
  .plug-visual {
    min-width: 0;
    max-width: 100%;
    padding: 22px 12px;
  }
  /* keep the logo row inside the card on narrow phones */
  .plug-pills {
    flex-wrap: wrap;
    gap: 8px;
    max-width: 100%;
  }
  .plug-pill {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .plug-pill img { width: 26px; height: 26px; }
  .plug-legend,
  .plug-legend-8 { grid-template-columns: 1fr; }
  .plug-legend li,
  .plug-legend-apps li {
    align-items: flex-start;
    min-height: 0;
    padding: 14px 16px;
  }
  .plug-legend-apps .plug-ico { margin-top: 2px; }
  .plug-legend-copy b { font-size: 14.5px; }
  .plug-legend-copy > span { font-size: 13.5px; line-height: 1.4; }
  .plug-sat { --r: 80px; width: 40px; height: 40px; margin: -20px 0 0 -20px; }
  .plug-sat img { width: 22px; height: 22px; }
  .plug-hub { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
  .plug-hub img { width: 48px; height: 48px; }
  .plug-orbit { width: min(100%, 220px); max-width: 100%; }
  .bk-checks li { font-size: 14px; }
  .bk-cta-card { min-height: 340px; border-radius: 20px; }
  .bk-cta-card::after { background: linear-gradient(180deg, rgba(7, 27, 51, .35) 0%, rgba(7, 27, 51, .92) 60%); }
  .bk-cta-copy h2 { font-size: 1.6rem; }
  .rs-app h2 { font-size: clamp(2rem, 9vw, 2.4rem); }
  .rs-app .lede { font-size: 15px; }
  .rs-phone:nth-child(n + 4) { display: none; }
  .rs-phone { width: min(42vw, 168px); }
  .rs-phone:nth-child(1) { --x: -6%; --y: 4%; }
  .rs-phone:nth-child(2) { --x: 54%; --y: 16%; }
  .rs-phone:nth-child(3) { --x: 10%; --y: 50%; }
  .rs-app-points li { padding: 14px 14px 14px 54px; }
  .rs-app-points li::before { left: 14px; top: 14px; width: 28px; height: 28px; }
  .p8-head, .p8-row {
    min-width: 0;
    grid-template-columns: minmax(108px, 1.1fr) repeat(3, minmax(92px, 1fr));
  }
  .p8-corner { padding: 16px 10px 14px; }
  .p8-brand img { width: 56px; height: 56px; }
  .p8-brand span { font-size: 15px; }
  .p8-plan { padding: 20px 10px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .bk-page .reveal { opacity: 1; transform: none; transition: none; }
  .tt-track { animation: none; }
  .p8-row, .p8-group > summary { transition: none; }
  .rs-phone { animation: none; }
  .plug-pills-in .plug-pill,
  .plug-orbit-live .plug-ring,
  .plug-orbit-live .plug-sat img { animation: none; }
  .fx-split h2 {
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    transition: none;
  }
}
/* the navy Standard card keeps its tagline readable */

/* ---------- works with the rest: each app shows what it hands the ledger, and lines carry it down into "Your books" ---------- */
.bk-works { position: relative; overflow: hidden; }
.bk-works::before {
  content: ""; position: absolute; left: 50%; bottom: -10%; width: min(1100px, 120vw); height: 70%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(91, 155, 232, .12), transparent 75%);
}
.bk-works .wrap { position: relative; }
.bk-link { --tone: #e2a400; --tint: rgba(248, 180, 0, .1); gap: 0; padding: 0; overflow: hidden; border-radius: 22px; box-shadow: 0 1px 2px rgba(11, 37, 69, .04), inset 0 0 0 1px #e6ebf2; }
.bkw-payroll { --tone: #059669; --tint: rgba(16, 185, 129, .1); }
.bkw-vat { --tone: #7c5cdb; --tint: rgba(124, 92, 219, .1); }
.bk-link:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(11, 37, 69, .4), inset 0 0 0 1px #dbe3ee; }

/* the preview: a tinted panel holding the item the app produces and what it becomes in the books */
.bkw-prev {
  position: relative; display: grid; gap: 10px; justify-items: start; padding: 26px 24px 24px;
  background: radial-gradient(rgba(11, 37, 69, .07) 1px, transparent 1.2px) 0 0 / 16px 16px, linear-gradient(180deg, var(--tint), rgba(255, 255, 255, 0));
  border-bottom: 1px solid #eef2f7;
}
.bkw-chip {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 14px; background: #fff;
  box-shadow: 0 10px 24px -16px rgba(11, 37, 69, .35), inset 0 0 0 1px #e8edf3; transition: transform .5s var(--ease);
}
.bkw-ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: var(--tone); background: var(--tint); }
.bkw-ic .ic { width: 20px; height: 20px; }
.bkw-chip > span { display: grid; gap: 1px; min-width: 0; }
.bkw-chip b { margin: 0; font-size: 14px; letter-spacing: -.01em; color: var(--navy); }
.bkw-chip small { font-size: 12.5px; color: var(--mute); font-variant-numeric: tabular-nums; }
.bkw-res {
  display: inline-flex; align-items: center; gap: 7px; margin-left: 14px; padding: 5px 11px 5px 9px; border-radius: 99px;
  font-size: 12.5px; font-weight: 600; color: var(--navy); background: #fff; box-shadow: inset 0 0 0 1px #e3e9f1; transition: transform .5s var(--ease) .05s;
}
.bkw-res i { width: 7px; height: 7px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 0 3px var(--tint); }
/* a little elbow joining the chip to its result */
.bkw-res::before { content: ""; position: absolute; transform: translate(-22px, -14px); width: 10px; height: 16px; border-left: 1.5px solid #cfd8e4; border-bottom: 1.5px solid #cfd8e4; border-bottom-left-radius: 6px; }
.bk-link:hover .bkw-chip { transform: translateY(-3px); }
.bk-link:hover .bkw-res { transform: translateX(4px); }

.bkw-body { display: grid; gap: 8px; align-content: start; padding: 22px 24px 24px; }
.bkw-body b { margin: 0; font-size: 19px; }
.bk-link em { color: var(--tone); }

/* the lines carrying each app's output down into the ledger */
.bkw-flow { height: 96px; margin: 0 0 -2px; }
.bkw-flow svg { display: block; width: 100%; height: 100%; overflow: visible; }
.bkw-flow path { fill: none; vector-effect: non-scaling-stroke; }
.bkw-track { stroke: #d5deea; stroke-width: 1.5; }
.bkw-dash { stroke: #f8b400; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 14; animation: bkw-flow 1.6s linear infinite; }
.bkw-rev { stroke: #7c5cdb; animation-direction: reverse; }
@keyframes bkw-flow { to { stroke-dashoffset: -16; } }

.bkw-hub {
  display: flex; align-items: center; gap: 14px; width: fit-content; margin: 0 auto; padding: 12px 14px 12px 12px; border-radius: 99px;
  color: #fff; background: linear-gradient(180deg, #0f325c, #0b2545); box-shadow: 0 24px 50px -24px rgba(11, 37, 69, .6), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.bkw-hub-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.bkw-hub-mark img { width: 26px; height: 26px; }
.bkw-hub > span:nth-child(2) { display: grid; gap: 1px; }
.bkw-hub b { font-size: 16px; letter-spacing: -.02em; }
.bkw-hub small { font-size: 12.5px; color: rgba(232, 238, 246, .7); }
.bkw-hub-live { display: inline-flex; align-items: center; gap: 8px; margin-left: 8px; padding: 7px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 600; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }

@media (max-width: 960px) {
  .bk-links { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .bkw-flow { height: 56px; }
  .bkw-flow svg path:not(:nth-child(3)):not(:nth-child(4)) { display: none; }
}
@media (max-width: 600px) {
  .bk-link { padding: 0; }
  .bkw-prev { padding: 20px 18px 18px; }
  .bkw-body { padding: 18px 18px 20px; }
  .bkw-body b { font-size: 17px; }
  .bkw-hub { width: 100%; box-sizing: border-box; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; }
  .bkw-hub-mark { flex: none; width: 40px; height: 40px; }
  .bkw-hub b { font-size: 15px; }
  .bkw-hub small { font-size: 12px; line-height: 1.35; }
  .bkw-hub-live { display: none; }
}
@media (prefers-reduced-motion: reduce) { .bkw-dash { animation: none; } .rs-phone { animation: none; } }

/* ---------- Receipts app panel: frosted glass with a fine gold-lit edge; the three points become one connected stepper ---------- */
.rs-app-copy {
  position: relative;
  gap: 16px;
  width: min(54rem, 100%);
  padding: 34px 36px 30px;
  border-radius: 28px;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(91, 155, 232, .16), transparent 60%),
    linear-gradient(180deg, rgba(12, 36, 66, .78) 0%, rgba(7, 23, 42, .86) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06);
}
/* the edge: brighter at the top, a touch of gold at the corners, fading down the sides */
.rs-app-copy::before {
  content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(248, 180, 0, .7) 0%, rgba(255, 255, 255, .28) 22%, rgba(255, 255, 255, .06) 55%, rgba(248, 180, 0, .35) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
/* a thin light along the top edge */
.rs-app-copy::after {
  content: ""; position: absolute; top: 0; left: 18%; right: 18%; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
}

/* the kicker as a small pill with a live dot */
.rs-app-copy .bk-kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 99px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; color: #fff; text-shadow: none;
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.rs-app-copy .bk-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(248, 180, 0, .22), 0 0 12px rgba(248, 180, 0, .8); }
.rs-app .lede { color: rgba(232, 238, 246, .8); }

/* the stepper: one rail, three stations */
.rs-app-points {
  position: relative; gap: 0; margin: 18px 0 0; padding: 0;
  border-radius: 20px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.rs-app-points li {
  position: relative; display: grid; gap: 6px; align-content: start; padding: 22px 22px 22px; border-radius: 20px;
  background: transparent; box-shadow: none; transition: background .35s;
}
.rs-app-points li + li::after { content: ""; position: absolute; left: 0; top: 74px; bottom: 22px; width: 1px; background: rgba(255, 255, 255, .08); }
.rs-app-points li:hover { background: rgba(255, 255, 255, .05); }
/* station: a gold numbered node, with the rail running on from it to the next */
.rs-app-points li::before {
  position: relative; left: auto; top: auto; z-index: 1; width: 34px; height: 34px; margin-bottom: 8px; border-radius: 50%;
  font-size: 12.5px; color: #0b2545; background: linear-gradient(180deg, #ffd45c, #f8b400);
  box-shadow: 0 0 0 5px rgba(248, 180, 0, .14), 0 8px 18px -6px rgba(248, 180, 0, .8);
  transition: box-shadow .35s, transform .35s var(--ease);
}
.rs-app-points li:hover::before { transform: scale(1.08); box-shadow: 0 0 0 7px rgba(248, 180, 0, .2), 0 10px 22px -6px rgba(248, 180, 0, .9); }
/* one rail from the centre of the first marker to the centre of the last, running behind them */
.rs-app-points::before {
  content: ""; position: absolute; z-index: 0; top: 38px; left: 39px; right: calc(100% / 3 - 39px); height: 2px; border-radius: 2px; pointer-events: none;
  background: linear-gradient(90deg, rgba(248, 180, 0, .9), rgba(248, 180, 0, .55) 50%, rgba(248, 180, 0, .9));
  box-shadow: 0 0 10px rgba(248, 180, 0, .35);
}
.rs-app-points li::before { position: relative; z-index: 1; }
.rs-app-points b { font-size: 16px; font-weight: 700; color: #fff; }
.rs-app-points span { font-size: 14px; line-height: 1.5; color: rgba(232, 238, 246, .72); }

@media (max-width: 960px) {
  .rs-app-copy { padding: 26px 22px 22px; }
  .rs-app-points li + li::after { left: 22px; right: 22px; top: 0; bottom: auto; width: auto; height: 1px; }
  .rs-app-points::before { display: none; }
}
@media (max-width: 600px) {
  .rs-app-copy { padding: 22px 16px 16px; border-radius: 22px; }
  .rs-app-points li { grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; padding: 16px; }
  .rs-app-points li::before { grid-row: span 2; margin: 0; width: 30px; height: 30px; }
  .rs-app-points li + li::after { left: 16px; right: 16px; }
  .rs-app-points b { font-size: 15px; }
  .rs-app-points span { font-size: 13.5px; }
}

/* steps centred: marker above, text centred beneath, the rail running between the marker centres */
.rs-app-points li { justify-items: center; text-align: center; }
.rs-app-points::before { left: calc(100% / 6); right: calc(100% / 6); }
@media (max-width: 600px) {
  .rs-app-points li { justify-items: start; text-align: left; }
}

.bk-hero-note {
  margin: 0;
  color: rgba(232, 238, 246, .72);
  font-size: 14px;
  text-shadow: 0 1px 12px rgba(7, 23, 42, .7);
}

.py-ways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
  margin: 8px 0 48px;
}
.py-way {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow:
    0 22px 44px -28px rgba(11, 37, 69, .45),
    inset 0 0 0 1px rgba(11, 37, 69, .08);
}
.py-way-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 18px;
  background: linear-gradient(180deg, #003566, #00243f);
  color: #dbe6f2;
}
.py-way-bar span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #dbe6f2;
}
.py-way-bar i {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  padding: 3px 9px;
  border-radius: 99px;
  background: #fff;
}
.py-way-pop .py-way-bar i { background: var(--yellow); }
.py-way-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 22px 20px;
}
.py-way h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.03em;
}
.py-way .price { margin: 2px 0 0; display: flex; align-items: baseline; gap: 6px; }
.py-way .price b {
  font-size: 2.15rem;
  font-weight: 750;
  letter-spacing: -.05em;
  line-height: 1;
  color: var(--navy);
}
.py-way .price span { color: var(--mute); font-size: 14px; font-weight: 600; }
.py-way .price-sub {
  margin: 0 0 8px;
  color: var(--navy-2);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  text-transform: none;
}
.py-way ul {
  display: grid;
  gap: 8px;
  margin: 4px 0 14px;
  padding: 12px 0 0;
  list-style: none;
  border-top: 1px solid #e8edf3;
}
.py-way li {
  position: relative;
  padding-left: 16px;
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.45;
}
.py-way li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}
.py-way-tiers {
  display: grid;
  gap: 0;
  margin: 6px 0 10px;
  padding: 4px 0 0;
  border-top: 1px solid #e8edf3;
}
.py-way-tiers > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #eef2f7;
  font-size: 14px;
}
.py-way-tiers dt { margin: 0; color: var(--body); font-weight: 500; }
.py-way-tiers dd {
  margin: 0;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.py-way-body > p {
  margin: 0 0 14px;
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.5;
}
.py-way .btn {
  align-self: end;
  width: 100%;
  height: 44px;
  margin-top: auto;
}
.py-way-pop {
  box-shadow:
    0 28px 50px -28px rgba(11, 37, 69, .55),
    inset 0 0 0 1.5px rgba(248, 180, 0, .55);
}

.py-ways-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin-inline: auto; }
.vt-free { max-width: 480px; margin: 8px auto 48px; }
.sr-handset {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: var(--z, 1);
  width: var(--w, 220px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 390px;
  padding: 0;
  border-radius: 28px;
  overflow: hidden;
  color: var(--navy);
  background: #f3f6fa;
  box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .55), 0 0 0 3px #1a1c1f;
  transform: rotate(var(--r, 0deg));
  animation: rs-drift 11s ease-in-out infinite alternate;
}
.sr-handset header {
  padding: 16px 14px 12px;
  background: linear-gradient(180deg, #003566, #00243f);
  color: #fff;
}
.sr-handset header small { display: block; font-size: 10px; color: #93aac4; }
.sr-handset header b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.sr-handset ul { display: grid; gap: 8px; padding: 10px; margin: 0; list-style: none; }
.sr-handset li {
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 16px -14px rgba(11, 37, 69, .5);
}
.sr-handset li strong { display: block; font-size: 12.5px; color: var(--navy); }
.sr-handset li span { display: block; margin-top: 2px; font-size: 11px; color: var(--body); }
.sr-handset footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 0;
  background: #fff;
  border-top: 1px solid #e8edf3;
  font-size: 9px;
  font-weight: 700;
  color: #8496a9;
  text-align: center;
}
.sr-handset footer em { font-style: normal; }
.sr-handset footer em.on { color: #0f6fb8; }
.sr-handset:nth-child(1) { --x: 6%; --y: 10%; --r: -12deg; --w: 210px; --z: 2; }
.sr-handset:nth-child(2) { --x: 72%; --y: 8%; --r: 10deg; --w: 218px; --z: 3; }
.sr-handset:nth-child(3) { --x: 8%; --y: 48%; --r: 8deg; --w: 200px; --z: 2; }
.sr-handset:nth-child(4) { --x: 78%; --y: 46%; --r: -8deg; --w: 206px; --z: 1; }
@media (max-width: 900px) {
  .py-ways { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .py-ways-2 { grid-template-columns: 1fr; }
  .sr-handset:nth-child(n + 3) { display: none; }
}

/* ---------- combined pricing page ---------- */
.px-page { --px-nav: 68px; --px-head: 160px; }
.px-page .bk-hero { min-height: 520px; }
.px-page .bk-hero-in { min-height: 420px; }
.px-page .bk-hero-stage {
  background-image: radial-gradient(rgba(248, 180, 0, .16) 1px, transparent 1px);
  background-size: 22px 22px;
}
.bk-steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.px-jump {
  position: relative;
  z-index: 1;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.px-jump .wrap { padding-top: 8px; padding-bottom: 8px; }
.px-jump-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}
.px-jump-bill {
  margin: 0;
  flex: none;
  height: 40px;
  padding: 3px;
  align-items: center;
}
.px-jump-bill button {
  height: 34px;
  padding: 0 14px;
  font-size: 13px;
}
.px-jump-in {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 3px;
  overflow-x: auto;
  padding: 4px;
  scrollbar-width: none;
  border-radius: 6px;
  background: var(--mist);
  box-shadow: inset 0 0 0 1px #e4e9f0, var(--bevel);
}
.px-jump-in::-webkit-scrollbar { display: none; }
.px-jump a {
  position: relative;
  flex: 1 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--body);
  white-space: nowrap;
  text-decoration: none;
  transition: color .2s, background .2s, box-shadow .25s var(--ease);
}
.px-jump a .ic { width: 15px; height: 15px; stroke-width: 1.85; flex: none; }
.px-jump a:hover { color: var(--navy); }
.px-jump a.is-on {
  color: #fff;
  background: var(--navy);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 8px 16px -10px rgba(11, 37, 69, .45);
}
.px-jump a.is-on .ic { color: var(--yellow); }
.px-jump a:focus-visible { outline-offset: 0; }
@media (prefers-reduced-motion: reduce) {
  .px-jump a { transition: none; }
}
.px-glance {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}
.px-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 164px;
  padding: 16px 14px 14px;
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), background .2s ease;
}
.px-card:hover {
  transform: translateY(-2px);
  background: #fbfcfe;
  box-shadow: inset 0 0 0 1px #c9d5e4, 0 16px 28px -24px rgba(11, 37, 69, .32);
}
.px-card .bk-ic { width: 36px; height: 36px; border-radius: 8px; }
.px-card b { font-size: 15px; letter-spacing: -.02em; }
.px-card p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--body); text-wrap: pretty; }
.px-tag {
  margin-top: auto;
  width: max-content;
  padding: 4px 9px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy-2);
  background: var(--mist);
}
.px-tag-free { color: #0b2545; background: #fff3c4; }
.px-table { border-radius: 6px; }
@media (max-width: 800px) {
  .px-table { overflow-x: auto; }
}
.px-page .p8-head,
.px-page .p8-row {
  grid-template-columns: minmax(200px, 1.05fr) repeat(3, minmax(160px, 1fr));
}
.px-page .px-table .p8 { overflow: visible; }
.px-page .p8-head {
  top: 56px;
  z-index: 30;
}
.px-page .p8-corner {
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  padding: 14px 14px 12px;
  gap: 12px;
}
.px-page .p8-brand {
  width: 100%;
  flex: none;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}
.px-page .p8-brand img { width: 36px; height: 36px; }
.px-page .p8-brand > span { font-size: 16px; line-height: 1.1; }
.px-page .p8-corner-label { margin: 0 0 0 auto; }
.px-page .p8-corner .toggle {
  display: flex;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  gap: 8px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.px-page .p8-corner .toggle button {
  flex: 1 1 0;
  height: 36px;
  padding: 0 8px;
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  box-shadow: inset 0 0 0 1px #d5dee8;
}
.px-page .p8-corner .toggle button.on {
  background: var(--navy);
  color: #fff;
  box-shadow: none;
}
.p8-corner-label {
  margin: 0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.px-page .p8-plan { padding: 10px 12px 12px; gap: 2px; }
.px-page .p8-plan h3 { font-size: 1.15rem; }
.px-page .p8-plan .price b { font-size: 1.55rem; }
.px-page .p8-plan .price-sub { margin: 0 0 8px; font-size: 11.5px; }
.px-page .p8-plan .btn { height: 34px; font-size: 13px; }
.px-page .p8-row > span:first-child {
  align-items: flex-start;
  padding: 14px 18px;
  line-height: 1.4;
  overflow-wrap: break-word;
}
.px-page .p8-plan-pop {
  box-shadow: inset 0 2px 0 var(--yellow), 0 28px 48px -32px rgba(11, 37, 69, .55);
}
.px-page .p8-group {
  scroll-margin-top: calc(56px + var(--px-head));
}
.px-page .p8-group > summary {
  position: sticky;
  top: calc(56px + var(--px-head));
  z-index: 24;
}
.p8-sum {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-align: left;
}
.p8-sum-ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  color: var(--navy-2);
  background: var(--mist);
  box-shadow: inset 0 0 0 1px #e8edf3;
}
.p8-sum-ico .ic { width: 18px; height: 18px; stroke-width: 1.8; }
.p8-sum-copy { display: grid; gap: 2px; min-width: 0; }
.p8-sum-copy b { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.p8-sum-copy em { font-style: normal; font-size: 12.5px; font-weight: 500; color: var(--body); }
/* The product link sits in the open group, not inside <summary>: a link
   nested in the toggle is hidden from screen readers (WCAG 4.1.2). */
.p8-open { padding: 6px 16px 2px; }
.p8-sum-go {
  display: inline-flex;
  align-items: center;
  min-height: 24px; /* WCAG 2.5.8 target size */
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy-2);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.p8-sum-go:hover { color: var(--navy); }
.px-page .p8-group > summary {
  display: grid;
  grid-template-columns: minmax(200px, 1.05fr) repeat(3, minmax(160px, 1fr));
  align-items: stretch;
  gap: 0;
  padding: 0;
  background: #e8eef6;
  box-shadow: inset 3px 0 0 var(--yellow);
  border-top: 1px solid #d5dee8;
}
.px-page .p8-group > summary:hover { background: #dde6f1; }
.px-page .p8-group > summary::after { display: none; }
.px-page .p8-sum {
  grid-template-columns: 36px 1fr auto 14px;
  padding: 12px 16px 12px 18px;
}
.px-page .p8-sum::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: -2px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  opacity: .55;
  justify-self: center;
  align-self: center;
  transition: transform .2s ease;
}
.px-page .p8-group[open] .p8-sum::after {
  transform: rotate(225deg);
  margin-top: 4px;
}
.px-page .p8-sum-ico {
  background: #fff;
  color: var(--navy);
  box-shadow: inset 0 0 0 1px #d5dee8;
}
.p8-sum-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 8px 10px;
  border-left: 1px solid #d5dee8;
  color: #047857;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-align: center;
}
.p8-sum-off { color: var(--mute); font-weight: 500; }
.p8-sum-cell:nth-child(3) { background: rgba(11, 37, 69, .06); color: #0b2545; }
.px-note {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--body);
}
@media (min-width: 1100px) {
  .px-jump a { flex: 1 1 0; }
}
@media (max-width: 1100px) {
  .px-glance { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .bk-steps-3 { grid-template-columns: 1fr; }
  .bk-steps-3 li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .px-page .p8-head { top: 56px; }
  .px-page .p8-group { scroll-margin-top: calc(56px + var(--px-head)); }
}
@media (max-width: 700px) {
  .px-glance { grid-template-columns: 1fr 1fr; }
  .p8-sum { grid-template-columns: 36px 1fr; }
  .px-page .p8-sum { grid-template-columns: 36px 1fr 14px; }
  .px-jump-bar { flex-wrap: wrap; }
  .px-jump-bill { margin-left: auto; }
  .px-jump a { padding: 0 10px; font-size: 12.5px; }
  .px-jump a span { max-width: 11ch; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 600px) {
  .px-page .bk-hero { min-height: 0; }
  .px-page .bk-hero-in { min-height: 0; }
  .px-glance { grid-template-columns: 1fr; }
}

/* ---------- Pricing: three plan cards rising out of the hero, a billing switch above them, a trust line beneath ---------- */
.pxp {
  position: relative; z-index: 3; padding: 8px 0 clamp(56px, 8vw, 88px);
  background: linear-gradient(180deg, #07172a 0, #07172a 210px, #f4f7fb 210px, #fff 100%);
  scroll-margin-top: calc(var(--px-nav, 64px) + 12px);
}
.pxp .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pxp-head { display: flex; justify-content: center; padding: 20px 0 28px; }
.pxp-bill {
  margin: 0;
  height: 46px;
  padding: 4px;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}
.pxp-bill button {
  color: rgba(232, 238, 246, .8);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  font-size: 13.5px;
}
.pxp-bill button.on { background: #fff; color: var(--navy); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .6); }
.pxp-bill em { font-style: normal; font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 99px; color: #0b2545; background: var(--yellow); }

.pxp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; max-width: 1080px; margin: 0 auto; }
.pxp-card {
  position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; border-radius: 20px; color: var(--navy);
  background: #fff; box-shadow: 0 1px 2px rgba(11, 37, 69, .04), 0 24px 48px -32px rgba(11, 37, 69, .4), inset 0 0 0 1px #e6ebf2;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.pxp-card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(11, 37, 69, .05), 0 32px 56px -30px rgba(11, 37, 69, .48), inset 0 0 0 1px #d9e1ec; }
.pxp-top { display: grid; gap: 6px; }
.pxp-kicker { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.pxp-card h3 { color: var(--navy); margin: 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.pxp-pitch { margin: 0; min-height: 3.2em; font-size: 14px; line-height: 1.5; color: var(--body); text-wrap: pretty; }
.pxp-price { display: flex; align-items: baseline; gap: 6px; margin: 20px 0 0; }
.pxp-price b { font-size: clamp(2.1rem, 2.4vw + 1.2rem, 2.75rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.pxp-price span { font-size: 14px; font-weight: 500; color: var(--mute); }
.pxp-sub { margin: 6px 0 16px; min-height: 1.4em; font-size: 12.5px; line-height: 1.4; color: var(--mute); }
.pxp-card .btn { width: 100%; height: 44px; font-size: 14.5px; }
.pxp-lead {
  margin: auto 0 10px;
  padding-top: 18px;
  border-top: 1px solid #edf1f6;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
}
.pxp-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pxp-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14px; line-height: 1.45; color: var(--navy); }
.pxp-list .ic {
  width: 22px; height: 22px; padding: 4px; border-radius: 50%;
  color: #047857; background: #ecfdf5; stroke-width: 2.8; margin-top: 1px;
}

/* Standard: navy card with gold edge — slight lift, not a floating island */
.pxp-card.is-pop {
  color: #fff; transform: translateY(-8px);
  background: radial-gradient(120% 60% at 50% 0%, rgba(91, 155, 232, .26), transparent 58%), linear-gradient(180deg, #0f325c 0%, #0b2545 55%, #081d38 100%);
  box-shadow: 0 36px 70px -36px rgba(11, 37, 69, .8), 0 0 0 2px #f8b400;
}
.pxp-card.is-pop:hover { transform: translateY(-12px); box-shadow: 0 44px 80px -36px rgba(11, 37, 69, .88), 0 0 0 2px #f8b400; }
.pxp-card.is-pop .pxp-kicker {
  justify-self: start; padding: 5px 10px; border-radius: 99px; letter-spacing: .1em; color: #0b2545; background: var(--yellow);
  box-shadow: 0 6px 14px -6px rgba(248, 180, 0, .85);
}
.pxp-card.is-pop h3, .pxp-card.is-pop .pxp-price b { color: #fff; }
.pxp-card.is-pop .pxp-pitch, .pxp-card.is-pop .pxp-price span, .pxp-card.is-pop .pxp-sub { color: rgba(232, 238, 246, .74); }
.pxp-card.is-pop .pxp-lead { color: var(--yellow); border-top-color: rgba(255, 255, 255, .14); }
.pxp-card.is-pop .pxp-list li { color: rgba(255, 255, 255, .92); }
.pxp-card.is-pop .pxp-list .ic { color: #0b2545; background: var(--yellow); }

.pxp-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 1080px;
  margin: 40px auto 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid #d9e1ec;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(11, 37, 69, .04),
    0 22px 48px -30px rgba(11, 37, 69, .35);
}
.pxp-trust li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 18px 18px 18px 20px;
  border-right: 1px solid #e8eef5;
}
.pxp-trust li:last-child { border-right: 0; }
.pxp-trust-ico {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--navy);
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f9 100%);
  box-shadow: inset 0 0 0 1px #d9e1ec;
}
.pxp-trust-ico .ic {
  width: 18px;
  height: 18px;
  stroke-width: 1.85;
  fill: none;
  stroke: currentColor;
}
.pxp-trust-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.pxp-trust-copy strong {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.25;
  color: var(--navy);
}
.pxp-trust-copy span {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--mute);
  text-wrap: pretty;
}

/* phones & tablets: stack plans — Standard first, no sideways carousel */
@media (max-width: 960px) {
  .pxp { background: linear-gradient(180deg, #07172a 0, #07172a 120px, #f4f7fb 120px, #fff 100%); }
  .pxp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
  }
  .pxp-card { width: 100%; }
  .pxp-card.is-pop { order: -1; transform: none; }
  .pxp-card.is-pop:hover { transform: translateY(-3px); }
  .pxp-pitch { min-height: 0; }
  .pxp .plans-dots { display: none !important; }
  .pxp-trust { grid-template-columns: 1fr 1fr; }
}
.pxp .plans-dots { display: none; }
@media (max-width: 600px) {
  .pxp-head { padding: 8px 0 18px; }
  .pxp-card {
    padding: 22px 18px 20px;
    border-radius: 18px;
  }
  .pxp-card h3 { font-size: 1.25rem; }
  .pxp-price b { font-size: 2.25rem; }
  .pxp-list li { font-size: 13.5px; }
  .pxp-trust {
    margin-top: 28px;
    border-radius: 14px;
  }
  .pxp-trust li {
    padding: 14px 14px 14px 16px;
    border-right: 0;
    border-bottom: 1px solid #e8eef5;
  }
  .pxp-trust li:nth-child(odd) { border-right: 1px solid #e8eef5; }
  .pxp-trust li:nth-last-child(-n+2) { border-bottom: 0; }
  .pxp-trust-copy strong { font-size: 13.5px; }
  .pxp-trust-copy span { font-size: 12px; }
}
@media (max-width: 420px) {
  .pxp-trust { grid-template-columns: 1fr; }
  .pxp-trust li,
  .pxp-trust li:nth-child(odd) { border-right: 0; border-bottom: 1px solid #e8eef5; }
  .pxp-trust li:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pxp-card { transition: none; }
}

/* ---------- Pricing hero: the tilted board is made of pricing pieces drawn in code (bk-board.js, data-kind="pricing").
   Sizes are in container units so every tile scales with its column. ---------- */
.tt-tile.tt-code { container-type: size; border-radius: 10px; background: #fff; }
.pt {
  box-sizing: border-box; height: 100%; padding: 6cqw 7cqw; display: grid; align-content: start; gap: 2.2cqw;
  font-family: Inter, system-ui, sans-serif; color: #0b2545; background: #fff;
}
.pt p, .pt ul { margin: 0; }
.pt b { font-weight: 700; }
.pt em { font-style: normal; font-size: 3.6cqw; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #6b7585; }
.pt-row { display: flex; justify-content: space-between; align-items: center; gap: 3cqw; font-size: 5cqw; }
.pt-row span { font-size: 4cqw; color: #6b7585; font-weight: 600; }

/* mini plan card */
.pt-plan { gap: 1.6cqw; }
.pt-plan > b { font-size: 7cqw; letter-spacing: -.03em; }
.pt-plan strong { display: flex; align-items: baseline; gap: 1.5cqw; font-size: 12cqw; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.pt-plan small { font-size: 4cqw; font-weight: 500; letter-spacing: 0; color: #6b7585; }
.pt-plan ul { display: grid; gap: 1.4cqw; padding: 0; list-style: none; font-size: 4.2cqw; }
.pt-plan li { display: flex; align-items: center; gap: 2cqw; }
.pt-plan svg { width: 4.6cqw; height: 4.6cqw; padding: .9cqw; border-radius: 50%; fill: none; stroke: #047857; stroke-width: 3; background: #ecfdf5; }
.pt-btn { justify-self: start; margin-top: 1cqw; padding: 1.8cqw 4.5cqw; border-radius: 99px; font-style: normal; font-size: 4cqw; font-weight: 600; color: #0b2545; box-shadow: inset 0 0 0 1px #d7e0ea; }
.pt-pop, .pt-navy { color: #fff; background: linear-gradient(180deg, #0f325c, #0b2545); }
.pt-pop { box-shadow: inset 0 0 0 .8cqw #f8b400; }
.pt-pop em { justify-self: start; padding: .8cqw 2.4cqw; border-radius: 99px; color: #0b2545; background: #f8b400; }
.pt-navy em, .pt-pop small, .pt-navy small { color: rgba(232, 238, 246, .7); }
.pt-pop svg, .pt-navy svg { stroke: #0b2545; background: #f8b400; }
.pt-pop .pt-btn { color: #0b2545; background: #f8b400; box-shadow: none; }
.pt-navy .pt-btn { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }

/* billing switch with the saving */
.pt-save { align-content: center; justify-items: start; background: #fff8e1; }
.pt-toggle { display: inline-flex; padding: .8cqw; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px #f1dfa6; }
.pt-toggle i { padding: 1.4cqw 4cqw; border-radius: 99px; font-style: normal; font-size: 4cqw; font-weight: 600; color: #6b7585; }
.pt-toggle i.on { color: #fff; background: #0b2545; }
.pt-save b { font-size: 11cqw; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.pt-save p { font-size: 4.4cqw; color: #8a6500; font-weight: 600; }

/* a paid invoice for the plan */
.pt-inv { gap: 2.4cqw; }
.pt-paid { padding: .8cqw 2.6cqw; border-radius: 99px; color: #047857 !important; background: #ecfdf5; }
.pt-line { display: flex; justify-content: space-between; font-size: 4.2cqw; color: #4b5563; padding-bottom: 2cqw; border-bottom: 1px dashed #e3e9f1; }
.pt-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 4.4cqw; color: #6b7585; }
.pt-total b { font-size: 8cqw; color: #0b2545; letter-spacing: -.03em; }

/* receipt credits meter */
.pt-credits { align-content: center; gap: 3cqw; }
.pt-bar { display: block; height: 3cqw; border-radius: 99px; background: #eef3f9; overflow: hidden; }
.pt-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #02417b, #5b9be8); }
.pt-credits > p:last-child { font-size: 4cqw; color: #6b7585; }

/* free trial */
.pt-trial { grid-template-columns: auto 1fr; align-items: center; align-content: center; gap: 5cqw; color: #fff; background: radial-gradient(80% 120% at 0% 0%, rgba(248, 180, 0, .25), transparent 60%), #0b2545; }
.pt-days { display: grid; place-items: center; width: 24cqw; height: 24cqw; border-radius: 6cqw; font-size: 13cqw; font-weight: 800; letter-spacing: -.05em; color: #0b2545; background: #f8b400; }
.pt-trial b { font-size: 7cqw; letter-spacing: -.02em; }
.pt-trial p { font-size: 4.4cqw; color: rgba(232, 238, 246, .72); }

/* a feature with its plan */
.pt-feat { grid-template-columns: auto 1fr auto; align-items: center; align-content: center; gap: 4cqw; }
.pt-ico { display: grid; place-items: center; width: 14cqw; height: 14cqw; border-radius: 4cqw; font-size: 7cqw; font-weight: 800; color: #047857; background: #ecfdf5; }
.pt-feat b { font-size: 5.8cqw; }
.pt-feat p { font-size: 4cqw; color: #6b7585; }
.pt-tag { padding: 1.2cqw 3cqw; border-radius: 99px; font-size: 4.4cqw; font-weight: 700; color: #0b2545; background: #f8b400; }

/* team seats */
.pt-users { align-content: center; gap: 3cqw; }
.pt-faces { display: flex; }
.pt-faces i { display: grid; place-items: center; width: 11cqw; height: 11cqw; margin-right: -2.4cqw; border-radius: 50%; font-style: normal; font-size: 3.6cqw; font-weight: 700; color: #fff; background: #02417b; box-shadow: 0 0 0 .8cqw #fff; }
.pt-faces i:nth-child(2) { background: #059669; }
.pt-faces i:nth-child(3) { background: #7c5cdb; }
.pt-faces i:nth-child(4) { background: #e2a400; }
.pt-faces i:last-child { color: #0b2545; background: #eef3f9; }
.pt-users > p:last-child { font-size: 4cqw; color: #6b7585; }

/* the pricing board is brighter than screenshots, so it sits further back and the copy gets a deeper pool */
.bk-hero-pricing .tt-plane { opacity: .62; }
.bk-hero-pricing ~ .bk-hero-veil {
  background:
    radial-gradient(ellipse 46% 58% at 50% 50%, rgba(7, 23, 42, .94) 0%, rgba(7, 23, 42, .78) 50%, rgba(7, 23, 42, .35) 100%),
    rgba(7, 23, 42, .3);
}

/* pricing: no flat navy band. The hero runs on behind the switch, and the cards rise over its foot onto a light page */
.bk-hero:has(.bk-hero-pricing) { padding-bottom: 180px; }
.bk-hero-pricing::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(7, 23, 42, .85)); }
.pxp { padding-top: 0; background: linear-gradient(180deg, transparent 0, transparent 160px, #f4f7fb 160px, #fff 100%); }
.pxp > .wrap { position: relative; margin-top: -160px; }
.pxp-head { padding: 0 0 26px; }
.pxp-bill { background: rgba(7, 23, 42, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 14px 30px -14px rgba(0, 0, 0, .6); }
@media (max-width: 960px) {
  .bk-hero:has(.bk-hero-pricing) { padding-bottom: 140px; }
  .pxp { background: linear-gradient(180deg, transparent 0, transparent 120px, #f4f7fb 120px, #fff 100%); }
  .pxp > .wrap { margin-top: -120px; }
}
@media (max-width: 600px) {
  .bk-hero:has(.bk-hero-pricing) { padding-bottom: 120px; }
  .pxp > .wrap { margin-top: -96px; }
  .pxp { background: linear-gradient(180deg, transparent 0, transparent 96px, #f4f7fb 96px, #fff 100%); }
  .pxp-head { padding-top: 4px; }
}

/* pricing: the product links sit above the table and scroll away. The plan row is what stays pinned. */
.bk-pricing .px-jump {
  margin: 44px 0 14px; padding: 6px; border: 0; border-radius: 16px;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 2px rgba(11, 37, 69, .05), 0 18px 40px -28px rgba(11, 37, 69, .35), inset 0 0 0 1px #e3e9f1;
}
.bk-pricing .px-jump-bar { gap: 8px; }
.bk-pricing .px-jump-in { background: transparent; box-shadow: none; }
.bk-pricing .px-jump + .px-table .p8 { margin-top: 0; }
@media (max-width: 600px) {
  .bk-pricing .px-jump { margin-top: 32px; }
  .bk-pricing .px-jump-bill { display: none; }
}

/* when the table scrolls sideways it becomes the sticky header's scroll box, so the header's offset pushed it down and left a gap; there it simply sits in place */
@media (max-width: 800px) {
  .px-table .p8-head, .px-page .px-table .p8-head { position: relative; top: auto; }
  .px-page .p8-group > summary { position: relative; top: auto; }
}

/* the closing card needs its own space when it follows the navy FAQ, or its top edge sits right on the band (pricing page) */
.faq + .bk-cta { padding-top: clamp(56px, 8vw, 96px); }
@media (max-width: 600px) { .faq + .bk-cta { padding-top: 40px; } }

/* pricing closing card: the photo takes the right of the card and fades into navy under the copy */
.faq + .bk-cta .bk-cta-card { background: #0b2545; }
.faq + .bk-cta .bk-cta-card img { left: auto; right: 0; width: 66%; object-position: 60% 55%; }
.faq + .bk-cta .bk-cta-card::after { background: linear-gradient(90deg, #0b2545 0%, #0b2545 34%, rgba(11, 37, 69, .55) 50%, rgba(11, 37, 69, 0) 72%); }
@media (max-width: 600px) {
  .faq + .bk-cta .bk-cta-card img { width: 100%; object-position: 72% 40%; }
  .faq + .bk-cta .bk-cta-card::after { background: linear-gradient(180deg, rgba(11, 37, 69, .2) 0%, rgba(11, 37, 69, .92) 58%); }
}

/* tablet: keep feature photos and tiles in two columns, full-width ones made these pages longer than on a phone */
@media (min-width: 701px) and (max-width: 960px) {
  .fx-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-cell:first-child { padding-right: 20px; }
  .fx-cell + .fx-cell { padding-left: 20px; border-left: 1px solid var(--line); border-top: 0; }
  .fx-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .plug-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plug-card { min-height: 0; }
}

/* mock cards: the tile grows with its card, so the card no longer overhangs onto the caption */
@media (max-width: 960px) {
  .fx-panel:has(.fx-rule) { aspect-ratio: auto; padding: 24px 16px; }
  .fx-panel:has(.fx-rule) .fx-rule { width: min(100%, 400px); }
}

/* phones: one plan at a time via tabs from pricing-ui.js */
.p8-pick { display: none; }
@media (max-width: 640px) {
  .bk-pricing { padding-top: 48px; padding-bottom: 48px; }
  .bk-pricing .center { gap: 10px; padding-inline: 0; }
  .bk-pricing .display { font-size: clamp(1.55rem, 7vw, 1.85rem); line-height: 1.12; }
  .bk-pricing .lede { font-size: 14.5px; max-width: none; }

  .p8[data-plan] {
    overflow: visible;
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px var(--line), 0 12px 32px -24px rgba(11, 37, 69, .35);
  }
  .p8[data-plan] .p8-head,
  .p8[data-plan] .p8-row {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) 52px;
  }
  .p8[data-plan] .p8-head {
    grid-template-columns: minmax(0, 1fr);
    position: relative;
    top: auto;
    overflow: visible;
    border-radius: 16px 16px 0 0;
    box-shadow: none;
  }
  /* product jump stays in flow on phones so it can't cover Free/Standard/Business */
  .px-page .px-jump,
  .bk-pricing .px-jump {
    position: relative;
    top: auto;
  }
  .px-page .p8-group {
    scroll-margin-top: calc(var(--px-nav) + 12px);
  }
  .p8[data-plan] .p8-corner {
    padding: 14px 12px 10px;
    gap: 10px;
    align-items: stretch;
  }
  .p8[data-plan] .p8-brand { display: none; }
  .px-page .p8[data-plan] .p8-corner { flex-direction: column; align-items: stretch; }
  .p8[data-plan] .p8-corner .toggle {
    display: flex;
    margin: 0;
    width: 100%;
    height: 40px;
    box-sizing: border-box;
  }
  .p8[data-plan] .p8-corner .toggle button {
    flex: 1 1 0;
    height: 34px;
    padding: 0 10px;
    font-size: 13px;
  }

  .p8-pick {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    border-radius: 12px;
    background: #eef3f9;
    box-shadow: inset 0 0 0 1px #dfe7f1;
  }
  .p8-pick button {
    height: 40px;
    padding: 0 4px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--navy);
    font: 600 13px Inter, system-ui, sans-serif;
    cursor: pointer;
  }
  .p8-pick button[aria-pressed="true"] {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 6px 14px -8px rgba(11, 37, 69, .55);
  }

  .p8[data-plan] .p8-plan {
    padding: 16px 14px 18px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    transform: none !important;
  }
  .p8[data-plan] .p8-plan.tilt::after { display: none; }
  .p8[data-plan] .p8-plan h3 { font-size: 1.35rem; }
  .p8[data-plan] .p8-plan .price b { font-size: 2rem; }
  .p8[data-plan] .p8-plan .price-sub { margin: 0 0 14px; font-size: 12.5px; }
  .p8[data-plan] .p8-plan .btn { height: 40px; font-size: 14px; }
  .p8[data-plan] .p8-plan-pop {
    border-radius: 0;
    box-shadow: none;
  }

  .p8[data-plan="0"] .p8-plan:not(:nth-of-type(1)),
  .p8[data-plan="1"] .p8-plan:not(:nth-of-type(2)),
  .p8[data-plan="2"] .p8-plan:not(:nth-of-type(3)) { display: none; }
  .p8[data-plan="0"] .p8-row > :nth-child(3), .p8[data-plan="0"] .p8-row > :nth-child(4),
  .p8[data-plan="1"] .p8-row > :nth-child(2), .p8[data-plan="1"] .p8-row > :nth-child(4),
  .p8[data-plan="2"] .p8-row > :nth-child(2), .p8[data-plan="2"] .p8-row > :nth-child(3) { display: none; }

  .p8[data-plan] .p8-group > summary {
    padding: 14px 14px;
    font-size: 13.5px;
  }
  .p8[data-plan] .p8-row {
    font-size: 13.5px;
  }
  .p8[data-plan] .p8-row span {
    min-height: 44px;
    padding: 10px 14px;
  }
  .p8[data-plan] .p8-row span:first-child {
    align-items: flex-start;
    line-height: 1.35;
  }
  .p8[data-plan] .p8-row span + span {
    padding-inline: 8px;
  }

  /* mobile one-plan: drop summary value cells — rows already show the plan */
  .p8[data-plan] summary > .p8-sum-cell { display: none; }
  .p8[data-plan] .p8-group > summary:has(.p8-sum) {
    display: block;
    padding: 0;
  }
  .p8[data-plan] .px-page .p8-sum,
  .px-page .p8[data-plan] .p8-sum {
    grid-template-columns: 36px minmax(0, 1fr) 14px;
    padding: 14px 14px 14px 16px;
    gap: 10px;
  }
  .px-page .p8[data-plan] .p8-sum-copy em {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .bk-pricing .plans-note {
    margin-top: 18px;
    font-size: 13px;
    text-wrap: pretty;
  }
}
