/* ============ FOODPOS V4 — LIGHT / BRAND / RAIL ============ */
:root {
  --bg: #F6F8F9;
  --card: #FFFFFF;
  --ink: #12142E;
  --mut: #5C6478;
  --teal: #16BFA0;
  --teal-d: #0C8A73;
  --teal-t: #E2F7F2;
  --coral: #F2545B;
  --coral-t: #FEE9EA;
  --indigo: #4A57D8;
  --indigo-t: #EAECFB;
  --gold: #F5A623;
  --gold-t: #FDF1DC;
  --line: #E6EAF0;
  --disp: 'Space Grotesk', sans-serif;
  --body: 'Barlow', sans-serif;
  --grad: linear-gradient(90deg, #16BFA0, #22D3EE 48%, #6366F1);
  --sh: 0 20px 50px -22px rgba(18, 20, 46, .22);
  --railw: 92px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden
}

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font-family: inherit
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 8px
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 30px
}

section {
  padding: 50px 0;
  position: relative
}

::selection {
  background: var(--teal);
  color: #fff
}

.mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg)
}

.mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(18, 20, 46, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 20, 46, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask: linear-gradient(180deg, #000 0%, transparent 46%);
  mask: linear-gradient(180deg, #000 0%, transparent 46%)
}

.blob {
  position: absolute;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  animation: drift 30s ease-in-out infinite alternate
}

.b1 {
  background: radial-gradient(circle, #16BFA033, transparent 65%);
  top: -14vw;
  right: -10vw
}

.b2 {
  background: radial-gradient(circle, #4A57D826, transparent 65%);
  bottom: -18vw;
  left: -12vw;
  animation-delay: -10s
}

.b3 {
  background: radial-gradient(circle, #F2545B1E, transparent 65%);
  top: 38vh;
  left: 34vw;
  animation-delay: -20s
}

@keyframes drift {
  50% {
    transform: translate(4vw, -3vh) scale(1.1)
  }

  100% {
    transform: translate(-4vw, 4vh) scale(.95)
  }
}

h1,
h2,
h3,
h4 {
  font-family: var(--disp);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.03;
  color: var(--ink)
}

.disp {
  font-size: clamp(46px, 6.2vw, 70px);
}

.h2 {
  font-size: clamp(34px, 4.4vw, 56px)
}

.gradtx {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: gslide 7s ease-in-out infinite alternate
}

@keyframes gslide {
  to {
    background-position: 100% 0
  }
}

.eyeb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--teal-d)
}

.eyeb::before {
  content: "";
  width: 32px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad)
}

.lede {
  font-size: 18.5px;
  color: var(--mut);
  max-width: 620px;
  margin-top: 20px
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15.5px;
  font-family: var(--disp);
  padding: 15px 28px;
  border-radius: 14px;
  border: 0;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease
}

.btn:hover {
  transform: translateY(-3px)
}

.btn-teal {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(22, 191, 160, .55);
  text-align: center;
  display: ;
  display: block;
}

.btn-ink {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(18, 20, 46, .4)
}

.btn-line {
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--line);
  display: block;
  text-align: center;
}

.btn-line:hover {
  border-color: var(--teal);
  color: var(--teal-d)
}

/* ---------- HEADER (floating top bar) ---------- */
.hd5 {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1140px, calc(100% - 28px));
  z-index: 70;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid var(--line);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px 12px 20px;
  box-shadow: 0 14px 36px -20px rgba(18, 20, 46, .3);
  transition: box-shadow .25s, padding .25s
}

.hd5.scrolled {
  box-shadow: 0 18px 44px -18px rgba(18, 20, 46, .4);
  padding: 9px 14px 9px 18px
}

.hd5 .lg {
  display: flex;
  align-items: center;
  flex: 0 0 auto
}

.hd5 .lg img {
  height: 24px;
  width: auto;
  display: block
}

.nav5 {
  display: flex;
  gap: 2px;
  align-items: center
}

.nav5 a {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 14.5px;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--mut);
  transition: .18s;
  white-space: nowrap
}

.nav5 a:hover {
  color: var(--ink);
  background: var(--bg)
}

.nav5 a.on {
  color: var(--teal-d);
  background: var(--teal-t)
}

.hd5 .btn {
  padding: 11px 20px;
  font-size: 14px;
  border-radius: 12px;
  flex: 0 0 auto
}

