/* ==========================================================================
   Landing — MOVA Solutions, Travel CRM Solutions.
   Premium orange + black. This page belongs to MOVA Solutions alone: it sells
   custom travel CRM systems and routes two audiences — clients with
   credentials to LOGIN TO YOUR CRM (the single most prominent element), and
   prospects to Request CRM Demo. No client company is named here.
   ========================================================================== */

.landing { background: var(--green-950); }

/* Anchor navigation (nav links + the hero "Explore the platform" cue): offset
   every jump for the 68px sticky nav so section headings clear it, with smooth
   scrolling that steps aside for reduced-motion users. */
html { scroll-padding-top: 88px; }
#services, #inside, #apps, #how, #confirmation { scroll-margin-top: 88px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.shell {
  width: min(100% - 2.5rem, 1180px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: var(--s4);
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: #fff;
  color: var(--green-950);
  border-radius: var(--r-md);
  font-weight: 650;
  transition: top .2s var(--ease);
}
.skip:focus { top: var(--s4); }

.btn--lg {
  min-height: 52px;
  padding: 14px 24px;
  font-size: .875rem;
  letter-spacing: .03em;
}

/* The dominant action on this page. Bigger than everything else, carries a
   soft orange glow so the eye lands on it first. */
.btn--hero {
  position: relative;
  overflow: hidden;
  min-height: 58px;
  padding: 16px 28px;
  font-size: .9375rem;
  letter-spacing: .03em;
  box-shadow: 0 10px 32px rgba(242, 107, 29, .35);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.btn--hero:hover {
  box-shadow: 0 16px 44px rgba(242, 107, 29, .5);
  transform: translateY(-1px);
}
/* A light sweep across the button on hover. */
.btn--hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .28) 50%, transparent 62%);
  transform: translateX(-120%);
  pointer-events: none;
}
.btn--hero:hover::before { transition: transform .7s var(--ease); transform: translateX(120%); }

/* --- Mark ---------------------------------------------------------------- */
.mark { display: inline-flex; align-items: center; gap: 11px; }
.mark__glyph {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--amber-500);
  color: #fff;
  border-radius: var(--r-md);
}
.mark__stack { display: grid; line-height: 1.2; }
.mark__word { font-size: .9375rem; letter-spacing: .01em; color: #fff; }
.mark__tag {
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--amber-500);
}

/* --- Nav ----------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--green-950) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--s6);
  min-height: 68px;
}
.nav__links {
  display: flex;
  gap: var(--s6);
  margin-left: auto;
  font-size: .8125rem;
  font-weight: 550;
}
.nav__links a {
  position: relative;
  color: rgba(255, 255, 255, .72);
  padding: 4px 0;
  transition: color .18s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--amber-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s var(--ease);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { transform: scaleX(1); }

/* Primary action carries the brand orange on this surface. */
.landing .btn--primary {
  --btn-bg: var(--amber-500);
  --btn-fg: #fff;
  --btn-line: var(--amber-500);
}
.landing .btn--primary:hover { --btn-bg: var(--amber-600); border-color: var(--amber-600); }

/* --- Hero ---------------------------------------------------------------- */
.gate {
  position: relative;
  background:
    radial-gradient(120% 90% at 88% 4%, rgba(242, 107, 29, .2), transparent 56%),
    radial-gradient(70% 60% at 8% 96%, rgba(242, 107, 29, .07), transparent 60%),
    linear-gradient(178deg, #131519, var(--green-950));
  color: #fff;
  overflow: hidden;
}
.gate::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(90% 70% at 30% 20%, #000 20%, transparent 78%);
  pointer-events: none;
}
.gate__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .75fr);
  gap: var(--s11);
  align-items: center;
  padding-block: clamp(var(--s10), 8.5vw, 124px) clamp(var(--s9), 7vw, 100px);
}
.gate__tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: var(--s6);
  padding: 7px 14px 7px 11px;
  background: rgba(242, 107, 29, .12);
  border: 1px solid rgba(242, 107, 29, .4);
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  color: #FBD3B4;
}
.gate__tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber-500);
  flex: none;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 107, 29, .5); }
  55% { box-shadow: 0 0 0 6px rgba(242, 107, 29, 0); }
}
/* Slow-drifting light orbs behind the hero. */
.gate__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.gate__orb--a {
  width: 480px;
  height: 480px;
  right: -120px;
  top: -140px;
  background: radial-gradient(circle, rgba(242, 107, 29, .22), transparent 68%);
  animation: drift-a 16s ease-in-out infinite alternate;
}
.gate__orb--b {
  width: 380px;
  height: 380px;
  left: -140px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(242, 107, 29, .12), transparent 66%);
  animation: drift-b 21s ease-in-out infinite alternate;
}
@keyframes drift-a {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-70px, 50px) scale(1.12); }
}
@keyframes drift-b {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(60px, -45px) scale(1.08); }
}

