:root {
  --bg: #0b0820;
  --card: #161130;
  --ink: #f4f1ff;
  --muted: #aaa4cc;
  --line: #2b2452;
  --deep: #07051a;
  --acc: #c9a8ff;
  --acc2: #b98cff;
  --p1: #c23cf5;
  --p2: #8a3ff0;
  --p3: #4a3fc8;
  --soft: #2a2050;
  --ok: #16a34a;
  --hi: #ffe766;
  --grad: linear-gradient(120deg, var(--p1), var(--p2) 50%, var(--p3));
  --r: 22px;
  --sh: 0 18px 44px -18px rgba(0, 0, 0, .7);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  color-scheme: dark
}

body {
  background: var(--bg);
  color: var(--ink);
  font: 500 18px/1.6 "DM Sans", system-ui, sans-serif;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased
}

h1,
h2,
h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  line-height: 1.08;
  letter-spacing: -.02em
}

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

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

.wrap {
  width: min(1160px, 100% - 32px);
  margin-inline: auto
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.mark {
  background: linear-gradient(transparent 58%, rgba(194, 60, 245, .5) 58%);
  padding: 0 .1em
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  border: 0;
  cursor: pointer;
  font: 700 16px/1.2 "DM Sans", sans-serif;
  padding: 14px 24px;
  border-radius: 999px;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  text-decoration: none;
  transition: transform .22s cubic-bezier(.16, 1, .3, 1), box-shadow .22s cubic-bezier(.16, 1, .3, 1), background .22s ease, border-color .22s ease
}

.btn-p {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(138, 63, 240, .7)
}

.btn-p:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(138, 63, 240, .85)
}

.btn-g {
  background: var(--card);
  color: var(--ink);
  border: 2px solid var(--line)
}

.btn-g:hover {
  border-color: var(--acc2)
}

.btn i {
  font-size: .95em
}

/* header + step progress */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 8, 32, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line)
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px
}

.logo-wrap {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.logo-wrap img {
  height: 26px;
  width: auto;
  display: block;
}

.menu {
  display: flex;
  gap: 28px;
  font-weight: 700;
  font-size: 16px
}

.menu a {
  color: var(--muted)
}

.menu a:hover {
  color: var(--ink)
}

.nav .btn {
  padding: 13px 20px;
  font-size: 15px
}

.steps-bar {
  height: 4px;
  background: var(--line)
}

.steps-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
  transition: width .25s
}

.stepper {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0 10px;
  font: 700 13px "DM Sans";
  color: var(--muted);
  overflow-x: auto;
  scrollbar-width: none
}

.stepper::-webkit-scrollbar {
  display: none
}

.stepper a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .3s, color .3s
}

.stepper a b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--line);
  color: var(--muted);
  font-size: 12px;
  transition: background .3s, color .3s
}

.stepper a.on {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 4px 14px -8px rgba(60, 30, 140, .5)
}

.stepper a.on b,
.stepper a.done b {
  background: var(--grad);
  color: #fff
}

/* sections */
section {
  padding: 110px 0;
  scroll-margin-top: 80px
}

.step-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 800 13px "DM Sans";
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--acc2);
  margin-bottom: 16px
}

.step-tag span {
  background: var(--soft);
  color: var(--acc);
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: .06em
}

h2 {
  font-size: clamp(36px, 5vw, 58px);
  margin-bottom: 18px
}

.lead {
  font-size: clamp(19px, 2vw, 22px);
  color: var(--muted);
  max-width: 720px
}

.head {
  margin-bottom: 54px
}

.center {
  text-align: center
}

.center .lead {
  margin-inline: auto
}

/* "next step" CTA strip at the end of each section */
.next {
  margin-top: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 28px;
  box-shadow: var(--sh)
}

.next p {
  font-weight: 700;
  font-size: 19px
}

.next p small {
  display: block;
  font-weight: 500;
  font-size: 15px;
  color: var(--muted)
}

.next .acts {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap
}

.next .go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--acc2);
  white-space: nowrap !important;
  padding: 10px 4px;
  font-size: 15.5px;
  text-decoration: none;
  transition: color .2s, transform .2s
}

.next .go:hover {
  color: #fff;
  transform: translateY(2px)
}

.next .go i {
  transition: transform .25s
}

.next .go:hover i {
  transform: translateY(3px)
}

/* reveal: content is visible by default, motion only when JS runs */
.js .rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1)
}

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

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

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

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

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

.js .rv.d5 {
  transition-delay: .4s
}

/* HERO */
.hero {
  padding: 70px 0 60px;
  position: relative
}

.hero::before {
  content: "";
  position: absolute;
  inset: -120px 0 auto;
  height: 640px;
  background: radial-gradient(600px 340px at 80% 30%, rgba(194, 60, 245, .22), transparent 70%), radial-gradient(500px 300px at 10% 10%, rgba(74, 63, 200, .12), transparent 70%);
  z-index: -1
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 50px;
  align-items: center
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  color: var(--acc);
  margin-bottom: 26px
}

.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, .18)
}

.hero h1 {
  font-size: clamp(42px, 6.2vw, 78px);
  margin-bottom: 24px
}

.hero h1 .l1 {
  display: block;
  white-space: nowrap
}

.hero .sub {
  font-size: clamp(19px, 2vw, 22px);
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 34px
}

.hero .ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px
}

.offer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-weight: 700;
  font-size: 15.5px
}

.offer span {
  display: flex;
  align-items: center;
  gap: 8px
}

.offer i {
  color: var(--ok)
}

/* Ailey avatar (pure CSS, light motion) */
.stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px
}

.halo {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 63, 240, .4), transparent 65%)
}

.ring {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1.5px dashed rgba(185, 140, 255, .35);
  animation: spin 40s linear infinite
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.bot {
  position: relative;
  animation: float 5s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  align-items: center
}

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

.ant {
  width: 4px;
  height: 30px;
  background: #6d62a8;
  position: relative
}

.ant::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--p1);
  box-shadow: 0 0 18px var(--p1)
}

.headbox {
  width: 230px;
  height: 190px;
  border-radius: 64px;
  background: linear-gradient(160deg, #f4f0ff, #bfb2ee);
  box-shadow: inset 0 -10px 24px rgba(74, 63, 200, .15), 0 24px 50px -20px rgba(60, 30, 140, .55);
  display: grid;
  place-items: center;
  position: relative
}

.headbox::before,
.headbox::after {
  content: "";
  position: absolute;
  top: 70px;
  width: 16px;
  height: 46px;
  border-radius: 9px;
  background: var(--grad)
}

.headbox::before {
  left: -10px
}

.headbox::after {
  right: -10px
}

.screen {
  width: 180px;
  height: 128px;
  border-radius: 44px;
  background: radial-gradient(circle at 50% 30%, #2a2160, #120c2c);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px
}

.eyes {
  display: flex;
  gap: 40px
}

.eye {
  width: 28px;
  height: 36px;
  border-radius: 50%;
  background: #7ef0ff;
  box-shadow: 0 0 16px #7ef0ff;
  animation: blink 5s infinite
}

@keyframes blink {

  0%,
  46%,
  50%,
  100% {
    transform: scaleY(1)
  }

  48% {
    transform: scaleY(.1)
  }
}

.mouth {
  width: 46px;
  height: 20px;
  border: 4px solid #7ef0ff;
  border-top: 0;
  border-radius: 0 0 30px 30px;
  filter: drop-shadow(0 0 6px #7ef0ff);
  transition: height .12s
}

.bot.talk .mouth {
  animation: talk .28s ease-in-out infinite alternate
}

@keyframes talk {
  from {
    height: 8px
  }

  to {
    height: 24px
  }
}

.bodyb {
  margin-top: -6px;
  width: 160px;
  height: 120px;
  border-radius: 40px 40px 70px 70px;
  background: var(--grad);
  display: grid;
  place-items: center;
  box-shadow: 0 24px 40px -18px rgba(74, 63, 200, .7)
}

.bodyb b {
  font: 800 22px "Bricolage Grotesque";
  letter-spacing: .24em;
  color: #fff;
  padding-left: .24em
}

.glow {
  width: 120px;
  height: 20px;
  border-radius: 50%;
  background: rgba(138, 63, 240, .35);
  filter: blur(10px);
  margin-top: 22px;
  animation: shadow 5s ease-in-out infinite
}

@keyframes shadow {
  50% {
    transform: scale(.8);
    opacity: .6
  }
}

.chat {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 11px 15px;
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: var(--sh);
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap
}

.chat i {
  color: var(--acc2)
}

.c1 {
  top: 30px;
  left: -10px
}

.c2 {
  top: 180px;
  right: -20px
}

.c3 {
  bottom: 44px;
  left: 0
}

.js .chat {
  opacity: 0;
  transform: translateY(10px) scale(.96);
  transition: all .5s
}

.js .chat.in {
  opacity: 1;
  transform: none
}

/* trades strip */
.trades {
  padding: 30px 0;
  border-block: 1px solid var(--line);
  background: var(--card)
}

.marq {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px
}

.marq span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 16px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  white-space: nowrap
}

.marq span i {
  color: var(--acc2)
}

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

.trades p {
  text-align: center;
  color: var(--muted);
  margin-top: 18px;
  font-size: 17px;
  padding-inline: 16px
}

/* six jobs */
.jobs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.job {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative
}

.job:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh);
  border-color: #5b3fa8
}

.job .num {
  position: absolute;
  top: 24px;
  right: 26px;
  font: 800 15px "Bricolage Grotesque";
  color: #4a4275
}

.job .ic {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--acc2);
  font-size: 24px;
  margin-bottom: 20px
}

.job h3 {
  font-size: 23px;
  margin-bottom: 10px
}

.job p {
  color: var(--muted);
  font-size: 17px
}

/* how it runs: timeline with sample events */
.flow {
  position: relative;
  max-width: 940px;
  margin-inline: auto
}

.flow::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 20px;
  bottom: 20px;
  width: 3px;
  background: var(--line);
  border-radius: 3px
}

.flow .fill {
  position: absolute;
  left: 31px;
  top: 20px;
  width: 3px;
  height: 0;
  background: var(--grad);
  border-radius: 3px;
  transition: height .15s linear
}

.row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 16px 0;
  position: relative
}

.dotn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--card);
  border: 3px solid var(--line);
  font: 800 22px "Bricolage Grotesque";
  color: var(--muted);
  transition: all .4s;
  z-index: 1
}

.row.on .dotn {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 24px -10px rgba(138, 63, 240, .8)
}

.row h3 {
  font-size: 24px;
  margin-bottom: 4px
}

.row p {
  color: var(--muted);
  font-size: 17px
}

.evt {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 15px;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
  box-shadow: 0 8px 20px -14px rgba(60, 30, 140, .5);
  opacity: .35;
  transform: translateX(14px);
  transition: all .5s
}

.evt i {
  color: var(--ok)
}

.row.on .evt {
  opacity: 1;
  transform: none
}

.sample {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  background: var(--card);
  border: 1px dashed #4a3f80;
  padding: 6px 12px;
  border-radius: 999px;
  margin-top: 16px
}

/* growth engines */
.dark {
  background: linear-gradient(160deg, #1d1442, #0f0a29);
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 36px;
  margin-inline: 16px
}

.dark .lead {
  color: #c9c3e6
}

.dark .step-tag {
  color: #d9a6ff
}

.dark .step-tag span {
  background: rgba(255, 255, 255, .1);
  color: #fff
}

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

.eng {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r);
  padding: 32px 28px
}