.bgr {
  display: none;
  background: none;
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 7px 9px;
  cursor: pointer;
  flex: 0 0 auto
}

.bgr span {
  display: block;
  width: 20px;
  height: 2.3px;
  background: var(--ink);
  margin: 4px 0;
  border-radius: 2px;
  transition: .3s
}

.mopen .bgr span:nth-child(1) {
  transform: translateY(6.3px) rotate(45deg)
}

.mopen .bgr span:nth-child(2) {
  opacity: 0
}

.mopen .bgr span:nth-child(3) {
  transform: translateY(-6.3px) rotate(-45deg)
}

.mmenu {
  display: none;
  position: fixed;
  top: 78px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1140px, calc(100% - 28px));
  z-index: 69;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 10px;
  box-shadow: var(--sh)
}

.mopen .mmenu {
  display: block
}

.mmenu a {
  display: block;
  font-family: var(--disp);
  font-weight: 700;
  padding: 15px 16px;
  border-radius: 12px
}

.mmenu a:hover {
  background: var(--teal-t)
}

.mmenu .btn {
  width: 100%;
  justify-content: center;
  margin-top: 6px
}

.page4 {
  margin-left: 0
}

/* ---------- hero ---------- */
.hero4 {
  padding: 150px 0 70px;
  overflow: hidden;
  position: relative
}

.herogrid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 48px;
  align-items: center
}

.cluster {
  position: relative;
  min-height: 380px
}

.cluster::before {
  content: "";
  position: absolute;
  inset: 8% 4% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(22, 191, 160, .22), rgba(34, 211, 238, .1) 55%, transparent 75%);
  filter: blur(6px)
}

.cluster .main {
  position: absolute;
  left: 0;
  right: 12%;
  top: 4%;
  margin: auto;
  width: 88%;
  z-index: 1;
  filter: drop-shadow(0 34px 40px rgba(18, 20, 46, .28))
}

.cluster .side {
  position: absolute;
  right: -2%;
  bottom: 2%;
  width: 34%;
  z-index: 2;
  filter: drop-shadow(0 24px 30px rgba(18, 20, 46, .3))
}

.cluster .prn {
  position: absolute;
  left: -1%;
  bottom: 0;
  width: 25%;
  z-index: 2;
  filter: drop-shadow(0 22px 26px rgba(18, 20, 46, .28))
}

.hwstrip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px
}

.hws {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: .22s
}

.hws:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh)
}

.hws img {
  height: 51px;
  width: 100px;
  object-fit: contain;
  flex: 0 0 auto
}

.hws .hn {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 16px
}

.hws .hdsc {
  font-size: 13px;
  color: var(--mut);
  margin-top: 3px
}

.hws .harrow {
  margin-left: auto;
  color: var(--teal-d);
  font-weight: 900;
  font-size: 20px
}

.hb4 {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px
}

.chip4 {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 8px 15px;
  border-radius: 99px;
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--mut)
}

.chip4.t {
  background: var(--teal-t);
  border-color: transparent;
  color: var(--teal-d)
}

.h-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.h-ctas > * {
  flex: 1 1 auto;
}

/* Mobile */
@media (max-width: 640px) {
  .h-ctas {
    flex-direction: column;
    width: 100%;
  }

  .h-ctas > * {
    width: 100%;
  }
}

.stats4 {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 52px;
  align-items: center;
  justify-content: center;
}

.stat4 .n {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 42px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
}

.stat4 .l {
  font-size: 12.5px;
  color: var(--mut);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700
}

/* ---------- flow ---------- */
.flowbox {
  margin-top: 74px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 28px;
  padding: 52px 38px 40px;
  box-shadow: var(--sh);
  position: relative;
  overflow: hidden
}

.flowbox h3 {
  font-size: 25px;
  text-align: center
}

.flowbox .fsub {
  text-align: center;
  color: var(--mut);
  font-size: 15px;
  margin: 8px 0 26px
}

.flowsvg {
  width: 100%;
  height: auto;
  display: block
}

.fnode {
  fill: #fff;
  stroke: #E6EAF0;
  stroke-width: 2
}

.flabel {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 15px;
  fill: #12142E
}

.fsublab {
  font-family: var(--body);
  font-weight: 700;
  font-size: 10.5px;
  fill: #8A93A8;
  letter-spacing: 1.6px
}

.fpath {
  fill: none;
  stroke: #D9DFEA;
  stroke-width: 2.5;
  stroke-dasharray: 2 9;
  stroke-linecap: round
}