.gate__say h1 {
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  font-stretch: 112%;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 16ch;
}
.gate__by {
  display: block;
  background: linear-gradient(92deg, var(--amber-500), #FFA764);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gate__lede {
  margin-top: var(--s6);
  max-width: 56ch;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.65;
  color: rgba(240, 242, 245, .8);
}
.gate__acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3);
  margin-top: var(--s8);
}
.gate__note {
  margin-top: var(--s5);
  font-size: .8125rem;
  color: rgba(240, 242, 245, .55);
  max-width: 52ch;
}

/* Hero entrance: a quiet fade-up, staggered. */
.gate__say > * { animation: rise .7s var(--ease) both; }
.gate__say > :nth-child(2) { animation-delay: .08s; }
.gate__say > :nth-child(3) { animation-delay: .16s; }
.gate__say > :nth-child(4) { animation-delay: .24s; }
.gate__say > :nth-child(5) { animation-delay: .32s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
/* Opacity-only entrance so `transform` stays free for the 3D pointer tilt. */
.gatecard { animation: card-in .7s var(--ease) .3s both; }
@keyframes card-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* The client-access panel: the login door, framed. */
.gatecard {
  --plate: #16181D;
  --keyline: rgba(255, 255, 255, .16);
  display: grid;
  justify-items: start;
  gap: var(--s4);
  margin: 0;
  padding: var(--s7) var(--s6);
  color: #fff;
  box-shadow: var(--lift-3);
}
.gatecard::after { inset: 7px; }
.gatecard__glyph {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: rgba(242, 107, 29, .14);
  border: 1px solid rgba(242, 107, 29, .45);
  border-radius: var(--r-md);
  color: var(--amber-500);
}
.gatecard__title { font-size: 1.375rem; letter-spacing: -0.01em; }
.gatecard__copy {
  font-size: .9375rem;
  line-height: 1.62;
  color: rgba(240, 242, 245, .78);
}
.gatecard__btn { width: 100%; justify-content: center; }
.gatecard__alt {
  font-size: .8125rem;
  color: rgba(240, 242, 245, .55);
}
.gatecard__link {
  padding: 0;
  background: none;
  border: none;
  color: var(--amber-500);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gatecard__link:hover { color: #FFA764; }

/* --- Ticker -------------------------------------------------------------- */
/* A slow conveyor of travel-operations vocabulary between the hero and the
   first band. Duplicated content + translateX(-50%) makes the loop seamless. */
.ticker {
  overflow: hidden;
  padding-block: 18px;
  background: #0A0C0F;
  border-top: 1px solid rgba(255, 255, 255, .07);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: ticker 42s linear infinite;
}
.ticker span {
  display: flex;
  align-items: center;
  gap: 44px;
  font-size: .8125rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(240, 242, 245, .45);
  white-space: nowrap;
}
.ticker span::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber-500);
  opacity: .7;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Bands --------------------------------------------------------------- */
/* Formerly flat-white sections. They are now a deep, dimensional canvas so the
   whole page reads as one premium surface: a graphite base, a warm amber glow
   whose position differs per section, and a faint architectural grid. The cards
   float on it as glass. */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(var(--s10), 8vw, 112px);
  background: #0E1116;
  color: #EAECEF;
}
.band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(85% 60% at 50% 0%, #000 18%, transparent 82%);
  pointer-events: none;
}
/* Each band carries its glow from a different corner so scrolling feels like
   moving through one lit space rather than past repeated panels. */
#services { background: radial-gradient(92% 78% at 86% -12%, rgba(242, 107, 29, .16), transparent 56%), #0E1116; }
.band--tint { background: radial-gradient(85% 80% at 6% -12%, rgba(242, 107, 29, .14), transparent 56%), #0B0D10; }
#how { background: radial-gradient(78% 92% at 50% -18%, rgba(242, 107, 29, .15), transparent 58%), #101216; }
.band--dark {
  background:
    radial-gradient(80% 90% at 85% 0%, rgba(242, 107, 29, .12), transparent 55%),
    #101216;
  color: #fff;
}
.band__head { max-width: 62ch; margin-bottom: var(--s8); }
.band__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--s4);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber-300);
}
.band__kicker::before {
  content: '';
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--amber-500);
}
.band__head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-stretch: 108%;
  letter-spacing: -0.035em;
  color: #fff;
}
.band__head p {
  margin-top: var(--s4);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: rgba(240, 242, 245, .72);
}

