@font-face {
  font-family: "Google Sans Local";
  src: url("../google-sans-400.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Google Sans Local";
  src: url("../google-sans-500.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

:root {
  --black: #070707;
  --white: #ffffff;
  --amber: #f8b204;
  --amber-soft: rgba(248, 178, 4, 0.07);
  --font: "Google Sans Local", "Google Sans", "Product Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--black); font-family: var(--font);}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  color: var(--white);
  background: var(--black);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 880px;
  overflow: hidden;
  background: var(--black);
}

/* .hero-background {
  position: absolute;
  z-index: -5;
  inset: 0;
  background-image: url("../amber-field.png"), url("../amber-field.png");
  background-repeat: no-repeat, no-repeat;
  background-size: 1477px 682px, 1477px 682px;
  background-position: center -104px, center 606px;
  pointer-events: none;
  top: -75px;
} */

.hero-background {
  position: absolute;
  z-index: -5;
  inset: 0;
  background-image: url("../amber-field.png"), url("../amber-field.png");
  background-repeat: no-repeat, no-repeat;
  background-size: 160%, 100%;
  background-position: center -264px, center 606px;
  pointer-events: none;
  top: -75px;
}

.top-fade {
  position: absolute;
  z-index: -2;
  top: -10px;
  left: 50%;
  width: min(1200px, 106vw);
  height: 412px;
  translate: -50% 0;
  pointer-events: none;
  background: linear-gradient(180deg, #070707 0%, rgba(7, 7, 7, 0) 100%);
}

.vignette {
  position: absolute;
  z-index: -1;
  width: 734px;
  height: 734px;
  border-radius: 50%;
  filter: blur(163px);
  background: #070707;
  pointer-events: none;
}

.vignette-left { left: -438px; top: 283px; opacity: .82; }
.vignette-right { left: calc(100% - 271px); top: 283px; opacity: .82; }

.hero-content {
  position: relative;
  z-index: 3;
  width: min(765px, calc(100% - 32px));
  margin-inline: auto;
  padding-top: 50px;
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  height: 33px;
  margin: 0 auto;
  padding: 7px 12px;
  border: 1px solid rgba(237, 233, 228, .13);
  border-radius: 9px 0 9px 9px;
  background: var(--amber-soft);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
}

h1 {
  margin: 27px 0 0;
  color: #fff;
  font-size: 50px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 62px;
}

h1 span { display: block; white-space: nowrap; }
h1 em { color: var(--amber); font-style: normal; }

.hero-copy {
  max-width: 650px;
  margin: 14px auto 0;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 35px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  line-height: 14px;
  transition: transform .22s ease, color .22s ease, background-color .22s ease, box-shadow .22s ease, border-color .22s ease;
  will-change: transform;
}

.button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }

.button-secondary {
  /* width: 104px; */
  padding: 10px 16px;
  border: 1px solid rgba(237, 237, 237, .26);
  border-radius: 12px 0 12px 12px;
  background: rgba(255, 255, 255, .17);
  box-shadow: inset 0 1px rgba(255, 255, 255, .10);
  backdrop-filter: blur(3px);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, .48);
  background: rgba(255, 255, 255, .25);
}

.button-primary {
  /* width: 102px; */
  padding: 10px 16px;
  border-radius: 0 12px 12px 12px;
  background: var(--amber);
  color: #171100;
  box-shadow: 0 6px 18px rgba(248, 178, 4, .10);
}

.button-primary:hover {
  background: #ffc126;
  box-shadow: 0 8px 22px rgba(248, 178, 4, .24);
}

.trail {
  position: absolute;
  z-index: 1;
  width: 67px;
  height: 66px;
  opacity: .9;
  pointer-events: none;
}

.trail-left { left: calc(50% - 476px); top: 100px; }
.trail-right { left: calc(50% + 304px); top: 280px; }

/* .trail-dot {
  position: absolute;
  z-index: 1;
  width: 2px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 6px rgba(255,255,255,.9);
}

.trail-dot-left { left: calc(50% - 410px); top: 280px; }
.trail-dot-right { left: calc(50% + 302px); top: 340px; } */

@media (prefers-reduced-motion: no-preference) {
  @keyframes falling-star-left {
    0%   { opacity: 0; translate: -16px -16px; }
    12%  { opacity: 1; }
    50%  { opacity: 1; translate: 0 0; }
    82%  { opacity: 0; translate: 20px 20px; }
    100% { opacity: 0; translate: 20px 20px; }
  }

  @keyframes falling-star-right {
    0%   { opacity: 0; translate: 16px -16px; }
    12%  { opacity: 1; }
    50%  { opacity: 1; translate: 0 0; }
    82%  { opacity: 0; translate: -20px 20px; }
    100% { opacity: 0; translate: -20px 20px; }
  }

  .trail-left,
  .trail-dot-left {
    animation: falling-star-left 2s ease-in-out infinite;
    will-change: opacity, translate;
  }

  .trail-right,
  .trail-dot-right {
    animation: falling-star-right 2.6s ease-in-out infinite;
    animation-delay: .8s;
    will-change: opacity, translate;
  }
}

.dashboard-stage {
  position: absolute;
  z-index: 2;
  top: 420px;
  /* The source composition is intentionally shifted two pixels left of centre. */
  left: calc(50% - 548px);
  width: 1093px;
  margin: 0;
  pointer-events: none;
}

.dashboard-desktop {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 13px 21px rgba(0,0,0,.06));
}

.dashboard-mobile { display: none; }

.brand-marquee {
  position: absolute;
  z-index: 3;
  top: 760px;
  left: 0;
  width: 100%;
  margin: 0;
  text-align: center;
}

.brand-marquee p {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
}

.marquee-window {
  width: 100%;
  margin-top: 25px;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  translate: -56px 0;
  will-change: translate;
  gap: 70px;
}

.marquee-track img {
  display: block;
  flex: 0 0 1806px;
  width: 1806px;
  height: 50px;
  object-fit: contain;
}

@media (prefers-reduced-motion: no-preference) {
  .hero .marquee-track { animation: brand-drift 36s linear infinite; }
}

@keyframes brand-drift {
  from { translate: -56px 0; }
  to { translate: -1862px 0; }
}

/* —— Solutions section (scroll-scrub stack) —— */
.solutions-pin {
  position: relative;
  z-index: 1;
}

.solutions {
  position: sticky;
  top: var(--site-header-h, 80px);
  z-index: 1;
  padding: 0 19px 32px;
  background: var(--black);
  overflow: hidden;
}

.solutions-header {
  position: relative;
  z-index: 20;
  width: 100%;
  margin: 0;
  padding: 45px 0 19px;
  text-align: center;
  background: var(--black);
}

.solutions-header-inner {
  width: min(429px, 100%);
  margin: 0 auto;
}

.solutions-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 7px;
  border: 1px solid rgba(237, 233, 228, .13);
  border-radius: 9px 0 9px 9px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.solutions-header h2 {
  margin: 22px 0 0;
  color: #fff;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
}

.solutions-header h2 em {
  color: var(--amber);
  font-style: normal;
}

.solutions-stack {
  position: relative;
  z-index: 1;
  width: min(1045px, 100%);
  margin: 0 auto;
  padding-top: 10px;
  overflow: hidden;
  background: var(--black);
}

/* Desktop scrubber: cards stack absolutely; JS drives translateY. */
.solution-slot {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z, 1);
  margin: 0;
  transform: translateY(105%);
  will-change: transform;
}

.solution-slot:first-child {
  transform: none;
}

.solution-slot.is-stacked:not(.is-active) {
  pointer-events: none;
}

