/* ============================================
   BoostedTrades — "Glow Pipeline" components
   Shared by the homepage, /faq/ and /about/ on top of tokens.css.
   ============================================ */

*,
*::before,
*::after{ box-sizing: border-box; }

html{
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
  background: var(--bg);
}
body{
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: var(--t-md);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open,
body.modal-open{ overflow: hidden; }

img, video, svg{ max-width: 100%; }
img{ display: block; height: auto; }
a{ color: inherit; }
button, input, textarea, select{ font: inherit; color: inherit; }
p{ margin: 0 0 1em; }

:focus-visible{
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap{
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px){ .wrap{ padding-inline: 32px; } }

/* ---------- Type ---------- */
.display{
  margin: 0 0 .4em;
  font-family: var(--head);
  font-size: var(--t-xl);
  font-weight: 700;
  line-height: .98;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--text);
  text-wrap: balance;
}
/* emphasis by colour and glow — never italics */
.display em,
.modal-title em{
  font-style: normal;
  color: var(--blue);
  text-shadow: 0 0 28px rgba(79,176,255,.45);
}
.section-lead{
  max-width: 62ch;
  font-size: var(--t-md);
  color: var(--muted);
}

/* ---------- Pills, badges, glass ---------- */
.pill{
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 6px 14px;
  border: 1px solid rgba(79,176,255,.45);
  border-radius: 999px;
  background: rgba(79,176,255,.08);
  box-shadow: inset 0 0 12px rgba(79,176,255,.12), 0 0 18px -8px rgba(79,176,255,.6);
  font-family: var(--head);
  font-size: var(--t-xs);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
}
/* section number in its own badge, followed by the section-name pill */
.eyebrow--num{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
}
.eyebrow--num .pill{ margin: 0; }
.team-head .eyebrow--num,
.finance-inner .eyebrow--num{ justify-content: center; }
.pill-dot,
.eyebrow-dot{
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
}
.pill--tag{
  margin: 0;
  padding: 4px 10px;
  border-color: rgba(159,190,223,.4);
  background: rgba(159,190,223,.08);
  box-shadow: none;
  color: var(--muted);
  letter-spacing: .1em;
}

.glass{
  position: relative;
  background: linear-gradient(180deg, rgba(17,32,60,.72), rgba(7,13,28,.78));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 rgba(220,234,255,.06), 0 30px 70px -30px rgba(0,0,0,.8), var(--glow-soft);
}

.badge{
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(79,176,255,.5);
  background: radial-gradient(circle at 50% 35%, rgba(79,176,255,.28), rgba(79,176,255,.06) 70%);
  box-shadow: var(--glow), inset 0 0 10px rgba(79,176,255,.25);
  color: var(--blue);
}
.badge--lg{ width: 64px; height: 64px; }
.badge--orange{
  border-color: rgba(255,138,30,.6);
  background: radial-gradient(circle at 50% 35%, rgba(255,138,30,.3), rgba(255,138,30,.06) 70%);
  box-shadow: var(--glow-orange);
  color: var(--orange);
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--head);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
}
.btn svg{ flex: 0 0 auto; transition: transform .25s var(--ease); }
.btn:hover svg,
.btn:focus-visible svg{ transform: translateX(4px); }
.btn-lg{ min-height: 56px; padding: 0 28px; }
.btn-primary{
  background: var(--orange);
  color: var(--bg);
  box-shadow: var(--glow-orange);
}
.btn-primary:hover{ transform: translateY(-1px); box-shadow: 0 0 36px -4px rgba(255,138,30,.85); }
.btn-ghost{
  background: rgba(79,176,255,.06);
  border-color: rgba(79,176,255,.5);
  color: var(--text);
}
.btn-ghost:hover{ border-color: var(--blue); box-shadow: var(--glow); }

/* ---------- Header ---------- */
/* Always-on dark glass bar, above every layer of page content (the
   pinned pipeline included; only the audit modal sits higher). The bottom border appears once scrollY > 8
   (script.js toggles .scrolled). */