.eng .ic {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: var(--grad);
  font-size: 24px;
  margin-bottom: 20px
}

.eng small {
  display: block;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12.5px;
  color: #d9a6ff;
  margin-bottom: 6px
}

.eng h3 {
  font-size: 25px;
  margin-bottom: 10px
}

.eng p {
  color: #c9c3e6;
  font-size: 17px
}

.dark .next {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: none
}

.dark .next p small {
  color: #c9c3e6
}

.dark .next .go {
  color: #d9a6ff
}

.dark .btn-g {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .3)
}

/* questions */
.qs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1040px;
  margin-inline: auto
}

details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 24px;
  transition: box-shadow .25s, border-color .25s
}

details[open] {
  box-shadow: var(--sh);
  border-color: #5b3fa8
}

summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font: 700 19px "DM Sans";
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center
}

summary::-webkit-details-marker {
  display: none
}

summary i {
  color: var(--acc2);
  transition: transform .3s;
  flex: none
}

details[open] summary i {
  transform: rotate(45deg)
}

details p {
  color: var(--muted);
  padding-bottom: 22px;
  font-size: 17px
}

/* works with */
.works {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 34px 36px;
  margin-top: 70px
}

.works h3 {
  font-size: 28px;
  margin-bottom: 6px
}

.works p {
  color: var(--muted)
}

.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.chips span {
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-weight: 700
}

/* plans */
.helper {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 5px solid var(--p2);
  border-radius: 16px;
  padding: 20px 24px;
  max-width: 900px;
  margin: 0 auto 46px;
  font-size: 17px
}

.helper i {
  color: var(--acc2);
  font-size: 22px;
  margin-top: 3px
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch
}

.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s, box-shadow .25s
}

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

.plan.pop {
  border: 2px solid var(--p2);
  box-shadow: var(--sh)
}

.plan .badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 999px;
  white-space: nowrap
}

.plan .tag {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--acc2)
}

.plan h3 {
  font-size: 32px;
  margin: 6px 0 6px
}

.plan .one {
  color: var(--muted);
  min-height: 54px;
  font-size: 17px
}

.price {
  margin: 22px 0 4px;
  font: 800 50px "Bricolage Grotesque";
  letter-spacing: -.03em
}

.price small {
  font: 600 18px "DM Sans";
  color: var(--muted);
  letter-spacing: 0
}

.setup {
  color: var(--muted);
  font-size: 15.5px;
  margin-bottom: 22px
}

.plan ul {
  list-style: none;
  display: grid;
  gap: 11px;
  margin-bottom: 28px;
  flex: 1
}

.plan li {
  display: flex;
  gap: 11px;
  font-size: 16.5px;
  line-height: 1.45
}

.plan li i {
  color: var(--ok);
  margin-top: 4px
}

.plan li.no {
  color: #6f6993
}

.plan li.no i {
  color: #4a4275
}

.plan .btn {
  justify-content: center
}

.compare-btn {
  display: flex;
  margin: 34px auto 0
}

.cmp {
  display: none;
  margin-top: 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: auto
}

.cmp.open {
  display: block;
  animation: fade .4s
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(10px)
  }
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 760px;
  font-size: 15.5px
}

th,
td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top
}

thead th {
  font: 800 17px "Bricolage Grotesque";
  background: var(--bg);
  position: sticky;
  top: 0
}

td:first-child {
  font-weight: 700;
  width: 28%
}

td.n {
  color: #6f6993
}

@media (max-width:640px) {
  .cmp {
    overflow: visible;
    background: transparent;
    border: 0
  }

  table,
  tbody,
  tr,
  td {
    display: block;
    min-width: 0;
    width: 100%
  }

  thead {
    display: none
  }

  tr {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    margin-bottom: 12px;
    padding: 6px 0
  }

  td {
    border: 0;
    padding: 6px 18px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    text-align: right
  }

  td:first-child {
    width: 100%;
    text-align: left;
    font-size: 16.5px;
    padding-top: 10px;
    color: var(--ink)
  }

  td:not(:first-child)::before {
    content: attr(data-l);
    font-weight: 800;
    color: var(--acc);
    text-align: left;
    flex: none
  }
}

.fine {
  margin-top: 22px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
  max-width: 860px;
  margin-inline: auto
}

/* guarantee + CTA */
.guar {
  display: flex;
  gap: 26px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 34px 36px;
  max-width: 940px;
  margin: 80px auto 0
}

.guar .shield {
  flex: none;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  font-size: 32px
}

.guar h3 {
  font-size: 27px;
  margin-bottom: 6px
}

.guar p {
  color: var(--muted)
}

.cta-box {
  background: var(--grad);
  border-radius: 36px;
  color: #fff;
  text-align: center;
  padding: 80px 30px;
  position: relative;
  overflow: hidden
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 260px at 50% 0, rgba(255, 255, 255, .25), transparent 70%)
}

.cta-box>* {
  position: relative
}

.cta-box .step-tag {
  color: #fff
}

.cta-box .step-tag span {
  background: rgba(255, 255, 255, .2);
  color: #fff
}

.cta-box h2 {
  color: #fff
}

.cta-box .lead {
  color: rgba(255, 255, 255, .9);
  margin: 0 auto 34px
}

.cta-box .acts {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap
}

.cta-box .btn-w {
  background: #fff;
  color: var(--p3)
}

.cta-box .btn-o {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .6)
}

.cta-box .under {
  margin-top: 22px;
  font-weight: 700;
  font-size: 15.5px;
  opacity: .92
}

.ps {
  max-width: 760px;
  margin: 34px auto 0;
  text-align: center;
  font-size: 18px;
  color: var(--muted)
}

.ps b {
  color: var(--ink)
}

footer {
  padding: 50px 0 120px;
  text-align: center;
  color: var(--muted);
  font-size: 15px
}

footer .logo-wrap {
  display: inline-flex;
  margin-bottom: 16px
}

.soc {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px
}

.soc a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--acc);
  transition: all .2s
}

.soc a:hover {
  background: var(--grad);
  color: #fff;
  border-color: transparent
}

/* talk to Ailey */
.talk-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  outline: 1px solid var(--line);
  color: #fff;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 9px 20px 9px 9px;
  font: 700 15.5px "DM Sans";
  box-shadow: 0 14px 30px -10px rgba(21, 16, 46, .6);
  transition: transform .2s
}

.talk-fab:hover {
  transform: translateY(-2px)
}

.mini {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: radial-gradient(circle at 50% 30%, #2a2160, #120c2c);
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  position: relative
}

.mini::before,
.mini::after {
  content: "";
  width: 7px;
  height: 9px;
  border-radius: 50%;
  background: #7ef0ff;
  box-shadow: 0 0 6px #7ef0ff;
  animation: blink 5s infinite
}

.talk-fab .pulse {
  position: absolute;
  left: 9px;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  box-shadow: 0 0 0 0 rgba(194, 60, 245, .6);
  animation: pulse 2.4s infinite
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 14px rgba(194, 60, 245, 0)
  }

  100% {
    box-shadow: 0 0 0 0 rgba(194, 60, 245, 0)
  }
}

#voice {
  position: fixed;
  right: 22px;
  bottom: 90px;
  z-index: 70;
  width: min(380px, calc(100vw - 32px));
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 30px 60px -20px rgba(21, 16, 46, .45);
  display: none;
  flex-direction: column;
  overflow: hidden
}

#voice.open {
  display: flex;
  animation: fade .3s
}

.v-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--deep);
  color: #fff
}

.v-top .mini {
  width: 44px;
  height: 44px
}

.v-top b {
  display: block;
  font-size: 17px
}

.v-top small {
  font-size: 13px;
  color: #c9c3e6
}

.v-top button {
  margin-left: auto;
  background: rgba(255, 255, 255, .12);
  border: 0;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer
}

#vlog {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 300px;
  min-height: 150px;
  overflow: auto;
  font-size: 15.5px;
  line-height: 1.45
}

.m {
  padding: 10px 14px;
  border-radius: 16px;
  max-width: 86%
}

.m.a {
  background: var(--soft);
  align-self: flex-start;
  border-bottom-left-radius: 4px
}

.m.u {
  background: var(--grad);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px
}

.v-quick {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  padding: 0 16px 12px
}

.v-quick button {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 999px;
  padding: 7px 12px;
  font: 700 13px "DM Sans";
  cursor: pointer;
  color: var(--acc)
}

.v-in {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line)
}

.v-in input {
  background: var(--bg);
  color: var(--ink);
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  font: 500 15.5px "DM Sans";
  outline: none;
  min-width: 0
}

.v-in input:focus {
  border-color: var(--acc2)
}

.v-in button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: var(--grad);
  color: #fff;
  font-size: 17px;
  flex: none
}

.v-in .mic {
  background: var(--soft)
}

#voice.listening .mic {
  background: #e11d48;
  animation: pulse 1.4s infinite
}

#vstatus {
  font-size: 13px;
  color: var(--muted);
  padding: 0 18px 4px
}

/* mobile bottom bar */
.mbar {
  display: none
}

/* ================= MOTION LAYER ================= */
/* drifting color blobs behind the hero */
.blobs {
  position: absolute;
  inset: -80px 0 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none
}

.blobs i {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .28;
  animation: drift 18s ease-in-out infinite alternate
}

.blobs i:nth-child(1) {
  width: 420px;
  height: 420px;
  background: #a43be8;
  top: 0;
  right: 6%
}

.blobs i:nth-child(2) {
  width: 360px;
  height: 360px;
  background: #4a3fc8;
  top: 260px;
  left: -80px;
  animation-duration: 22s;
  animation-delay: -6s
}

.blobs i:nth-child(3) {
  width: 300px;
  height: 300px;
  background: #c23cf5;
  top: 380px;
  right: 30%;
  animation-duration: 26s;
  animation-delay: -12s
}

@keyframes drift {
  0% {
    transform: translate(0, 0) scale(1)
  }

  50% {
    transform: translate(60px, -40px) scale(1.15)
  }

  100% {
    transform: translate(-40px, 50px) scale(.9)
  }
}

/* hero headline: words rise in one by one */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .08em;
  margin-bottom: -.08em
}

.w>span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform .9s cubic-bezier(.2, .8, .2, 1)
}

.hero h1.in .w>span {
  transform: none
}

.js .hero h1.rv {
  opacity: 1;
  transform: none
}

/* shimmer on gradient words */
.grad {
  background-size: 200% auto;
  animation: shine 6s linear infinite
}

@keyframes shine {
  to {
    background-position: 200% center
  }
}

/* button shine sweep */
.btn-p {
  position: relative;
  overflow: hidden
}

.btn-p::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg);
  animation: sweep 3.6s ease-in-out infinite
}

@keyframes sweep {

  0%,
  60% {
    left: -60%
  }

  100% {
    left: 130%
  }
}

/* bot: parallax wrapper + wave hand */
.stage {
  perspective: 900px
}

.stage-in {
  position: relative;
  display: grid;
  place-items: center;
  transition: transform .4s ease-out;
  transform-style: preserve-3d
}

.eyes {
  transition: transform .15s ease-out
}

.hand {
  position: absolute;
  right: -34px;
  top: 250px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 8px 18px -8px rgba(74, 63, 200, .8);
  transform-origin: -10px 30px;
  animation: wave 4s ease-in-out infinite
}

.hand.l {
  right: auto;
  left: -34px;
  animation: none
}