.solution-slot.is-active {
  pointer-events: auto;
}

.solution-card {
  display: grid;
  grid-template-columns: auto 270px minmax(144px, 228px) minmax(160px, 270px) auto;
  align-items: start;
  gap: 46px;
  width: 100%;
  padding: 30px 20px;
  border-top: .64px solid #242323;
  border-radius: 25px 0 25px 25px;
  background: #191919;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .28);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease, opacity .4s ease, transform .4s cubic-bezier(.22, 1, .36, 1);
}

.solution-card:hover {
  border-top-color: rgba(248, 178, 4, .28);
  background: #1d1d1d;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .38);
}

.solution-card:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.solution-index {
  display: block;
  width: 15px;
  padding-top: 1px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.solution-media {
  position: relative;
  width: 270px;
  height: 170px;
  margin: 0;
  overflow: hidden;
  border-radius: 10px 0 10px 10px;
  background: #101010;
}

.solution-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  scale: 1.12;
  transition: scale .55s cubic-bezier(.22, 1, .36, 1);
}

.solution-name {
  margin: 0;
  color: #fff;
  font-size: 21px;
  font-weight: 500;
  line-height: 26px;
}

.solution-copy {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.solution-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 2px 2px 4px 2px;
  background: var(--amber);
  text-decoration: none;
  transition: background-color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.solution-link svg {
  display: block;
  width: 8px;
  height: 6px;
}

.solution-card:hover .solution-link {
  background: #ffc126;
  transform: translateX(2px);
  box-shadow: 0 5px 13px rgba(248, 178, 4, .28);
}

.solution-card:active .solution-link {
  transform: translateX(1px);
}


/* —— Wise AI section —— */
.wise-ai {
  --ink: #210d02;
  position: relative;
  /* Curtain: this section scrolls over the sticky solutions stack */
  z-index: 10;
  overflow: hidden;
  padding: 58px 19px 58px;
  background: linear-gradient(286.85deg, #FFFFFF 5.25%, #DFBA00 29.33%, #FF7D00 90.73%);
}

.wise-ai-inner {
  width: min(891px, 100%);
  margin: 0 auto;
}

.wise-ai-header {
  width: min(744px, 100%);
  margin: 0 auto;
  text-align: center;
}

.wise-ai-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 7px 13px;
  border: 1px solid rgba(237, 233, 228, .13);
  border-radius: 9px 0 9px 9px;
  background: rgba(255, 255, 255, .37);
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}

.wise-ai-header h2 {
  margin: 24px 0 0;
  color: #fff;
  font-size: clamp(22px, 4.2vw, 38px);
  font-weight: 500;
  line-height: 1.25;
}

.wise-ai-header h2 em {
  color: var(--ink);
  font-style: normal;
}

.wise-ai-tagline {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 16px;
  font-weight: 400;
}

.wise-chat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: 135px;
  margin-top: 63px;
  padding: 22px;
  border-radius: 30px 0 30px 30px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(33, 13, 2, .08);
}

.wise-chat-prompt {
  min-height: 18px;
  margin: 0;
  color: rgba(33, 13, 2, .47);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}

.wise-chat-typed {
  white-space: pre-wrap;
}

.wise-chat-caret {
  display: inline-block;
  width: 1.2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: rgba(33, 13, 2, .45);
  opacity: 0;
}

.wise-chat.is-typing .wise-chat-caret {
  opacity: 1;
  animation: caret-blink .9s steps(1) infinite;
}

.wise-chat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  margin-top: 22px;
}

.wise-chat-add,
.wise-chat-send,
.wise-chat-model {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transition: transform .22s ease, opacity .22s ease, box-shadow .22s ease;
}

.wise-chat-add {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.wise-chat-add img,
.wise-chat-send img,
.wise-chat-model img,
.wise-feature-icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.wise-chat-add:hover,
.wise-chat-send:hover {
  transform: translateY(-2px);
}

.wise-chat-add:focus-visible,
.wise-chat-send:focus-visible,
.wise-chat-model:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.wise-chat-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wise-chat-model {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 8px 11px;
  border: 1px solid #ede9e4;
  border-radius: 7px;
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.25;
}

.wise-chat-model img {
  width: 15px;
  height: 15px;
}

.wise-chat-model:hover {
  border-color: rgba(33, 13, 2, .28);
  background: rgba(33, 13, 2, .03);
}

.wise-chat-send {
  width: 35px;
  height: 34px;
  border-radius: 50%;
}

.wise-chat-send:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 16px rgba(248, 178, 4, .28);
}

.wise-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 63px 0 0;
  padding: 0;
  list-style: none;
}

.wise-feature {
  min-height: 145px;
  padding: 16px 18px 19px;
  border-radius: 14px 0 14px 14px;
  background: rgba(0, 0, 0, .17);
  color: #fff;
  transition: transform .28s ease, background-color .28s ease, box-shadow .28s ease;
}

.wise-feature:hover {
  background: rgba(0, 0, 0, .24);
  transform: translateY(-3px);
  box-shadow: 0 13px 26px rgba(33, 13, 2, .12);
}

.wise-feature-icon {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 7px 0 7px 7px;
  background: #fff;
}

.wise-feature-icon img {
  width: 19px;
  height: 19px;
}

.wise-feature h3 {
  margin: 15px 0 0;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}

.wise-feature p {
  margin: 5px 0 0;
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
}

@keyframes caret-blink {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Desktop (≥901px) stays fixed so smart zoom can scale it — everything ≤900px is real mobile below */
@media (max-width: 900px) {
  .wise-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
  }

  .wise-feature h3 { font-size: 14px; }
}

@media (max-width: 900px) {
  .solutions-pin {
    height: auto !important;
  }

  .solutions {
    position: relative;
    top: auto;
    padding: 38px 16px 58px;
    overflow: visible;
  }

  .solutions-header {
    position: sticky;
    top: var(--site-header-h, 76px);
    width: 100%;
    padding: 19px 0 16px;
  }

  .solutions-header-inner {
    width: min(100%, 416px);
  }

  .solutions-eyebrow {
    font-size: 12px;
    padding: 6px;
    border-radius: 7px 0 7px 7px;
  }

  .solutions-header h2 {
    margin-top: 14px;
    font-size: clamp(22px, 7vw, 29px);
  }

  .solutions-stack {
    padding-top: 10px;
    height: auto !important;
    overflow: visible;
  }

  .solution-slot {
    position: relative;
    top: auto !important;
    left: auto;
    right: auto;
    margin-bottom: 18px;
    pointer-events: auto;
    transform: none !important;
    will-change: auto;
  }

  .solution-slot:last-child {
    margin-bottom: 0;
  }

  /* Media-forward mobile tile: image up top carries the index + link as floating badges. */
  .solution-card {
    position: relative;
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "name"
      "copy";
    gap: 0;
    padding: 0 0 22px;
    border-radius: 22px 0 22px 22px;
    overflow: hidden;
  }

  .solution-card:active {
    transform: scale(.98);
  }

  .solution-media {
    grid-area: media;
    position: relative;
    width: 100%;
    max-width: none;
    height: 208px;
    margin: 0 0 18px;
    border-radius: 0;
  }

  .solution-media::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(8, 8, 8, .6) 0%, rgba(8, 8, 8, 0) 42%);
    pointer-events: none;
  }

  .solution-index {
    grid-area: unset;
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    width: auto;
    padding: 5px 12px;
    border-radius: 8px 0 8px 8px;
    background: rgba(10, 10, 10, .55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: 12px;
    text-align: left;
  }

  .solution-link {
    grid-area: unset;
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    align-self: auto;
    width: 32px;
    height: 32px;
    margin-top: 0;
    border-radius: 9px 0 9px 9px;
  }

  .solution-link svg { width: 9px; height: 7px; }

  .solution-name {
    grid-area: name;
    padding: 0 18px;
    font-size: 19px;
    line-height: 1.3;
  }

  .solution-copy {
    grid-area: copy;
    margin-top: 8px;
    padding: 0 18px;
    color: rgba(255, 255, 255, .68);
    font-size: 13.5px;
    line-height: 1.55;
  }

  .wise-ai { padding: 45px 16px 51px; }
  .wise-chat {
    margin-top: 38px;
    min-height: 120px;
    padding: 18px;
    border-radius: 22px 0 22px 22px;
  }
  .wise-chat-prompt { font-size: 13px; }
  .wise-features {
    grid-template-columns: 1fr;
    gap: 11px;
    margin-top: 22px;
  }
  .wise-feature { min-height: 0; }
}