.header{
  /* sticky, with a negative bottom margin equal to its height: it sticks
     to the top but takes no space in the flow, so each page's first
     section (hero, beams) still runs underneath the glass bar */
  position: sticky;
  top: 0;
  margin-bottom: calc(-1 * var(--header-h));
  z-index: 1000;
  height: var(--header-h);
  background: rgba(4,7,15,.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.header.scrolled,
body.menu-open .header{ border-bottom-color: rgba(79,176,255,.2); }
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 12px;
}
@media (min-width: 480px){ .header-inner{ gap: 12px; padding-inline: 16px; } }
@media (min-width: 768px){ .header-inner{ padding-inline: 32px; } }
/* white logo (assets/glow/logo-light.png): full opacity, no filters or
   blend modes, never smaller than 36px tall */
.logo{ flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; }
.logo img{
  width: auto;
  height: 36px;
  min-height: 36px;
  opacity: 1;
  mix-blend-mode: normal;
  filter: none;
}
.desktop-nav{ display: none; }
.desktop-nav a{
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-family: var(--head);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color .2s var(--ease), text-shadow .2s var(--ease);
}
.desktop-nav a:hover{ color: var(--text); text-shadow: 0 0 14px rgba(79,176,255,.7); }
.header-actions{ display: flex; align-items: center; gap: 8px; }
.nav-cta{ min-height: 44px; padding: 0 12px; font-size: var(--t-xs); letter-spacing: .04em; }
@media (max-width: 400px){ .nav-cta svg{ display: none; } }
@media (min-width: 480px){ .nav-cta{ padding: 0 18px; font-size: var(--t-sm); letter-spacing: .08em; } }
/* 320px phones: keep the 36px logo and the button; the label wraps */
@media (max-width: 350px){
  .nav-cta{ max-width: 92px; padding: 0 10px; white-space: normal; line-height: 1.05; text-align: center; }
}

.hamburger{
  display: inline-grid;
  place-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(79,176,255,.06);
  cursor: pointer;
}
.hamburger span{
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .3s var(--ease);
}
.hamburger.active span:first-child{ transform: translateY(4px) rotate(45deg); }
.hamburger.active span:last-child{ transform: translateY(-4px) rotate(-45deg); }

@media (min-width: 1080px){
  .desktop-nav{ display: flex; }
  .hamburger{ display: none; }
}

.mobile-menu{
  position: fixed;
  inset: 0;
  z-index: 90;
  padding-top: calc(var(--header-h) + 16px);
  background: rgba(4,7,15,.97);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
  overflow-y: auto;
}
.mobile-menu.open{ opacity: 1; visibility: visible; }
.mobile-menu-inner{ padding: 8px 20px 40px; }
.mobile-nav{ display: grid; }
.mobile-link{
  display: flex;
  align-items: baseline;
  gap: 16px;
  min-height: 56px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
}
.m-num{ font-family: var(--head); font-size: var(--t-xs); font-weight: 600; color: var(--blue); letter-spacing: .1em; }
.m-label{ font-family: var(--head); font-size: var(--t-lg); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.mobile-foot{ margin-top: 28px; }
.mobile-cta{ width: 100%; min-height: 56px; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 64px;
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.hero-media{ position: absolute; inset: 0; z-index: -1; }
.hero-video{
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* a little more of the footage shows through than before (was .5) */
  opacity: .7;
  filter: brightness(1.1) saturate(1.1);
}
/* Overlay, about 20-25% lighter than before. Phones: an even dark veil,
   since the copy spans the full width. Two-column layout: dark behind the
   headline, subhead and buttons on the left, opening up on the right
   where the footage reads. A vertical fade keeps the top under the
   header and the seam into the next section dark. */
.hero-shade{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4,7,15,.35) 0%, rgba(4,7,15,0) 22%, rgba(4,7,15,0) 72%, var(--bg) 100%),
    linear-gradient(rgba(4,7,15,.7), rgba(4,7,15,.7));
}
@media (min-width: 1024px){
  .hero-shade{
    background:
      linear-gradient(180deg, rgba(4,7,15,.35) 0%, rgba(4,7,15,0) 22%, rgba(4,7,15,0) 72%, var(--bg) 100%),
      linear-gradient(90deg, rgba(4,7,15,.78) 0%, rgba(4,7,15,.68) 38%, rgba(4,7,15,.42) 62%, rgba(4,7,15,.32) 100%);
  }
}
/* Two beams of blue light falling in from the top corners. Pure
   gradients, so they paint with the first frame. */
.beam{
  position: absolute;
  /* fixed geometry: percentages of the hero would move the beams (and
     register as layout shift) whenever the hero's height settles */
  top: -160px;
  width: max(260px, 46vw);
  height: calc(100vh + 160px);
  background: linear-gradient(180deg, rgba(79,176,255,.55), rgba(79,176,255,.12) 45%, transparent 75%);
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  filter: blur(26px);
  opacity: .61;
  mix-blend-mode: screen;
  pointer-events: none;
  transform-origin: 50% 0;
}
.beam--l{ left: -12vw; transform: rotate(-24deg); animation: beamL 11s ease-in-out infinite alternate; }
.beam--r{ right: -12vw; transform: rotate(24deg); animation: beamR 13s ease-in-out infinite alternate; }
@keyframes beamL{ from{ transform: rotate(-26deg); opacity: .51; } to{ transform: rotate(-19deg); opacity: .71; } }
@keyframes beamR{ from{ transform: rotate(26deg); opacity: .56; } to{ transform: rotate(20deg); opacity: .41; } }

.hero-inner{
  display: grid;
  gap: 40px;
  align-items: center;
}
/* grid items may shrink below their content's min width on very narrow phones */
.hero-inner > *{ min-width: 0; }
@media (min-width: 1024px){
  .hero-inner{ grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); gap: 56px; }
}
.hero-kicker{ gap: 4px 6px; border-radius: 18px; }
.hero-kicker .kicker-cyan{ color: var(--blue); }
.hero-title{
  font-size: var(--t-2xl);
  line-height: .94;
  text-shadow: 0 2px 30px rgba(4,7,15,.8);
}
.hero-title em{ text-shadow: 0 0 34px rgba(79,176,255,.6); }
.lead{
  max-width: 34ch;
  margin-bottom: 14px;
  font-size: var(--t-lg);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}
.support{ max-width: 56ch; color: var(--muted); }
.actions{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* B. trades carousel: rounded glass frame, crossfading slides */
.carousel{
  width: 100%;
  max-width: 460px;
  justify-self: center;
  padding: 12px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
@media (min-width: 1024px){ .carousel{ justify-self: end; } }
.slides{
  position: relative;
  overflow: hidden;
  /* content-box so the photo area itself is exactly 4:3 inside the 1px border */
  box-sizing: content-box;
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--r-lg) - 8px);
  border: 1px solid var(--line-soft);
  background: var(--bg-2);
}
.slide{
  display: block;
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ease), visibility 0s linear 1s;
}
.slide.is-active{
  opacity: 1;
  visibility: visible;
  transition: opacity 1s var(--ease), visibility 0s;
}
.slide img{ width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.slide::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,7,15,.15), transparent 40%, rgba(4,7,15,.7));
  pointer-events: none;
}
/* a trade with no photo yet: dark frame with its name */
.slide--empty{
  display: grid;
  place-items: center;
  background: radial-gradient(70% 60% at 50% 40%, rgba(79,176,255,.16), transparent 70%), var(--bg-2);
}
.slide-label{
  position: absolute;
  z-index: 1;
  left: 14px;
  bottom: 14px;
  margin: 0;
  background: rgba(4,7,15,.72);
}
.slide--empty .slide-label{ position: static; }
.carousel-controls{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 2px 0;
}
.carousel-dots{ display: flex; flex-wrap: wrap; min-width: 0; }
/* below ~400px the six 44px dots wrap under the pause button rather
   than shrinking the tap targets */