@keyframes wave {

  0%,
  55%,
  100% {
    transform: rotate(0)
  }

  62% {
    transform: rotate(-38deg) translateY(-30px)
  }

  70% {
    transform: rotate(-10deg) translateY(-30px)
  }

  78% {
    transform: rotate(-38deg) translateY(-30px)
  }

  86% {
    transform: rotate(0)
  }
}

.chat {
  transition: opacity .5s, transform .5s
}

.chat.swap {
  opacity: 0 !important;
  transform: translateY(-8px) scale(.96) !important
}

.orbit {
  position: absolute;
  width: 400px;
  height: 400px;
  animation: spin 16s linear infinite
}

.orbit b {
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--p1);
  box-shadow: 0 0 14px var(--p1)
}

/* kinetic word band, moves with scroll */
.band {
  overflow: hidden;
  padding: 34px 0;
  white-space: nowrap;
  pointer-events: none
}

.band-track {
  display: inline-flex;
  gap: 40px;
  font: 800 clamp(48px, 8vw, 110px)/1 "Bricolage Grotesque";
  letter-spacing: -.03em;
  will-change: transform
}

.band-track span {
  color: transparent;
  -webkit-text-stroke: 2px #cfc4f5
}

.band-track span.f {
  -webkit-text-stroke: 0;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text
}

.band-track em {
  font-style: normal;
  color: var(--p1);
  -webkit-text-stroke: 0;
  font-size: .5em;
  align-self: center
}

/* card tilt + spotlight */
.job,
.plan {
  transform-style: preserve-3d;
  will-change: transform
}

.job::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(194, 60, 245, .13), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none
}

.job:hover::before {
  opacity: 1
}

.job.in .ic {
  animation: pop .7s cubic-bezier(.3, 1.6, .5, 1) both
}

.job.d1.in .ic {
  animation-delay: .1s
}

.job.d2.in .ic {
  animation-delay: .2s
}

@keyframes pop {
  0% {
    transform: scale(.3) rotate(-25deg)
  }

  100% {
    transform: none
  }
}

.job:hover .ic {
  background: var(--grad);
  color: #fff;
  transform: rotate(-8deg) scale(1.08);
  transition: all .3s
}

/* how it runs: glowing dot rides the line */
.flow .fill::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 4px solid var(--p1);
  box-shadow: 0 0 0 6px rgba(194, 60, 245, .2), 0 0 20px var(--p1)
}

.row.on .dotn {
  animation: ping .6s ease-out
}

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

  60% {
    transform: scale(1.12)
  }

  100% {
    transform: none
  }
}

.evt {
  transform: translateX(40px) scale(.95)
}

.row.on .evt {
  transition: all .6s cubic-bezier(.2, 1.3, .4, 1)
}

/* growth visuals */
.viz {
  height: 90px;
  margin: 4px 0 18px;
  display: flex;
  align-items: flex-end;
  gap: 8px
}

.ringv {
  width: 90px;
  height: 90px;
  position: relative
}

.ringv svg {
  width: 90px;
  height: 90px;
  transform: rotate(-90deg)
}

.ringv circle {
  fill: none;
  stroke-width: 9
}

.ringv .bgc {
  stroke: rgba(255, 255, 255, .12)
}

.ringv .fg {
  stroke: url(#gr);
  stroke-linecap: round;
  stroke-dasharray: 226;
  stroke-dashoffset: 226;
  transition: stroke-dashoffset 1.8s cubic-bezier(.2, .7, .2, 1) .3s
}

.eng.in .ringv .fg {
  stroke-dashoffset: 40
}

.ringv b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 800 15px "Bricolage Grotesque"
}

.barv i {
  width: 22px;
  border-radius: 6px 6px 3px 3px;
  background: var(--grad);
  height: 8px;
  transition: height 1.2s cubic-bezier(.2, 1.2, .4, 1)
}

.eng.in .barv i:nth-child(1) {
  height: 30px;
  transition-delay: .3s
}

.eng.in .barv i:nth-child(2) {
  height: 46px;
  transition-delay: .45s
}

.eng.in .barv i:nth-child(3) {
  height: 40px;
  transition-delay: .6s
}

.eng.in .barv i:nth-child(4) {
  height: 66px;
  transition-delay: .75s
}

.eng.in .barv i:nth-child(5) {
  height: 88px;
  transition-delay: .9s
}

.starv {
  align-items: center;
  gap: 6px;
  font-size: 30px
}

.starv i {
  color: rgba(255, 255, 255, .15);
  transform: scale(.4);
  transition: all .5s cubic-bezier(.3, 1.6, .5, 1)
}

.eng.in .starv i {
  color: #ffcf3f;
  transform: none;
  filter: drop-shadow(0 0 8px rgba(255, 207, 63, .6))
}

.eng.in .starv i:nth-child(2) {
  transition-delay: .15s
}

.eng.in .starv i:nth-child(3) {
  transition-delay: .3s
}

.eng.in .starv i:nth-child(4) {
  transition-delay: .45s
}

.eng.in .starv i:nth-child(5) {
  transition-delay: .6s
}

.eng {
  transition: transform .3s, border-color .3s
}

.eng:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 166, 255, .5)
}

.dark {
  position: relative;
  overflow: hidden
}

.dark::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 60, 245, .28), transparent 65%);
  top: -300px;
  right: -200px;
  animation: drift 20s ease-in-out infinite alternate
}

.dark>.wrap {
  position: relative
}

/* popular plan: spinning gradient border */
.plan.pop {
  border: 0;
  background: var(--card);
  isolation: isolate
}

.plan.pop::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 28px;
  background: conic-gradient(from var(--a), var(--p1), var(--p3), #7ef0ff, var(--p1));
  z-index: -2;
  animation: rot 5s linear infinite
}

.plan.pop::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 25px;
  background: var(--card);
  z-index: -1
}

@property --a {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg
}

@keyframes rot {
  to {
    --a: 360deg
  }
}

/* CTA: moving gradient + floating sparks */
.cta-box {
  background: linear-gradient(120deg, #c23cf5, #8a3ff0, #4a3fc8, #c23cf5);
  background-size: 300% 300%;
  animation: bgmove 10s ease infinite
}

@keyframes bgmove {
  50% {
    background-position: 100% 50%
  }
}

.spark {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  opacity: .5;
  animation: rise linear infinite
}

.cta-box>.spark {
  position: absolute
}

@keyframes rise {
  from {
    transform: translateY(0);
    opacity: 0
  }

  15% {
    opacity: .6
  }

  to {
    transform: translateY(-420px);
    opacity: 0
  }
}

/* reveal variants */
.js .rv.fl {
  transform: translateX(-50px)
}

.js .rv.fr {
  transform: translateX(50px)
}

.js .rv.sc {
  transform: scale(.9)
}

.js .rv.fl.in,
.js .rv.fr.in,
.js .rv.sc.in {
  transform: none
}

@media (max-width:980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 10px
  }

  .stage {
    min-height: 400px
  }

  .jobs,
  .engines {
    grid-template-columns: 1fr 1fr
  }

  .plans {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto
  }

  .plan .one {
    min-height: 0
  }

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

  .menu {
    display: none
  }
}

@media (max-width:640px) {
  body {
    font-size: 17px
  }

  section {
    padding: 76px 0
  }

  .hero {
    padding: 30px 0 50px
  }

  .hero h1 .l1 {
    white-space: normal
  }

  .stage {
    min-height: 330px;
    transform: scale(.8);
    margin: -30px 0 -40px
  }

  .c2 {
    right: -30px
  }

  .jobs,
  .engines {
    grid-template-columns: 1fr
  }

  .row {
    grid-template-columns: 52px 1fr;
    gap: 16px
  }

  .dotn {
    width: 52px;
    height: 52px;
    font-size: 19px
  }

  .flow::before,
  .flow .fill {
    left: 25px
  }

  .evt {
    grid-column: 2;
    white-space: normal;
    justify-self: start
  }

  .next {
    padding: 22px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px
  }

  .next p {
    width: 100%
  }

  .next .acts {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px
  }

  .next .acts .btn {
    width: 100%;
    justify-content: center;
    white-space: nowrap !important;
    flex: none
  }

  .next .acts .go {
    width: 100%;
    justify-content: center;
    text-align: center
  }

  .dark {
    margin-inline: 8px;
    border-radius: 26px
  }

  .works,
  .guar {
    padding: 26px 22px
  }

  .guar {
    flex-direction: column;
    align-items: flex-start
  }

  .cta-box {
    padding: 60px 22px;
    border-radius: 26px
  }

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

  .nav .btn {
    display: none
  }

  .stepper {
    justify-content: flex-start;
    padding-inline: 8px
  }

  .talk-fab {
    display: none
  }

  #voice {
    right: 16px;
    bottom: 84px
  }

  .mbar {
    display: flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 60;
    gap: 10px;
    background: var(--card);
    border: 1px solid var(--line);
    padding: 8px;
    border-radius: 999px;
    box-shadow: 0 14px 30px -10px rgba(21, 16, 46, .6)
  }

  .mbar .btn {
    flex: 1;
    justify-content: center;
    padding: 14px
  }

  .mbar .mic-b {
    flex: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 18px
  }
}

/* hero v3: job icons around Ailey + live ticker below (nothing sits on top of her) */
.stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-height: 0
}

.stage-in {
  width: 500px;
  height: 440px;
  flex: none
}

.ring {
  width: 420px;
  height: 420px
}

.halo {
  width: 340px;
  height: 340px
}

.bot {
  transform-origin: center
}

.nodes {
  position: absolute;
  inset: 0;
  pointer-events: none
}

.nd {
  --R: 212px;
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 96px;
  transform: translate(-50%, -50%) rotate(var(--a)) translateX(var(--R)) rotate(calc(-1 * var(--a)))
}

.nd-ic {
  width: 54px;
  height: 54px;
  border-radius: 17px;
  background: var(--card);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--acc2);
  font-size: 21px;
  box-shadow: 0 10px 24px -14px rgba(60, 30, 140, .6);
  transition: all .45s cubic-bezier(.3, 1.5, .5, 1)
}

.nd small {
  font: 700 12.5px "DM Sans";
  color: var(--muted);
  white-space: nowrap;
  transition: color .3s
}

.nd.on .nd-ic {
  outline: 0;
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  transform: scale(1.18);
  box-shadow: 0 0 0 7px rgba(194, 60, 245, .14), 0 14px 26px -10px rgba(138, 63, 240, .8)
}

.nd.on small {
  color: var(--ink)
}

.ticker {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px 9px 9px;
  box-shadow: var(--sh);
  min-width: 330px;
  max-width: 100%
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--deep);
  color: #fff;
  font: 800 11.5px "DM Sans";
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 11px;
  border-radius: 999px;
  flex: none
}

.live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: blinkdot 1.2s infinite
}

@keyframes blinkdot {
  50% {
    opacity: .25
  }
}

.tk {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15.5px;
  white-space: nowrap;
  transition: opacity .35s, transform .35s
}

.tk i {
  color: var(--acc2)
}

.tk.out {
  opacity: 0;
  transform: translateY(8px)
}

@media (max-width:640px) {
  .stage {
    transform: none;
    margin: 10px 0 0
  }

  .stage-in {
    width: 340px;
    height: 330px
  }

  .bot {
    transform: scale(.62)
  }

  .bot {
    animation: none
  }

  .ring {
    width: 300px;
    height: 300px
  }

  .halo {
    width: 240px;
    height: 240px
  }

  .nd {
    --R: 146px;
    width: 70px
  }

  .nd-ic {
    width: 42px;
    height: 42px;
    font-size: 16px;
    border-radius: 13px
  }

  .nd small {
    font-size: 10.5px
  }

  .ticker {
    min-width: 0;
    width: 100%
  }

  .tk {
    font-size: 14px;
    white-space: normal
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important
  }

  .js .rv,
  .js .chat {
    opacity: 1;
    transform: none
  }
}