@media (max-width: 720px) {
  .wise-ai-eyebrow { font-size: 12px; padding: 6px 10px; }
  .wise-ai-header h2 { margin-top: 18px; }
  .wise-chat-toolbar { margin-top: 18px; }
  .wise-chat-model { font-size: 11px; padding: 6px 10px; }
  .wise-chat-actions { gap: 10px; }
  .wise-feature h3 { font-size: 14px; }
}

@media (max-width: 520px) {
  .solutions { padding: 26px 13px 34px; }

  .solution-card {
    padding-bottom: 18px;
    border-radius: 18px 0 18px 18px;
  }

  .solution-media { height: 172px; margin-bottom: 16px; }
  .solution-index { top: 12px; left: 12px; padding: 4px 10px; font-size: 11px; }
  .solution-link { top: 12px; right: 12px; width: 29px; height: 29px; }
  .solution-name { padding: 0 16px; font-size: 16.5px; line-height: 1.3; }
  .solution-copy { padding: 0 16px; font-size: 12.5px; line-height: 1.5; }

  .wise-ai { padding: 35px 13px 45px; }
  .wise-chat {
    margin-top: 29px;
    border-radius: 19px 0 19px 19px;
    padding: 14px;
  }
  .wise-chat-prompt { font-size: 12px; }
  .wise-chat-add,
  .wise-chat-send { width: 32px; height: 32px; }
  .wise-feature { padding: 14px; }
}

@media (max-width: 900px) {
  .hero { min-height: 915px; }
  .hero-content { padding-top: 123px; }
  h1 { font-size: clamp(37px, 5.45vw, 46px); line-height: 1.24; }
  /* top pushed down from 421px: at this breakpoint's max h1 size (>=844px viewport)
     hero-actions grows tall enough to overlap the image at the old offset. */
  .dashboard-stage { left: calc(50% - 448px); width: 896px; top: 451px; }
  .brand-marquee { top: 719px; }
  .trail-left { left: 6%; top: 200px; }
  .trail-right { left: auto; right: 7%; top: 365px; }
  .trail-dot-left { left: calc(6% + 66px); top: 265px; }
  .trail-dot-right { left: auto; right: calc(7% + 0px); top: 430px; }
}

@media (max-width: 720px) {
  .hero {
    min-height: 765px;
  }

  .hero-background {
    background-size: cover;
    background-position: bottom;
top: 100px;
  }

  .top-fade { height: 272px; }
  .vignette { width: 416px; height: 416px; filter: blur(96px); }
  .vignette-left { left: -296px; top: 328px; }
  .vignette-right { left: auto; right: -296px; top: 328px; }

  .hero-content {
    /* width: min(100% - 26px, 448px); */
    padding-top: 67px;
  }

  .eyebrow { height: 30px; padding: 6px 10px; font-size: 13px; line-height: 16px; }

  h1 {
    margin-top: 20px;
    font-size: 25px;
    line-height: 1.13;
    letter-spacing: -.6px;
  }

  h1 span { white-space: normal; }
  .hero-copy { margin-top: 14px; font-size: 13px; line-height: 18px; }
  .desktop-break { display: none; }

  .hero-actions { gap: 12px; margin-top: 22px; }
  .button-secondary,
  .button-primary { width: auto; padding: 10px 20px; white-space: nowrap; }

  .trail { scale: .68; opacity: .64; }
  .trail-left { left: -6px; top: 221px; }
  .trail-right { right: -16px; top: 382px; }
  .trail-dot-left { left: 39px; top: 265px; }
  .trail-dot-right { right: 29px; top: 427px; }

  .dashboard-stage {
    top: 380px;
    left: 50%;
    width: min(94vw, 392px);
    translate: -50% 0;
  }

  .dashboard-desktop { display: none; }
  .dashboard-mobile {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .46), 0 40px 76px rgba(0, 0, 0, .30);
  }

  .brand-marquee { top: 666px; }
  .brand-marquee p { font-size: 13px; line-height: 18px; }
  .marquee-window { margin-top: 22px; }
  .marquee-track { translate: -240px 0; }
  .marquee-track img { opacity: .55; }

  @keyframes brand-drift {
    from { translate: -240px 0; }
    to { translate: -1504px 0; }
  }
}

@media (max-width: 390px) {
  .hero { min-height: 753px; }
  .hero-content { padding-top: 56px; }
  h1 { font-size: 30px; }
  .dashboard-stage { top: 411px; }
  .brand-marquee { top: 648px; }
}

/* —— Platform Capabilities —— */
.capabilities {
  position: relative;
  z-index: 2;
  padding: 54px 19px 64px;
  background: var(--black);
}

.capabilities-header {
  width: min(528px, 100%);
  margin: 0 auto;
  text-align: center;
}

.capabilities-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 7px;
  border: 1px solid rgba(237, 233, 228, .13);
  border-radius: 9px 0 9px 9px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.capabilities-header h2 {
  margin: 26px 0 0;
  color: #fff;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 500;
  line-height: 1.08;
}

.capabilities-header h2 em {
  color: var(--amber);
  font-style: normal;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1070px, 100%);
  margin: 54px auto 0;
  padding: 0;
  list-style: none;
  border: 1px solid #242323;
}

.capability-card {
  min-height: 159px;
  padding: 22px 22px 24px;
  border-right: 1px solid #242323;
  border-bottom: 1px solid #242323;
  background: rgba(7, 7, 7, .2);
  backdrop-filter: blur(12px);
  transition: background-color .25s ease, transform .25s ease;
}

.capability-card:nth-child(4n) { border-right: 0; }
/* .capability-card:nth-child(n+5) { border-bottom: 0; } */

.capability-card:hover {
  background: rgba(248, 178, 4, .06);
  /* transform: translateY(-2px); */
}

.capability-icon {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 7px 0 7px 7px;
  background: var(--amber);
  transition: transform .22s ease, box-shadow .22s ease;
}

.capability-card:hover .capability-icon {
  transform: scale(1.06);
  box-shadow: 0 6px 14px rgba(248, 178, 4, .28);
}

.capability-icon img {
  display: block;
  width: 19px;
  height: 19px;
}

.capability-card h3 {
  margin: 34px 0 0;
  color: var(--amber);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
}

.capability-card p {
  margin: 8px 0 0;
  max-width: 210px;
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
}

/* —— Value Funnel —— */
.funnel {
  position: relative;
  z-index: 2;
  padding: 40px 19px 80px;
  background: url("../light-sides.webp") no-repeat center center / 106% var(--black);
}