.femoji {
  font-size: 29px
}

.fping {
  animation: ping 2.4s ease-out infinite
}

@keyframes ping {
  0% {
    transform: scale(.9);
    opacity: .8
  }

  70% {
    transform: scale(1.45);
    opacity: 0
  }

  100% {
    opacity: 0
  }
}

.beam {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 130 870;
  animation: beam var(--dur, 4.5s) linear infinite
}

.beam.glow {
  stroke-width: 8;
  opacity: .28;
  filter: blur(3px)
}

.beam.core {
  stroke-width: 3.2
}

@keyframes beam {
  from {
    stroke-dashoffset: 1000
  }

  to {
    stroke-dashoffset: 0
  }
}

/* ---------- marquee ---------- */
.mq4 {
  padding: 22px 0;
  background: var(--ink);
  transform: rotate(-1.2deg) scale(1.02);
  margin: 70px 0;
  overflow: hidden
}

.mq4 .track {
  display: flex;
  width: max-content;
  animation: mq 24s linear infinite
}

.mq4 span {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 0 30px;
  white-space: nowrap;
  color: #fff
}

.mq4 span:nth-child(4n+1) {
  color: var(--teal)
}

.mq4 span:nth-child(4n+2) {
  color: var(--gold)
}

.mq4 span:nth-child(4n+4) {
  color: var(--coral)
}

@keyframes mq {
  to {
    transform: translateX(-50%)
  }
}

/* ---------- cards ---------- */
.cards4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px
}

.c4 {
  --ac: var(--teal);
  --act: var(--teal-t);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s
}

.c4:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh)
}

.c4 .ci {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--act);
  color: var(--ac);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  margin-bottom: 18px
}

.c4 h3 {
  font-size: 21px;
  margin-bottom: 8px
}

.c4 p {
  color: var(--mut);
  font-size: 14.5px
}

.c4 .num {
  position: absolute;
  right: 16px;
  top: 8px;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 58px;
  color: #F0F2F7
}

/* ---------- SCENES ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 84px
}

.feature-row.flip .scenewrap {
  order: -1
}

.feature-row h3 {
  font-size: clamp(26px, 3vw, 38px)
}

.feature-row .lede {
  font-size: 16.5px;
  margin-top: 14px
}

.feature-row ul {
  margin-top: 18px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px
}

.feature-row li {
  display: flex;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: #3A4055
}

.feature-row li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 900
}

.scenewrap {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 26px;
  padding: 30px;
  box-shadow: var(--sh);
  position: relative;
  overflow: visible;
}

.scenewrap::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--grad);
  border-radius: 26px 26px 0 0
}

.scene {
  position: relative;
  min-height: 300px;
}

.scene [data-in] {
  opacity: 0;
  will-change: transform, opacity
}

.slabel {
  position: absolute;
  top: -16px;
  right: 22px;
  background: var(--ink);
  color: #fff;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 99px;
  z-index: 3
}

/* till scene */
.tillfrm {
  position: absolute;
  left: 0;
  top: 12px;
  width: 56%;
  background: #12142E;
  border-radius: 16px;
  padding: 10px
}

.tillscr {
  background: #F5F6FA;
  border-radius: 10px;
  padding: 10px;
  overflow: hidden
}

.ttop {
  height: 8px;
  background: var(--teal);
  margin: -10px -10px 10px
}

.ttiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px
}

.tt {
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 9.5px;
  text-align: center;
  padding: 12px 2px;
  position: relative
}

.tt .ring {
  position: absolute;
  inset: -4px;
  border: 3px solid var(--gold);
  border-radius: 11px
}

.torder {
  position: absolute;
  right: 0;
  top: 0;
  width: 40%;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--sh)
}

.torder h5 {
  font-family: var(--disp);
  font-size: 13px;
  letter-spacing: .08em;
  border-bottom: 2px dashed var(--line);
  padding-bottom: 8px;
  margin-bottom: 6px
}

.tline {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 0;
  color: #3A4055
}

.ttotal {
  display: flex;
  justify-content: space-between;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 14px;
  border-top: 2px dashed var(--line);
  padding-top: 8px;
  margin-top: 4px
}

.tstamp {
  position: absolute;
  left: 12%;
  bottom: 8px;
  background: var(--teal);
  color: #fff;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  padding: 8px 14px;
  border-radius: 99px;
  box-shadow: 0 10px 22px -8px rgba(22, 191, 160, .6)
}