/* ===== Explainer: Ailey travels scene to scene ===== */
.scenes {
  display: flex;
  flex-direction: column;
  gap: 30px
}

.scene {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: center;
  min-height: 78vh;
  padding: 30px 0
}

.scene:nth-child(even) {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 240px
}

.scene:nth-child(even) .spot {
  order: 3
}

.scene:nth-child(even) .txt {
  order: 2
}

.scene:nth-child(even) .ui {
  order: 1
}

.spot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px
}

.slot {
  width: 200px;
  height: 250px
}

.say {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.4;
  text-align: center;
  position: relative;
  opacity: .25;
  transform: translateY(8px);
  transition: all .5s
}

.say::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: var(--card);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg)
}

.scene.act .say {
  opacity: 1;
  transform: none;
  border-color: #5b3fa8
}

.txt {
  opacity: .35;
  transition: opacity .5s
}

.scene.act .txt {
  opacity: 1
}

.sn {
  display: inline-block;
  font: 800 13px "DM Sans";
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--acc2);
  margin-bottom: 10px
}

.txt h3 {
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 18px
}

.leak,
.fix {
  display: flex;
  gap: 11px;
  font-size: 17px;
  margin-bottom: 12px;
  line-height: 1.45
}

.leak {
  color: var(--muted)
}

.leak i {
  color: #f87171;
  margin-top: 4px
}

.fix i {
  color: #4ade80;
  margin-top: 4px
}

.win {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15.5px;
  background: rgba(74, 222, 128, .1);
  color: #86efac;
  border: 1px solid rgba(74, 222, 128, .3);
  transform: scale(.9);
  transition: transform .5s cubic-bezier(.3, 1.6, .5, 1)
}

.scene.act .win {
  transform: none
}

.win i {
  animation: up 1.4s ease-in-out infinite
}

@keyframes up {
  50% {
    transform: translate(2px, -3px)
  }
}

/* mock screens */
.ui {
  background: linear-gradient(180deg, #1b1538, #130e2c);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 300px;
  transform: perspective(900px) rotateY(var(--ry, -6deg)) scale(.96);
  opacity: .5;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1), opacity .6s
}

.scene:nth-child(even) .ui {
  --ry: 6deg
}

.scene.act .ui {
  transform: none;
  opacity: 1
}

.ui-top {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px
}

.tag-ok {
  margin-left: auto;
  background: rgba(74, 222, 128, .12);
  color: #86efac;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12.5px
}

.dotlive {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4ade80;
  animation: blinkdot 1.2s infinite
}

.ln {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.4;
  max-width: 86%
}

.ln.c {
  background: #2a2350;
  align-self: flex-start;
  border-bottom-left-radius: 4px
}

.ln.a {
  background: var(--grad);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px
}

.seq {
  opacity: 0;
  transform: translateY(12px) scale(.97);
  transition: opacity .45s, transform .45s cubic-bezier(.3, 1.4, .5, 1);
  transition-delay: calc(var(--i) * .7s + .2s)
}

.scene.play .seq {
  opacity: 1;
  transform: none
}

.typing {
  display: flex;
  gap: 5px;
  padding: 12px 14px;
  background: #2a2350;
  border-radius: 16px;
  align-self: flex-start
}

.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  animation: dots 1s infinite
}

.typing i:nth-child(2) {
  animation-delay: .15s
}

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

@keyframes dots {
  50% {
    transform: translateY(-4px);
    opacity: .4
  }
}

.toast {
  display: flex;
  align-items: center;
  gap: 9px;
  align-self: center;
  margin-top: auto;
  background: rgba(74, 222, 128, .12);
  color: #86efac;
  border: 1px solid rgba(74, 222, 128, .3);
  padding: 9px 15px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px
}

.days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  text-align: center;
  font-size: 13px;
  color: var(--muted)
}

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

.grid5 i {
  height: 52px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  border: 1px dashed rgba(255, 255, 255, .08);
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.25;
  display: grid;
  place-items: center;
  text-align: center
}

.grid5 i.bk {
  background: rgba(255, 255, 255, .08);
  border: 0
}

.grid5 i.new {
  background: var(--grad);
  border: 0;
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(194, 60, 245, .8)
}

.stars {
  display: flex;
  gap: 6px;
  font-size: 26px;
  color: #ffcf3f;
  filter: drop-shadow(0 0 8px rgba(255, 207, 63, .5))
}

.chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
  padding-top: 6px;
  position: relative
}

.chart span {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 700
}

.chart i {
  flex: 1;
  height: 0;
  border-radius: 6px 6px 3px 3px;
  background: var(--grad);
  transition: height 1s cubic-bezier(.2, 1.2, .4, 1)
}

.scene.play .chart i {
  height: var(--h)
}

.scene.play .chart i:nth-of-type(2) {
  transition-delay: 2.4s
}

.scene.play .chart i:nth-of-type(3) {
  transition-delay: 2.55s
}

.scene.play .chart i:nth-of-type(4) {
  transition-delay: 2.7s
}

.scene.play .chart i:nth-of-type(5) {
  transition-delay: 2.85s
}

.scene.play .chart i:nth-of-type(1) {
  transition-delay: 2.25s
}

/* the loop summary */
.loop {
  margin-top: 50px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 40px 26px
}

.loop h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  margin-bottom: 26px
}

.chain {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px
}

.chain span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 700;
  background: var(--bg);
  transition: all .4s
}

.chain span i {
  color: var(--acc2)
}

.chain span.lit {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -12px rgba(194, 60, 245, .9)
}

.chain span.lit i {
  color: #fff
}

.chain b {
  color: var(--muted)
}

.loop p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14.5px
}

/* the guide bot */
#guide {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 45;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s;
  will-change: transform
}

#guide.show {
  opacity: 1
}

.gbot {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%) scale(var(--gs, .6)) rotate(var(--lean, 0deg));
  transform-origin: center
}

.gbot .headbox {
  transition: transform .4s
}

.gbot .eyes {
  transition: transform .3s
}

.jet {
  width: 70px;
  height: 26px;
  margin-top: 2px;
  border-radius: 50%;
  background: radial-gradient(circle, #7ef0ff, rgba(194, 60, 245, .6) 50%, transparent 70%);
  filter: blur(4px);
  opacity: .5;
  transition: all .3s;
  animation: jet .25s ease-in-out infinite alternate
}

#guide.fly .jet {
  opacity: 1;
  transform: scaleY(1.8) translateY(8px)
}

@keyframes jet {
  to {
    transform: scale(1.15, 1.3)
  }
}

.prop {
  position: absolute;
  left: 0;
  top: 0;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 21px;
  box-shadow: 0 10px 24px -8px rgba(194, 60, 245, .9);
  transform: translate(var(--px, 60px), var(--py, 10px)) scale(var(--ps, 1));
  transition: transform .5s cubic-bezier(.3, 1.5, .5, 1)
}

/* moods */
#guide.m-happy .mouth {
  height: 24px;
  width: 52px
}

#guide.m-talk .mouth {
  animation: talk .28s ease-in-out infinite alternate
}

#guide.m-star .eye {
  background: #ffcf3f;
  box-shadow: 0 0 16px #ffcf3f;
  border-radius: 0;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  width: 38px;
  height: 38px;
  animation: none
}

#guide.m-star .ant::before {
  background: #ffcf3f;
  box-shadow: 0 0 18px #ffcf3f
}

#guide.m-wink .eye:last-child {
  height: 6px;
  margin-top: 16px;
  border-radius: 4px;
  animation: none
}

#guide.m-happy .ant::before,
#guide.m-wink .ant::before {
  background: #4ade80;
  box-shadow: 0 0 18px #4ade80
}

#guide.m-talk .ant::before {
  background: #7ef0ff;
  box-shadow: 0 0 18px #7ef0ff
}

@media (max-width:980px) {

  .scene,
  .scene:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 0;
    padding: 40px 0
  }

  .scene .spot,
  .scene:nth-child(even) .spot {
    order: 2;
    flex-direction: row;
    justify-content: center
  }

  .scene .txt,
  .scene:nth-child(even) .txt {
    order: 1
  }

  .scene .ui,
  .scene:nth-child(even) .ui {
    order: 3
  }

  .slot {
    width: 130px;
    height: 170px;
    flex: none
  }

  .say {
    text-align: left;
    max-width: 300px
  }

  .say::before {
    top: 50%;
    left: -8px;
    transform: translateY(-50%) rotate(-45deg)
  }

  .ui {
    min-height: 0
  }
}

@media (max-width:640px) {
  .grid5 i {
    height: 46px;
    font-size: 10px
  }

  .chain b {
    display: none
  }
}

@media (prefers-reduced-motion:reduce) {
  #guide {
    display: none
  }

  .seq,
  .say,
  .txt,
  .ui {
    opacity: 1 !important;
    transform: none !important
  }

  .chart i {
    height: var(--h) !important
  }
}

/* AI feature badge = scene title */
.feat {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 10px 20px 10px 10px;
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(194, 60, 245, .18), rgba(74, 63, 200, .18));
  border: 1px solid rgba(185, 140, 255, .35);
  transition: box-shadow .5s, border-color .5s
}

.scene.act .feat {
  border-color: rgba(194, 60, 245, .8);
  box-shadow: 0 0 0 4px rgba(194, 60, 245, .12), 0 16px 34px -16px rgba(194, 60, 245, .9)
}

.fn {
  font: 800 14px "Bricolage Grotesque";
  color: var(--muted);
  padding-left: 6px
}

.fi {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
  flex: none
}

.scene.act .fi {
  animation: pop .7s cubic-bezier(.3, 1.6, .5, 1)
}

.ft {
  display: flex;
  flex-direction: column;
  line-height: 1.15
}

.ft small {
  font: 700 12.5px "DM Sans";
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--acc)
}

.ft b {
  font: 800 clamp(20px, 2vw, 25px) "Bricolage Grotesque";
  color: #fff
}

.txt h3 {
  font-size: clamp(24px, 2.4vw, 30px)
}

@media (max-width:640px) {
  .feat {
    padding-right: 14px;
    gap: 10px
  }

  .fi {
    width: 42px;
    height: 42px;
    font-size: 17px
  }
}

/* hero v4: multi-armed Ailey with live task cards */
.hero-grid {
  grid-template-columns: minmax(0, 1fr) 600px;
  gap: 40px
}

.hero h1 {
  font-size: clamp(40px, 5.2vw, 66px)
}

.stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px
}

.stage-in {
  width: 600px;
  height: 520px
}

.rig {
  position: absolute;
  inset: 0;
  animation: float 7s ease-in-out infinite
}

.rig .halo {
  left: 50%;
  top: 250px;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 360px
}

.rig .bot {
  position: absolute;
  left: 50%;
  top: 110px;
  transform: translateX(-50%) scale(.74);
  transform-origin: top center;
  animation: none
}

.arms {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible
}