.funnel-header {
  width: min(706px, 100%);
  margin: 0 auto;
  text-align: center;
}

.funnel-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 7px;
  border: 1px solid rgba(237, 233, 228, .13);
  border-radius: 9px 0 9px 9px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.funnel-header h2 {
  margin: 22px 0 0;
  color: #fff;
  font-size: clamp(24px, 3.6vw, 38px);
  font-weight: 500;
  line-height: 1.2;
}

.funnel-header h2 em {
  color: var(--amber);
  font-style: normal;
}

.funnel-lede {
  margin: 16px auto 0;
  max-width: 569px;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: -0.005em;
}

.funnel-stage {
  position: relative;
  width: min(1104px, 100%);
  margin: 48px auto 0;
  min-height: 620px;
  overflow: visible;
}

.funnel-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(606px, 100%);
  margin: 0 auto;
}

.funnel-panel {
  position: absolute;
  z-index: 4;
  top: 48px;
  display: flex;
  align-items: center;
  gap: 0;
  transition: top .45s cubic-bezier(.22, 1, .36, 1), left .45s cubic-bezier(.22, 1, .36, 1), right .45s cubic-bezier(.22, 1, .36, 1);
}

.funnel-panel[data-side="right"],
.funnel-panel[data-side="left"] {
  left: auto;
  right: auto;
}

.funnel-panel-card {
  width: 192px;
  min-height: 169px;
  padding: 16px 18px 18px;
  border: 1px solid transparent;
  border-radius: 16px 0 16px 16px;
  background:
    linear-gradient(#111, #111) padding-box,
    linear-gradient(
      145deg,
      rgba(248, 178, 4, .92) 0%,
      rgba(248, 178, 4, .55) 16%,
      rgba(248, 178, 4, .22) 38%,
      rgba(255, 255, 255, .08) 62%,
      rgba(255, 255, 255, .04) 100%
    ) border-box;
  box-shadow:
    0 0 22px rgba(248, 178, 4, .14),
    0 14px 32px rgba(0, 0, 0, .28);
  transition: opacity .4s ease, transform .45s cubic-bezier(.22, 1, .36, 1);
}

.funnel-panel[data-side="left"] .funnel-panel-card {
  background:
    linear-gradient(#111, #111) padding-box,
    linear-gradient(
      215deg,
      rgba(248, 178, 4, .92) 0%,
      rgba(248, 178, 4, .55) 16%,
      rgba(248, 178, 4, .22) 38%,
      rgba(255, 255, 255, .08) 62%,
      rgba(255, 255, 255, .04) 100%
    ) border-box;
}

.funnel-panel-card.is-animating {
  opacity: 0;
  transform: translateY(8px) scale(.98);
  pointer-events: none;
}

.funnel-panel-title {
  margin: 0;
  color: var(--amber);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.funnel-panel-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.funnel-panel-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.25;
}

.funnel-panel-list img {
  display: block;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.funnel-connector {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  border: 0;
  background: var(--amber);
  transform: translateY(-50%);
  box-shadow:
    0 0 4px rgba(248, 178, 4, .85),
    0 0 10px rgba(248, 178, 4, .45),
    0 0 18px rgba(248, 178, 4, .22);
  opacity: 0;
  pointer-events: none;
  transition:
    top .45s cubic-bezier(.22, 1, .36, 1),
    left .45s cubic-bezier(.22, 1, .36, 1),
    width .45s cubic-bezier(.22, 1, .36, 1),
    opacity .35s ease;
}

.funnel.is-connected .funnel-connector {
  opacity: 1;
}

.funnel-connector::before,
.funnel-connector::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  transform: translateY(-50%);
  box-shadow: 0 0 8px rgba(248, 178, 4, .65);
}

.funnel-connector[data-side="right"]::before {
  left: -3px;
}

.funnel-connector[data-side="right"]::after {
  right: -3px;
}

.funnel-connector[data-side="left"]::before {
  right: -3px;
}

.funnel-connector[data-side="left"]::after {
  left: -3px;
}

.funnel-tier {
  position: relative;
  display: block;
  width: 100%;
  height: 120px;
  margin: -8px 0 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: .21;
  filter: saturate(.85);
  transition: opacity .45s ease, filter .45s ease, transform .45s ease;
}

.funnel-tier:first-child {
  height: 139px;
  margin-top: 0;
}

.funnel-tier:nth-child(2) { height: 128px; }
.funnel-tier:nth-child(3) { height: 120px; }
.funnel-tier:nth-child(4) { height: 126px; }
.funnel-tier:nth-child(5) { height: 120px; }

.funnel-tier img {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 545.16%;
  pointer-events: none;
  user-select: none;
}

.funnel-tier:nth-child(1) img { height: 545.16%; top: -91.75%; }
.funnel-tier:nth-child(2) img { height: 592.97%; top: -184.62%; }
.funnel-tier:nth-child(3) img { height: 631.55%; top: -286.62%; }
.funnel-tier:nth-child(4) img { height: 602.24%; top: -351.56%; }
.funnel-tier:nth-child(5) img { height: 631.55%; top: -451.64%; }

.funnel-rim-anchor {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 1px;
  height: 1px;
  pointer-events: none;
  transform: translateY(-50%);
}

.funnel-rim-anchor--right { left: auto; }
.funnel-rim-anchor--left { right: auto; }

.funnel-tier:nth-child(1) .funnel-rim-anchor--right { right: 19.5%; }
.funnel-tier:nth-child(1) .funnel-rim-anchor--left { left: 19.5%; }

.funnel-tier:nth-child(2) .funnel-rim-anchor--right { right: 26%; }
.funnel-tier:nth-child(2) .funnel-rim-anchor--left { left: 26%; }

.funnel-tier:nth-child(3) .funnel-rim-anchor--right { right: 32%; }
.funnel-tier:nth-child(3) .funnel-rim-anchor--left { left: 32%; }

.funnel-tier:nth-child(4) .funnel-rim-anchor--right { right: 37.5%; }
.funnel-tier:nth-child(4) .funnel-rim-anchor--left { left: 37.5%; }

.funnel-tier:nth-child(5) .funnel-rim-anchor--right { right: 42.5%; }
.funnel-tier:nth-child(5) .funnel-rim-anchor--left { left: 42.5%; }

.funnel-tier > span:not(.funnel-rim-anchor) {
    position: absolute;
    left: 50%;
    top: 55%;
    z-index: 1;
    translate: -50% -42%;
    font-family: var(--font);
    width: max-content;
    max-width: 14ch;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
    pointer-events: none;
}

.funnel-tier.is-active {
  z-index: 2;
  opacity: 1;
  filter: saturate(1.05) drop-shadow(0 0 18px rgba(248, 178, 4, .35));
}

.funnel-tier:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.funnel-tier:hover:not(.is-active) {
  opacity: .42;
}

/* —— Value Funnel: minimalist mobile accordion (replaces the cropped-image
   stack + floating panel, which only makes sense with room for a side panel) —— */
.funnel-mobile {
  display: none;
}

.funnel-m-item {
  position: relative;
  padding-left: 34px;
}

.funnel-m-item::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 34px;
  bottom: -4px;
  width: 1px;
  background: rgba(237, 233, 228, .13);
}

.funnel-m-item:last-child::before {
  display: none;
}

.funnel-m-trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 10px 0;
  border: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  color: #fff;
  /* font-family: inherit; */
  text-align: left;
}

.funnel-m-trigger:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.funnel-m-num {
  position: absolute;
  left: 0;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(237, 233, 228, .18);
  background: #111;
  color: rgba(255, 255, 255, .55);
  font-size: 11px;
  font-weight: 500;
  transition: border-color .25s ease, color .25s ease;
}