@media (max-width: 400px){ .carousel-controls{ flex-wrap: wrap; } }
.carousel-dot{
  position: relative;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.carousel-dot::before{
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 10px; height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  border: 1.5px solid rgba(79,176,255,.7);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.carousel-dot[aria-current="true"]::before{
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
  transform: scale(1.15);
}
.carousel-toggle{
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(79,176,255,.06);
  color: var(--text);
  cursor: pointer;
}
.carousel-toggle .i-play,
.carousel-toggle[aria-pressed="true"] .i-pause{ display: none; }
.carousel-toggle[aria-pressed="true"] .i-play{ display: block; }

/* hero right column: carousel, then the live pipeline card */
.hero-side{
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 460px;
  justify-self: center;
}
@media (min-width: 1024px){ .hero-side{ justify-self: end; } }
.hero-side .carousel{ max-width: none; justify-self: stretch; }

/* B. live pipeline card (sample data) */
.live-card{
  padding: 16px 16px 14px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.live-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 2px 10px;
}
.live-title{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--head);
  font-size: var(--t-lg);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.live-dot{
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
}
.live-stages{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 0 2px 8px;
  padding: 0;
  list-style: none;
  font-size: var(--t-xs);
  color: var(--muted);
}
.live-leads{ display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lead-row{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  padding: 9px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  background: rgba(4,7,15,.6);
}
.lead-row.is-moving{ animation: leadMove .9s var(--ease); }
.lead-row.is-new{ animation: leadIn .5s var(--ease); }
@keyframes leadMove{ 0%{ border-color: rgba(79,176,255,.7); box-shadow: var(--glow); } 100%{ border-color: var(--line-soft); box-shadow: none; } }
@keyframes leadIn{ from{ opacity: 0; transform: translateY(6px); } to{ opacity: 1; transform: none; } }
.lead-src{ font-size: var(--t-xs); color: var(--muted); }
.lead-job{ grid-column: 1; font-weight: 600; font-size: var(--t-sm); }
.lead-place{ grid-column: 2; grid-row: 1; justify-self: end; font-size: var(--t-xs); color: var(--muted); }
.lead-bar{
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 6px;
}
.lead-bar i{
  height: 4px;
  border-radius: 4px;
  background: rgba(79,176,255,.16);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.lead-row[data-stage="0"] .lead-bar i:nth-child(-n+1),
.lead-row[data-stage="1"] .lead-bar i:nth-child(-n+2),
.lead-row[data-stage="2"] .lead-bar i:nth-child(-n+3),
.lead-row[data-stage="3"] .lead-bar i{
  background: var(--blue);
  box-shadow: 0 0 8px rgba(79,176,255,.8);
}
.lead-stage{
  grid-column: 1 / -1;
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--blue);
}
/* orange only for the booked state's label */
.lead-row[data-stage="3"] .lead-stage{ color: var(--orange); }
.live-card .card-caption{ margin: 10px 2px 0; }

/* ---------- Marquees ---------- */
.marquee{
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
/* Looping strips are a row of identical groups, each ending with the same
   gap as between its items. The track moves left by exactly one group
   (--loop-shift, measured by glow.js), so the loop point lands on the start
   of the next identical group. Without JS there are two groups and -50%
   is one group. glow.js clones groups to cover 2x the viewport + 1 group. */
.marquee-track{
  --gap: 14px;
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee-group{
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--gap);
  padding-right: var(--gap);
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track{ animation-play-state: paused; }
@keyframes marquee{
  from{ transform: translate3d(0, 0, 0); }
  to{ transform: translate3d(var(--loop-shift, -50%), 0, 0); }
}

/* ---------- Sections ---------- */
.section{ position: relative; padding: clamp(64px, 9vw, 120px) 0; }
.section--dark{
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(79,176,255,.12), transparent 70%),
    var(--bg-2);
  border-block: 1px solid var(--line-soft);
}
.section-head{ max-width: 820px; margin-bottom: 48px; }

.section-socials{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 24px;
}
.section-socials-label{
  font-family: var(--head);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
}
.section-socials-label::after{ content: ' \2192'; }
/* the one social-row component (glow.js renders every [data-socials]) */
.social-row{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.social-row .s-icon svg{ width: 18px; height: 18px; }
/* seven 44px icons on one row down to 360px wide */
@media (max-width: 420px){ .social-row{ gap: 4px; } }
.s-icon{
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(79,176,255,.06);
  color: var(--text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
}
a.s-icon:hover{ border-color: var(--blue); color: var(--blue); box-shadow: var(--glow); }
/* not live yet: dimmed, no glow, "Coming soon" tooltip on hover */
.s-icon--soon{ position: relative; opacity: .7; cursor: default; }
.s-icon--soon::after{
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  /* anchored to the icon's right edge so it never runs off-screen */
  right: 0;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-2);
  font-size: var(--t-xs);
  white-space: nowrap;
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease);
}
.s-icon--soon:hover::after{ opacity: 1; }

.split{ display: grid; gap: 40px; }
.split > *{ min-width: 0; }
@media (min-width: 921px){
  .split{ grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
}

/* tools lists (existing copy) */
.tools{ padding: 28px 24px; }
.tools{
  background: linear-gradient(180deg, rgba(17,32,60,.6), rgba(7,13,28,.7));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--glow-soft);
}
.tools-title{
  margin: 0 0 12px;
  font-family: var(--head);
  font-size: var(--t-lg);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tools-list{ margin: 0; padding: 0; list-style: none; }
.tools-list li{
  display: grid;
  grid-template-columns: var(--num-badge) 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
}
/* Numbered badges: the tool lists, the section-number circles and the
   FAQ numbers all share this one treatment. */
.t-num,
.eyebrow-num,
.faq-num{
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: var(--num-badge);
  height: var(--num-badge);
  border-radius: 50%;
  /* 1.5px #4FB0FF ring as an inset shadow: browsers round a 1.5px
     border down to 1px, a shadow keeps the exact width */
  border: 0;
  background: radial-gradient(circle at 50% 35%, rgba(79,176,255,.26), rgba(7,13,28,.92) 72%);
  box-shadow: inset 0 0 0 1.5px var(--blue), var(--glow-num);
  font-family: var(--head);
  font-size: var(--t-num);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.t-body strong{ display: block; font-size: var(--t-md); font-weight: 600; }
.t-body p{ margin: 2px 0 6px; font-size: var(--t-sm); color: var(--muted); }
.t-body small{
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: var(--t-xs);
  color: var(--muted);
  opacity: .9;
}
.friction-dot{
  flex: 0 0 auto;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(79,176,255,.7);
  transform: translateY(-1px);
}

/* ---------- Content reel (existing two-row marquee) ---------- */
.reel-card{ min-width: 0; }
@media (min-width: 921px){ .reel-card{ position: sticky; top: 110px; } }
.reel{
  --tile-w: 150px;
  --tile-gap: 12px;
  --tile-n: 8; /* tiles per .reel-set */
  display: grid;
  gap: var(--tile-gap);
  padding: 16px 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(7,13,28,.6);
  box-shadow: var(--glow-soft);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
@media (min-width: 921px){ .reel{ --tile-w: 164px; --tile-gap: 14px; } }
.reel-row{ overflow: hidden; }
/* Each set gets an explicit width (n tiles + n gaps, the trailing gap
   being the padding) rather than a shrink-to-fit one: on iOS Safari the
   intrinsic width came out short, so the tiles spilled past their set
   and overlapped the next copy, and the -50% shift no longer lined up. */
.reel-set{
  display: flex;
  flex: 0 0 auto;
  width: calc(var(--tile-n) * (var(--tile-w) + var(--tile-gap)));
  gap: var(--tile-gap);
  padding-right: var(--tile-gap);
}
.reel-sprite{ position: absolute; width: 0; height: 0; overflow: hidden; }
.reel-track{
  display: flex;
  width: max-content;
  animation: marquee 62s linear infinite;
  will-change: transform;
}
.reel-row--rev .reel-track{ animation-direction: reverse; }
.reel:hover .reel-track,
.reel:focus-within .reel-track{ animation-play-state: paused; }
.reel-tile{
  position: relative;
  flex: 0 0 var(--tile-w);
  width: var(--tile-w);
  min-width: var(--tile-w);
  max-width: var(--tile-w);
  height: calc(var(--tile-w) * 16 / 9);
  margin: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(155deg, #0E2140, var(--bg));
}
.reel-photo{
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.reel-photo.is-missing{ display: none; }
.reel-tile::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(79,176,255,.18), transparent 50%),
              linear-gradient(0deg, rgba(4,7,15,.85), transparent 60%);
}
.reel-plat,
.reel-play{
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  color: var(--text);
}
.reel-plat{
  top: 10px; right: 10px;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: rgba(4,7,15,.55);
  border: 1px solid var(--line);
}
.reel-plat svg{ width: 14px; height: 14px; display: block; }
.reel-play{
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(79,176,255,.14);
  border: 1px solid rgba(79,176,255,.55);
  box-shadow: var(--glow);
}
.reel-play svg{ width: 14px; height: 14px; margin-left: 2px; display: block; }
.reel-label{
  position: relative;
  z-index: 1;
  font-family: var(--head);
  font-size: var(--t-sm);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .04em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

/* ---------- C. Trades strip ---------- */
.trades{ padding: 0 0 clamp(56px, 8vw, 96px); }
.trades-head{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 8px;
}
.trades-head .pill{ margin: 0; }
.trades-status{ margin: 0; min-height: 1.6em; font-size: var(--t-xs); color: var(--muted); }
.trades-status a{ color: var(--blue); }
.marquee--trades{ padding: 12px 0; }
.marquee--trades .marquee-track{ animation-duration: 60s; }
.trade{
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7,13,28,.8);
  font-family: var(--head);
  font-size: var(--t-lg);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.trade:hover{ color: var(--text); border-color: rgba(79,176,255,.6); }
.trade[aria-pressed="true"],
.trade.is-current{
  color: var(--text);
  border-color: var(--blue);
  background: rgba(79,176,255,.14);
  box-shadow: var(--glow);
}

/* ---------- Existing AI Stack diagram (SVG) ---------- */
.stack-visuals{ display: grid; gap: 18px; align-content: start; min-width: 0; }
.flow-panel{
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(4,7,15,.6);
  box-shadow: var(--glow-soft);
}
.flow-svg{ display: block; width: 100%; height: auto; overflow: visible; }
.flow-label{
  font-family: var(--body);
  font-size: var(--t-sm);
  font-weight: 600;
  text-anchor: end;
  fill: var(--muted);
}
/* Same on/off language as the nine-ways pipeline (createFlow in glow.js).
   Off lines are bright enough to read; on lines glow. */
.flow-line{
  fill: none;
  stroke: rgba(124,196,255,.42);
  stroke-width: 1.5;
  transition: stroke .35s var(--ease), stroke-width .35s var(--ease);
}
.flow-line.is-lit{
  stroke: #7CC4FF;
  stroke-width: 2.5;
  filter: drop-shadow(0 0 4px rgba(124,196,255,.85));
}
.flow-node{ opacity: .6; transition: opacity .35s var(--ease); }
.flow-node.is-lit{ opacity: 1; }
.flow-node-disc{
  fill: #0A1426;
  stroke: rgba(159,190,223,.55);
  stroke-width: 1.5;
  transition: fill .35s var(--ease), stroke .35s var(--ease);
}
.flow-node.is-lit .flow-node-disc{
  fill: var(--blue);
  stroke: var(--blue);
  stroke-width: 2;
  filter: drop-shadow(0 0 10px rgba(79,176,255,.75));
}
.flow-label{ transition: fill .35s var(--ease); }
.flow-label.is-lit{ fill: #FFFFFF; }
.flow-glyph, .flow-hub-glyph, .flow-goal-glyph{
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .35s var(--ease);
}
.flow-node.is-lit .flow-glyph{ stroke: var(--bg); }
.flow-hub-core, .flow-goal-core{ transform-box: fill-box; transform-origin: center; }
.flow-hub-disc{ fill: rgba(79,176,255,.16); stroke: var(--blue); stroke-width: 1.6; filter: drop-shadow(0 0 8px rgba(79,176,255,.5)); }
/* BOOKED: dim until the last source lands, then glows orange */
.flow-goal-line.is-lit{ stroke: var(--orange); filter: drop-shadow(0 0 5px rgba(255,138,30,.85)); }
.flow-goal{ opacity: .55; transition: opacity .4s var(--ease); }
.flow-goal.is-lit{ opacity: 1; }
.flow-goal-disc{ fill: rgba(255,138,30,.12); stroke: rgba(255,138,30,.6); stroke-width: 1.4; transition: fill .4s var(--ease), filter .4s var(--ease); }
.flow-goal.is-lit .flow-goal-disc{ fill: rgba(255,138,30,.3); stroke: var(--orange); stroke-width: 2; filter: drop-shadow(0 0 14px rgba(255,138,30,.9)); }
.flow-goal-glyph{ stroke: var(--orange); stroke-width: 1.9; }
.flow-goal.is-lit .flow-hub-text{ fill: var(--orange); }
.flow-hub-text{
  font-family: var(--head);
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: 1.4px;
  text-anchor: middle;
  fill: var(--text);
}
.flow-caption{
  display: none;
  margin: 14px 0 0;
  font-size: var(--t-xs);
  line-height: 1.45;
  color: var(--muted);
}
@media (min-width: 921px){
  #stack .split.reverse .stack-visuals{ order: 2; }
  #stack .split.reverse{ grid-template-columns: 1fr 1.1fr; }
}
/* mobile sequence (glow.js adds .is-seq): each line draws in from its
   icon, then the line to BOOKED draws once the last dot lands */
.flow-svg.is-seq .flow-line{
  stroke-dasharray: var(--len);
  stroke-dashoffset: var(--len);
  transition: stroke-dashoffset .5s var(--ease), stroke .35s var(--ease), stroke-width .35s var(--ease);
}
.flow-svg.is-seq .flow-lines .flow-line.is-drawn,
.flow-svg.is-seq .flow-goal-line.is-lit{ stroke-dashoffset: 0; }
@media (max-width: 560px){
  .flow-panel{ padding: 18px 16px; }
  .flow-label{ display: none; }
  .flow-caption{ display: block; }
}

/* ---------- A. Nine-ways pipeline ----------
   Off: dimmed (.55) with a muted border. On (.is-lit): bright border,
   tinted fill, white title, filled glowing badge, bright path. glow.js
   adds .is-pinned (wide + tall screens, motion allowed), otherwise the
   stacked layout: one column, the paths drop down a spine to the hub. */
.pipe{ margin-bottom: clamp(48px, 7vw, 88px); }
.pipe-frame{
  padding: 22px 16px;
  overflow: hidden;
}
.pipe-frame::before{
  content: '';
  position: absolute;
  inset: -1px 12% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  box-shadow: 0 0 18px 2px rgba(79,176,255,.7);
}
@media (min-width: 768px){ .pipe-frame{ padding: 32px; } }
.pipe-head{
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 24px;
  margin-bottom: 20px;
}
.pipe-title{
  margin: 0;
  font-family: var(--head);
  font-size: var(--t-lg);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.pipe-explain{
  margin: 0;
  min-height: 1.6em;
  max-width: 60ch;
  font-size: var(--t-sm);
  color: var(--muted);
}
.pipe-explain strong{ color: var(--text); font-weight: 600; }

.pipe-grid{ position: relative; display: grid; gap: 14px; }
.pipe-nodes{
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  max-width: 560px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pipe-nodes > li{ min-width: 0; }

.pipe-node{
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 8px 14px 8px 12px;
  border: 2px solid rgba(159,190,223,.28);
  border-radius: 999px;
  background: #070D1C;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  opacity: .55;
  transition: opacity .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.pipe-node .badge{
  width: 40px; height: 40px;
  background: #0A1426;
  border-color: rgba(159,190,223,.4);
  box-shadow: none;
  color: var(--muted);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.pn-text{ display: grid; line-height: 1.25; min-width: 0; }
.pn-text strong{ font-size: var(--t-sm); font-weight: 600; color: var(--text); transition: color .35s var(--ease); }
.pn-text small{ font-size: var(--t-xs); color: var(--muted); }
.pipe-node:hover{ opacity: .8; }

.pipe-node.is-lit{
  opacity: 1;
  border-color: var(--blue);
  background: linear-gradient(rgba(79,176,255,.14), rgba(79,176,255,.14)), #070D1C;
}
.pipe-node.is-lit .pn-text strong{ color: #FFFFFF; }
.pipe-node.is-lit .badge{
  background: var(--blue);
  border-color: var(--blue);
  color: var(--bg);
  box-shadow: 0 0 28px rgba(79,176,255,.75);
}
.pipe-node[aria-pressed="true"]{ box-shadow: 0 0 0 3px rgba(124,196,255,.35), var(--glow); }

/* focus mode (stacked layout below 1080px): every card dim, the one
   crossing the middle of the screen active, the ones passed "visited" */
.pipe.is-focus .pipe-node{
  transition: opacity .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.pipe.is-focus .pipe-node .badge{
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.pipe.is-focus .pipe-node:hover{ opacity: .55; }
.pipe.is-focus .pipe-node.is-visited{ opacity: .72; border-color: rgba(79,176,255,.35); }
.pipe.is-focus .pipe-node.is-active{
  opacity: 1;
  border-color: var(--blue);
  background: linear-gradient(rgba(79,176,255,.14), rgba(79,176,255,.14)), #070D1C;
  box-shadow: var(--glow);
  transform: scale(1.02);
}
.pipe.is-focus .pipe-node.is-visited .badge{ color: var(--blue); }
.pipe.is-focus .pipe-node.is-active .pn-text strong{ color: #FFFFFF; }
.pipe.is-focus .pipe-node.is-active .badge{
  background: var(--blue);
  border-color: var(--blue);
  color: var(--bg);
  box-shadow: 0 0 28px rgba(79,176,255,.75);
}
@media (prefers-reduced-motion: reduce){
  .pipe.is-focus .pipe-node,
  .pipe.is-focus .pipe-node .badge{ transition: none; }
  .pipe.is-focus .pipe-node.is-active{ transform: none; }
}

.pn-agent{
  justify-self: start;
  margin-top: 3px;
  padding: 1px 8px;
  border: 1px solid rgba(79,176,255,.45);
  border-radius: 999px;
  font-family: var(--head);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
}
/* stacked layout: the one-line explanation opens inside the chosen node */
.pn-more{ display: none; margin-top: 4px; font-size: var(--t-xs); color: var(--text); }
.pipe:not(.is-pinned) .pipe-node[aria-pressed="true"] .pn-more{ display: block; }
.pipe:not(.is-pinned) .pipe-node[aria-pressed="true"]{ border-radius: var(--r-md); }

/* paths and the travelling dot */
.pipe-lines{
  display: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: visible;
}
.pipe.has-lines .pipe-lines{ display: block; }
.pl{
  fill: none;
  stroke: rgba(159,190,223,.18);
  stroke-width: 1.5;
  transition: stroke .35s var(--ease), stroke-width .35s var(--ease);
}
.pl.is-lit{
  stroke: #7CC4FF;
  stroke-width: 2.5;
  filter: drop-shadow(0 0 4px rgba(124,196,255,.85));
}
.pl.is-selected{ stroke: #FFFFFF; stroke-width: 3; }
.pd-head{ fill: #FFFFFF; filter: drop-shadow(0 0 4px #7CC4FF) drop-shadow(0 0 10px rgba(79,176,255,.9)); }
.pd-trail{ fill: #CFE8FF; }

/* hub, speedLine step, booked step */
.pipe-out{ position: relative; z-index: 1; display: grid; justify-items: start; gap: 0; padding-top: 6px; }
.pipe-hub, .pipe-step{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #070D1C;
  font-size: var(--t-sm);
  transition: opacity .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.pipe-hub{ padding-right: 24px; border-color: rgba(79,176,255,.6); box-shadow: var(--glow-soft); transform-origin: 32px 50%; }
.pipe-hub .badge,
.pipe-step .badge{ background-color: #070D1C; }
/* stacked: badges centred on the spine (32px from the left edge) */
.pipe-step{ padding-left: 10px; }
.pipe-hub strong, .pipe-step strong{
  font-family: var(--head);
  font-size: var(--t-lg);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.pipe-step:not(.is-lit){ opacity: .55; }
.pipe-step.is-lit{ border-color: var(--blue); box-shadow: var(--glow); }
.pipe-step--goal{ border-color: rgba(255,138,30,.4); }
.pipe-step--goal strong{ color: var(--orange); }
.pipe-step--goal.is-lit{ border-color: var(--orange); box-shadow: var(--glow-orange); }

/* arrow connectors: dim until lit, no continuous animation */
.pipe-arrow{
  position: relative;
  width: 2px;
  height: 34px;
  margin: 2px 0 2px 31px;
  background: rgba(159,190,223,.25);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.pipe-arrow::after{
  content: '';
  position: absolute;
  left: 50%; bottom: -2px;
  width: 8px; height: 8px;
  border-right: 2px solid rgba(159,190,223,.4);
  border-bottom: 2px solid rgba(159,190,223,.4);
  transform: translateX(-50%) rotate(45deg);
  transition: border-color .4s var(--ease);
}
.pipe-arrow.is-lit{ background: #7CC4FF; box-shadow: 0 0 10px rgba(124,196,255,.8); }
.pipe-arrow.is-lit::after{ border-color: #7CC4FF; }

/* Pinned desktop layout: nodes left, curves converge on the hub */
.pipe.is-pinned{ height: 240vh; margin-bottom: 40px; }
.pipe.is-pinned .pipe-sticky{
  position: sticky;
  top: calc(var(--header-h) + 16px);
  height: calc(100vh - var(--header-h) - 32px);
  display: flex;
}
.pipe.is-pinned .pipe-frame{ flex: 1; display: flex; flex-direction: column; }
.pipe.is-pinned .pipe-grid{
  flex: 1;
  grid-template-columns: minmax(270px, 1fr) minmax(90px, .7fr) minmax(280px, 1fr);
  align-items: center;
}
.pipe.is-pinned .pipe-nodes{ gap: 6px; align-content: center; max-width: none; }
.pipe.is-pinned .pipe-node{ min-height: 46px; padding: 3px 14px 3px 4px; }
.pipe.is-pinned .pipe-node .badge{ width: 36px; height: 36px; }
.pipe.is-pinned .pn-agent{ position: absolute; right: 12px; top: 50%; margin: 0; transform: translateY(-50%); }
.pipe.is-pinned .pipe-out{ grid-column: 3; }
.pipe.is-pinned .pipe-hub{ padding-left: 0; }

/* ---------- D. Calculator ---------- */
.calc{ padding-bottom: 0; }
.calc-card{
  display: grid;
  gap: 28px;
  padding: 28px 22px;
}
@media (min-width: 920px){
  .calc-card{ grid-template-columns: 1.1fr 1fr 1fr; gap: 40px; padding: 40px; align-items: center; }
}
.calc-title{
  margin: 0 0 12px;
  font-family: var(--head);
  font-size: var(--t-xl);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}
.calc-assume{ margin: 0; font-size: var(--t-sm); color: var(--muted); }
.calc-inputs{ display: grid; gap: 16px; }
.calc-field{ display: grid; gap: 6px; }
.calc-field label{ font-size: var(--t-sm); font-weight: 600; }
.calc-field input{
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(79,176,255,.4);
  border-radius: var(--r-sm);
  background: rgba(4,7,15,.7);
  font-size: var(--t-lg);
  font-weight: 600;
  color: var(--text);
}
/* dark native spinner arrows */
.calc-field input{ color-scheme: dark; }
/* job value: "$" prefix plus dark up/down steppers (the field is text so it can show separators) */
.calc-money{ position: relative; }
.calc-money .calc-prefix{
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--t-lg);
  font-weight: 600;
  color: var(--muted);
  pointer-events: none;
}
.calc-money input{ padding-left: 34px; padding-right: 48px; }
.calc-money--plain input{ padding-left: 16px; }
/* the calls field uses the dark steppers too, so hide the native spinner */
.calc-money input[type="number"]{ -moz-appearance: textfield; appearance: textfield; }
.calc-money input[type="number"]::-webkit-inner-spin-button,
.calc-money input[type="number"]::-webkit-outer-spin-button{ -webkit-appearance: none; margin: 0; }
.calc-step{
  position: absolute;
  top: 6px;
  bottom: 6px;
  right: 6px;
  width: 30px;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
}
.calc-step button{
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(79,176,255,.25);
  border-radius: 6px;
  background: #0B1426;
  color: var(--muted);
  cursor: pointer;
}
.calc-step button:hover{ color: var(--text); border-color: var(--blue); }
.calc-field input:focus{ outline: none; border-color: var(--blue); box-shadow: var(--glow); }
.calc-out{
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: rgba(4,7,15,.55);
}
.calc-out-label{ margin: 0; font-size: var(--t-sm); color: var(--muted); }
.calc-out-num{
  margin: 4px 0 4px;
  font-family: var(--head);
  font-size: var(--t-xl);
  font-weight: 700;
  line-height: 1.05;
  color: var(--orange);
  text-shadow: 0 0 24px rgba(255,138,30,.4);
  font-variant-numeric: tabular-nums;
}
.calc-note{ margin: 0 0 18px; font-size: var(--t-xs); color: var(--muted); }

/* ---------- Financing ---------- */
.finance-inner{
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(32px, 6vw, 64px) clamp(22px, 5vw, 64px);
  text-align: center;
}
.finance-inner .section-lead{ margin-inline: auto; margin-bottom: 0; }
.finance-badge{ margin: 0 auto 20px; }

/* HFS Financial partner block (inside the Financing card) */
.finance-divider{
  height: 1px;
  max-width: 640px;
  margin: 40px auto 32px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.finance-partner-label{
  margin: 0 0 16px;
  font-family: var(--head);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
/* partner logo: original artwork on its white plate, not a link */
.finance-logo{
  display: inline-block;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: #fff;
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 0 0 1px rgba(79,176,255,.25), 0 18px 50px rgba(0,0,0,.5), 0 0 50px -10px rgba(79,176,255,.35);
}
.finance-logo img{ display: block; width: clamp(110px, 16vw, 140px); height: auto; }
.finance-about{
  max-width: 62ch;
  margin: 24px auto 0;
  font-size: var(--t-md);
  color: var(--muted);
}
.finance-about strong{ color: var(--text); font-weight: 600; }
.finance-cta{ margin-top: 24px; }
.finance-tiles,
.finance-steps{
  display: grid;
  grid-template-columns: 1fr;
  text-align: left;
}
.finance-tiles{ gap: 14px; margin: 40px 0 0; }
.finance-tile{
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: rgba(4,7,15,.55);
}
.finance-tile-ic{
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(79,176,255,.08);
}
.finance-tile-ic svg{ width: 19px; height: 19px; }
.finance-tile h3,
.finance-step h4{
  margin: 0;
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--text);
}
.finance-tile h3{ font-size: 1.1875rem; letter-spacing: .04em; }
.finance-tile p,
.finance-step p{ margin: 6px 0 0; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.finance-steps{ gap: 16px; margin: 32px 0 0; }
.finance-step{ padding: 2px 0 2px 14px; border-left: 2px solid var(--blue); }
.finance-step b{
  font-family: var(--head);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue);
}
.finance-step h4{ margin-top: 2px; font-size: 1.25rem; letter-spacing: .03em; }
.finance-step p{ margin-top: 4px; }
.finance-note{
  margin: 36px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: .75rem;
  line-height: 1.6;
  color: #7f98b8;
  text-align: left;
}
.finance-note strong{ color: var(--muted); font-weight: 600; }
@media (min-width: 561px){
  .finance-tiles,
  .finance-steps{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 861px){
  .finance-tiles,
  .finance-steps{ grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Story ---------- */
.story-inner{ display: grid; gap: 40px; }
@media (min-width: 921px){
  .story-inner{ grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
}
.story-img{
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--glow-soft);
  /* content-box: the photo area itself is 4:5 inside the 1px border */
  box-sizing: content-box;
  aspect-ratio: 4 / 5;
}
.story-img img{ width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.story-img::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,7,15,.2), rgba(4,7,15,.15) 50%, rgba(4,7,15,.8));
  pointer-events: none;
}
.client-label,
.image-tag{
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(4,7,15,.75);
  font-family: var(--head);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.client-label{ top: 16px; left: 16px; color: var(--muted); }
.image-tag{ left: 16px; bottom: 16px; min-height: 44px; text-decoration: none; color: var(--text); }
.image-tag:hover{ border-color: var(--blue); box-shadow: var(--glow); }
.story-copy > p{ color: var(--muted); }
.story-stats{
  margin: 28px 0;
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: rgba(7,13,28,.6);
}
.story-inner > *{ min-width: 0; }
.story-stats-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.story-stats-grid li{ display: grid; gap: 4px; align-content: start; }
.stat-num{
  font-family: var(--head);
  font-size: var(--t-stat);
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
  text-shadow: 0 0 24px rgba(255,138,30,.35);
  font-variant-numeric: tabular-nums;
}
.stat-label{ font-size: var(--t-xs); line-height: 1.4; color: var(--muted); overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 360px){ .story-stats{ padding: 16px 14px; } .story-stats-grid{ gap: 10px; } }
.story-stats-caption{ margin: 14px 0 0; font-size: var(--t-xs); color: var(--muted); }

/* E. sample cards under the case study */
.story-extra{ display: grid; gap: 20px; margin-top: 56px; }
@media (min-width: 900px){ .story-extra{ grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; } }
.card-title{
  display: block;
  margin: 0 0 18px;
  font-family: var(--head);
  font-size: var(--t-lg);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.card-caption{
  margin: 12px 4px 0;
  font-size: var(--t-xs);
  line-height: 1.5;
  color: var(--muted);
}
.flow-card,
.voice-card{ padding: 24px; }
.flow-card .card-caption{ margin: 18px 0 0; }
.flow-card-body{ display: grid; gap: 22px; }
@media (min-width: 600px){ .flow-card-body{ grid-template-columns: 1fr 230px; align-items: center; } }
.flow-steps{
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.flow-steps li{
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--t-sm);
}
/* glowing connector between step badges */
.flow-steps li + li::before{
  content: '';
  position: absolute;
  left: 21px;
  top: -12px;
  width: 2px;
  height: 12px;
  background: #7CC4FF;
  box-shadow: 0 0 8px rgba(124,196,255,.8);
}
.phone{
  justify-self: center;
  width: 100%;
  max-width: 230px;
  padding: 12px 12px 18px;
  border: 1.5px solid rgba(79,176,255,.5);
  border-radius: 30px;
  background: #050A16;
  box-shadow: var(--glow-soft), inset 0 0 0 4px #0A1426;
}
.phone-notch{
  width: 70px; height: 8px;
  margin: 2px auto 16px;
  border-radius: 999px;
  background: #0E1A30;
}
.bubbles{ display: grid; gap: 10px; }
.bubble{
  max-width: 88%;
  margin: 0;
  padding: 9px 12px;
  border-radius: 16px;
  font-size: var(--t-xs);
  line-height: 1.4;
}
.bubble--out{
  justify-self: start;
  border-bottom-left-radius: 4px;
  background: #13284A;
  border: 1px solid rgba(79,176,255,.35);
}
.bubble--in{
  justify-self: end;
  border-bottom-right-radius: 4px;
  background: var(--blue);
  color: var(--bg);
  font-weight: 600;
}
.voice-card{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.voice-card .card-title{ margin: 0; }
.voice-body{ display: grid; gap: 12px; width: 100%; }
.voice-body .btn[disabled]{ opacity: .6; cursor: not-allowed; box-shadow: none; }
.voice-pill{ justify-self: start; }
.player{ display: flex; align-items: center; gap: 12px; width: 100%; }
.player-btn{
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  color: var(--bg);
  box-shadow: var(--glow-orange);
  cursor: pointer;
}
.player-btn .i-pause,
.player-btn[aria-pressed="true"] .i-play{ display: none; }
.player-btn[aria-pressed="true"] .i-pause{ display: block; }
.player-seek{ flex: 1; min-width: 0; height: 44px; accent-color: var(--blue); }
.player-time{ font-size: var(--t-xs); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.player-btn{ width: 44px; height: 44px; }
.transcript-toggle{ justify-self: start; min-height: 44px; }
.transcript{
  max-height: 260px;
  overflow-y: auto;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  background: rgba(4,7,15,.6);
  font-size: var(--t-sm);
  line-height: 1.6;
  white-space: pre-line;
  color: var(--text);
}

/* ---------- Founder ---------- */
.team-head{ max-width: 760px; margin: 0 auto 40px; text-align: center; }
.team-head .section-lead{ margin-inline: auto; }
.team-grid{ display: grid; justify-items: center; }
.team-card{
  max-width: 640px;
  padding: clamp(28px, 5vw, 44px);
  text-align: center;
}
.avatar-wrap{ position: relative; width: 120px; height: 120px; margin: 0 auto 24px; }
.avatar-ring{
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--blue), transparent 40%, var(--blue) 70%, transparent);
  filter: drop-shadow(0 0 10px rgba(79,176,255,.7));
}
.avatar{
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
  border-radius: 50%;
  border: 3px solid var(--bg);
}
.avatar img{ width: 100%; height: 100%; object-fit: cover; }
.quote{ font-size: var(--t-lg); font-weight: 600; line-height: 1.35; }
.quote-mark{ color: var(--blue); margin-right: 2px; }
.team-card .name{
  margin: 0;
  font-family: var(--head);
  font-size: var(--t-lg);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.team-card .role{
  margin: 4px 0 16px;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
}
.team-card .bio{ font-size: var(--t-sm); color: var(--muted); }
.team-link{ margin-top: 8px; }
.team-socials-row{ justify-content: center; margin-top: 28px; }

/* ---------- G. FAQ teaser ---------- */
.faq-teaser{ padding-top: 0; }
.faq-teaser-head .pill{ margin-bottom: 14px; }
.faq-teaser-list{ display: grid; gap: 12px; margin: 20px 0 24px; padding: 0; list-style: none; }
@media (min-width: 900px){ .faq-teaser-list{ grid-template-columns: repeat(3, 1fr); } }
.faq-teaser-q{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  min-height: 88px;
  padding: 18px 18px 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(7,13,28,.7);
  font-weight: 600;
  text-decoration: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-teaser-q:hover{ border-color: var(--blue); box-shadow: var(--glow-soft); }
.arrow-badge{
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(79,176,255,.5);
  border-radius: 50%;
  color: var(--blue);
  box-shadow: var(--glow);
  transition: transform .25s var(--ease);
}
.faq-teaser-q:hover .arrow-badge{ transform: translateX(3px); }

/* ---------- Final CTA ---------- */
.audit{ padding: 0 0 clamp(64px, 9vw, 120px); }
.audit-inner{
  overflow: hidden;
  padding: clamp(40px, 7vw, 88px) clamp(22px, 5vw, 64px);
  text-align: center;
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(79,176,255,.25), transparent 70%),
    linear-gradient(180deg, rgba(17,32,60,.75), rgba(7,13,28,.85));
}
.audit-inner .display{ max-width: 18ch; margin-inline: auto; }
.audit-lead{ max-width: 52ch; margin: 0 auto 28px; font-size: var(--t-lg); color: var(--muted); }

/* ---------- Footer ---------- */
.footer{ border-top: 1px solid var(--line-soft); background: var(--bg); }
.footer-inner{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding-top: 40px;
  padding-bottom: 20px;
}
.footer-logo img{ height: 36px; width: auto; }
.footer-nav{ display: flex; flex-wrap: wrap; gap: 0 4px; }
.footer-nav a{
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  font-size: var(--t-sm);
  color: var(--muted);
  text-decoration: none;
}
.footer-nav a:hover{ color: var(--text); }
.footer-meta{ width: 100%; }
.footer-copy{ font-size: var(--t-xs); color: var(--muted); }
.footer-socials-row{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding-top: 20px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line-soft);
}
.footer-socials-label{
  font-family: var(--head);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 380px){ .footer-socials-row{ padding-inline: 12px; } }

/* ---------- Audit modal (form markup unchanged) ---------- */
.modal{
  /* the consent block's inline styles read these */
  --navy: var(--text);
  --cyan: var(--blue);
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal.open{ display: flex; }
.modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(4,7,15,.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.modal-card{
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 36px 22px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #0D1A31, #070D1C);
  box-shadow: 0 40px 100px rgba(0,0,0,.6), var(--glow-soft);
}
@media (min-width: 600px){ .modal-card{ padding: 40px 36px 32px; } }
.modal-close{
  position: absolute;
  top: 12px; right: 12px;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(79,176,255,.06);
  color: var(--text);
  cursor: pointer;
}
.modal-head .pill{ margin-bottom: 14px; }
.modal-title{
  margin: 0 0 8px;
  font-family: var(--head);
  font-size: var(--t-xl);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}
.modal-sub{ font-size: var(--t-sm); color: var(--muted); }
.modal-head .eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 14px;
  border: 1px solid rgba(79,176,255,.45);
  border-radius: 999px;
  font-family: var(--head);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.audit-form{ display: flex; flex-direction: column; gap: 18px; }
.hp{ position: absolute; left: -9999px; }
.field-row{ display: grid; gap: 14px; }
@media (min-width: 600px){ .field-row{ grid-template-columns: 1fr 1fr; } }
.field{ display: flex; flex-direction: column; gap: 6px; }
.field label{ font-size: var(--t-xs); font-weight: 600; color: var(--text); }
.field input,
.field textarea{
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(79,176,255,.3);
  border-radius: var(--r-sm);
  background: rgba(4,7,15,.7);
  font-size: var(--t-sm);
  color: var(--text);
}
.field textarea{ resize: vertical; }
.field input::placeholder,
.field textarea::placeholder{ color: rgba(159,190,223,.65); }
.field input:focus,
.field textarea:focus{ outline: none; border-color: var(--blue); box-shadow: var(--glow); }
.field .check-inline{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: var(--t-xs);
  font-weight: 400;
  color: var(--muted);
  cursor: pointer;
}
.check-inline input{ width: 18px; height: 18px; min-height: 0; accent-color: var(--blue); }
.friction-set{ margin: 0; padding: 0; border: 0; }
.friction-set legend{ margin-bottom: 10px; font-size: var(--t-xs); font-weight: 600; }
.legend-hint{ margin-left: 6px; font-weight: 400; color: var(--muted); }
.friction-grid{ display: grid; gap: 8px; }
@media (min-width: 600px){ .friction-grid{ grid-template-columns: 1fr 1fr; } }
.friction-grid label{
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  background: rgba(4,7,15,.5);
  font-size: var(--t-xs);
  line-height: 1.35;
  cursor: pointer;
}
.friction-grid label:has(input:checked){ border-color: var(--blue); background: rgba(79,176,255,.1); }
.friction-grid input{ flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--blue); }
.sms-consent{
  border-color: var(--line-soft) !important;
  background: rgba(4,7,15,.5) !important;
}
.sms-consent label{ font-size: var(--t-xs) !important; }
.modal-submit{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: var(--glow-orange);
  font-family: var(--head);
  font-size: var(--t-md);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bg);
  cursor: pointer;
}
.modal-submit:disabled{ opacity: .7; cursor: progress; }
.form-note{ margin: 0; text-align: center; font-size: var(--t-xs); color: var(--muted); }
.modal-success{ padding: 24px 0 8px; text-align: center; }
.modal-success h3{
  margin: 16px 0 8px;
  font-family: var(--head);
  font-size: var(--t-lg);
  font-weight: 700;
  text-transform: uppercase;
}
.modal-success p{ color: var(--muted); }
.success-mark{
  display: inline-grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(255,138,30,.6);
  color: var(--orange);
  box-shadow: var(--glow-orange);
}
.modal-close-btn{
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(79,176,255,.5);
  border-radius: 999px;
  background: transparent;
  font-family: var(--head);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ---------- Scroll reveal ----------
   Only hidden once the inline head script has marked JS as running, so
   nothing is ever invisible without JavaScript. The hero is not a
   reveal target at all. */
.js .reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.in{ opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
  .beam{ animation: none; }
  .js .reveal{ opacity: 1; transform: none; }
  .marquee-track,
  .reel-track{ animation: none; }
  /* static strips: one copy, wrapped */
  .marquee{ -webkit-mask-image: none; mask-image: none; }
  .marquee-track{ width: auto; justify-content: center; padding: 0 20px; }
  .marquee-group{ flex: 1 1 auto; flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .marquee-group[aria-hidden="true"],
  .reel-set[aria-hidden="true"]{ display: none; }
  .reel-row{ overflow-x: auto; scrollbar-width: none; }
  .reel-row::-webkit-scrollbar{ display: none; }
}