/* phone scene */
.phone {
  position: absolute;
  left: 4%;
  top: 17px;
  width: 44%;
  background: #12142E;
  border-radius: 22px;
  padding: 9px
}

.phscr {
  background: #fff;
  border-radius: 15px;
  overflow: hidden
}

.phhd {
  background: var(--teal);
  color: #fff;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .1em;
  padding: 9px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.bskt {
  background: #fff;
  color: var(--teal-d);
  border-radius: 99px;
  min-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  position: relative
}

.itm {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  border-bottom: 1.5px solid #F0F2F7
}

.itm .nm {
  font-size: 11.5px;
  font-weight: 700
}

.itm .pr {
  font-size: 10.5px;
  color: var(--mut)
}

.itm .add {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: var(--teal-t);
  color: var(--teal-d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  position: relative
}

.itm .add .ring {
  position: absolute;
  inset: -4px;
  border: 2.5px solid var(--coral);
  border-radius: 11px
}

.paybar {
  margin: 10px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  text-align: center;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 11.5px;
  padding: 10px
}

.bigok {
  position: absolute;
  left: 19%;
  top: 38%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 16px 34px -10px rgba(22, 191, 160, .7);
  z-index: 2
}

.minitill {
  position: absolute;
  right: 2%;
  top: 8%;
  width: 34%;
  background: #12142E;
  border-radius: 14px;
  padding: 8px
}

.minitill .tillscr {
  padding: 8px
}

.ding {
  position: absolute;
  right: 6%;
  top: -4%;
  background: var(--gold);
  color: #4A3200;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 13px;
  padding: 9px 15px;
  border-radius: 14px 14px 14px 3px;
  box-shadow: 0 12px 24px -8px rgba(245, 166, 35, .65);
  z-index: 3
}

.rcpt {
  position: absolute;
  right: 9%;
  bottom: 0;
  width: 22%;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 0 0 9px 9px;
  padding: 10px;
  transform-origin: top;
  box-shadow: var(--sh)
}

.rcpt .rl {
  height: 5px;
  border-radius: 3px;
  background: #E2E6EF;
  margin: 6px 0
}

.rcpt .rl.c {
  background: var(--coral);
  width: 60%
}

.eq4 {
  position: absolute;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 34px
}

.eq4 i {
  width: 6px;
  border-radius: 3px;
  background: var(--teal);
  animation: eqb .9s ease-in-out infinite;
  height: 30%
}

.eq4 i:nth-child(2) {
  animation-delay: .12s
}

.eq4 i:nth-child(3) {
  animation-delay: .24s
}

.eq4 i:nth-child(4) {
  animation-delay: .36s
}

.eq4 i:nth-child(5) {
  animation-delay: .48s
}

@keyframes eqb {
  50% {
    height: 100%
  }
}

/* cloud sync scene */
.cloudc {
  position: absolute;
  left: 50%;
  top: 2%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2
}

.cloudc .cl {
  font-size: 54px;
  line-height: 1
}

.pricetag {
  position: absolute;
  left: 50%;
  top: 32%;
  transform: translateX(-50%);
  background: #fff;
  border: 2px solid var(--indigo);
  color: var(--indigo);
  font-family: var(--disp);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 12px;
  z-index: 2;
  box-shadow: var(--sh)
}

.devrowS {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  display: flex;
  justify-content: space-around;
  align-items: flex-end
}

.devS {
  text-align: center;
  width: 30%
}

.devS .de {
  font-size: 38px;
  line-height: 1.1
}

.devS .dl {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--mut);
  text-transform: uppercase
}

.upd {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .12em;
  padding: 4px 9px;
  border-radius: 99px;
  margin-top: 5px
}

/* reservation scene */
.calfrm {
  position: absolute;
  left: 6%;
  top: 6%;
  width: 46%;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--sh)
}

.calfrm h5 {
  font-family: var(--disp);
  font-size: 13px;
  margin-bottom: 10px
}

.calg {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px
}

.cd {
  aspect-ratio: 1;
  border-radius: 7px;
  background: #F0F2F7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #9AA1B5
}

.cd.pick {
  background: var(--teal);
  color: #fff
}

.confcard {
  position: absolute;
  right: 2%;
  top: 24%;
  width: 42%;
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--sh)
}