.funnel-m-item.is-open .funnel-m-num,
.funnel-m-trigger:hover .funnel-m-num {
  border-color: var(--amber);
  color: var(--amber);
}

.funnel-m-title {
  flex: 1;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  transition: color .22s ease;
}

.funnel-m-trigger:hover .funnel-m-title,
.funnel-m-item.is-open .funnel-m-title {
  color: var(--amber);
}

.funnel-m-chev {
  flex-shrink: 0;
  display: block;
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, .4);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), color .25s ease;
}

.funnel-m-chev svg {
  display: block;
  width: 100%;
  height: 100%;
}

.funnel-m-item.is-open .funnel-m-chev {
  transform: rotate(180deg);
  color: var(--amber);
}

.funnel-m-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s cubic-bezier(.22, 1, .36, 1);
}

.funnel-m-item.is-open .funnel-m-wrap {
  grid-template-rows: 1fr;
}

.funnel-m-inner {
  overflow: hidden;
}

.funnel-m-objective {
  margin: 0 0 12px;
  padding-top: 2px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.funnel-m-list {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.funnel-m-list li {
  position: relative;
  padding-left: 20px;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  line-height: 1.4;
}

.funnel-m-list li::before {
  content: '';
  position: absolute;
  left: 1px;
  top: 3px;
  width: 5px;
  height: 9px;
  border-right: 1.5px solid var(--amber);
  border-bottom: 1.5px solid var(--amber);
  transform: rotate(45deg);
}

@media (max-width: 900px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-card:nth-child(4n) { border-right: 1px solid #242323; }
  .capability-card:nth-child(2n) { border-right: 0; }
  /* .capability-card:nth-child(n+5) { border-bottom: 1px solid #242323; } */
  .capability-card:nth-child(n+7) { border-bottom: 0; }

  /* Desktop's cropped-image stack + floating connector panel needs room for a
     side panel; below 900px it hands off entirely to .funnel-mobile instead. */
  .funnel-stage { display: none; }
  .funnel-mobile { display: block; margin-top: 32px; }
}

@media (max-width: 720px) {
  .capabilities { padding: 42px 16px 52px; }
  .capabilities-grid { margin-top: 36px; }
  .capability-card {
    min-height: 0;
    padding: 18px 16px 20px;
  }
  .capability-card h3 { margin-top: 22px; font-size: 12px; }
  .capability-card p { font-size: 11px; }

  .funnel { padding: 48px 16px 64px; }
  .funnel-mobile { margin-top: 28px; }
}

@media (max-width: 520px) {
  .capabilities-grid { grid-template-columns: 1fr; }
  .capability-card {
    border-right: 0 !important;
    border-bottom: 1px solid #242323;
  }
  .capability-card:last-child { border-bottom: 0; }

  .funnel-header h2 { font-size: clamp(22px, 7vw, 28px); }
  .funnel-m-title { font-size: 14px; }
  .funnel-m-list li { font-size: 12.5px; }
}

/* ── Shared section chip (×0.8 for 100%≈80% zoom) ────────────────────── */
.section-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 7px;
  border: 1px solid rgba(237, 233, 228, .13);
  border-radius: 9px 0 9px 9px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

/* ── Always-On CCTV (×0.8 for 100%≈80% zoom) ─────────────────────────── */
.cctv {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--black);
}

.cctv-glow {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 141px;
  bottom: auto;
  width: min(1536px, 160vw);
  height: calc(555px + 96px);
  transform: translateX(-50%);
  pointer-events: none;
  filter: blur(9.56px);
  opacity: 1;
}

.cctv-glow img {
  display: block;
  width: 100%;
  height: 154.69%;
  margin-top: -27.34%;
  object-fit: cover;
  object-position: center top;
}

.cctv-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 758fr 720fr;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: 1182px;
  margin: 0 auto;
  min-height: 555px;
}

.cctv-visual {
  position: relative;
  margin: 0;
  width: 100%;
  min-height: 555px;
  overflow: hidden;
  background: #0a0a0a;
}

/* Asset is already the 758×694 framed scene — fill frame, no extra zoom/crop */
.cctv-visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.cctv-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 23px;
  box-sizing: border-box;
  width: 100%;
  max-width: 576px;
  min-height: 555px;
  padding: 43px 40px 42px 40px;
  background: rgba(17, 16, 16, .19);
  backdrop-filter: blur(16.88px);
  -webkit-backdrop-filter: blur(16.88px);
}

.cctv-copy h2 {
  margin: 18px 0 0;
  max-width: 458px;
  color: #fff;
  font-size: 38px;
  font-weight: 500;
  line-height: 42px;
  letter-spacing: -0.01em;
}

.cctv-copy h2 em {
  color: var(--amber);
  font-style: normal;
}

.cctv-lede {
  margin: 16px 0 0;
  max-width: 458px;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
}

.cctv-features {
  display: grid;
  grid-template-columns: repeat(2, 230px);
  gap: 0;
  width: 459px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cctv-feature {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 230px;
  height: 117px;
  min-height: 117px;
  padding: 20px 20px 16px;
  border: 1px solid #242323;
  margin: 0 0 -1px -1px;
  background: rgba(7, 7, 7, .2);
  backdrop-filter: blur(11.72px);
  -webkit-backdrop-filter: blur(11.72px);
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.cctv-feature:hover {
  border-color: rgba(248, 178, 4, .35);
  background: rgba(7, 7, 7, .42);
  z-index: 1;
}

.cctv-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 23px;
  height: 23px;
  border-radius: 6.14px 0 6.14px 6.14px;
  background: var(--amber);
}

.cctv-icon img {
  display: block;
  width: 16.38px;
  height: 16.38px;
}

.cctv-feature p {
  margin: 0;
  width: 190px;
  max-width: 100%;
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.015em;
}

/* ── Strategic Comparison (×0.8 for 100%≈80% zoom) ───────────────────── */
.compare {
  position: relative;
  isolation: isolate;
  overflow: visible;
  padding: 70px 19px 40px;
  background: var(--black);
}

.compare-glow {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 34%;
  width: min(1536px, 160vw);
  height: 70%;
  transform: translate(-50%, -50%) rotate(180deg) scaleX(-1);
  pointer-events: none;
  filter: blur(9.56px);
  opacity: .9;
}

.compare-glow img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.compare-header {
  position: relative;
  z-index: 1;
  width: min(569px, 100%);
  margin: 0 auto;
  text-align: center;
}

.compare-header .section-chip { margin: 0 auto; }

.compare-header h2 {
  margin: 22px 0 0;
  color: #fff;
  font-size: 38px;
  font-weight: 500;
  line-height: 42px;
  letter-spacing: -0.01em;
}

.compare-header h2 em {
  color: var(--amber);
  font-style: normal;
}

.compare-lede {
  margin: 16px auto 0;
  max-width: 569px;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: -0.005em;
}

/* Comparison table — Figma 326:2834 scaled ×0.8 */
.compare-table-wrap {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(797px, 100%);
  height: 506px;
  margin: 38px auto 0;
  overflow: visible;
}

.compare-frame {
  position: absolute;
  z-index: 0;
  inset: 15px 0;
  border: 1px solid #353434;
  background: rgba(17, 16, 16, 0);
  backdrop-filter: blur(19.4px);
  -webkit-backdrop-filter: blur(19.4px);
  pointer-events: none;
}

.compare-orange {
  position: absolute;
  z-index: 1;
  top: 0;
  left: calc(24px + 228px + 265px);
  width: 257px;
  height: 506px;
  background: linear-gradient(-62.54deg, #fff 3.5%, #dfab00 19.03%, #ff7d00 88.66%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  pointer-events: none;
}

.compare-table {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 228px 265px 257px;
  grid-template-rows: 43px 46px repeat(10, 38px);
  align-content: start;
  justify-content: start;
  gap: 0;
  box-sizing: border-box;
  width: 100%;
  padding-left: 24px;
  height: 465px;
}

.compare-table::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 43px;
  left: 24px;
  width: 492px;
  height: 0;
  border-top: 1px solid #3e3d3d;
  pointer-events: none;
}

/* Horizontal-scroll affordance. JS toggles .has-overflow/.is-at-start/.is-at-end
   on .compare-table-wrap from actual scrollWidth/clientWidth, so these never
   show on desktop (the table fits its own 797px box there) — only when the
   fixed-width table genuinely overflows a narrower viewport (<=900px). Edge
   fades use `right:0`/`left:0` absolute positioning, which anchors to the
   wrap's own box rather than its scrolled content, so they stay pinned in
   place as the table scrolls beneath them. */
.compare-table-wrap::before,
.compare-table-wrap::after {
  content: "";
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  width: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.compare-table-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--black), rgba(7, 7, 7, 0));
}