/* --- Services ------------------------------------------------------------ */
.svc {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.svc li {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: var(--s6) var(--s5);
  background: linear-gradient(158deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .018));
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--r-plate);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
/* Cursor spotlight — landing.js sets --mx / --my through the CSSOM. */
.svc li::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(242, 107, 29, .18), transparent 62%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.svc li:hover {
  box-shadow: 0 22px 48px -22px rgba(0, 0, 0, .8);
  border-color: rgba(242, 107, 29, .5);
}
.svc li:hover::after { opacity: 1; }
.svc li::before {
  content: '';
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, var(--amber-500), var(--amber-300));
  border-radius: 2px;
}
.svc strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-stretch: 108%;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: #fff;
}
.svc span { font-size: .875rem; line-height: 1.6; color: rgba(233, 236, 240, .62); }

/* --- Inside the CRM: travel capabilities ---------------------------------- */
.feat {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.feat li {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 6px;
  align-items: center;
  padding: var(--s5) var(--s4);
  background: linear-gradient(158deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-plate);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.feat li::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%), rgba(242, 107, 29, .16), transparent 62%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.feat li:hover {
  box-shadow: 0 20px 44px -22px rgba(0, 0, 0, .8);
  border-color: rgba(242, 107, 29, .5);
}
.feat li:hover::after { opacity: 1; }
.feat__ico {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  grid-row: 1;
  width: 40px;
  height: 40px;
  background: rgba(242, 107, 29, .16);
  border: 1px solid rgba(242, 107, 29, .42);
  border-radius: var(--r-md);
  color: var(--amber-300);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.feat li:hover .feat__ico { background: var(--amber-500); color: #fff; }
.feat strong {
  grid-row: 1;
  font-stretch: 106%;
  font-size: .9375rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #fff;
}
.feat span:not(.feat__ico) {
  grid-column: 1 / -1;
  position: relative;
  z-index: 1;
  font-size: .8125rem;
  line-height: 1.55;
  color: rgba(233, 236, 240, .6);
}

/* --- Stats ---------------------------------------------------------------- */
.stats {
  padding-block: clamp(var(--s8), 6vw, 84px);
  background:
    radial-gradient(70% 130% at 50% -20%, rgba(242, 107, 29, .14), transparent 62%),
    #0D0F13;
  border-block: 1px solid rgba(255, 255, 255, .07);
  color: #fff;
}
.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s6);
}
.stats__item {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  padding-inline: var(--s3);
}
.stats__item + .stats__item { border-left: 1px solid rgba(255, 255, 255, .1); }
.stats__no {
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  line-height: 1;
  color: var(--amber-500);
}
.stats__label {
  max-width: 24ch;
  font-size: .8125rem;
  line-height: 1.5;
  color: rgba(240, 242, 245, .62);
}

/* --- Journey ------------------------------------------------------------- */
.journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s4);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: journey;
}
.journey__stop {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  padding: var(--s6) var(--s5) var(--s5);
  background: linear-gradient(158deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .018));
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--r-plate);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.journey__stop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(242, 107, 29, .16), transparent 62%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.journey__stop:hover {
  box-shadow: 0 22px 48px -22px rgba(0, 0, 0, .8);
  border-color: rgba(242, 107, 29, .5);
}
.journey__stop:hover::after { opacity: 1; }
.journey__stop > * { position: relative; z-index: 1; }
.journey__no {
  font-size: 2.75rem;
  background: linear-gradient(160deg, var(--amber-300), var(--amber-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: .8;
}
.journey__stop h3 { font-size: 1.0625rem; color: #fff; }
.journey__stop p { font-size: .875rem; line-height: 1.58; color: rgba(233, 236, 240, .62); }

/* --- After client confirmation ------------------------------------------- */
.grant {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s3) var(--s6);
  margin: 0;
  padding: 0;
  list-style: none;
}
.grant li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: var(--s4) var(--s4);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-md);
  font-size: .9375rem;
  line-height: 1.55;
  color: rgba(240, 242, 245, .78);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.grant li:hover {
  border-color: rgba(242, 107, 29, .5);
  background: rgba(242, 107, 29, .07);
}
.grant li .ico {
  flex: none;
  margin-top: 2px;
  color: var(--amber-500);
}
.grant strong { color: #fff; font-weight: 650; }
.grant__note {
  margin-top: var(--s6);
  padding-left: var(--s4);
  border-left: 3px solid var(--amber-500);
  font-size: 1rem;
  font-weight: 600;
  color: var(--amber-300);
  max-width: 60ch;
}

/* --- Close --------------------------------------------------------------- */
.close {
  padding-block: clamp(var(--s10), 8vw, 112px);
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(242, 107, 29, .16), transparent 60%),
    var(--green-950);
  color: #fff;
  text-align: center;
}
.close__inner { display: grid; justify-items: center; }
.close h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-stretch: 108%;
  letter-spacing: -0.038em;
}
.close__lede {
  margin-top: var(--s4);
  max-width: 54ch;
  font-size: 1.0625rem;
  line-height: 1.62;
  color: rgba(240, 242, 245, .72);
}
.close__acts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s3);
  margin-top: var(--s8);
}