.confcard h6 {
  font-family: var(--disp);
  font-size: 13.5px;
  letter-spacing: .06em;
  color: #fff
}

.confcard p {
  font-size: 11.5px;
  color: #B8BDD3;
  margin-top: 5px
}

.mailfly {
  position: absolute;
  right: 8%;
  bottom: 6%;
  background: var(--indigo-t);
  color: var(--indigo);
  font-weight: 700;
  font-size: 12px;
  padding: 9px 14px;
  border-radius: 12px
}

/* report scene */
.repfrm {
  position: absolute;
  inset: 6% 6% 8%;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--sh)
}

.repfrm h5 {
  font-family: var(--disp);
  font-size: 14px
}

.repbars {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 52px;
  top: 64px;
  display: flex;
  align-items: flex-end;
  gap: 9px
}

.rb {
  flex: 1;
  border-radius: 6px 6px 3px 3px;
  transform-origin: bottom
}

.repnum {
  position: absolute;
  right: 20px;
  top: 16px;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 22px;
  color: var(--teal-d)
}

.replegend {
  position: absolute;
  left: 20px;
  bottom: 16px;
  font-size: 11px;
  color: var(--mut);
  font-weight: 600;
  letter-spacing: .08em
}

/* ---------- money flow ---------- */
.moneybox {
  margin-top: 80px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 28px;
  padding: 50px 42px;
  box-shadow: var(--sh);
  position: relative;
  overflow: hidden
}

.mtoggle {
  display: inline-flex;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 99px;
  padding: 5px;
  margin-top: 24px;
  gap: 4px
}

.mtoggle button {
  border: 0;
  background: transparent;
  color: var(--mut);
  font-family: var(--disp);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 99px;
  cursor: pointer;
  transition: .2s
}

.mtoggle button.on {
  background: var(--ink);
  color: #fff
}

.moneysvg {
  width: 100%;
  height: auto;
  margin-top: 30px
}

.leak {
  transition: opacity .5s
}

.beam.keep {
  stroke: url(#beamTeal)
}

.beam.leak-b {
  stroke: url(#beamRose)
}

#mpKeepBeams,
#mpLeakBeams {
  transition: opacity .5s
}

.mnote {
  color: var(--mut);
  font-size: 13px;
  margin-top: 16px
}

/* ---------- plans + calc ---------- */
.plans4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 52px
}

.plan4 {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  position: relative;
  transition: transform .2s, box-shadow .2s
}

.plan4:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh)
}

.plan4.hot {
  border: 2.5px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box
}

.plan4 h3 {
  font-size: 25px
}

.plan4 .pnum {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 49px;
  margin: 14px 0 2px;
  color: var(--ink)
}

.plan4 .pnum small {
  font-size: 20px;
  color: var(--mut);
  font-weight: 700
}

.plan4 .psub {
  color: var(--mut);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700
}

.plan4 ul {
  margin-top: 22px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.plan4 li {
  display: flex;
  gap: 10px;
  font-weight: 600;
  font-size: 14.5px;
  color: #3A4055
}

.plan4 li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 900
}

.tag4 {
  position: absolute;
  top: -14px;
  left: 30px;
  background: var(--gold);
  color: #4A3200;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 99px
}

.calc4 {
  margin-top: 70px;
  background: var(--ink);
  border-radius: 28px;
  padding: 50px 44px;
  color: #fff;
  position: relative;
  overflow: hidden
}

.calc4::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--grad)
}

.calc4 h3 {
  color: #fff;
  font-size: 34px
}

.calc4 .lede {
  color: #B8BDD3
}

.cgrid4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 32px;
  align-items: start
}

.sl4 {
  margin-top: 24px
}

.sl4 label {
  display: flex;
  justify-content: space-between;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #B8BDD3
}

.sl4 label b {
  color: var(--gold);
  font-size: 18px
}

.sl4 input {
  width: 100%;
  margin-top: 13px;
  accent-color: var(--teal);
  height: 6px
}

.cres4 {
  background: rgba(255, 255, 255, .06);
  border: 1.5px dashed rgba(255, 255, 255, .22);
  border-radius: 18px;
  padding: 30px
}

.cres4 .row {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1.5px dashed rgba(255, 255, 255, .14);
  font-weight: 600;
  font-size: 15px;
  color: #D5D9EA
}

.cres4 .keep {
  border: 0;
  padding-top: 18px;
  align-items: baseline
}