.compare-table-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, var(--black), rgba(7, 7, 7, 0));
}

.compare-table-wrap.has-overflow:not(.is-at-start)::before,
.compare-table-wrap.has-overflow:not(.is-at-end)::after {
  opacity: 1;
}

.compare-scroll-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .6);
  font-size: 12px;
  font-weight: 400;
  opacity: 0;
  transition: opacity .3s ease;
}

.compare-table-wrap.has-overflow ~ .compare-scroll-hint {
  display: flex;
  opacity: 1;
}

.compare-table-wrap.has-scrolled ~ .compare-scroll-hint {
  opacity: 0;
}

.compare-scroll-hint svg {
  width: 14px;
  height: 14px;
  flex: none;
}

@media (prefers-reduced-motion: no-preference) {
  .compare-scroll-hint svg { animation: compare-hint-nudge 1.4s ease-in-out infinite; }
}

@keyframes compare-hint-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

.compare-col,
.compare-cells {
  display: contents;
}

.compare-head {
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  min-height: 46px;
  padding: 16px 9px 0;
  font-size: 13px;
  font-weight: 500;
  line-height: normal;
  white-space: nowrap;
}

.compare-col--factor .compare-head {
  grid-column: 1;
  grid-row: 2;
  justify-content: flex-start;
  padding-top: 16px;
  border-bottom: 1px solid #3e3d3d;
  border-left: 1px solid #3e3d3d;
  color: var(--amber);
}

.compare-col--house .compare-head {
  grid-column: 2;
  grid-row: 2;
  justify-content: flex-start;
  /* text-align: center; */
  padding-top: 16px;
  border-bottom: 1px solid #3e3d3d;
  border-left: 1px solid #3e3d3d;
  color: var(--amber);
}

.compare-col--wise .compare-head {
  grid-column: 3;
  grid-row: 2;
  justify-content: center;
  text-align: center;
  padding-top: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
}

.compare-cell {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  height: 38px;
  min-height: 38px;
  padding: 12px 9px;
  border: 1px solid #3e3d3d;
  margin-top: -1px;
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  line-height: normal;
  white-space: nowrap;
}

.compare-col--factor .compare-cell:nth-child(1) { grid-column: 1; grid-row: 3; margin-top: 0; border-top: 0; }
.compare-col--factor .compare-cell:nth-child(2) { grid-column: 1; grid-row: 4; }
.compare-col--factor .compare-cell:nth-child(3) { grid-column: 1; grid-row: 5; }
.compare-col--factor .compare-cell:nth-child(4) { grid-column: 1; grid-row: 6; }
.compare-col--factor .compare-cell:nth-child(5) { grid-column: 1; grid-row: 7; }
.compare-col--factor .compare-cell:nth-child(6) { grid-column: 1; grid-row: 8; }
.compare-col--factor .compare-cell:nth-child(7) { grid-column: 1; grid-row: 9; }
.compare-col--factor .compare-cell:nth-child(8) { grid-column: 1; grid-row: 10; }
.compare-col--factor .compare-cell:nth-child(9) { grid-column: 1; grid-row: 11; }
.compare-col--factor .compare-cell:nth-child(10) { grid-column: 1; grid-row: 12; }

.compare-col--house .compare-cell:nth-child(1) { grid-column: 2; grid-row: 3; margin-top: 0; border-top: 0; }
.compare-col--house .compare-cell:nth-child(2) { grid-column: 2; grid-row: 4; }
.compare-col--house .compare-cell:nth-child(3) { grid-column: 2; grid-row: 5; }
.compare-col--house .compare-cell:nth-child(4) { grid-column: 2; grid-row: 6; }
.compare-col--house .compare-cell:nth-child(5) { grid-column: 2; grid-row: 7; }
.compare-col--house .compare-cell:nth-child(6) { grid-column: 2; grid-row: 8; }
.compare-col--house .compare-cell:nth-child(7) { grid-column: 2; grid-row: 9; }
.compare-col--house .compare-cell:nth-child(8) { grid-column: 2; grid-row: 10; }
.compare-col--house .compare-cell:nth-child(9) { grid-column: 2; grid-row: 11; }
.compare-col--house .compare-cell:nth-child(10) { grid-column: 2; grid-row: 12; }

.compare-col--wise .compare-cell:nth-child(1) { grid-column: 3; grid-row: 3; margin-top: 0; border-top: 0; }
.compare-col--wise .compare-cell:nth-child(2) { grid-column: 3; grid-row: 4; }
.compare-col--wise .compare-cell:nth-child(3) { grid-column: 3; grid-row: 5; }
.compare-col--wise .compare-cell:nth-child(4) { grid-column: 3; grid-row: 6; }
.compare-col--wise .compare-cell:nth-child(5) { grid-column: 3; grid-row: 7; }
.compare-col--wise .compare-cell:nth-child(6) { grid-column: 3; grid-row: 8; }
.compare-col--wise .compare-cell:nth-child(7) { grid-column: 3; grid-row: 9; }
.compare-col--wise .compare-cell:nth-child(8) { grid-column: 3; grid-row: 10; }
.compare-col--wise .compare-cell:nth-child(9) { grid-column: 3; grid-row: 11; }
.compare-col--wise .compare-cell:nth-child(10) { grid-column: 3; grid-row: 12; }

.compare-cell--alt { background: rgba(207, 207, 207, .04); }

.compare-col--factor .compare-cell {
  border-right: 0;
  border-left: 1px solid #3e3d3d;
}

.compare-col--house .compare-cell {
  border-right: 0;
  border-left: 1px solid #3e3d3d;
}

.compare-col--wise .compare-cell {
  justify-self: center;
  width: 204px;
  border-color: rgba(255, 255, 255, .2);
  background: transparent;
  color: #fff;
}

.compare-col--wise .compare-cell--alt {
  background: rgba(0, 0, 0, .07);
}

.compare-col--wise .compare-cell:hover {
  background: rgba(0, 0, 0, .12);
}

/* ── Why Choose Wise BI (×0.8 for 100%≈80% zoom) ─────────────────────── */
.why {
  position: relative;
  padding: 40px 19px 40px;
  background: #000;
}

.why-header {
  width: min(528px, 100%);
  margin: 0 auto;
  text-align: center;
}