.arm path {
  fill: none;
  stroke: url(#armg);
  stroke-width: 12;
  stroke-linecap: round;
  opacity: .55;
  transition: opacity .4s, stroke-width .4s
}

.arm path.flow {
  stroke: #fff;
  stroke-width: 3;
  opacity: 0;
  stroke-dasharray: 6 14;
  animation: flow .8s linear infinite
}

.arm circle {
  fill: #c23cf5;
  stroke: #fff;
  stroke-width: 3;
  opacity: .7;
  transition: all .4s
}

.arm.on path {
  opacity: 1;
  stroke-width: 14
}

.arm.on path.flow {
  opacity: .9;
  stroke-width: 3
}

.arm.on circle {
  opacity: 1;
  r: 12;
  filter: drop-shadow(0 0 8px #c23cf5)
}

@keyframes flow {
  to {
    stroke-dashoffset: -40
  }
}

.tasks {
  position: absolute;
  inset: 0
}

.task {
  position: absolute;
  width: 184px;
  min-height: 92px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 18px 34px -20px rgba(0, 0, 0, .9);
  transition: border-color .4s, box-shadow .4s, transform .4s
}

.task:nth-child(1) {
  left: 0;
  top: 20px
}

.task:nth-child(2) {
  left: 0;
  top: 214px
}

.task:nth-child(3) {
  left: 0;
  top: 408px
}

.task:nth-child(4) {
  right: 0;
  top: 20px
}

.task:nth-child(5) {
  right: 0;
  top: 214px
}

.task:nth-child(6) {
  right: 0;
  top: 408px
}

.ti {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--acc);
  font-size: 15px;
  transition: all .4s
}

.tx {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25
}

.tx small {
  font: 800 10.5px "DM Sans";
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--acc)
}

.tx b {
  font-size: 14.5px;
  margin: 2px 0 6px
}

.st {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #86efac
}

.st em {
  font-style: normal
}

.task.work {
  border-color: rgba(194, 60, 245, .9);
  box-shadow: 0 0 0 4px rgba(194, 60, 245, .15), 0 18px 34px -16px rgba(194, 60, 245, .8);
  transform: scale(1.05)
}

.task.work .ti {
  background: var(--grad);
  color: #fff
}

.task.work .st {
  color: var(--acc)
}

.task.pop .st {
  animation: pop .6s cubic-bezier(.3, 1.6, .5, 1)
}

.rig-note {
  font-weight: 700;
  color: var(--muted);
  font-size: 15px
}

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

  .stage {
    margin-top: 20px
  }
}

@media (max-width:640px) {
  .stage-in {
    width: 100%;
    height: auto
  }

  .rig {
    position: relative;
    animation: none
  }

  .rig .halo {
    top: 110px
  }

  .arms {
    display: none
  }

  .rig .bot {
    position: relative;
    left: auto;
    top: auto;
    margin: 0 auto;
    transform: scale(.5);
    transform-origin: top center;
    margin-bottom: -185px;
    width: max-content
  }

  .tasks {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
  }

  .task {
    position: relative;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: auto;
    min-height: 0;
    padding: 10px;
    gap: 8px
  }

  .ti {
    width: 30px;
    height: 30px;
    font-size: 13px
  }

  .tx b {
    font-size: 13.5px
  }
}

/* hero v5: Ailey in the middle, helper agents on each task */
.arms .link line {
  stroke: rgba(185, 140, 255, .28);
  stroke-width: 2;
  stroke-dasharray: 4 8
}

.arms .link line.beam {
  stroke: #e879f9;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 40 400;
  stroke-dashoffset: 40;
  opacity: 0;
  filter: drop-shadow(0 0 8px #f472b6) drop-shadow(0 0 16px #c026d3);
  transition: opacity .15s ease
}

.arms .link.on line.beam {
  opacity: 1;
  animation: beam .55s cubic-bezier(.2, .7, .4, 1) forwards
}

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

  to {
    stroke-dashoffset: -280
  }
}

.mini-ag {
  position: relative;
  width: 48px;
  height: 48px;
  flex: none
}

.mf {
  position: absolute;
  inset: 0;
  border-radius: 13px;
  background: linear-gradient(160deg, #f4f0ff, #bfb2ee);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: inset 0 0 0 5px #1a1338
}

.mf::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 9px;
  background: radial-gradient(circle at 50% 30%, #2a2160, #120c2c)
}

.mf i {
  position: relative;
  width: 8px;
  height: 10px;
  border-radius: 50%;
  background: #7ef0ff;
  box-shadow: 0 0 6px #7ef0ff;
  animation: blink 4s infinite
}

.mb {
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 9.5px;
  border: 2px solid var(--card)
}

.task.work .mini-ag {
  animation: hop .5s ease-in-out infinite alternate
}

.task.work .mf i {
  background: #c9ff7e;
  box-shadow: 0 0 8px #c9ff7e
}

@keyframes hop {
  to {
    transform: translateY(-4px)
  }
}

.rig .bot .glow {
  display: none
}

@media (max-width:640px) {
  .mini-ag {
    width: 34px;
    height: 34px
  }

  .mf {
    border-radius: 11px
  }
}

/* ===== Review AI spotlight ===== */
.rvai {
  position: relative
}

.rvai::before {
  content: "";
  position: absolute;
  inset: 40px 0;
  background: radial-gradient(600px 360px at 75% 50%, rgba(255, 207, 63, .08), transparent 70%);
  pointer-events: none
}

.rv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  gap: 60px;
  align-items: center
}

.rv-steps {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 30px 0 32px
}

.rv-steps li {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 18px;
  transition: border-color .4s, box-shadow .4s, transform .4s
}

.rv-steps li b {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--acc);
  font: 800 17px "Bricolage Grotesque";
  transition: all .4s
}

.rv-steps li strong {
  display: block;
  font-size: 18px
}

.rv-steps li span {
  color: var(--muted);
  font-size: 15.5px
}

.rv-steps li.on {
  border-color: rgba(194, 60, 245, .8);
  box-shadow: 0 14px 30px -16px rgba(194, 60, 245, .8);
  transform: translateX(6px)
}

.rv-steps li.on b {
  background: var(--grad);
  color: #fff
}

.rv-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.rv-demo {
  position: relative;
  background: linear-gradient(180deg, #1b1538, #120d2a);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 560px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9)
}

.rv-count {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line)
}

.rv-count .fa-google {
  color: #fff
}

.rv-count b {
  margin-left: auto;
  font: 800 22px "Bricolage Grotesque";
  color: #fff;
  transition: transform .4s
}

.rv-count b.bump {
  animation: pop .6s cubic-bezier(.3, 1.6, .5, 1);
  color: #86efac
}

.rv-count em {
  font-style: normal;
  color: #ffcf3f;
  font-weight: 800
}

.job-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px
}

.jc-top {
  display: flex;
  gap: 12px;
  align-items: center
}

.jc-top b {
  display: block;
  font-size: 17px
}

.jc-top small {
  color: var(--muted);
  font-size: 14px
}

.jc-ic {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--soft);
  color: var(--acc);
  display: grid;
  place-items: center;
  font-size: 19px
}

.done-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px dashed #4a3f80;
  background: transparent;
  color: var(--ink);
  border-radius: 14px;
  padding: 13px;
  font: 700 16px "DM Sans";
  cursor: default;
  transition: all .4s
}

.done-btn .box {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 2px solid var(--acc);
  display: grid;
  place-items: center;
  font-size: 13px;
  color: transparent;
  transition: all .3s
}

.done-btn .lbl2 {
  display: none
}

.rv-demo.s1 .done-btn,
.rv-demo.s2 .done-btn,
.rv-demo.s3 .done-btn,
.rv-demo.s4 .done-btn {
  border: 2px solid #4ade80;
  background: rgba(74, 222, 128, .12);
  color: #86efac
}

.rv-demo.s1 .done-btn .box,
.rv-demo.s2 .done-btn .box,
.rv-demo.s3 .done-btn .box,
.rv-demo.s4 .done-btn .box {
  background: #4ade80;
  border-color: #4ade80;
  color: #0b0820;
  animation: pop .5s cubic-bezier(.3, 1.6, .5, 1)
}

.rv-demo.s1 .lbl1,
.rv-demo.s2 .lbl1,
.rv-demo.s3 .lbl1,
.rv-demo.s4 .lbl1 {
  display: none
}

.rv-demo.s1 .lbl2,
.rv-demo.s2 .lbl2,
.rv-demo.s3 .lbl2,
.rv-demo.s4 .lbl2 {
  display: inline
}

.tap {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, .5);
  opacity: 0;
  transform: translate(40px, 40px)
}

.rv-demo.s0 .tap {
  animation: tapgo 1.6s ease-in-out forwards
}

@keyframes tapgo {
  0% {
    opacity: 0;
    transform: translate(70px, 60px)
  }

  40% {
    opacity: .9;
    transform: translate(0, 0)
  }

  60% {
    transform: scale(.8);
    box-shadow: 0 0 0 14px rgba(255, 255, 255, 0)
  }

  100% {
    opacity: 0;
    transform: scale(1)
  }
}

.flowline {
  height: 26px;
  display: flex;
  justify-content: center
}

.flowline i {
  width: 3px;
  height: 0;
  border-radius: 3px;
  background: var(--grad);
  transition: height .5s
}

.rv-demo.s2 .flowline i,
.rv-demo.s3 .flowline i,
.rv-demo.s4 .flowline i {
  height: 26px
}

.msg {
  padding: 13px 16px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.45;
  max-width: 90%;
  opacity: 0;
  transform: translateY(14px) scale(.97);
  transition: opacity .5s, transform .5s cubic-bezier(.3, 1.4, .5, 1)
}

.msg .who {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 6px;
  opacity: .85
}

.mini-ag.sm {
  width: 24px;
  height: 24px
}

.mini-ag.sm .mf {
  border-radius: 8px;
  box-shadow: inset 0 0 0 3px #1a1338;
  gap: 3px
}

.mini-ag.sm .mf::before {
  inset: 3px;
  border-radius: 5px
}

.mini-ag.sm .mf i {
  width: 4px;
  height: 5px
}

.msg.ask,
.msg.reply {
  background: var(--grad);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 5px
}

.msg.rev {
  background: #2a2350;
  align-self: flex-start;
  border-bottom-left-radius: 5px
}

.stars5 {
  display: flex;
  gap: 4px;
  color: #3a325f;
  font-size: 19px;
  margin-bottom: 6px
}

.stars5 i {
  transition: color .3s, transform .3s
}

.rv-demo.s3 .stars5 i,
.rv-demo.s4 .stars5 i {
  color: #ffcf3f;
  filter: drop-shadow(0 0 6px rgba(255, 207, 63, .6))
}

.rv-demo.s3 .stars5 i:nth-child(2) {
  transition-delay: .12s
}

.rv-demo.s3 .stars5 i:nth-child(3) {
  transition-delay: .24s
}

.rv-demo.s3 .stars5 i:nth-child(4) {
  transition-delay: .36s
}

.rv-demo.s3 .stars5 i:nth-child(5) {
  transition-delay: .48s
}

.rv-demo.s2 .ask,
.rv-demo.s3 .ask,
.rv-demo.s4 .ask,
.rv-demo.s3 .rev,
.rv-demo.s4 .rev,
.rv-demo.s4 .reply {
  opacity: 1;
  transform: none
}

@media (max-width:980px) {
  .rv-grid {
    grid-template-columns: 1fr;
    gap: 36px
  }

  .rv-demo {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    min-height: 540px
  }
}

@media (max-width:640px) {
  .rv-steps li {
    padding: 12px 14px
  }

  .rv-steps li strong {
    font-size: 16.5px
  }

  .rv-cta .btn {
    flex: 1;
    justify-content: center
  }

  .rv-demo {
    padding: 16px;
    min-height: 520px
  }
}