.cres4 .keep b {
  font-family: var(--disp);
  font-size: 20px;
  color: var(--teal)
}

.cnote4 {
  font-size: 12.5px;
  color: #8A90AC;
  margin-top: 16px;
  line-height: 1.55
}

/* ---------- hardware ---------- */
.float {
  animation: floaty 5.5s ease-in-out infinite
}

@keyframes floaty {
  50% {
    transform: translateY(-14px)
  }
}

.venues4 {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 40px
}

.v4 {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 99px;
  padding: 12px 21px;
  cursor: pointer;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--mut);
  display: flex;
  gap: 9px;
  align-items: center;
  transition: .2s
}

.v4.on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: var(--sh)
}

.kit4 {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 26px;
  padding: 46px;
  min-height: 360px;
  box-shadow: var(--sh)
}

.kit4 .kimgs {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
}

.kit4 ul {
  margin: 20px 0 26px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px
}

.kit4 li {
  display: flex;
  gap: 10px;
  font-weight: 600;
  color: #3A4055;
  font-size: 15px
}

.kit4 li::before {
  content: "＋";
  color: var(--coral);
  font-weight: 900
}

.gal4 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 60px
}

.g4 {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 22px 14px;
  text-align: center;
  transition: .22s
}

.g4:hover {
  transform: translateY(-7px);
  box-shadow: var(--sh)
}

.g4 img {
  height: 92px;
  width: auto;
  margin: 0 auto 14px;
  object-fit: contain
}

.g4 .gn {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 14px
}

.g4 .gd {
  font-size: 12px;
  color: var(--mut);
  margin-top: 3px
}

/* ---------- contact ---------- */
.cgridc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 52px
}

.cardc {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--sh)
}

.cardc h3 {
  font-size: 24px;
  margin-bottom: 8px
}

.bigph {
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 42px);
  color: var(--teal-d);
  display: inline-block;
  margin-top: 10px
}

.fr4 {
  margin-top: 18px
}

.fr4 label {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mut)
}

.fr4 input,
.fr4 select {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  font-family: var(--body);
  font-size: 15px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  color: var(--ink)
}

.fr4 input:focus,
.fr4 select:focus {
  border-color: var(--teal);
  outline: none
}

.ok4 {
  display: none;
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  font-weight: 700;
  background: var(--teal-t);
  border: 1.5px solid var(--teal);
  color: var(--teal-d)
}

.q4 {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  margin-top: 14px;
  overflow: hidden
}

.q4 button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: 0;
  color: var(--ink);
  font-family: var(--disp);
  font-weight: 700;
  font-size: 17px;
  padding: 22px 26px;
  cursor: pointer;
  text-align: left
}

.q4 .pm {
  font-size: 22px;
  color: var(--teal);
  transition: transform .3s
}

.q4 .an {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease
}

.q4 .an p {
  padding: 0 26px 22px;
  color: var(--mut);
  font-size: 14.5px
}

.q4.open .pm {
  transform: rotate(45deg)
}

.q4.open .an {
  max-height: 150px
}

/* ---------- quote builder ---------- */
.qshell {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items: start
}

.qmain {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 26px;
  padding: 38px;
  box-shadow: var(--sh)
}

.qdots {
  display: flex;
  gap: 8px;
  margin-bottom: 26px
}

.qdot {
  height: 8px;
  flex: 1;
  border-radius: 99px;
  background: var(--line);
  transition: .3s
}

.qdot.on {
  background: var(--teal)
}

.qstep h3 {
  font-size: 24px;
  margin-bottom: 6px
}

.qstep .lede {
  font-size: 15px;
  margin-top: 4px
}

.qgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px
}

.qcard {
  position: relative;
  text-align: left;
  background: var(--bg);
  border: 1.8px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  cursor: pointer;
  transition: .18s;
  font-family: var(--body)
}

.qcard:hover {
  transform: translateY(-3px);
  border-color: #CBD5E1
}

.qcard.on {
  border-color: var(--teal);
  background: var(--teal-t);
  box-shadow: 0 12px 26px -14px rgba(22, 191, 160, .5)
}

.qcard.on::after {
  content: "✓";
  position: absolute;
  top: 12px;
  right: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center
}

.qcard .qem {
  font-size: 26px;
  display: block;
  margin-bottom: 8px
}

.qcard b {
  font-family: var(--disp);
  font-size: 15.5px;
  display: block
}