.why-header h2 {
  margin: 0;
  color: #fff;
  font-size: 38px;
  font-weight: 500;
  line-height: 42px;
  letter-spacing: -0.01em;
}

.why-header h2 em {
  color: var(--amber);
  font-style: normal;
}

.why-grid {
  display: grid;
  grid-template-columns: 536px 537px;
  gap: 0;
  width: max-content;
  max-width: 100%;
  margin: 50px auto 0;
  padding: 0;
  list-style: none;
  justify-content: center;
}

.why-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 536px;
  max-width: 100%;
  height: 520px;
  min-height: 520px;
  padding: 0 0 22px;
  border: 1px solid #242323;
  margin: 0 0 -1px -1px;
  background: #070707;
  overflow: hidden;
  transition: border-color .28s ease, transform .28s ease, box-shadow .28s ease;
}

.why-card:nth-child(2),
.why-card:nth-child(4) {
  width: 537px;
  background: #070707;
}

.why-card:nth-child(1),
.why-card:nth-child(3) {
  background: #060606;
}

/* .why-card:hover {
  border-color: rgba(248, 178, 4, .28);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .35);
  z-index: 1;
} */

.why-art {
  position: relative;
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 17px 23px 0;
  overflow: hidden;
}

.why-art img {
  display: block;
  width: min(100%, 489px);
  height: auto;
  max-height: 391px;
  object-fit: contain;
}

.why-card:nth-child(1) .why-art img { max-height: 250px; }
.why-card:nth-child(2) .why-art img { max-height: 250px; }
.why-card:nth-child(3) .why-art img { max-height: 250px; }
.why-card:nth-child(4) .why-art {
  padding-top: 29px;
}
.why-card:nth-child(4) .why-art img {
  width: min(100%, 414px);
  max-height: 250px;
}