/* --- Foot ---------------------------------------------------------------- */
.foot {
  padding-block: var(--s8);
  background: #0A0C0F;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.foot__inner {
  display: flex;
  align-items: center;
  gap: var(--s7);
  flex-wrap: wrap;
}
.foot__note {
  flex: 1;
  min-width: 260px;
  max-width: 64ch;
  font-size: .8125rem;
  line-height: 1.6;
  color: rgba(240, 242, 245, .5);
}
.foot__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber-500);
  font-weight: 650;
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.foot__link:hover { color: #fff; }

/* --- Reveal on scroll ----------------------------------------------------- */
/* landing.js adds .reveal to band content and .is-in when it enters the
   viewport. Without JS (or with reduced motion) everything stays visible. */
.reveal {
  opacity: 0;
  transform: perspective(1300px) translateY(34px) rotateX(9deg);
  transform-origin: 50% 100%;
  transition: opacity .7s var(--ease), transform .8s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .gate__say > *, .gatecard { animation: none; }
  .gate__tag-dot, .gate__orb, .ticker__track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .svc li, .svc li:hover, .feat li, .feat li:hover, .journey__stop { transform: none; }
  .btn--hero, .btn--hero:hover { transform: none; }
  .btn--hero::before { content: none; }
}

/* --- Request CRM Demo dialog ---------------------------------------------- */
.reqmodal {
  width: min(100% - 2rem, 680px);
  max-height: min(90vh, 820px);
  padding: 0;
  border: 1px solid var(--keyline);
  border-radius: var(--r-plate);
  background: var(--stone-000);
  color: var(--ink);
  box-shadow: var(--lift-3);
}
.reqmodal::backdrop {
  background: rgba(6, 7, 9, .66);
  backdrop-filter: blur(3px);
}
.reqmodal__form { display: flex; flex-direction: column; max-height: inherit; }
.reqmodal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s5) var(--s6);
  border-bottom: 1px solid var(--keyline);
}
.reqmodal__head h2 { font-size: 1.125rem; }
.reqmodal__close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: none;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  color: var(--text-muted);
  cursor: pointer;
}
.reqmodal__close:hover { border-color: var(--keyline-strong); color: var(--text); }
.reqmodal__body { padding: var(--s5) var(--s6); overflow-y: auto; }
/* The workspace stylesheet is not loaded here, so the modal's field grid is
   defined locally. */
.reqmodal .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s4);
}
.reqmodal__intro {
  margin-bottom: var(--s5);
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.reqmodal__error {
  margin-top: var(--s4);
  padding: 11px 13px;
  background: var(--signal-red-100);
  color: var(--signal-red);
  border-radius: var(--r-md);
  font-size: .875rem;
  font-weight: 600;
}
.reqmodal__done {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--s4);
  padding: 13px 15px;
  background: var(--signal-green-100);
  color: var(--signal-green-600);
  border-radius: var(--r-md);
  font-size: .9375rem;
  font-weight: 600;
}
.reqmodal__done .ico { flex: none; }