.qcard small {
  display: block;
  color: var(--mut);
  font-size: 12.5px;
  margin-top: 4px;
  line-height: 1.4
}

.qnav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px
}

.qplan {
  display: inline-flex;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 99px;
  padding: 5px;
  gap: 4px;
  margin-top: 16px
}

.qplan button {
  border: 0;
  background: transparent;
  color: var(--mut);
  font-family: var(--disp);
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: 99px;
  cursor: pointer;
  transition: .2s
}

.qplan button.on {
  background: var(--ink);
  color: #fff
}

.qside {
  position: sticky;
  top: 104px;
  background: var(--ink);
  color: #fff;
  border-radius: 26px;
  padding: 34px;
  overflow: hidden
}

.qside::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--grad)
}

.qside h4 {
  color: #fff;
  font-size: 19px;
  margin-bottom: 16px
}

.qrow {
  padding: 11px 0;
  border-bottom: 1.5px dashed rgba(255, 255, 255, .16)
}

.qrow .ql {
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8A90AC;
  font-weight: 700
}

.qrow .qv {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 15.5px;
  margin-top: 3px;
  color: #fff
}

.qfree {
  margin-top: 16px;
  font-size: 13px;
  color: var(--teal);
  font-weight: 700
}

/* ---------- CTA + footer ---------- */
.cta4 {
  text-align: center
}

.ft4 {
  border-top: 1.5px solid var(--line);
  background: #fff;
  padding: 56px 0 36px
}

.ftg {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  align-items: center
}

.ftg img {
  height: 20px
}

.ftl {
  display: flex;
  gap: 26px;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 13.5px;
  flex-wrap: wrap
}

.ftl a {
  color: var(--mut)
}

.ftl a:hover {
  color: var(--teal-d)
}

.ftfine {
  margin-top: 30px;
  text-align: center;
  color: #9AA1B5;
  font-size: 12.5px;
  line-height: 1.7
}

/* ---------- reveals ---------- */
.rv {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .3, 1)
}

.rv.in {
  opacity: 1;
  transform: none
}

.rv.d1 {
  transition-delay: .08s
}

.rv.d2 {
  transition-delay: .16s
}

.rv.d3 {
  transition-delay: .24s
}

.rv.d4 {
  transition-delay: .32s
}

@media (max-width:1000px) {
  .cards4 {
    grid-template-columns: 1fr 1fr
  }

  .qshell {
    grid-template-columns: 1fr
  }

  .qside {
    position: static
  }

  .feature-row,
  .plans4,
  .cgrid4,
  .kit4,
  .cgridc {
    grid-template-columns: 1fr
  }

  .feature-row.flip .scenewrap {
    order: 0
  }

  .gal4 {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:900px) {
  .nav5 {
    display: none
  }

  .bgr {
    display: block
  }

  section {
    padding: 66px 0
  }

  .cards4 {
    grid-template-columns: 1fr
  }

  .hero4 {
    padding-top: 118px
  }

  .herogrid {
    grid-template-columns: 1fr;
    gap: 34px
  }

  .cluster {
    min-height: 0;
    height: 64vw;
    max-height: 360px
  }

  .hwstrip {
    grid-template-columns: 1fr
  }

  .scene {
    min-height: 250px;
  }
  .scenewrap{
    padding: 10px;
  }
  .torder{
    padding: 8px;
    margin-top:14px
  }

  .disp {
    font-size: clamp(40px, 10vw, 64px)
  }

  .hd5 .btn {
    display: none
  }

  .mq4 span {
    font-size: 15px
  }

  .qgrid {
    grid-template-columns: 1fr
  }

  .qnav {
    flex-direction: column
  }

  .qnav .btn {
    width: 100%;
    justify-content: center
  }

  .stats4 {
    gap: 24px;
  }

  .flowbox {
    padding: 34px 16px 28px
  }

  .moneybox,
  .calc4 {
    padding: 34px 20px
  }

  .cgrid4 {
    gap: 30px
  }

  .kit4 {
    padding: 28px 20px
  }

  .kit4 .kimgs img {
    max-width: 46%;
    height: auto
  }
}

@media (max-width:400px) {
  .hd5 .lg img {
    height: 20px
  }
}

@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important
  }

  .rv {
    opacity: 1;
    transform: none
  }

  .scene [data-in] {
    opacity: 1 !important;
    transform: none !important
  }

  .dot4 {
    display: none
  }
}