@media (prefers-reduced-motion:reduce) {
  .msg {
    opacity: 1;
    transform: none
  }
}

/* ===== Dashboard spotlight ===== */
.dbx .center .lead {
  margin-bottom: 44px
}

.db-frame {
  max-width: 1040px;
  margin: 0 auto;
  background: #120d2a;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 50px 100px -50px rgba(138, 63, 240, .6), 0 30px 60px -40px rgba(0, 0, 0, .9)
}

.db-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: #0e0a22;
  border-bottom: 1px solid var(--line)
}

.db-bar>i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3a325f
}

.db-bar>i:nth-child(1) {
  background: #ff6b6b
}

.db-bar>i:nth-child(2) {
  background: #ffcf3f
}

.db-bar>i:nth-child(3) {
  background: #4ade80
}

.db-bar span {
  margin: 0 auto;
  font-size: 13px;
  color: var(--muted);
  background: var(--card);
  padding: 5px 14px;
  border-radius: 8px
}

.db-bar span i {
  font-size: 11px;
  margin-right: 4px
}

.db-body {
  padding: 24px;
  display: grid;
  gap: 18px
}

.db-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap
}

.db-head>b {
  font: 700 19px "Bricolage Grotesque"
}

.db-tabs {
  display: flex;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px;
  gap: 4px
}

.db-tabs button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 700 14px "DM Sans";
  padding: 8px 14px;
  border-radius: 9px;
  cursor: pointer;
  transition: background .3s, color .3s
}

.db-tabs button.on {
  background: var(--grad);
  color: #fff
}

.db-tabs button:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 2px
}

.db-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px
}

.kpi {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  overflow: hidden
}

.kpi small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600
}

.kpi b {
  font: 800 clamp(28px, 3.4vw, 38px)/1.1 "Bricolage Grotesque";
  color: #fff;
  font-variant-numeric: tabular-nums
}

.kpi em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: #86efac
}

.ki {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 16px;
  margin-bottom: 6px
}

.ki.c1 {
  background: rgba(194, 60, 245, .18);
  color: #e29bff
}

.ki.c2 {
  background: rgba(74, 222, 128, .15);
  color: #86efac
}

.ki.c3 {
  background: rgba(120, 140, 255, .18);
  color: #a9b6ff
}

.ki.c4 {
  background: rgba(255, 207, 63, .15);
  color: #ffcf3f
}

.kpi.flash {
  animation: kflash .8s ease
}

@keyframes kflash {
  0% {
    box-shadow: 0 0 0 0 rgba(194, 60, 245, .7)
  }

  100% {
    box-shadow: 0 0 0 14px rgba(194, 60, 245, 0)
  }
}

.db-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 14px
}

.db-chart,
.db-feed {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px
}

.dc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 15px
}

.dc-top span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted)
}

.lg {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block
}

.lg.a {
  background: #4a3f80
}

.lg.b {
  background: var(--grad);
  margin-left: 8px
}

.bars {
  height: 190px;
  display: flex;
  align-items: flex-end;
  gap: 10px
}

.bar {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  min-width: 0
}

.bar .pair {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px
}

.bar .pair i {
  width: min(16px, 40%);
  border-radius: 6px 6px 2px 2px;
  height: 0;
  transition: height .8s cubic-bezier(.3, 1.2, .5, 1)
}

.bar .pair i.a {
  background: #4a3f80
}

.bar .pair i.b {
  background: var(--grad);
  transition-delay: .1s
}

.bar small {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap
}

.live {
  color: #86efac !important;
  font-weight: 700
}

.live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: blink 1.4s infinite
}

@keyframes blink {
  50% {
    opacity: .25
  }
}

#dbFeed {
  list-style: none;
  display: grid;
  gap: 10px
}

#dbFeed li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.35;
  animation: fin .5s cubic-bezier(.3, 1.4, .5, 1)
}

#dbFeed li .fi {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 13px;
  background: var(--soft);
  color: var(--acc)
}

#dbFeed li small {
  display: block;
  color: var(--muted);
  font-size: 12.5px
}

@keyframes fin {
  from {
    opacity: 0;
    transform: translateY(-10px)
  }
}

.db-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1040px;
  margin: 30px auto 0
}

.db-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px
}

.db-points li>i {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--acc);
  font-size: 17px
}

.db-points strong {
  display: block;
  font-size: 17px
}

.db-points span {
  color: var(--muted);
  font-size: 15px
}

@media (max-width:980px) {
  .db-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .db-lower {
    grid-template-columns: 1fr
  }

  .db-points {
    grid-template-columns: 1fr
  }
}

@media (max-width:640px) {
  .db-body {
    padding: 14px;
    gap: 14px
  }

  .db-head>b {
    font-size: 17px
  }

  .db-tabs {
    width: 100%
  }

  .db-tabs button {
    flex: 1;
    padding: 8px 6px;
    font-size: 13px
  }

  .kpi {
    padding: 13px
  }

  .kpi small {
    font-size: 13px
  }

  .kpi em {
    font-size: 12px
  }

  .bars {
    height: 150px;
    gap: 6px
  }

  .bar small {
    font-size: 11px
  }

  .db-bar span {
    font-size: 12px
  }
}


/* ==========================================================================
   UI REFINEMENT: CORNER SHARPNESS, SMOOTHNESS & POLISH
   ========================================================================== */
:root {
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 9999px;
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --sh-card: 0 12px 32px -10px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --sh-card-hover: 0 18px 40px -10px rgba(138, 63, 240, 0.28), 0 0 0 1px rgba(194, 60, 245, 0.35);
}

/* Smooth micro-interactions */
.btn {
  transition: transform 0.22s var(--ease-smooth), box-shadow 0.22s var(--ease-smooth), background 0.22s ease, border-color 0.22s ease;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px rgba(194, 60, 245, 0.45);
}

.btn:active {
  transform: translateY(0);
}

.card,
.feat,
.kpi,
.db-chart,
.db-feed,
.next,
.guar,
.cta-box {
  border-radius: var(--r);
  transition: border-color 0.25s var(--ease-smooth), box-shadow 0.25s var(--ease-smooth);
}

/* ==========================================================================
   MOBILE NAVIGATION & HEADER REFINEMENT
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 8, 32, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu a.active {
  color: var(--ink);
  position: relative;
}

.menu a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

/* Mobile Toggle Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--deep);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s var(--ease-smooth);
  color: var(--ink);
}

.nav-toggle:hover {
  border-color: var(--acc2);
  background: var(--card);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s var(--ease-smooth), opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer Menu */
.mobile-menu {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  background: rgba(11, 8, 32, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: max-height 0.35s var(--ease-smooth), opacity 0.25s ease;
}

.mobile-menu.open {
  max-height: 520px;
  opacity: 1;
}

.mobile-menu-inner {
  padding: 18px 20px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.mobile-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 700;
  font-size: 16px;
  transition: all 0.2s var(--ease-smooth);
}

.mobile-link i {
  width: 22px;
  color: var(--acc);
  text-align: center;
}

.mobile-link:hover,
.mobile-link.active {
  background: var(--card);
  color: var(--ink);
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

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

@media (max-width: 980px) {
  .menu {
    display: none !important;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 520px) {
  .nav-cta {
    display: none;
  }
}

/* ==========================================================================
   PAGE-SPECIFIC: CALENDAR & BOOKING INTERFACE
   ========================================================================== */
.page-hero {
  padding: 60px 0 36px;
  text-align: center;
  position: relative;
}

.page-hero .lead {
  margin: 0 auto;
}

.cal-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 90px;
}

@media (max-width: 980px) {
  .cal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.cal-host-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px;
  box-shadow: var(--sh-card);
  position: relative;
}

.cal-host-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.cal-avatar {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--soft);
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--acc);
  position: relative;
}

.cal-avatar .online-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ok);
  border: 2px solid var(--card);
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

.cal-host-info b {
  display: block;
  font-size: 19px;
  color: var(--ink);
}

.cal-host-info span {
  font-size: 14px;
  color: var(--muted);
}

.cal-benefits {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.cal-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
}

.cal-benefits li i {
  color: var(--ok);
  font-size: 16px;
  margin-top: 3px;
  flex: none;
}

.cal-trade-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.cal-trade-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--soft);
  color: var(--acc);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

/* Calendar Card & Booking Interface */
.cal-booking-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px;
  box-shadow: var(--sh-card);
}

.cal-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cal-nav-bar h3 {
  font-size: 22px;
  color: var(--ink);
  font-family: "Bricolage Grotesque", sans-serif;
}

.cal-nav-btns {
  display: flex;
  gap: 8px;
}

.cal-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cal-nav-btn:hover {
  background: var(--line);
  color: #fff;
  border-color: var(--acc2);
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 12px;
}

.cal-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}

.cal-day-cell {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
  position: relative;
}

.cal-day-cell:hover:not(.disabled):not(.empty) {
  background: var(--soft);
  border-color: var(--line);
  color: #fff;
  transform: translateY(-1px);
}

.cal-day-cell.selected {
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 4px 16px -2px rgba(194, 60, 245, 0.55);
  border-color: transparent;
}

.cal-day-cell.today::after {
  content: "";
  position: absolute;
  bottom: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acc2);
}

.cal-day-cell.disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

.cal-day-cell.empty {
  cursor: default;
}

/* Time Slot Selection */
.cal-section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cal-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}

.cal-slot-btn {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--deep);
  border: 1px solid var(--line);
  color: var(--ink);
  font: 700 14px "DM Sans", sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s var(--ease-smooth);
}

.cal-slot-btn:hover {
  border-color: var(--acc2);
  background: var(--soft);
  color: #fff;
  transform: translateY(-1px);
}

.cal-slot-btn.selected {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px -3px rgba(194, 60, 245, 0.5);
}

/* Form inputs */
.cal-form {
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--deep);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  font: 500 15px "DM Sans", sans-serif;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--p1);
  box-shadow: 0 0 0 3px rgba(194, 60, 245, 0.25);
}

.form-group select option {
  background: #140e2b;
  color: #fff;
}

/* ==========================================================================
   PAGE-SPECIFIC: THANK YOU PAGE
   ========================================================================== */
.thankyou-wrapper {
  max-width: 820px;
  margin: 40px auto 90px;
  text-align: center;
}

.thankyou-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-size: 40px;
  color: #fff;
  margin: 0 auto 28px;
  box-shadow: 0 0 0 12px rgba(194, 60, 245, 0.15), 0 10px 30px rgba(194, 60, 245, 0.4);
  animation: pulse-badge 2.4s infinite;
}

@keyframes pulse-badge {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.booking-summary-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px;
  margin: 36px 0;
  text-align: left;
  box-shadow: var(--sh-card);
}

.booking-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-item small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-item b {
  font-size: 17px;
  color: var(--ink);
}

.calendar-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.steps-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 40px 0;
  text-align: left;
}

@media (max-width: 768px) {
  .steps-timeline {
    grid-template-columns: 1fr;
  }
}

.timeline-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 24px;
}

.timeline-card .step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--acc);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 14px;
}

.timeline-card h4 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--ink);
}

.timeline-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}

/* ==========================================================================
   PAGE-SPECIFIC: 404 PAGE
   ========================================================================== */
.error-page-wrapper {
  max-width: 760px;
  margin: 50px auto 100px;
  text-align: center;
}