/* Reference-file picker: a quiet dropzone that warms up on hover. */
.reqfiles { display: grid; gap: 8px; }
.reqfiles > span {
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.reqfiles__drop {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1.5px dashed var(--keyline-strong);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.reqfiles__drop:hover {
  border-color: var(--amber-500);
  background: rgba(242, 107, 29, .05);
}
.reqfiles__drop .ico { flex: none; color: var(--amber-600); }
.reqfiles__drop input[type=file] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.reqfiles__say { display: grid; gap: 2px; }
.reqfiles__say strong { font-size: .875rem; }
.reqfiles__say span { font-size: .75rem; color: var(--text-muted); }
.reqfiles__list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.reqfiles__list[hidden] { display: none; }
.reqfiles__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 13px;
  background: var(--stone-050);
  border: 1px solid var(--keyline);
  border-radius: var(--r-md);
  font-size: .8125rem;
}
.reqfiles__item strong {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}
.reqfiles__item .data { flex: none; color: var(--text-muted); font-size: .75rem; }
.reqfiles__remove {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  background: none;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  color: var(--text-muted);
  cursor: pointer;
}
.reqfiles__remove:hover { border-color: var(--keyline-strong); color: var(--signal-red); }
.reqfiles__remove .ico { width: 14px; height: 14px; }
/* The authored display values would otherwise defeat the hidden attribute. */
.reqmodal__done[hidden], .reqmodal__error[hidden] { display: none; }
.reqmodal__foot {
  display: flex;
  justify-content: flex-end;
  gap: var(--s2);
  padding: var(--s4) var(--s6);
  border-top: 1px solid var(--keyline);
  background: var(--stone-050);
}

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1080px) {
  .gate__inner { gap: var(--s8); }
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) 0; }
  .stats__item:nth-child(3) { border-left: none; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .gate__inner { grid-template-columns: minmax(0, 1fr); }
  .gatecard { max-width: 460px; }
  .grant { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 1.75rem, 1180px); }
  .nav .mark__tag { display: none; }
  .nav .btn { padding-inline: 14px; font-size: .75rem; }
  .gate__inner { padding-block: var(--s9) var(--s8); }
  .gate__say h1 { font-size: clamp(2rem, 8.2vw, 2.8rem); max-width: none; }
  .gate__acts .btn, .close__acts .btn { width: 100%; justify-content: center; }
  .band { padding-block: var(--s9); }
  .band__head { margin-bottom: var(--s7); }
  .svc, .feat, .journey { grid-template-columns: minmax(0, 1fr); }
  .stats__inner { grid-template-columns: minmax(0, 1fr); }
  .stats__item { padding-block: var(--s4); }
  .stats__item + .stats__item { border-left: none; border-top: 1px solid rgba(255, 255, 255, .1); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Nav actions + install button + premium App showcase
   ========================================================================== */
.nav__acts { display: flex; align-items: center; gap: var(--s3); }
.btn--ghost-line {
  --btn-bg: transparent; --btn-fg: #fff; --btn-line: rgba(255,255,255,.28);
  background: transparent; color: #fff;
}
.btn--ghost-line:hover { border-color: var(--amber-500); color: var(--amber-300); }

/* --- Apps: installable on mobile & desktop -------------------------------- */
.apps {
  position: relative;
  overflow: hidden;
  padding-block: clamp(var(--s9), 8vw, 120px);
  background:
    radial-gradient(1100px 520px at 82% 12%, rgba(242,107,29,.16), transparent 60%),
    linear-gradient(180deg, var(--green-950), var(--green-900));
  border-block: 1px solid rgba(255,255,255,.06);
}
.apps__inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(var(--s7), 5vw, var(--s11));
  align-items: center;
}
.apps h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.1; margin: 0 0 var(--s4); }
.apps__amp { color: var(--amber-500); font-style: italic; }
.apps__lede { color: var(--green-300); font-size: 1.02rem; line-height: 1.7; max-width: 46ch; }
.apps__points { list-style: none; margin: var(--s6) 0 0; padding: 0; display: grid; gap: 12px; }
.apps__points li { display: flex; align-items: center; gap: 11px; color: #EEF0F3; font-size: .95rem; }
.apps__points .ico { color: var(--amber-500); flex: none; }
.apps__acts { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s7); }
.apps__hint { margin-top: var(--s5); color: var(--green-400); font-size: .82rem; line-height: 1.6; }
.apps__hint strong { color: #EEF0F3; }

/* --- Device mockups ------------------------------------------------------- */
.apps__stage { position: relative; min-height: 380px; }

.dev { border-radius: 16px; background: #0E1116; box-shadow: 0 30px 70px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06); }
.dev__screen { background: linear-gradient(180deg, #10141a, #0c0f14); overflow: hidden; }

.dev--desktop { width: 100%; }
.dev--desktop .dev__bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06); border-radius: 16px 16px 0 0;
}
.dev--desktop .dev__bar span { width: 10px; height: 10px; border-radius: 50%; background: #333a45; }
.dev--desktop .dev__bar span:nth-child(1){ background:#E4520A66 } 
.dev--desktop .dev__url {
  margin-left: 14px; flex: 1; font-style: normal; font-size: .72rem; color: var(--green-400);
  background: #171b22; padding: 5px 12px; border-radius: 20px; letter-spacing: .02em;
}
.dev--desktop .dev__screen { height: 300px; border-radius: 0 0 16px 16px; }

.dev--phone {
  position: absolute; right: -6px; bottom: -34px; width: 148px; height: 300px;
  border-radius: 26px; padding: 9px; background: #14181e;
  box-shadow: 0 34px 60px -22px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.08);
}
.dev--phone .dev__notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 46px; height: 5px; border-radius: 3px; background: #2a2f38; z-index: 2; }
.dev--phone .dev__screen { height: 100%; border-radius: 18px; }

/* Desktop mock content */
.mock { display: grid; grid-template-columns: 46px 1fr; height: 100%; }
.mock__rail { background: #0b0e12; border-right: 1px solid rgba(255,255,255,.05); padding: 12px 8px; display: grid; gap: 9px; align-content: start; }
.mock__brand { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, var(--amber-300), var(--amber-600)); margin: 0 auto 6px; display: block; }
.mock__rail u { height: 7px; border-radius: 4px; background: #222831; display: block; }
.mock__rail u.on { background: var(--amber-500); }
.mock__main { padding: 14px; display: grid; gap: 12px; align-content: start; }
.mock__row--metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; }
.mock__plate { background: #141a21; border: 1px solid rgba(255,255,255,.05); border-radius: 8px; padding: 9px; display: grid; gap: 6px; }
.mock__plate s { height: 5px; width: 60%; background: #2a313b; border-radius: 3px; }
.mock__plate b { height: 12px; width: 80%; background: linear-gradient(90deg, var(--amber-500), var(--amber-300)); border-radius: 3px; }
.mock__panel { background: #141a21; border: 1px solid rgba(255,255,255,.05); border-radius: 10px; padding: 14px; flex: 1; }
.mock__bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; }
.mock__bars i { flex: 1; background: linear-gradient(180deg, var(--amber-300), var(--amber-600)); border-radius: 4px 4px 0 0; opacity: .9; align-self: flex-end; }
.mock__bars i:nth-child(even){ background: linear-gradient(180deg,#39414d,#232833); }
.mock__bars i:nth-child(1){ height: 40% } .mock__bars i:nth-child(2){ height: 70% }
.mock__bars i:nth-child(3){ height: 55% } .mock__bars i:nth-child(4){ height: 90% }
.mock__bars i:nth-child(5){ height: 65% } .mock__bars i:nth-child(6){ height: 80% }

/* Phone mock content */
.pmock { height: 100%; background: #0c0f14; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 8px; padding: 20px 10px 8px; }
.pmock__top { display: flex; align-items: center; justify-content: space-between; }
.pmock__top b { width: 44px; height: 8px; background: #2a313b; border-radius: 4px; }
.pmock__top i { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg,var(--amber-300),var(--amber-600)); }
.pmock__hero { height: 48px; border-radius: 10px; background: linear-gradient(135deg, rgba(242,107,29,.35), rgba(242,107,29,.08)); border: 1px solid rgba(242,107,29,.3); }
.pmock__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.pmock__grid span { height: 30px; border-radius: 8px; background: #141a21; border: 1px solid rgba(255,255,255,.05); }
.pmock__list { display: grid; gap: 6px; }
.pmock__list em { height: 13px; border-radius: 4px; background: #141a21; }
.pmock__tab { display: flex; justify-content: space-around; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.06); }
.pmock__tab u { width: 16px; height: 16px; border-radius: 5px; background: #222831; display: block; }
.pmock__tab u.on { background: var(--amber-500); }

/* Reveal + reduced motion */
.apps__stage.reveal { opacity: 0; transform: translateY(20px) scale(.98); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.apps__stage.is-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .apps__inner { grid-template-columns: 1fr; }
  .apps__stage { max-width: 520px; margin: var(--s6) auto 40px; }
}
@media (max-width: 560px) {
  .nav__acts .btn--ghost-line { display: none; }
  .dev--phone { right: 4px; bottom: -22px; width: 118px; height: 240px; }
}

/* ==========================================================================
   3D motion. JS sets the custom properties via the CSSOM (setProperty), which
   the strict style-src CSP allows; inline style attributes would not. All of
   it is gated behind a pointer + no-reduced-motion query so touch and
   motion-sensitive users get the calm, static layout.
   ========================================================================== */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .gate { perspective: 1500px; }

  /* Signature: the client-access card leans toward the cursor in real 3D and
     drifts with the hero parallax. */
  .gatecard {
    transform:
      perspective(1200px)
      rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg))
      translate3d(calc(var(--px, 0) * 18px), calc(var(--py, 0) * 16px), 0);
    transform-style: preserve-3d;
    transition: transform .35s var(--ease);
    will-change: transform;
  }
  .gatecard__glyph, .gatecard__title, .gatecard__btn {
    transform: translateZ(38px);   /* lifts the key elements off the card face */
  }
  .gatecard__copy, .gatecard__alt { transform: translateZ(18px); }

  /* The headline block counter-parallaxes for depth against the card. */
  .gate__say {
    transform: translate3d(calc(var(--px, 0) * -12px), calc(var(--py, 0) * -9px), 0);
    transition: transform .35s var(--ease);
    will-change: transform;
  }

  /* Ambient float on the device mockups in the Apps section. */
  .dev--desktop { animation: float-desk 7.5s ease-in-out infinite; }
  .dev--phone { animation: float-phone 6s ease-in-out infinite .5s; }
}

@keyframes float-desk { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes float-phone { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }

/* Premium cards: a whisper of 3D tilt toward the cursor, composed with the
   scroll-entrance in a single transform so the two never fight. landing.js sets
   --tilt-x / --tilt-y (pointer) and the .reveal classes drive the entrance
   through --enter-y / --enter-s. Scoped under .band so this transform outranks
   the global `.reveal.is-in { transform: none }` reset for these cards only. */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .band .svc li,
  .band .feat li,
  .band .journey__stop {
    transform:
      perspective(1000px)
      translateY(var(--enter-y, 0px))
      rotateX(calc(var(--tilt-x, 0deg) + var(--enter-rx, 0deg)))
      rotateY(var(--tilt-y, 0deg))
      scale(var(--enter-s, 1));
    transition: transform .55s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
    transform-style: preserve-3d;
  }
  /* While the cursor is over a card, a JS rAF lerp (quickTo-style) drives the
     tilt every frame, so the CSS transform transition must step aside — else
     the two smoothings fight and the motion drags. */
  .band .svc li.is-tilting,
  .band .feat li.is-tilting,
  .band .journey__stop.is-tilting {
    transition: box-shadow .35s var(--ease), border-color .35s var(--ease);
  }
  .band .svc li.reveal,
  .band .feat li.reveal,
  .band .journey__stop.reveal { --enter-y: 46px; --enter-s: .94; --enter-rx: 8deg; }
  .band .svc li.reveal.is-in,
  .band .feat li.reveal.is-in,
  .band .journey__stop.reveal.is-in { --enter-y: 0px; --enter-s: 1; --enter-rx: 0deg; }
}

@media (prefers-reduced-motion: reduce) {
  .gatecard, .gate__say, .dev--desktop, .dev--phone { transform: none; animation: none; }
  .band .svc li, .band .feat li, .band .journey__stop { transform: none; }
}

/* ==========================================================================
   Version 2 — premium polish pass.
   One consistent motion language from hero to footer: scroll-progress, a hero
   scroll cue, animated service icons, button micro-interactions, glass Stats
   and Grant cards, a scroll-parallaxed app stage, and nav scroll-spy. Every
   dynamic value is a CSS custom property set through the CSSOM (CSP-safe), and
   all of it collapses to a calm static layout under reduced motion.
   ========================================================================== */

/* --- Reading-progress bar ------------------------------------------------- */
.scrollbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 70;
  background: transparent;
  pointer-events: none;
}
.scrollbar__fill {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--amber-600), var(--amber-500), var(--amber-300));
  box-shadow: 0 0 12px rgba(242, 107, 29, .6);
}

/* --- Nav scroll-spy ------------------------------------------------------- */
.nav__links a.is-active { color: #fff; }
.nav__links a.is-active::after { transform: scaleX(1); }

/* --- Button micro-interactions ------------------------------------------- */
/* The trailing arrow eases forward on hover; every button gives a small,
   satisfying press. */
.landing .btn .ico:last-child { transition: transform .22s var(--ease); }
.landing .btn:hover .ico:last-child { transform: translateX(3px); }
.landing .btn:active { transform: translateY(0) scale(.97); }

/* --- Hero scroll cue ------------------------------------------------------ */
.gate__cue {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: max-content;
  margin: clamp(var(--s6), 4vw, var(--s9)) auto 0;
  padding-bottom: var(--s6);
  color: rgba(240, 242, 245, .6);
  font-size: .7rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .2s var(--ease);
}
.gate__cue:hover { color: var(--amber-300); }
.gate__cue .ico { animation: cue-bob 2.2s var(--ease) infinite; }
@keyframes cue-bob {
  0%, 100% { transform: translateY(0); opacity: .7; }
  50% { transform: translateY(5px); opacity: 1; }
}

/* --- Service card icons + animated hover ---------------------------------- */
.svc li { gap: 12px; }
.svc__ico {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: rgba(242, 107, 29, .14);
  border: 1px solid rgba(242, 107, 29, .4);
  border-radius: var(--r-md);
  color: var(--amber-300);
  transition: transform .35s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.svc li:hover .svc__ico {
  background: var(--amber-500);
  color: #fff;
  transform: translateY(-2px) scale(1.06) rotate(-4deg);
}
.svc li strong, .svc li span { position: relative; z-index: 1; }
/* The top accent bar was the old marker; the icon now leads, so retire it. */
.svc li::before { display: none; }

/* Feature-card icons gain the same lively pop. */
.feat li:hover .feat__ico { transform: translateY(-2px) scale(1.06); }

/* --- Stats: glass row, gradient numerals, staggered reveal ---------------- */
.stats__item {
  position: relative;
  padding: var(--s6) var(--s4);
  background: linear-gradient(158deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-plate);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.stats__item + .stats__item { border-left: 1px solid rgba(255, 255, 255, .08); }
.stats__item:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 107, 29, .45);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .8);
}
.stats__inner { gap: var(--s4); }
.stats__no {
  background: linear-gradient(160deg, var(--amber-300), var(--amber-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- Grant: glass cards, spotlight, animated check ------------------------ */
.grant li {
  position: relative;
  overflow: hidden;
  padding: var(--s5) var(--s4);
  background: linear-gradient(158deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--r-plate);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.grant li::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(242, 107, 29, .16), transparent 62%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.grant li:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 107, 29, .5);
  background: linear-gradient(158deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  box-shadow: 0 20px 44px -22px rgba(0, 0, 0, .8);
}
.grant li:hover::after { opacity: 1; }
.grant li .ico, .grant li span { position: relative; z-index: 1; }
.grant li .ico {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: 0;
  border-radius: 7px;
  background: rgba(242, 107, 29, .16);
  border: 1px solid rgba(242, 107, 29, .4);
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.grant li:hover .ico { background: var(--amber-500); color: #fff; transform: scale(1.08); }

/* --- App stage: soft scroll parallax (opacity-only reveal so the parallax
       transform is never overwritten) ------------------------------------- */
.apps__stage { transform: translateY(var(--appy, 0px)); will-change: transform; }
.apps__stage.reveal { opacity: 0; transform: translateY(var(--appy, 0px)); transition: opacity .7s var(--ease); }
.apps__stage.is-in { opacity: 1; }

/* --- Footer: quiet reveal ------------------------------------------------- */
.foot__inner.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.foot__inner.is-in { opacity: 1; transform: none; }

@media (max-width: 640px) {
  .stats__item + .stats__item { border-left: none; }
  .svc__ico { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .scrollbar__fill { transition: none; }
  .gate__cue .ico { animation: none; }
  .apps__stage, .apps__stage.reveal { transform: none; }
  .svc li:hover .svc__ico, .feat li:hover .feat__ico, .grant li:hover .ico { transform: none; }
  .foot__inner.reveal { opacity: 1; transform: none; transition: none; }
}