.why-fade {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 112px;
  background: linear-gradient(180deg, rgba(7, 7, 7, 0) 0%, #070707 100%);
  pointer-events: none;
}

.why-card:nth-child(1) .why-fade { height: 142px; }
.why-card:nth-child(2) .why-fade { height: 121px; }
.why-card:nth-child(3) .why-fade,
.why-card:nth-child(4) .why-fade { height: 98px; }

.why-card h3 {
  margin: 0 47px 0;
  color: var(--amber);
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  white-space: nowrap;
}

.why-card:nth-child(4) h3 {
  white-space: normal;
  max-width: 448px;
}

.why-card p {
  margin: 11px 47px 0;
  width: 368px;
  max-width: calc(100% - 94px);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.01em;
}

@media (max-width: 900px) {
  .cctv-layout {
    grid-template-columns: 1fr;
    max-width: 576px;
  }
  .cctv-visual {
    min-height: 336px;
    aspect-ratio: 758 / 694;
  }
  .cctv-visual img {
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .cctv-content {
    min-height: 0;
    max-width: none;
    padding: 32px 22px 38px;
    gap: 22px;
  }
  .cctv-copy h2 {
    font-size: clamp(22px, 4vw, 32px);
    line-height: 1.1;
  }
  .cctv-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .cctv-feature {
    width: auto;
    height: auto;
    min-height: 117px;
  }
  .cctv-feature p { width: auto; }
  .cctv-glow {
    display: none;
  }
  /* .compare-glow is width:160vw for a wide desktop blur bleed; .compare has
     overflow:visible so its parent-of-parent (the page's own scroll section)
     can show it. On mobile that same overflow:visible lets the 160vw glow
     push past the viewport edge and adds page-wide horizontal scroll. */
  .compare { overflow-x: hidden; }
  .compare-header h2 {
    font-size: clamp(21px, 4vw, 32px);
    line-height: 1.1;
  }
  .compare-table-wrap { height: auto; min-height: 506px; overflow-x: auto; }
  /* .compare-frame spans the full table, but .compare-orange is only ever meant
     to be the 257px highlight behind the 3rd column — giving it the same 797px
     min-width as the frame stretched it far past the real content, inflating
     the scrollable area with a few hundred px of blank gradient at the end. */
  .compare-frame { min-width: 797px; }
  .compare-orange { min-width: 257px; }
  .compare-table { min-width: 797px; height: 465px; }
  .why-header h2 {
    font-size: clamp(21px, 4vw, 32px);
    line-height: 1.1;
  }
  .why-grid {
    grid-template-columns: 1fr;
    width: min(536px, 100%);
  }
  .why-card,
  .why-card:nth-child(2),
  .why-card:nth-child(4) {
    width: 100%;
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .section-chip { font-size: 12px; padding: 6px; }
  .cctv-features { gap: 0; }
  .cctv-feature { min-height: 0; padding: 14px 13px; margin: 0 0 -1px -1px; }
  .compare { padding: 51px 14px 64px; }
  .why { padding: 45px 14px 70px; }
  .why-grid { margin-top: 32px; }
  .why-art { min-height: 224px; padding-top: 14px; }
  .why-card h3,
  .why-card p { margin-left: 19px; margin-right: 19px; }
  .why-card p {
    width: auto;
    max-width: calc(100% - 38px);
    font-size: 12px;
  }
  .why-card h3 { white-space: normal; }
}

@media (max-width: 720px) {
  .cctv-features { grid-template-columns: 1fr; width: 100%; }
  .cctv-copy h2 { font-size: clamp(19px, 7vw, 26px); }
  .compare-header h2 { font-size: clamp(19px, 7vw, 26px); }
  .compare-cell { white-space: normal; height: auto; min-height: 38px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-header h2 { font-size: clamp(19px, 7vw, 26px); }
  .why-card h3 { font-size: 14px; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Close band (FAQ → CTA → footer share one bg) —— */
.close-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--black);
}

.cta-background {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background-image: url("../cta-bg.webp");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 181%;
  bottom: -630px;
}

/* —— FAQ —— */
.faq {
  position: relative;
  z-index: 1;
  padding: 40px 19px 0px;
  background: transparent;
}

.faq-header {
  width: min(560px, 100%);
  margin: 0 auto;
  text-align: center;
}

.faq-header h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.faq-header h2 em {
  color: var(--amber);
  font-style: normal;
}

.faq-list {
  width: min(700px, 100%);
  margin: 48px auto 0;
  display: grid;
  gap: 12px;
}

.faq-item-heading {
  margin: 0;
  font-weight: inherit;
}

.faq-item {
  border: 1px solid #242323;
  border-radius: 14px 0 14px 14px;
  background: rgba(255, 255, 255, .03);
  overflow: hidden;
  transition: border-color .25s ease, background-color .25s ease;
}

.faq-item:hover {
  border-color: rgba(248, 178, 4, .28);
}

.faq-item.is-open {
  border-color: rgba(248, 178, 4, .4);
  background: rgba(255, 255, 255, .045);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 22px;
  border: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  transition: color .22s ease;
}

.faq-question:hover { color: var(--amber); }

.faq-question:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: -2px;
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.faq-icon img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  transition: opacity .25s ease, transform .25s ease;
}

.faq-icon .icon-minus {
  opacity: 0;
  transform: rotate(-90deg);
}

.faq-item.is-open .faq-icon .icon-plus {
  opacity: 0;
  transform: rotate(90deg);
}

.faq-item.is-open .faq-icon .icon-minus {
  opacity: 1;
  transform: rotate(0deg);
}

.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s cubic-bezier(.22, 1, .36, 1);
}

.faq-item.is-open .faq-answer-wrap {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer {
  margin: 0;
  padding: 0 22px 20px;
  max-width: 60ch;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}

/* —— CTA —— */
.cta {
  position: relative;
z-index: 1;
  padding: 130px 19px 210px;
  background: transparent;
  text-align: center;
}

.cta-content {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  margin: 0 auto;
}

.cta-content h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.cta-content h2 span {
  display: block;
  white-space: nowrap;
}

.cta-content .button {
  margin-top: 30px;
}

/* Match header nav CTA scale (`.wb-nav__actions .button.button-primary`) */
.cta-content .button.button-primary {
  box-sizing: border-box;
  width: auto;
  min-width: 144px;
  height: 42px;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 15px 0 15px 15px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  color: #000;
  box-shadow: none;
}

.cta-content .button.button-primary:hover {
  background: #ffc21f;
  box-shadow: 0 12px 32px -6px rgba(248, 178, 4, .45);
}

.cta-content .button.button-primary:active {
  background: #e6a503;
  box-shadow: 0 4px 14px -6px rgba(248, 178, 4, .4);
}

/* —— Footer —— */
.site-footer {
  position: relative;
  z-index: 1;
  background: transparent;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(240px, 320px) repeat(3, minmax(0, 1fr));
  gap: 40px;
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0px 19px 48px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.footer-tagline {
  margin: 14px 0 0;
  max-width: 300px;
  color: rgba(255, 255, 255, .56);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  width: fit-content;
  overflow: hidden;
}

.footer-badges .badge-img {
  height: 55px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform .2s ease;
}

.footer-signup {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(280px, 100%);
  margin-top: 20px;
  padding: 6px 6px 6px 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 5px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(6px);
  transition: border-color .22s ease, background-color .22s ease;
}

.footer-signup:focus-within {
  border-color: rgba(248, 178, 4, .5);
  background: rgba(255, 255, 255, .1);
}

.footer-signup input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  outline: none;
}

.footer-signup input::placeholder {
  color: rgba(255, 255, 255, .4);
}

/* Browsers force a light autofill background by default (the box you're seeing
   around filled/suggested text) — repaint it to match the dark pill instead. */
.footer-signup input:-webkit-autofill,
.footer-signup input:-webkit-autofill:hover,
.footer-signup input:-webkit-autofill:focus,
.footer-signup input:-webkit-autofill:active {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  transition: background-color 99999s ease-in-out 0s;
  -webkit-box-shadow: 0 0 0 1000px #171412 inset;
  box-shadow: 0 0 0 1000px #171412 inset;
}

.footer-signup button {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: transform .22s ease, opacity .22s ease;
}

.footer-signup button:hover { transform: translateX(2px); }
.footer-signup button:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.footer-signup button img {
  display: block;
  width: 100%;
  height: 100%;
}

.footer-signup-msg {
  margin: 8px 0 0;
  min-height: 16px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .55);
}

.footer-signup-msg.is-success { color: var(--amber); }
.footer-signup-msg.is-error { color: #ff8a8a; }

.footer-col h3 {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.footer-col ul {
  display: grid;
  gap: 11px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  color: rgba(255, 255, 255, .6);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  transition: color .2s ease;
}

.footer-col a:hover { color: var(--amber); }
.footer-col a:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.footer-contact-list {
  color: rgba(255, 255, 255, .6);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.footer-contact-list li:first-child { max-width: 220px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 22px 19px 32px;
  border-top: 1px solid #1c1c1c;
}

.footer-credit {
  order: 1;
  margin: 0;
  color: #f6f6f6;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

.footer-credit span { color: rgba(255, 255, 255, .5); }

.footer-social {
  order: 2;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s ease;
}

.footer-social a:hover { color: var(--amber); }
.footer-social a:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.footer-social img {
  display: block;
  width: 15px;
  height: 15px;
}

/* —— Scroll reveal (FAQ / CTA / Footer) —— */
@media (prefers-reduced-motion: no-preference) {
  [data-faq-reveal],
  [data-cta-reveal],
  [data-footer-reveal] {
    opacity: 0;
    translate: 0 26px;
    transition: opacity .7s cubic-bezier(.22, 1, .36, 1), translate .7s cubic-bezier(.22, 1, .36, 1);
  }

  [data-faq-reveal].is-revealed,
  [data-cta-reveal].is-revealed,
  [data-footer-reveal].is-revealed {
    opacity: 1;
    translate: 0 0;
  }
}

/* Solutions cards only reveal-on-scroll on mobile — desktop already animates via the scrubber */
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  [data-solution-reveal] {
    opacity: 0;
    translate: 0 22px;
    transition: opacity .6s cubic-bezier(.22, 1, .36, 1), translate .6s cubic-bezier(.22, 1, .36, 1);
  }

  [data-solution-reveal].is-revealed {
    opacity: 1;
    translate: 0 0;
  }
}

/* Reduced motion / no scrubber: stack as a normal vertical list on desktop too */
@media (prefers-reduced-motion: reduce) {
  .solutions-pin { height: auto !important; }
  .solutions { position: relative; top: auto; overflow: visible; }
  .solutions-stack { height: auto !important; overflow: visible; }
  .solution-slot {
    position: relative;
    transform: none !important;
    margin-bottom: 28px;
    will-change: auto;
  }
  .solution-slot:last-child { margin-bottom: 0; }
}

@media (max-width: 900px) {
  .faq { padding: 58px 16px 62px; }
  .faq-header h2 { font-size: clamp(22px, 7vw, 29px); }
  .faq-list { margin-top: 32px; gap: 10px; }
  .faq-question { padding: 16px 18px; font-size: 14px; }
  .faq-answer { padding: 0 18px 18px; font-size: 12.5px; }

  .cta { padding: 64px 16px 96px; }
  .cta-content h2 span { white-space: normal; }
  .cta-content .button.button-primary {
    height: 40px;
    min-height: 40px;
    min-width: 0;
    padding: 0 16px;
    font-size: 13px;
    border-radius: 12px 0 12px 12px;
  }
  .cta-background { background-size: cover; }
  .cta-background {
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    background-image: url("../cta-bg.webp");
    background-repeat: no-repeat;
    background-position: center -60px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 28px;
    padding: 56px 20px 8px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(237, 233, 228, .1);
  }
  .footer-col h3 { font-size: 15px; }
  .footer-col ul { gap: 15px; }
  .footer-col a { display: block; padding: 2px 0; }
  .footer-bottom {
    gap: 18px;
    padding: 28px 20px 36px;
  }
  .footer-social { gap: 24px; }
}

@media (max-width: 720px) {
  .faq-question span:first-child { font-size: 13.5px; }

  .cta-content h2 { font-size: clamp(21px, 7vw, 28px); }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 18px 8px;
  }
  .footer-brand { padding-bottom: 32px; }
  .footer-tagline { max-width: none; }
  .footer-col:not(:last-child) {
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(237, 233, 228, .08);
  }
  .footer-col:not(.footer-contact) ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 18px 32px;
  }
  /* align-items:flex-start means .footer-credit sizes to fit-content instead
     of stretching to the row's width, so it never gets a width to wrap
     against and renders as one long unwrapped line past the viewport edge. */
  .footer-credit { width: 100%; order: 2; margin-top: 4px; }
  /* Social row above the copyright on mobile; icon-only (no text label) so
     all 4 links stay on a single row instead of YouTube wrapping to its own line. */
  .footer-social { order: 1; gap: 22px; }
  .footer-social a span { display: none; }
}

@media (max-width: 390px) {
  .faq-question { padding: 14px 16px; }
  .faq-answer { padding: 0 16px 16px; }
  .cta { padding: 52px 14px 80px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .funnel-panel-card {
    opacity: 1 !important;
    transform: none !important;
  }
}