.error-badge-404 {
  font: 900 clamp(80px, 16vw, 150px)/1 "Bricolage Grotesque", sans-serif;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
  letter-spacing: -0.04em;
  text-shadow: 0 10px 40px rgba(194, 60, 245, 0.2);
}

.error-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 40px 0;
  text-align: left;
}

@media (max-width: 640px) {
  .error-shortcuts {
    grid-template-columns: 1fr;
  }
}

.shortcut-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  transition: all 0.25s var(--ease-smooth);
  text-decoration: none;
}

.shortcut-card:hover {
  background: var(--card);
  border-color: var(--acc2);
  transform: translateY(-2px);
  box-shadow: var(--sh-card-hover);
}

.shortcut-card i {
  font-size: 22px;
  color: var(--acc);
  flex: none;
}

.shortcut-card strong {
  display: block;
  font-size: 16px;
}

.shortcut-card span {
  font-size: 13.5px;
  color: var(--muted);
}


/* ==========================================================================
   UI / UX REFINEMENT: CRYSTAL SHARP, ZERO-BLUR & TOP-NOTCH MOBILE LAYOUT
   Fixes Image 1 (Hero Bot & Cards Blur) and Image 2 (Next Button Squish)
   ========================================================================== */

/* Universal Button Sharpness & Anti-Squish */
.btn,
button.btn,
a.btn {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* ==========================================================================
   HERO STAGE: ZERO 3D BLUR & CRISP NATIVE RESPONSIVE RENDERING
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .stage {
    perspective: none !important;
    transform: none !important;
    min-height: auto !important;
    margin: 20px 0 0 !important;
  }

  .stage-in {
    transform: none !important;
    transform-style: flat !important;
    width: 100% !important;
    max-width: 540px !important;
    height: auto !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 640px) {

  /* Complete removal of blurry scale() hacks */
  .stage {
    perspective: none !important;
    transform: none !important;
    min-height: auto !important;
    margin: 10px 0 0 !important;
  }

  .stage-in {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    transform: none !important;
    transform-style: flat !important;
  }

  .rig {
    position: relative !important;
    width: 100% !important;
    inset: auto !important;
    animation: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .arms {
    display: none !important;
  }

  .rig .halo {
    position: absolute !important;
    top: 55px !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 220px !important;
    height: 220px !important;
    pointer-events: none !important;
    opacity: 0.6 !important;
  }

  /* Crisp Native Sizing for Ailey Robot (No scale() blur) */
  .rig .bot {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    margin: 0 auto 22px !important;
    transform: none !important;
    animation: float 5s ease-in-out infinite !important;
    width: auto !important;
  }

  .rig .bot .glow {
    display: none !important;
  }

  .rig .bot .ant {
    width: 3.5px !important;
    height: 22px !important;
    background: #6d62a8 !important;
  }

  .rig .bot .ant::before {
    top: -10px !important;
    width: 14px !important;
    height: 14px !important;
    box-shadow: 0 0 14px var(--p1) !important;
  }

  .rig .bot .headbox {
    width: 150px !important;
    height: 124px !important;
    border-radius: 40px !important;
    box-shadow: inset 0 -6px 18px rgba(74, 63, 200, 0.2), 0 16px 36px -12px rgba(60, 30, 140, 0.6) !important;
  }

  .rig .bot .headbox::before,
  .rig .bot .headbox::after {
    top: 44px !important;
    width: 11px !important;
    height: 32px !important;
    border-radius: 6px !important;
  }

  .rig .bot .headbox::before {
    left: -7px !important;
  }

  .rig .bot .headbox::after {
    right: -7px !important;
  }

  .rig .bot .screen {
    width: 118px !important;
    height: 84px !important;
    border-radius: 28px !important;
    gap: 10px !important;
  }

  .rig .bot .eyes {
    display: flex !important;
    gap: 18px !important;
  }

  .rig .bot .eye {
    width: 11px !important;
    height: 15px !important;
    border-radius: 50% !important;
    background: #7ef0ff !important;
    box-shadow: 0 0 10px #7ef0ff !important;
  }

  .rig .bot .mouth {
    width: 30px !important;
    height: 6px !important;
    border-radius: 0 0 16px 16px !important;
  }

  .rig .bot .bodyb {
    width: 86px !important;
    height: 32px !important;
    border-radius: 10px !important;
    margin-top: -8px !important;
    box-shadow: 0 6px 18px -4px rgba(194, 60, 245, 0.6) !important;
  }

  .rig .bot .bodyb b {
    font-size: 11.5px !important;
    letter-spacing: 0.12em !important;
  }

  /* 6 Task Cards: Razor Sharp 2-Column Grid (Zero Blur, Crisp Text) */
  .tasks {
    position: relative !important;
    inset: auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .task {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 12px 10px !important;
    gap: 10px !important;
    background: rgba(22, 17, 48, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.6) !important;
    display: flex !important;
    align-items: center !important;
    transform: none !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: optimizeLegibility !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
  }

  .task.on,
  .task.work {
    border-color: rgba(194, 60, 245, 0.85) !important;
    box-shadow: 0 0 0 2px rgba(194, 60, 245, 0.3), 0 8px 24px -6px rgba(194, 60, 245, 0.5) !important;
  }

  .mini-ag {
    width: 36px !important;
    height: 36px !important;
    flex: none !important;
  }

  .mf {
    border-radius: 11px !important;
    box-shadow: inset 0 0 0 3px #1a1338 !important;
  }

  .mf::before {
    inset: 3px !important;
    border-radius: 8px !important;
  }

  .mf i {
    width: 6px !important;
    height: 8px !important;
  }

  .mb {
    width: 17px !important;
    height: 17px !important;
    font-size: 8.5px !important;
    border-radius: 6px !important;
    right: -3px !important;
    bottom: -3px !important;
  }

  .tx {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    min-width: 0 !important;
  }

  .tx small {
    font-size: 10.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
    color: var(--acc) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
  }

  .tx b {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1.25 !important;
    margin: 1px 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
  }

  .st {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #86efac !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
  }

  .st i {
    font-size: 10px !important;
    flex: none !important;
  }

  .st em {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-style: normal !important;
  }

  .rig-note {
    margin-top: 14px !important;
    text-align: center !important;
    font-size: 13.5px !important;
    color: var(--muted) !important;
  }
}

@media (max-width: 380px) {
  .tasks {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   NEXT-STEP CTA STRIPS (Fix for Image 2 Squished Button)
   ========================================================================== */
@media (max-width: 860px) {
  .next {
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: left !important;
    gap: 18px !important;
    padding: 22px 20px !important;
  }

  .next p {
    width: 100% !important;
    font-size: 18px !important;
  }

  .next .acts {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
  }

  .next .acts .btn {
    white-space: nowrap !important;
    padding: 13px 22px !important;
    font-size: 15px !important;
    flex: none !important;
  }
}

@media (max-width: 520px) {
  .next .acts {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .next .acts .btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 15px 20px !important;
    font-size: 16px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
  }

  .next .acts .go {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 8px !important;
  }
}

/* ==========================================================================
   DETAILED SECTION-BY-SECTION RESPONSIVE POLISH
   ========================================================================== */

/* Hero Action Buttons on Mobile */
@media (max-width: 520px) {
  .hero .ctas {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .hero .ctas .btn {
    width: 100% !important;
    justify-content: center !important;
    white-space: nowrap !important;
    padding: 15px 20px !important;
  }

  .hero h1 {
    font-size: clamp(34px, 8vw, 44px) !important;
  }

  .hero .sub {
    font-size: 17px !important;
    line-height: 1.5 !important;
  }
}

/* Review Section on Mobile */
@media (max-width: 980px) {
  .rv-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .rv-demo {
    max-width: 100% !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 520px) {
  .rv-cta {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .rv-cta .btn {
    width: 100% !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }
}

/* Final CTA Box on Mobile */
@media (max-width: 640px) {
  .cta-box {
    padding: 48px 20px !important;
    border-radius: 24px !important;
  }

  .cta-box h2 {
    font-size: clamp(28px, 7vw, 42px) !important;
  }

  .cta-box .acts {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .cta-box .acts .btn {
    width: 100% !important;
    justify-content: center !important;
    white-space: nowrap !important;
    padding: 16px 20px !important;
    font-size: 16px !important;
  }
}

/* Talk to Ailey FAB vs Mobile Bar conflict fix */
@media (max-width: 640px) {
  .talk-fab {
    display: none !important;
  }

  .mbar {
    display: flex !important;
  }
}

@media (min-width: 641px) {
  .mbar {
    display: none !important;
  }
}


/* ==========================================================================
   CALENDAR PAGE: MOBILE OVERLAPPING & STICKY FIX
   ========================================================================== */

/* Hide mobile bottom bar on calendar & thank you pages to prevent obstruction */
body.page-calendar .mbar,
body.page-thankyou .mbar {
  display: none !important;
}

@media (max-width: 980px) {
  .cal-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin-bottom: 60px !important;
  }

  /* CRITICAL: Disables sticky on mobile so it never scrolls over/under the calendar */
  .cal-host-card {
    position: static !important;
    top: auto !important;
    margin-bottom: 0 !important;
    padding: 24px 20px !important;
    box-shadow: var(--sh) !important;
  }

  .cal-booking-card {
    position: relative !important;
    z-index: 1 !important;
    padding: 24px 20px !important;
  }

  .cal-days-grid {
    gap: 6px !important;
    margin-bottom: 22px !important;
  }

  .cal-day-cell {
    font-size: 14px !important;
    border-radius: 10px !important;
  }

  .cal-slots-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    margin-bottom: 22px !important;
  }

  .cal-slot-btn {
    padding: 11px 8px !important;
    font-size: 13.5px !important;
    border-radius: 10px !important;
  }

  .form-row {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

@media (max-width: 520px) {
  .page-hero {
    padding: 36px 0 24px !important;
  }

  .page-hero h2 {
    font-size: clamp(26px, 7vw, 36px) !important;
  }

  .page-hero .lead {
    font-size: 15.5px !important;
  }

  .cal-host-card {
    padding: 20px 16px !important;
  }

  .cal-booking-card {
    padding: 20px 14px !important;
  }

  .cal-nav-bar {
    margin-bottom: 16px !important;
  }

  .cal-nav-bar h3 {
    font-size: 18px !important;
  }

  .cal-days-grid {
    gap: 4px !important;
    margin-bottom: 20px !important;
  }

  .cal-day-cell {
    font-size: 13.5px !important;
    border-radius: 8px !important;
  }

  .cal-weekdays span {
    font-size: 11.5px !important;
  }

  .cal-slots-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .cal-slot-btn {
    padding: 10px 6px !important;
    font-size: 13px !important;
  }

  .cal-form {
    gap: 14px !important;
    padding-top: 18px !important;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 11px 14px !important;
    font-size: 14.5px !important;
  }

  .cal-form button[type="submit"] {
    width: 100% !important;
    padding: 15px 18px !important;
    font-size: 15.5px !important;
    white-space: normal !important;
    line-height: 1.3 !important;
    text-align: center !important;
    justify-content: center !important;
    border-radius: 14px !important;
  }
}


/* ==========================================================================
   FINAL DEFINITIVE FIXES: .next ACTION STRIPS & CALENDAR MOBILE OVERLAPPING
   ========================================================================== */

/* Universal button rule: Never allow multi-line text wrapping or horizontal crushing */
.btn,
button.btn,
a.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  flex-shrink: 0 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* ==========================================================================
   NEXT-STEP CTA ACTION STRIP (.next) — LUXURY POLISH & ANTI-SQUISH
   ========================================================================== */
.next {
  margin-top: 50px !important;
  background: linear-gradient(135deg, rgba(26, 20, 56, 0.95), rgba(18, 14, 42, 0.95)) !important;
  border: 1px solid rgba(194, 60, 245, 0.25) !important;
  border-radius: 20px !important;
  padding: 24px 30px !important;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  position: relative !important;
}

.next p {
  font-weight: 700 !important;
  font-size: 19px !important;
  color: #ffffff !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  flex: 1 1 auto !important;
}

.next p small,
.next small {
  display: block !important;
  font-weight: 400 !important;
  font-size: 14.5px !important;
  color: #aaa4cc !important;
  margin-top: 4px !important;
  line-height: 1.4 !important;
}

.next .acts {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex-shrink: 0 !important;
}

/* The "Talk to Ailey" & primary buttons inside .next */
.next .acts .btn {
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  padding: 0 26px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  flex: none !important;
  flex-shrink: 0 !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #c23cf5 0%, #8a3ff0 55%, #4a3fc8 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 8px 24px -4px rgba(138, 63, 240, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.next .acts .btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px -4px rgba(138, 63, 240, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
}

.next .acts .btn i {
  font-size: 15px !important;
  color: #ffffff !important;
}

/* Secondary outline button (e.g. "See the plans", "Ask Ailey") */
.next .acts .btn.btn-g {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.next .acts .btn.btn-g:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

/* The arrow jump link */
.next .go {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 700 !important;
  font-size: 14.5px !important;
  color: #d9a6ff !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  padding: 8px 6px !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

.next .go:hover {
  color: #ffffff !important;
  transform: translateY(2px) !important;
}

/* Tablet & Moderate Screens (<= 920px) */
@media (max-width: 920px) {
  .next {
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: left !important;
    gap: 18px !important;
    padding: 22px 22px !important;
  }

  .next p {
    width: 100% !important;
    font-size: 18px !important;
  }

  .next .acts {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
  }

  .next .acts .btn {
    white-space: nowrap !important;
    padding: 0 24px !important;
    flex: none !important;
  }
}

/* Mobile Screens (<= 600px, e.g. Samsung Galaxy A55, iPhone 360-430px) */
@media (max-width: 600px) {
  .next {
    padding: 20px 18px !important;
    gap: 16px !important;
    border-radius: 18px !important;
    margin-top: 36px !important;
  }

  .next p {
    font-size: 16.5px !important;
    line-height: 1.35 !important;
  }

  .next p small,
  .next small {
    font-size: 13.5px !important;
  }

  .next .acts {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .next .acts .btn {
    width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    padding: 0 20px !important;
    font-size: 15.5px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
    justify-content: center !important;
    text-align: center !important;
    box-shadow: 0 8px 24px -4px rgba(138, 63, 240, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  }

  .next .acts .go {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 6px 0 !important;
    font-size: 14px !important;
  }
}

/* ==========================================================================
   CALENDAR & BOOKING PAGE: 100% OVERLAP-FREE ARCHITECTURE
   ========================================================================== */

/* 1. Desktop Layout (Screens > 980px): Side-by-Side with Sticky Host Card */
@media (min-width: 981px) {
  .cal-layout {
    display: grid !important;
    grid-template-columns: 1fr 1.35fr !important;
    gap: 36px !important;
    align-items: start !important;
    margin-bottom: 80px !important;
  }

  .cal-host-card {
    position: sticky !important;
    top: 96px !important;
    background: #161130 !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--r) !important;
    padding: 32px !important;
    box-shadow: var(--sh) !important;
  }

  .cal-booking-card {
    background: #161130 !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--r) !important;
    padding: 32px !important;
    box-shadow: var(--sh) !important;
  }
}

/* 2. Mobile & Tablet Layout (Screens <= 980px): STRICT NORMAL DOCUMENT FLOW (NO STICKY) */
@media (max-width: 980px) {
  .cal-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    margin-bottom: 40px !important;
    width: 100% !important;
  }

  /* Host card stays strictly in normal flow - never sticks, never floats */
  .cal-host-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 24px 20px !important;
    background: #161130 !important;
    border: 1px solid var(--line) !important;
    border-radius: 20px !important;
    box-shadow: var(--sh) !important;
  }

  /* Booking card sits cleanly underneath in normal flow */
  .cal-booking-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    z-index: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 24px 18px !important;
    background: #161130 !important;
    border: 1px solid var(--line) !important;
    border-radius: 20px !important;
    box-shadow: var(--sh) !important;
  }

  .cal-days-grid {
    gap: 6px !important;
    margin-bottom: 22px !important;
  }

  .cal-day-cell {
    font-size: 14px !important;
    border-radius: 10px !important;
  }

  .cal-slots-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    margin-bottom: 22px !important;
  }

  .cal-slot-btn {
    padding: 11px 8px !important;
    font-size: 13.5px !important;
    border-radius: 10px !important;
  }

  .form-row {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

/* 3. Phone Specific Optimizations (Screens <= 520px, e.g. Samsung Galaxy A55 360x800) */
@media (max-width: 520px) {
  .page-hero {
    padding: 24px 0 16px !important;
  }

  .page-hero h2 {
    font-size: clamp(23px, 6.5vw, 30px) !important;
    margin-bottom: 10px !important;
    line-height: 1.25 !important;
  }

  .page-hero .lead {
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  .cal-host-card {
    padding: 18px 16px !important;
    border-radius: 16px !important;
  }

  .cal-host-header {
    margin-bottom: 16px !important;
    padding-bottom: 14px !important;
    gap: 12px !important;
  }

  .cal-avatar {
    width: 46px !important;
    height: 46px !important;
    border-radius: 14px !important;
    font-size: 20px !important;
  }

  .cal-host-info b {
    font-size: 16.5px !important;
  }

  .cal-host-info span {
    font-size: 13px !important;
  }

  .cal-benefits {
    gap: 11px !important;
    margin: 16px 0 !important;
  }

  .cal-benefits li {
    font-size: 13.5px !important;
    gap: 10px !important;
    line-height: 1.4 !important;
  }

  .cal-trade-tags {
    margin-top: 16px !important;
    padding-top: 14px !important;
    gap: 6px !important;
  }

  .cal-trade-tags span {
    padding: 4px 10px !important;
    font-size: 12px !important;
  }

  .cal-booking-card {
    padding: 18px 14px !important;
    border-radius: 16px !important;
  }

  .cal-nav-bar {
    margin-bottom: 14px !important;
  }

  .cal-nav-bar h3 {
    font-size: 18px !important;
  }

  .cal-nav-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
  }

  .cal-weekdays {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    text-align: center !important;
    gap: 4px !important;
    margin-bottom: 8px !important;
  }

  .cal-weekdays span {
    font-size: 11.5px !important;
  }

  .cal-days-grid {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 4px !important;
    margin-bottom: 18px !important;
  }

  .cal-day-cell {
    aspect-ratio: 1 !important;
    min-height: 38px !important;
    max-width: 44px !important;
    margin: 0 auto !important;
    width: 100% !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
  }

  .cal-section-title {
    font-size: 15px !important;
    margin-bottom: 12px !important;
  }

  .cal-slots-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin-bottom: 18px !important;
  }

  .cal-slot-btn {
    padding: 11px 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
  }

  .cal-form {
    gap: 12px !important;
    padding-top: 14px !important;
  }

  .form-group label {
    font-size: 13.5px !important;
    margin-bottom: 6px !important;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    height: 48px !important;
    padding: 0 12px !important;
    font-size: 14.5px !important;
    border-radius: 10px !important;
  }

  .cal-form button[type="submit"] {
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 8px !important;
    box-shadow: 0 8px 24px -4px rgba(138, 63, 240, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  }
}

/* ==========================================================================
   BOTTOM BAR & FOOTER OVERLAP PREVENTION (Addressing Image 3 & Image 5)
   ========================================================================== */

/* 1. Never show mobile floating bottom bar (.mbar) or floating FAB on booking & thank you pages */
body.page-calendar .mbar,
body.page-calendar .talk-fab,
body.page-thankyou .mbar,
body.page-thankyou .talk-fab {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}

/* 2. On other pages where .mbar is visible, add bottom clearance so it never covers the footer */
@media (max-width: 640px) {
  body:not(.page-calendar):not(.page-thankyou) {
    padding-bottom: 100px !important;
  }

  footer {
    padding-bottom: 30px !important;
    margin-bottom: 0 !important;
  }
}

/* ==========================================================================
   GHL CALENDAR EMBED & SHIMMER SKELETON LOADER
   ========================================================================== */
.ghl-booking-card {
  padding: 20px;
}

.ghl-embed-wrap {
  position: relative;
  width: 100%;
  min-height: 600px;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
}

.ghl-embed-wrap iframe {
  display: block;
  width: 100%;
  min-height: 600px;
  border: none;
  border-radius: 14px;
  background: transparent;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.ghl-embed-wrap.is-loaded iframe {
  opacity: 1;
}

/* Website-Themed Dark Purple Shimmer Overlay */
.ghl-shimmer {
  position: absolute;
  inset: 0;
  z-index: 5;
  padding: 24px;
  display: flex;
  flex-direction: column;
  background: var(--card, #140a28);
  border-radius: 14px;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.ghl-embed-wrap.is-loaded .ghl-shimmer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Base Shimmer Sweep Animation (Website Dark Purple Theme) */
.sh-block {
  position: relative;
  overflow: hidden;
  background: rgba(138, 63, 240, 0.1);
  border: 1px solid rgba(138, 63, 240, 0.16);
  border-radius: 10px;
}

.sh-block::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(167, 139, 250, 0.18) 45%,
      rgba(232, 121, 249, 0.24) 55%,
      transparent 100%);
  animation: ghlShimmerSweep 1.5s infinite ease-in-out;
}

@keyframes ghlShimmerSweep {
  100% {
    transform: translateX(100%);
  }
}

.sh-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.sh-title {
  width: 170px;
  height: 28px;
  border-radius: 8px;
}

.sh-nav {
  display: flex;
  gap: 10px;
}

.sh-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.sh-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.sh-wday {
  height: 16px;
  border-radius: 6px;
}

.sh-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.sh-day {
  height: 44px;
  border-radius: 10px;
}

.sh-divider {
  height: 1px;
  background: var(--line, rgba(255, 255, 255, 0.08));
  margin: 4px 0 22px;
}

.sh-subtitle {
  width: 210px;
  height: 20px;
  margin-bottom: 16px;
  border-radius: 6px;
}

.sh-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sh-slot {
  height: 44px;
  border-radius: 10px;
}

.ghl-loading-pill {
  margin: auto auto 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(138, 63, 240, 0.14);
  border: 1px solid rgba(167, 139, 250, 0.25);
  color: var(--ink, #ffffff);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.ghl-spinner {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(167, 139, 250, 0.28);
  border-top-color: #e879f9;
  animation: ghlSpin 0.8s linear infinite;
}

@keyframes ghlSpin {
  to {
    transform: rotate(360deg);
  }
}

.ghl-secure-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 14px 0 4px;
}

@media (max-width: 640px) {
  .ghl-booking-card {
    padding: 12px !important;
  }

  .ghl-embed-wrap,
  .ghl-embed-wrap iframe {
    min-height: 540px;
  }

  .ghl-shimmer {
    padding: 16px 12px;
  }

  .sh-day {
    height: 36px;
    border-radius: 8px;
  }

  .sh-slots {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}