/* ==========================================================================
   ScoreLabs Inc. - Light Theme Sections
   Simple, clean surfaces. The personality is in the motion.
   ========================================================================== */

@property --a {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.lt,
.sx-footer,
.sx-modal {
  --sx-ink: #061124;
  --sx-body: #475569;
  --sx-mute: #64748b;
  --sx-line: #e4e9f0;
  --sx-bg: #ffffff;
  --sx-bg2: #f5f8fc;
  --sx-green: #00e44a;
  --sx-green-d: #059669;
  --sx-blue: #1945f4;
  --sx-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sx-shadow: 0 1px 2px rgba(6, 17, 36, 0.04), 0 12px 32px rgba(6, 17, 36, 0.06);
  --sx-shadow-hover: 0 2px 4px rgba(6, 17, 36, 0.05), 0 24px 48px rgba(6, 17, 36, 0.12);
}

.lt {
  position: relative;
  z-index: 2;
  background: var(--sx-bg);
  color: var(--sx-body);
  font-family: var(--font-body);
}

.lt section[id],
.sx-cta-wrap {
  scroll-margin-top: 70px;
}

/* --------------------------------------------------------------------------
   Scroll progress bar
   -------------------------------------------------------------------------- */
.sx-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1200;
  background: linear-gradient(90deg, var(--sx-green), #38bdf8);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Reveal system (only hides content once animations.js is running: html.rv)
   -------------------------------------------------------------------------- */
html.rv [data-reveal] {
  opacity: 0;
  translate: 0 30px;
  filter: blur(6px);
  transition:
    opacity 0.9s var(--sx-ease) calc(var(--d, 0) * 90ms),
    translate 0.9s var(--sx-ease) calc(var(--d, 0) * 90ms),
    filter 0.9s var(--sx-ease) calc(var(--d, 0) * 90ms);
}

html.rv [data-reveal].in {
  opacity: 1;
  translate: 0 0;
  filter: none;
}

/* Revealing cards must keep their hover transitions (the reveal rule above replaces `transition`) */
html.rv .sx-card[data-reveal] {
  transition:
    opacity 0.9s var(--sx-ease) calc(var(--d, 0) * 90ms),
    translate 0.9s var(--sx-ease) calc(var(--d, 0) * 90ms),
    filter 0.9s var(--sx-ease) calc(var(--d, 0) * 90ms),
    transform 0.45s var(--sx-ease),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

html.rv .sx-card.is-tilting[data-reveal] {
  transition:
    opacity 0.9s var(--sx-ease) calc(var(--d, 0) * 90ms),
    translate 0.9s var(--sx-ease) calc(var(--d, 0) * 90ms),
    filter 0.9s var(--sx-ease) calc(var(--d, 0) * 90ms),
    transform 0.08s linear,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

html.rv .sx-metric[data-reveal],
html.rv .sx-loc[data-reveal] {
  transition:
    opacity 0.9s var(--sx-ease) calc(var(--d, 0) * 90ms),
    translate 0.9s var(--sx-ease) calc(var(--d, 0) * 90ms),
    filter 0.9s var(--sx-ease) calc(var(--d, 0) * 90ms),
    transform 0.45s var(--sx-ease),
    box-shadow 0.4s ease,
    border-color 0.3s ease;
}

/* Headline: each word rises out of a mask */
.sx-title .w,
.sx-cta-title .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
  margin-right: 0.26em;
}

.sx-title .w:last-child,
.sx-cta-title .w:last-child {
  margin-right: 0;
}

.sx-title .wi,
.sx-cta-title .wi {
  display: inline-block;
}

html.rv [data-split] .wi {
  translate: 0 115%;
  rotate: 4deg;
  transition:
    translate 0.95s var(--sx-ease) calc(var(--wi, 0) * 55ms),
    rotate 0.95s var(--sx-ease) calc(var(--wi, 0) * 55ms);
}

html.rv [data-split].in .wi {
  translate: 0 0;
  rotate: 0deg;
}

.sx-grad .wi,
.sx-grad {
  background: linear-gradient(120deg, #00a635 0%, #059669 45%, #1945f4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* gradient on the wrapper is only a fallback; split words carry their own */
.sx-grad .w .wi {
  background: linear-gradient(120deg, #00a635 0%, #059669 50%, #1945f4 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.sx-section {
  position: relative;
  padding: 108px 0;
  background: var(--sx-bg);
}

.sx-section.alt {
  background: var(--sx-bg2);
}

.sx-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}

.sx-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #ecfdf3;
  border: 1px solid rgba(5, 150, 105, 0.22);
  color: #047857;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.sx-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00b83c;
  box-shadow: 0 0 0 0 rgba(0, 184, 60, 0.5);
  animation: sxPing 2.2s ease-out infinite;
}

@keyframes sxPing {
  0% { box-shadow: 0 0 0 0 rgba(0, 184, 60, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(0, 184, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 184, 60, 0); }
}

.sx-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--sx-ink);
  margin-bottom: 18px;
}

.sx-desc {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--sx-mute);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.sx-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.sx-btn i {
  transition: transform 0.35s var(--sx-ease);
}

.sx-btn:hover i {
  transform: translateX(4px);
}

.sx-btn-primary {
  background: linear-gradient(135deg, #00e44a 0%, #00c43f 100%);
  color: #03140a;
  box-shadow: 0 8px 22px rgba(0, 196, 63, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* light sweep across the button on hover */
.sx-btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s var(--sx-ease);
}

.sx-btn-primary:hover::after {
  left: 130%;
}

.sx-btn-primary:hover {
  box-shadow: 0 12px 30px rgba(0, 196, 63, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.sx-btn-lg {
  padding: 17px 34px;
  font-size: 1.02rem;
}

.sx-btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Marquee ribbon
   -------------------------------------------------------------------------- */
.sx-ribbon {
  padding: 34px 0 38px;
  background: var(--sx-bg);
  border-bottom: 1px solid var(--sx-line);
  overflow: hidden;
}

.sx-ribbon-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sx-mute);
  margin-bottom: 20px;
}

.sx-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.sx-marquee-track {
  display: flex;
  width: max-content;
  gap: 14px;
  will-change: transform;
}

.sx-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid var(--sx-line);
  border-radius: 999px;
  background: #fff;
  color: var(--sx-ink);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  white-space: nowrap;
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s var(--sx-ease);
}

.sx-chip i {
  color: var(--sx-green-d);
}

.sx-chip:hover {
  border-color: rgba(5, 150, 105, 0.5);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   Cards, border beam, spotlight, tilt
   -------------------------------------------------------------------------- */
.sx-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.sx-span-4 { grid-column: span 4; }
.sx-span-6 { grid-column: span 6; }
.sx-span-8 { grid-column: span 8; }
.sx-span-12 { grid-column: span 12; }

.sx-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--sx-line);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--sx-shadow);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.45s var(--sx-ease), box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
  isolation: isolate;
}

.sx-card.is-tilting {
  transition: transform 0.08s linear, box-shadow 0.4s ease, border-color 0.4s ease;
}

.sx-card:hover {
  box-shadow: var(--sx-shadow-hover);
  border-color: transparent;
}

/* cursor-following soft spotlight */
.sx-card::before {
  content: '';
  position: absolute;
  left: var(--mouse-x, -400px);
  top: var(--mouse-y, -400px);
  width: 420px;
  height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 228, 74, 0.13) 0%, transparent 62%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
}

.sx-card:hover::before {
  opacity: 1;
}

/* rotating light that runs around the card edge on hover */
.sx-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--a), transparent 0 62%, rgba(0, 228, 74, 0.0) 66%, #00e44a 84%, #38bdf8 94%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  animation: sxSpin 3.6s linear infinite;
}

.sx-card:hover::after {
  opacity: 1;
}

@keyframes sxSpin {
  to { --a: 360deg; }
}

.sx-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.sx-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #ecfdf3;
  border: 1px solid rgba(5, 150, 105, 0.2);
  color: var(--sx-green-d);
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s var(--sx-ease), background 0.3s ease;
}

.sx-card:hover .sx-icon {
  transform: rotate(-8deg) scale(1.08);
  background: #d9fbe6;
}

.sx-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: #b4bfcd;
  transition: color 0.3s ease;
}

.sx-card:hover .sx-num {
  color: var(--sx-green-d);
}

.sx-card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sx-ink);
  margin-bottom: 10px;
}

.sx-card-desc {
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--sx-body);
  margin-bottom: 20px;
}

.sx-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sx-tags span {
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--sx-bg2);
  border: 1px solid var(--sx-line);
  font-size: 0.8rem;
  font-weight: 500;
  color: #334155;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.35s var(--sx-ease);
}

.sx-card:hover .sx-tags span {
  background: #ecfdf3;
  border-color: rgba(5, 150, 105, 0.3);
  color: #047857;
}

.sx-card:hover .sx-tags span:nth-child(2) { transition-delay: 0.04s; }
.sx-card:hover .sx-tags span:nth-child(3) { transition-delay: 0.08s; }
.sx-card:hover .sx-tags span:nth-child(4) { transition-delay: 0.12s; }

.sx-card-split .sx-card-top,
.sx-card-wide .sx-card-top {
  justify-content: flex-start;
  gap: 14px;
}

.sx-card-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.sx-card-wide {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

.sx-card-wide .sx-tags {
  justify-content: flex-end;
}

.sx-card-wide .sx-card-desc {
  margin-bottom: 0;
  max-width: 560px;
}

/* --------------------------------------------------------------------------
   Mock terminal (types itself when it scrolls into view)
   -------------------------------------------------------------------------- */
.sx-term {
  background: #0b1730;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(6, 17, 36, 0.25);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #a7f3d0;
}

.sx-term-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: #0e1d3a;
  color: #7c8da8;
  font-size: 0.72rem;
}

.sx-term-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4444;
}

.sx-term-bar i:nth-child(2) { background: #f59e0b; }
.sx-term-bar i:nth-child(3) { background: #10b981; }
.sx-term-bar span { margin-left: 8px; }

.sx-term-body {
  padding: 16px 16px 18px;
  min-height: 150px;
}

.sx-line {
  line-height: 1.9;
  white-space: nowrap;
}

.sx-prompt { color: #38bdf8; }
.sx-line .ok { color: #4ade80; }
.sx-line .arrow { color: #facc15; }
.sx-line em { font-style: normal; color: #7c8da8; margin-left: 6px; }

.sx-type {
  display: inline-block;
  width: 33ch;
  overflow: hidden;
  vertical-align: bottom;
  white-space: nowrap;
}

html.rv .sx-type {
  width: 0;
  border-right: 2px solid #a7f3d0;
}

html.rv .sx-l2,
html.rv .sx-l3,
html.rv .sx-l4,
html.rv .sx-l5 {
  opacity: 0;
  translate: -8px 0;
}

html.rv .sx-term.in .sx-type {
  animation: sxTyping 1.7s steps(33, end) 0.2s forwards, sxBlink 0.7s step-end 0.2s 3, sxHideCaret 0s 2.3s forwards;
}

html.rv .sx-term.in .sx-l2 { animation: sxLine 0.5s var(--sx-ease) 2.0s forwards; }
html.rv .sx-term.in .sx-l3 { animation: sxLine 0.5s var(--sx-ease) 2.5s forwards; }
html.rv .sx-term.in .sx-l4 { animation: sxLine 0.5s var(--sx-ease) 3.0s forwards; }
html.rv .sx-term.in .sx-l5 { animation: sxLine 0.5s var(--sx-ease) 3.5s forwards; }

.sx-caret {
  display: inline-block;
  width: 7px;
  height: 14px;
  margin-left: 4px;
  vertical-align: -2px;
  background: #a7f3d0;
  animation: sxBlink 1s step-end infinite;
}

@keyframes sxTyping { to { width: 33ch; } }
@keyframes sxBlink { 50% { border-color: transparent; } }
@keyframes sxHideCaret { to { border-right-color: transparent; } }
@keyframes sxLine { to { opacity: 1; translate: 0 0; } }

/* --------------------------------------------------------------------------
   Advantage tabs
   -------------------------------------------------------------------------- */
.sx-arch {
  background: #fff;
  border: 1px solid var(--sx-line);
  border-radius: 26px;
  padding: 28px;
  box-shadow: var(--sx-shadow);
}

.sx-tabs {
  position: relative;
  display: flex;
  gap: 6px;
  padding-bottom: 14px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--sx-line);
  overflow-x: auto;
  scrollbar-width: none;
}

.sx-tabs::-webkit-scrollbar { display: none; }

.sx-tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: var(--sx-mute);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.sx-tab b {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: #b4bfcd;
  transition: color 0.3s ease;
}

.sx-tab:hover { color: var(--sx-ink); }
.sx-tab.active { color: var(--sx-ink); }
.sx-tab.active b { color: var(--sx-green-d); }

/* a single pill that glides between tabs */
.sx-tab-ind {
  position: absolute;
  top: 0;
  left: 0;
  height: calc(100% - 15px);
  width: 0;
  border-radius: 12px;
  background: #ecfdf3;
  border: 1px solid rgba(5, 150, 105, 0.25);
  transition: transform 0.55s var(--sx-ease), width 0.55s var(--sx-ease);
  pointer-events: none;
}

.sx-arch-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.sx-arch-info h3 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--sx-ink);
  margin-bottom: 14px;
}

.sx-arch-info p {
  line-height: 1.65;
  margin-bottom: 20px;
}

.sx-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sx-bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #1e293b;
  font-size: 0.95rem;
  font-weight: 500;
}

.sx-bullet i {
  margin-top: 4px;
  color: var(--sx-green-d);
}

/* content re-enters each time a tab changes */
.sx-arch-panel.swap .sx-arch-info > * {
  animation: sxSwap 0.6s var(--sx-ease) both;
}

.sx-arch-panel.swap .sx-arch-info p { animation-delay: 0.06s; }
.sx-arch-panel.swap .sx-arch-info .sx-bullet:nth-child(1) { animation: sxSwap 0.6s var(--sx-ease) 0.12s both; }
.sx-arch-panel.swap .sx-arch-info .sx-bullet:nth-child(2) { animation: sxSwap 0.6s var(--sx-ease) 0.18s both; }
.sx-arch-panel.swap .sx-arch-info .sx-bullet:nth-child(3) { animation: sxSwap 0.6s var(--sx-ease) 0.24s both; }
.sx-arch-panel.swap .sx-node { animation: sxNodePop 0.6s var(--sx-ease) both; }
.sx-arch-panel.swap .sx-node:nth-child(3) { animation-delay: 0.1s; }
.sx-arch-panel.swap .sx-node:nth-child(5) { animation-delay: 0.2s; }

@keyframes sxSwap {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes sxNodePop {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: none; }
}

/* signal flow diagram */
.sx-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 26px 20px;
  background: var(--sx-bg2);
  border: 1px solid var(--sx-line);
  border-radius: 20px;
}

.sx-node {
  width: min(100%, 260px);
  padding: 14px 18px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(5, 150, 105, 0.3);
  border-radius: 14px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sx-ink);
  box-shadow: 0 6px 18px rgba(6, 17, 36, 0.06);
}

.sx-node-mid {
  border-color: rgba(25, 69, 244, 0.35);
}

.sx-link {
  position: relative;
  width: 2px;
  height: 44px;
  background: #d5dde8;
  overflow: hidden;
}

/* a pulse of light travelling down the line */
.sx-link::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 16px;
  background: linear-gradient(180deg, transparent, #00e44a, #38bdf8, transparent);
  animation: sxTravel 1.8s ease-in-out infinite;
}

.sx-link:nth-child(4)::after { animation-delay: 0.9s; }

@keyframes sxTravel {
  0% { top: -16px; }
  100% { top: 100%; }
}

/* --------------------------------------------------------------------------
   Metrics
   -------------------------------------------------------------------------- */
.sx-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.sx-metric {
  position: relative;
  padding: 34px 24px 30px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--sx-line);
  border-radius: 22px;
  box-shadow: var(--sx-shadow);
  overflow: hidden;
  transition: transform 0.45s var(--sx-ease), box-shadow 0.4s ease;
}

.sx-metric:hover {
  transform: translateY(-6px);
  box-shadow: var(--sx-shadow-hover);
}

/* line that draws itself under each number */
.sx-metric::after {
  content: '';
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--sx-green), #38bdf8);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1.2s var(--sx-ease) 0.5s;
}

.sx-metric.in::after {
  transform: scaleX(1);
}

.sx-metric-num {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--sx-ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}

.sx-suffix {
  color: var(--sx-green-d);
}

.sx-metric-title {
  font-weight: 700;
  color: var(--sx-ink);
  margin-bottom: 4px;
}

.sx-metric-sub {
  font-size: 0.88rem;
  color: var(--sx-mute);
}

/* --------------------------------------------------------------------------
   Tech stack explorer
   -------------------------------------------------------------------------- */
.sx-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.sx-filter {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--sx-line);
  background: #fff;
  color: var(--sx-body);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.35s var(--sx-ease), box-shadow 0.3s ease;
}

.sx-filter:hover {
  transform: translateY(-2px);
  border-color: rgba(5, 150, 105, 0.45);
}

.sx-filter.active {
  background: var(--sx-ink);
  border-color: var(--sx-ink);
  color: #fff;
  box-shadow: 0 8px 20px rgba(6, 17, 36, 0.2);
}

.sx-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  gap: 16px;
}

.sx-tech {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--sx-line);
  border-radius: 18px;
  box-shadow: var(--sx-shadow);
  transition: transform 0.4s var(--sx-ease), box-shadow 0.4s ease, border-color 0.3s ease;
}

.sx-tech:hover {
  transform: translateY(-6px);
  border-color: rgba(5, 150, 105, 0.4);
  box-shadow: var(--sx-shadow-hover);
}

.sx-tech i {
  font-size: 2rem;
  color: var(--sx-ink);
  transition: color 0.3s ease, transform 0.5s var(--sx-ease);
}

.sx-tech:hover i {
  color: var(--sx-green-d);
  transform: scale(1.18) rotate(-6deg);
}

.sx-tech-name {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--sx-ink);
}

.sx-tech-cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sx-mute);
}

.sx-pop {
  animation: sxPop 0.55s var(--sx-ease) calc(var(--i, 0) * 35ms) both;
}

@keyframes sxPop {
  from { opacity: 0; transform: translateY(14px) scale(0.94); }
  to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Calculator
   -------------------------------------------------------------------------- */
.sx-est {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--sx-line);
  border-radius: 26px;
  padding: 36px;
  box-shadow: var(--sx-shadow);
}

.sx-control {
  margin-bottom: 34px;
}

.sx-control-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--sx-ink);
  margin-bottom: 16px;
}

.sx-control-label b {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--sx-green-d);
}

.sx-range {
  --fill: 40%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  background: linear-gradient(90deg, var(--sx-green) 0, #38bdf8 var(--fill), #e4e9f0 var(--fill), #e4e9f0 100%);
}

.sx-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--sx-green);
  box-shadow: 0 4px 12px rgba(6, 17, 36, 0.25);
  cursor: grab;
  transition: transform 0.25s var(--sx-ease), box-shadow 0.25s ease;
}

.sx-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.sx-range:active::-webkit-slider-thumb { transform: scale(1.25); cursor: grabbing; box-shadow: 0 0 0 8px rgba(0, 228, 74, 0.18); }

.sx-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--sx-green);
  box-shadow: 0 4px 12px rgba(6, 17, 36, 0.25);
  cursor: grab;
}

.sx-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--sx-mute);
}

.sx-fine {
  font-size: 0.82rem;
  color: var(--sx-mute);
}

.sx-est-result {
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
  padding: 30px;
  border-radius: 20px;
  background: var(--sx-bg2);
  border: 1px solid var(--sx-line);
}

.sx-res-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sx-mute);
}

.sx-res-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--sx-ink);
  font-variant-numeric: tabular-nums;
  margin: 4px 0 10px;
}

.sx-res-num.bump {
  animation: sxBump 0.4s var(--sx-ease);
}

@keyframes sxBump {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); color: var(--sx-green-d); }
  100% { transform: scale(1); }
}

.sx-bar {
  height: 8px;
  border-radius: 999px;
  background: #e4e9f0;
  overflow: hidden;
}

.sx-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sx-green), #38bdf8);
  transition: width 0.7s var(--sx-ease);
}

/* --------------------------------------------------------------------------
   Global NOC clocks
   -------------------------------------------------------------------------- */
.sx-locs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.sx-loc {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--sx-line);
  border-radius: 22px;
  box-shadow: var(--sx-shadow);
  transition: transform 0.45s var(--sx-ease), box-shadow 0.4s ease, border-color 0.3s ease;
}

.sx-loc:hover {
  transform: translateY(-6px);
  border-color: rgba(5, 150, 105, 0.4);
  box-shadow: var(--sx-shadow-hover);
}

.sx-loc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.sx-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #047857;
}

.sx-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00b83c;
  animation: sxPing 2s ease-out infinite;
}

.sx-dn {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff7e0;
  color: #d97706;
  transition: background 0.6s ease, color 0.6s ease;
}

.sx-dn.night {
  background: #e8eefc;
  color: #3b5bdb;
}

.sx-loc-city {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sx-ink);
}

.sx-loc-country {
  font-size: 0.88rem;
  color: var(--sx-mute);
  margin-bottom: 16px;
}

.sx-loc-clock {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--sx-green-d);
}

/* --------------------------------------------------------------------------
   Call to action
   -------------------------------------------------------------------------- */
.sx-cta-wrap {
  padding-top: 40px;
  padding-bottom: 110px;
}

.sx-cta {
  position: relative;
  text-align: center;
  padding: 84px 40px;
  border-radius: 32px;
  background: #fff;
  border: 1px solid var(--sx-line);
  box-shadow: var(--sx-shadow);
  overflow: hidden;
  isolation: isolate;
}

.sx-blob {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}

.sx-blob-a {
  width: 380px;
  height: 380px;
  left: -90px;
  top: -120px;
  background: rgba(0, 228, 74, 0.45);
  animation: sxDrift 14s ease-in-out infinite alternate;
}

.sx-blob-b {
  width: 420px;
  height: 420px;
  right: -110px;
  bottom: -160px;
  background: rgba(56, 189, 248, 0.45);
  animation: sxDrift 17s ease-in-out infinite alternate-reverse;
}

@keyframes sxDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(60px, 40px) scale(1.15); }
}

.sx-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--sx-ink);
  margin-bottom: 18px;
}

.sx-cta-sub {
  max-width: 640px;
  margin: 0 auto 34px;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--sx-body);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.sx-footer {
  position: relative;
  z-index: 2;
  background: var(--sx-bg2);
  border-top: 1px solid var(--sx-line);
  padding: 72px 0 0;
  color: var(--sx-body);
}

.sx-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1.6fr;
  gap: 48px;
  padding-bottom: 56px;
}

.sx-footer-logo {
  height: 40px;
  width: auto;
  border-radius: 6px;
  margin-bottom: 20px;
}

.sx-footer-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--sx-mute);
  margin-bottom: 20px;
  max-width: 340px;
}

.sx-social {
  display: flex;
  gap: 10px;
}

.sx-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--sx-line);
  color: var(--sx-body);
  transition: transform 0.35s var(--sx-ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.sx-social a:hover {
  transform: translateY(-4px);
  background: var(--sx-ink);
  border-color: var(--sx-ink);
  color: #fff;
}

.sx-footer-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sx-ink);
  margin-bottom: 20px;
}

.sx-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sx-footer-links a {
  position: relative;
  font-size: 0.92rem;
  color: var(--sx-mute);
  transition: color 0.3s ease;
}

.sx-footer-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1.5px;
  background: var(--sx-green);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.4s var(--sx-ease);
}

.sx-footer-links a:hover {
  color: var(--sx-ink);
}

.sx-footer-links a:hover::after {
  transform: scaleX(1);
}

.sx-news {
  position: relative;
}

.sx-news input {
  width: 100%;
  padding: 13px 54px 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--sx-line);
  background: #fff;
  color: var(--sx-ink);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sx-news input:focus {
  border-color: var(--sx-green);
  box-shadow: 0 0 0 4px rgba(0, 228, 74, 0.15);
}

.sx-news button {
  position: absolute;
  top: 5px;
  right: 5px;
  bottom: 5px;
  width: 42px;
  border: none;
  border-radius: 50%;
  background: var(--sx-green);
  color: #03140a;
  cursor: pointer;
  transition: transform 0.35s var(--sx-ease);
}

.sx-news button:hover {
  transform: rotate(-12deg) scale(1.08);
}

.sx-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0;
  border-top: 1px solid var(--sx-line);
  font-size: 0.86rem;
  color: var(--sx-mute);
}

.sx-footer-legal {
  display: flex;
  gap: 24px;
}

.sx-footer-legal a:hover {
  color: var(--sx-ink);
}

/* --------------------------------------------------------------------------
   Consultation modal (light) + toast
   -------------------------------------------------------------------------- */
.sx-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 17, 36, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.sx-modal.active {
  opacity: 1;
  visibility: visible;
}

.sx-modal-card {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 40px;
  border-radius: 26px;
  background: #fff;
  color: var(--sx-body, #475569);
  box-shadow: 0 30px 80px rgba(6, 17, 36, 0.3);
  transform: translateY(26px) scale(0.96);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sx-modal.active .sx-modal-card {
  transform: none;
}

.sx-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #e4e9f0;
  background: #fff;
  color: #475569;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, color 0.3s ease;
}

.sx-modal-close:hover {
  transform: rotate(90deg);
  background: #061124;
  color: #fff;
}

.sx-modal-title {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #061124;
  margin-bottom: 8px;
}

.sx-modal-sub {
  color: #64748b;
  margin-bottom: 26px;
  line-height: 1.6;
}

.sx-form .sx-field {
  margin-bottom: 18px;
}

.sx-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sx-field label {
  display: block;
  margin-bottom: 7px;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 600;
  color: #061124;
}

.sx-field input,
.sx-field select,
.sx-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #dbe2ec;
  background: #f8fafc;
  color: #061124;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.sx-field textarea {
  resize: vertical;
  min-height: 90px;
}

.sx-field input:focus,
.sx-field select:focus,
.sx-field textarea:focus {
  background: #fff;
  border-color: #00c43f;
  box-shadow: 0 0 0 4px rgba(0, 228, 74, 0.15);
}

.sx-field input:user-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.toast {
  background: #fff;
  color: #061124;
  border: 1px solid #e4e9f0;
  border-left: 4px solid #00c43f;
  box-shadow: 0 16px 40px rgba(6, 17, 36, 0.18);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .sx-span-8,
  .sx-span-4,
  .sx-span-6 { grid-column: span 12; }
  .sx-metrics { grid-template-columns: repeat(2, 1fr); }
  .sx-locs { grid-template-columns: repeat(2, 1fr); }
  .sx-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .sx-est { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .sx-card-split,
  .sx-card-wide,
  .sx-arch-panel { grid-template-columns: 1fr; }
  .sx-card-wide .sx-tags { justify-content: flex-start; }
  .sx-arch-panel { gap: 28px; }
}

@media (max-width: 640px) {
  .sx-section { padding: 72px 0; }
  .sx-head { margin-bottom: 36px; }
  .sx-desc { font-size: 1rem; }
  .sx-card { padding: 22px; border-radius: 18px; }
  .sx-card-title { font-size: 1.25rem; }
  .sx-arch { padding: 18px; border-radius: 20px; }
  .sx-arch-info h3 { font-size: 1.35rem; }
  .sx-metrics { gap: 14px; }
  .sx-metric { padding: 26px 14px 24px; }
  .sx-locs { gap: 14px; }
  .sx-loc { padding: 20px; }
  .sx-loc-clock { font-size: 1.15rem; }
  .sx-tech-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
  .sx-tech { padding: 18px 10px; }
  .sx-est { padding: 22px 18px; border-radius: 20px; }
  .sx-est-result { padding: 22px 18px; }
  .sx-res-num { font-size: 2.3rem; }
  .sx-cta { padding: 52px 20px; border-radius: 24px; }
  .sx-cta-sub { font-size: 1rem; }
  .sx-cta .sx-btn { width: 100%; white-space: normal; text-align: center; }
  .sx-cta-wrap { padding-bottom: 70px; }
  .sx-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .sx-footer-bottom { flex-direction: column; align-items: flex-start; }
  .sx-footer-legal { flex-wrap: wrap; gap: 14px 20px; }
  .sx-modal { padding: 12px; }
  .sx-modal-card { padding: 28px 20px; border-radius: 20px; }
  .sx-modal-title { font-size: 1.5rem; }
  .sx-row { grid-template-columns: 1fr; gap: 0; }
  .sx-term { font-size: 0.72rem; }
}

@media (min-width: 821px) {
  /* flow diagram runs left-to-right next to the text on wide screens */
  .sx-flow { flex-direction: column; }
}

/* Touch devices: no tilt / spotlight movement */
@media (hover: none) {
  .sx-card { transform: none !important; }
}

/* Reduced motion: show everything, keep it still */
@media (prefers-reduced-motion: reduce) {
  html.rv [data-reveal],
  html.rv [data-split] .wi {
    opacity: 1;
    translate: 0 0;
    rotate: 0deg;
    filter: none;
    transition: none;
  }

  html.rv .sx-type { width: 33ch; border: none; }
  html.rv .sx-l2, html.rv .sx-l3, html.rv .sx-l4, html.rv .sx-l5 { opacity: 1; translate: 0 0; }

  .sx-card::after,
  .sx-blob,
  .sx-link::after,
  .sx-dot,
  .sx-live i,
  .sx-caret { animation: none; }

  .sx-metric::after { transform: scaleX(1); transition: none; }
}

/* ==========================================================================
   Header: light at the top of the page, logo-navy once scrolled
   ========================================================================== */
.header-fullwidth {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-fullwidth .nav-link {
  color: #334155;
}

.header-fullwidth .nav-link:hover,
.header-fullwidth .nav-link.active {
  color: #061124;
}

.header-fullwidth .mobile-nav-toggle {
  color: #061124;
}

.header-fullwidth.scrolled {
  background: #0a192d;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: rgba(0, 228, 74, 0.25);
}

.header-fullwidth.scrolled .nav-link {
  color: var(--text-secondary);
}

.header-fullwidth.scrolled .nav-link:hover,
.header-fullwidth.scrolled .nav-link.active {
  color: var(--text-white);
}

.header-fullwidth.scrolled .mobile-nav-toggle {
  color: var(--text-white);
}

/* Mobile dropdown panel is always dark (set in main.js), so keep its links light */
@media (max-width: 1100px) {
  .header-fullwidth .nav-links .nav-link {
    color: #cbd5e1;
  }

  .header-fullwidth .nav-links .nav-link:hover,
  .header-fullwidth .nav-links .nav-link.active {
    color: #ffffff;
  }
}

/* ==========================================================================
   Footer: dark theme
   ========================================================================== */
.sx-footer {
  background: #07111f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.sx-footer-desc {
  color: #94a3b8;
}

.sx-footer-title {
  color: #ffffff;
}

.sx-footer-links a {
  color: #94a3b8;
}

.sx-footer-links a:hover {
  color: #ffffff;
}

.sx-social a {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
}

.sx-social a:hover {
  background: var(--sx-green);
  border-color: var(--sx-green);
  color: #03140a;
}

.sx-news input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.sx-news input::placeholder {
  color: #64748b;
}

.sx-news input:focus {
  background: rgba(255, 255, 255, 0.09);
}

.sx-footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.1);
  color: #64748b;
}

.sx-footer-legal a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Header at the top of the page: transparent, so it blends into the hero.
   A soft dark fade keeps the links readable over the photo.
   ========================================================================== */
.header-fullwidth {
  background: linear-gradient(180deg, rgba(6, 17, 36, 0.72) 0%, rgba(6, 17, 36, 0.28) 60%, rgba(6, 17, 36, 0) 100%);
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header-fullwidth .nav-link {
  color: #e2e8f0;
}

.header-fullwidth .nav-link:hover,
.header-fullwidth .nav-link.active {
  color: #ffffff;
}

.header-fullwidth .mobile-nav-toggle {
  color: #ffffff;
}

/* once scrolled: solid logo navy (rules above already set .scrolled colours) */
.header-fullwidth.scrolled {
  background: #0a192d;
  border-bottom-color: rgba(0, 228, 74, 0.25);
}

/* no hairline under the transparent header; links get a soft shadow for legibility on the photo */
.header-fullwidth {
  border-bottom: 0;
}

.header-fullwidth .nav-link {
  text-shadow: 0 1px 10px rgba(6, 17, 36, 0.65);
}

.header-fullwidth.scrolled {
  border-bottom: 1px solid rgba(0, 228, 74, 0.25);
}

.header-fullwidth.scrolled .nav-link {
  text-shadow: none;
}

/* ==========================================================================
   Hero: single global card with the US flag
   ========================================================================== */
.gc-flag {
  position: relative;
  padding-right: 20px;
  animation-delay: 0.15s;
}

.gc-flag-badge {
  position: absolute;
  top: -11px;
  right: 16px;
  display: inline-flex;
  padding: 3px;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(6, 17, 36, 0.28);
  transform: rotate(4deg);
  transition: transform 0.5s var(--sx-ease);
}

.gc-flag-badge svg {
  display: block;
  border-radius: 4px;
}

.gc-flag:hover .gc-flag-badge {
  transform: rotate(-3deg) scale(1.08);
}

@media (min-width: 1025px) {
  .hero-global-deck {
    justify-content: flex-start;
  }
}

/* ==========================================================================
   Hero headline: words rise out of a mask, then the highlight shimmers.
   Gradients move onto each word so clipped text still works while words animate.
   The extra bottom room stops descenders (the "g" in "Engines") being cut.
   ========================================================================== */
.hero-headline .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
  margin-right: 0.24em;
}

.hero-headline .w:last-child {
  margin-right: 0;
}

.hero-headline .wi {
  display: inline-block;
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
}

.hero-headline .hero-head-lead.is-split,
.hero-headline .hero-head-highlight.is-split,
.hero-headline .hero-head-sub.is-split {
  background: none;
  filter: none;
}

.hero-headline .hero-head-lead .wi {
  background: linear-gradient(180deg, #ffffff 30%, #e2e8f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-headline .hero-head-sub .wi {
  background: linear-gradient(180deg, #ffffff 15%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-headline .hero-head-highlight .wi {
  background: linear-gradient(110deg, #00e44a 0%, #34d399 30%, #38bdf8 55%, #34d399 75%, #00e44a 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroShine 7s ease-in-out infinite alternate;
}

@keyframes heroShine {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

/* the ampersand pops in with a small spin after the words */
html.rv .hero-headline .hero-head-amp .wi {
  scale: 0.4;
}

html.rv .hero-headline.in .hero-head-amp .wi {
  scale: 1;
  transition: translate 0.95s var(--sx-ease) calc(var(--wi, 0) * 55ms),
              rotate 0.95s var(--sx-ease) calc(var(--wi, 0) * 55ms),
              scale 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--wi, 0) * 55ms);
}

@media (prefers-reduced-motion: reduce) {
  .hero-headline .hero-head-highlight .wi {
    animation: none;
  }
}

/* Hero headline: quicker reveal (shorter travel time, tighter stagger) */
html.rv .hero-headline[data-split] .wi {
  transition:
    translate 0.6s var(--sx-ease) calc(var(--wi, 0) * 32ms),
    rotate 0.6s var(--sx-ease) calc(var(--wi, 0) * 32ms);
}

html.rv .hero-headline[data-split].in .hero-head-amp .wi {
  transition:
    translate 0.6s var(--sx-ease) calc(var(--wi, 0) * 32ms),
    rotate 0.6s var(--sx-ease) calc(var(--wi, 0) * 32ms),
    scale 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--wi, 0) * 32ms);
}

.hero-headline .hero-head-highlight .wi {
  animation-duration: 5s;
}

/* Global card: sits a little lower, and the glass blur is lighter */
.gc-flag {
  backdrop-filter: blur(6px) saturate(140%);
  -webkit-backdrop-filter: blur(6px) saturate(140%);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.4) 100%);
}

@media (min-width: 1025px) {
  .hero-global-deck {
    padding-top: 56px;
  }
}

/* Global card: lower again (nudged left so it keeps clear of the faces) */
@media (min-width: 1025px) {
  .hero-global-deck {
    padding-top: 104px;
  }

  .gc-flag {
    margin-left: -28px;
  }
}

/* Hero content (text, buttons and global card) sits a little lower */
.hero-grid {
  padding-top: 36px;
}

@media (max-width: 640px) {
  .hero-grid {
    padding-top: 14px;
  }
}

/* Global card: higher and further right (still above the foreground woman's head) */
@media (min-width: 1025px) {
  .hero-global-deck {
    padding-top: 46px;
  }

  .gc-flag {
    margin-left: 44px;
  }
}

/* ==========================================================================
   Cards and their icons stay perfectly still on hover (whole page).
   Hover feedback is limited to glow, border light and colour changes.
   ========================================================================== */
.sx-card,
.sx-card.is-tilting {
  transform: none;
}

.sx-card:hover .sx-icon {
  transform: none;
}

.sx-metric:hover,
.sx-loc:hover,
.sx-tech:hover {
  transform: none;
}

.sx-tech:hover i {
  transform: none;
}

.sx-chip:hover {
  transform: none;
}

.gc-flag:hover .gc-flag-badge {
  transform: rotate(4deg);
}

.global-card .gc-icon i {
  animation: none;
}

.global-card:hover {
  transform: none;
}

@media (hover: hover) {
  .sx-card:hover,
  .sx-metric:hover,
  .sx-loc:hover,
  .sx-tech:hover {
    translate: 0 0;
  }
}

/* Larger section headings */
.sx-head {
  max-width: 940px;
}

.sx-title {
  font-size: clamp(2.35rem, 5.2vw, 4.1rem);
  line-height: 1.1;
  margin-bottom: 22px;
}

.sx-desc {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}

.sx-cta-title {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
}

@media (max-width: 640px) {
  .sx-title {
    font-size: clamp(2.1rem, 9vw, 2.6rem);
  }
}

/* Tighter vertical spacing between sections */
.sx-section {
  padding: 64px 0;
}

.sx-head {
  margin-bottom: 40px;
}

.sx-ribbon {
  padding: 26px 0 28px;
}

.sx-cta-wrap {
  padding-top: 16px;
  padding-bottom: 72px;
}

.sx-footer {
  padding-top: 56px;
}

@media (max-width: 640px) {
  .sx-section {
    padding: 44px 0;
  }

  .sx-head {
    margin-bottom: 28px;
  }

  .sx-cta-wrap {
    padding-top: 8px;
    padding-bottom: 48px;
  }

  .sx-footer {
    padding-top: 44px;
  }
}

/* ==========================================================================
   Scrolled header: light theme (the top-of-page state stays transparent)
   ========================================================================== */
.header-fullwidth.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 28px rgba(6, 17, 36, 0.08);
}

.header-fullwidth.scrolled .nav-link {
  color: #334155;
  text-shadow: none;
}

.header-fullwidth.scrolled .nav-link:hover,
.header-fullwidth.scrolled .nav-link.active {
  color: #061124;
}

.header-fullwidth.scrolled .mobile-nav-toggle {
  color: #061124;
}

/* the open mobile menu panel is always dark, so its links stay light */
@media (max-width: 1100px) {
  .header-fullwidth.scrolled .nav-links .nav-link {
    color: #cbd5e1;
  }

  .header-fullwidth.scrolled .nav-links .nav-link:hover,
  .header-fullwidth.scrolled .nav-links .nav-link.active {
    color: #ffffff;
  }
}

/* Global card: compact, and further to the right */
.gc-flag {
  width: min(100%, 272px);
  padding: 10px 14px;
  gap: 10px;
  border-radius: 14px;
}

.gc-flag .gc-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 0.95rem;
}

.gc-flag .gc-label {
  font-size: 0.6rem;
}

.gc-flag .gc-value {
  font-size: 1.02rem;
  margin: 1px 0;
}

.gc-flag .gc-sub {
  font-size: 0.7rem;
}

.gc-flag .gc-flag-badge {
  top: -9px;
  right: 12px;
  padding: 2px;
  border-radius: 6px;
}

.gc-flag .gc-flag-badge svg {
  width: 30px;
  height: auto;
}

@media (min-width: 1025px) {
  .gc-flag {
    margin-left: 140px;
  }
}

.gc-flag {
  width: min(100%, 296px);
}

.gc-flag .gc-sub {
  white-space: nowrap;
}

@media (min-width: 1025px) {
  .gc-flag {
    margin-left: 118px;
  }
}

@media (min-width: 1025px) {
  .gc-flag {
    margin-left: 190px;
  }
}

/* Hero buttons: no movement (no lift on hover/press, no magnetic pull, no entrance slide) */
.hero-cta-left .btn-primary,
.hero-cta-left .btn-secondary {
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta-left .btn-primary:hover,
.hero-cta-left .btn-primary:active,
.hero-cta-left .btn-secondary:hover,
.hero-cta-left .btn-secondary:active {
  transform: none;
}

/* More empty space under the hero buttons (extra top padding keeps the text where it was) */
.hero-section {
  padding-top: 185px;
  padding-bottom: 126px;
}

@media (max-width: 640px) {
  .hero-section {
    padding-top: 96px;
    padding-bottom: 84px;
  }
}

/* Re-tuned on a real 1440x900 viewport: keeps the card clear of the man's face */
@media (min-width: 1025px) {
  .gc-flag {
    margin-left: 96px;
  }
}

/* Hero text a little higher; total hero height unchanged (top padding down, bottom padding up by the same amount) */
.hero-section {
  padding-top: 155px;
  padding-bottom: 156px;
}

@media (max-width: 640px) {
  .hero-section {
    padding-top: 80px;
    padding-bottom: 100px;
  }
}

/* Hero text a little higher again (hero height unchanged) */
.hero-section {
  padding-top: 135px;
  padding-bottom: 176px;
}

@media (max-width: 640px) {
  .hero-section {
    padding-top: 68px;
    padding-bottom: 112px;
  }
}

/* Hero text a little higher once more (hero height unchanged) */
.hero-section {
  padding-top: 115px;
  padding-bottom: 196px;
}

@media (max-width: 640px) {
  .hero-section {
    padding-top: 60px;
    padding-bottom: 120px;
  }
}

/* ==========================================================================
   Industry pills: clean, uniform pills with a soft light sweep
   ========================================================================== */
.sx-marquee-track {
  gap: 14px;
  padding: 6px 0;
}

.sx-chip {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 24px 0 9px;
  border: 1px solid var(--sx-line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(6, 17, 36, 0.04), 0 6px 16px rgba(6, 17, 36, 0.05);
  color: var(--sx-ink);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

/* round icon badge */
.sx-chip i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ecfdf3;
  color: var(--sx-green-d);
  font-size: 0.95rem;
  transition: background 0.35s ease, color 0.35s ease;
}

/* a soft green light that sweeps across each pill, one after another */
.sx-chip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(0, 228, 74, 0.2), transparent);
  transform: skewX(-20deg);
  animation: sxSheen 6s ease-in-out infinite;
  pointer-events: none;
}

.sx-chip:nth-child(7n + 2)::after { animation-delay: 0.8s; }
.sx-chip:nth-child(7n + 3)::after { animation-delay: 1.6s; }
.sx-chip:nth-child(7n + 4)::after { animation-delay: 2.4s; }
.sx-chip:nth-child(7n + 5)::after { animation-delay: 3.2s; }
.sx-chip:nth-child(7n + 6)::after { animation-delay: 4s; }
.sx-chip:nth-child(7n)::after { animation-delay: 4.8s; }

@keyframes sxSheen {
  0%, 55% { left: -60%; }
  100% { left: 140%; }
}

.sx-chip:hover {
  border-color: rgba(5, 150, 105, 0.5);
  box-shadow: 0 1px 2px rgba(6, 17, 36, 0.04), 0 8px 22px rgba(0, 196, 63, 0.16);
}

.sx-chip:hover i {
  background: var(--sx-green);
  color: #03140a;
}

.sx-ribbon-label {
  margin-bottom: 18px;
}

@media (max-width: 640px) {
  .sx-chip {
    height: 46px;
    padding: 0 18px 0 7px;
    gap: 10px;
    font-size: 0.9rem;
  }

  .sx-chip i {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sx-chip::after {
    animation: none;
    display: none;
  }
}

/* ==========================================================================
   Nav: room for the extra "About Us" link
   ========================================================================== */
@media (max-width: 1240px) {
  .nav-links {
    gap: 22px;
  }

  .nav-link {
    font-size: 0.86rem;
  }
}

/* ==========================================================================
   About Us page
   ========================================================================== */
.sx-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.sx-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
}

.ab-hero {
  position: relative;
  overflow: hidden;
  padding: 170px 0 96px;
  background: linear-gradient(160deg, #061124 0%, #0a192d 55%, #0d2342 100%);
  color: #e2e8f0;
}

.ab-hero .container {
  position: relative;
  z-index: 2;
  max-width: 1000px;
}

.ab-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.ab-glow-a {
  width: 460px;
  height: 460px;
  right: -120px;
  top: -140px;
  background: rgba(0, 228, 74, 0.2);
  animation: sxDrift 16s ease-in-out infinite alternate;
}

.ab-glow-b {
  width: 420px;
  height: 420px;
  left: -140px;
  bottom: -200px;
  background: rgba(25, 69, 244, 0.28);
  animation: sxDrift 19s ease-in-out infinite alternate-reverse;
}

.ab-tag {
  background: rgba(0, 228, 74, 0.1);
  border-color: rgba(0, 228, 74, 0.3);
  color: #4ade80;
}

.ab-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.4vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 22px;
}

.ab-title .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
  margin-right: 0.24em;
}

.ab-title .wi {
  display: inline-block;
}

.ab-title .sx-grad .wi {
  background: linear-gradient(120deg, #00e44a 0%, #34d399 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ab-lead {
  max-width: 720px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 32px;
}

.ab-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Who we are */
.ab-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.ab-h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
}

.ab-p {
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--sx-body);
  margin-bottom: 16px;
}

.ab-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.ab-fact {
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--sx-line);
  box-shadow: var(--sx-shadow);
}

.ab-fact b {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--sx-ink);
}

.ab-fact span {
  font-size: 0.8rem;
  color: var(--sx-mute);
}

.ab-photo {
  position: relative;
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--sx-shadow-hover);
}

.ab-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
}

.ab-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sx-ink);
}

.ab-badge i {
  color: var(--sx-green-d);
}

/* Services */
.ab-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ab-services .sx-card {
  padding: 26px;
}

.ab-services .sx-icon {
  margin-bottom: 18px;
}

.ab-services .sx-card-title {
  font-size: 1.18rem;
}

.ab-services .sx-card-desc {
  margin-bottom: 0;
  font-size: 0.93rem;
}

.ab-card-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, #061124, #0d2342);
  border-color: transparent;
}

.ab-card-cta .sx-card-title {
  color: #ffffff;
}

.ab-card-cta .sx-card-desc {
  color: #cbd5e1;
  margin-bottom: 18px;
}

.ab-card-cta .sx-btn {
  align-self: flex-start;
  padding: 12px 20px;
  font-size: 0.88rem;
}

/* Mission / vision / values */
.ab-mv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.ab-mv .sx-card {
  padding: 34px;
}

.ab-mv .sx-icon {
  margin-bottom: 20px;
}

.ab-mv .sx-card-desc {
  margin-bottom: 0;
  font-size: 1.02rem;
  line-height: 1.7;
}

.ab-values {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.ab-value {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 12px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--sx-line);
  border-radius: 18px;
  box-shadow: var(--sx-shadow);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ab-value:hover {
  border-color: rgba(5, 150, 105, 0.4);
  box-shadow: var(--sx-shadow-hover);
}

.ab-value i {
  font-size: 1.3rem;
  color: var(--sx-green-d);
}

.ab-value b {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--sx-ink);
}

@media (max-width: 1024px) {
  .ab-services { grid-template-columns: repeat(2, 1fr); }
  .ab-values { grid-template-columns: repeat(3, 1fr); }
  .ab-split { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .ab-hero { padding: 120px 0 64px; }
  .ab-cta .sx-btn { width: 100%; }
  .ab-facts { grid-template-columns: 1fr; }
  .ab-services { grid-template-columns: 1fr; }
  .ab-mv { grid-template-columns: 1fr; }
  .ab-mv .sx-card { padding: 24px; }
  .ab-values { grid-template-columns: repeat(2, 1fr); }
}

/* Three links fit comfortably; the hamburger menu takes over below 900px */
.nav-link {
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .header-fullwidth .nav-links .nav-link,
  .header-fullwidth.scrolled .nav-links .nav-link {
    color: #cbd5e1;
    text-shadow: none;
  }

  .header-fullwidth .nav-links .nav-link:hover,
  .header-fullwidth .nav-links .nav-link.active,
  .header-fullwidth.scrolled .nav-links .nav-link:hover,
  .header-fullwidth.scrolled .nav-links .nav-link.active {
    color: #ffffff;
  }
}

/* About hero: breadcrumb removed, so less top padding */
.ab-hero {
  padding-top: 142px;
}

@media (max-width: 640px) {
  .ab-hero {
    padding-top: 104px;
  }
}

/* About hero: use the full page width, text on the left and a photo on the right */
.ab-hero .container {
  max-width: var(--max-width);
}

.ab-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.ab-title {
  font-size: clamp(2rem, 4.1vw, 3.5rem);
}

.ab-lead {
  max-width: 600px;
}

.ab-hero-visual {
  position: relative;
}

.ab-hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4.4;
  object-fit: cover;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.ab-float {
  position: absolute;
  left: -22px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 36px rgba(6, 17, 36, 0.3);
}

.ab-float i {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ecfdf3;
  color: var(--sx-green-d);
}

.ab-float b {
  display: block;
  font-family: var(--font-heading);
  color: var(--sx-ink);
}

.ab-float span {
  font-size: 0.76rem;
  color: var(--sx-mute);
}

@media (max-width: 1024px) {
  .ab-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ab-float {
    left: 14px;
  }
}

/* Services heading: keep "How we help your business grow." on one line on wide screens */
#capabilities .sx-head {
  max-width: 1240px;
}

@media (min-width: 900px) {
  #capabilities .sx-title {
    font-size: clamp(2.2rem, 4.5vw, 3.9rem);
    white-space: nowrap;
  }
}

/* ==========================================================================
   Advantage flow chart: a signal travels node to node, lighting each one up
   (7s loop: node 1 -> signal -> node 2 -> signal -> node 3 -> reset)
   ========================================================================== */
@property --glow {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}

.sx-flow {
  --cycle: 7s;
  position: relative;
  padding: 30px 22px;
  background-color: var(--sx-bg2);
  background-image: radial-gradient(circle, #d6dfeb 1px, transparent 1.2px);
  background-size: 20px 20px;
}

.sx-node {
  --glow: 0;
  position: relative;
  width: min(100%, 280px);
  padding: 15px 20px 15px 44px;
  text-align: left;
  background: #fff;
  border: 1px solid color-mix(in srgb, #00c43f calc(var(--glow) * 100%), #d5dde8);
  box-shadow:
    0 0 0 calc(var(--glow) * 5px) rgba(0, 228, 74, calc(var(--glow) * 0.16)),
    0 10px 24px rgba(6, 17, 36, calc(0.05 + var(--glow) * 0.07));
  color: var(--sx-ink);
}

/* status light on the left of each node */
.sx-node::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: color-mix(in srgb, #00e44a calc(var(--glow) * 100%), #cbd5e1);
  box-shadow: 0 0 calc(var(--glow) * 12px) rgba(0, 228, 74, calc(var(--glow) * 0.8));
  transform: scale(calc(1 + var(--glow) * 0.35));
}

/* check mark that appears when the last node is reached */
.sx-node:nth-child(5)::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free', sans-serif;
  font-weight: 900;
  position: absolute;
  right: 16px;
  top: 50%;
  margin-top: -9px;
  font-size: 0.8rem;
  color: #00a635;
  opacity: var(--glow);
}

.sx-node:nth-child(1) { animation: sxGlow1 var(--cycle) linear infinite; }
.sx-node:nth-child(3) { animation: sxGlow2 var(--cycle) linear infinite; }
.sx-node:nth-child(5) { animation: sxGlow3 var(--cycle) linear infinite; }

@keyframes sxGlow1 {
  0% { --glow: 0; }
  5% { --glow: 1; }
  24% { --glow: 1; }
  34% { --glow: 0; }
  100% { --glow: 0; }
}

@keyframes sxGlow2 {
  0%, 38% { --glow: 0; }
  46% { --glow: 1; }
  62% { --glow: 1; }
  72% { --glow: 0; }
  100% { --glow: 0; }
}

@keyframes sxGlow3 {
  0%, 74% { --glow: 0; }
  82% { --glow: 1; }
  95% { --glow: 1; }
  100% { --glow: 0; }
}

/* connectors: grey rail, green line that draws itself, and a glowing dot */
.sx-link,
.sx-link:nth-child(2),
.sx-link:nth-child(4) {
  position: relative;
  width: 2px;
  height: 48px;
  background: #cfd8e4;
  overflow: visible;
}

.sx-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #00e44a, #38bdf8);
  transform-origin: 50% 0;
  transform: scaleY(0);
  border-radius: 2px;
}

.sx-link::after,
.sx-link:nth-child(4)::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #00e44a;
  box-shadow: 0 0 12px 2px rgba(0, 228, 74, 0.55), 0 -16px 14px -4px rgba(0, 228, 74, 0.35);
  opacity: 0;
  animation-delay: 0s;
}

.sx-link:nth-child(2)::before { animation: sxFill1 var(--cycle) linear infinite; }
.sx-link:nth-child(2)::after { animation: sxDot1 var(--cycle) linear infinite; }
.sx-link:nth-child(4)::before { animation: sxFill2 var(--cycle) linear infinite; }
.sx-link:nth-child(4)::after { animation: sxDot2 var(--cycle) linear infinite; }

@keyframes sxFill1 {
  0%, 12% { transform: scaleY(0); opacity: 1; }
  36% { transform: scaleY(1); opacity: 1; }
  94% { transform: scaleY(1); opacity: 1; }
  99% { transform: scaleY(1); opacity: 0; }
  100% { transform: scaleY(0); opacity: 0; }
}

@keyframes sxFill2 {
  0%, 50% { transform: scaleY(0); opacity: 1; }
  74% { transform: scaleY(1); opacity: 1; }
  94% { transform: scaleY(1); opacity: 1; }
  99% { transform: scaleY(1); opacity: 0; }
  100% { transform: scaleY(0); opacity: 0; }
}

@keyframes sxDot1 {
  0%, 12% { transform: translateY(0); opacity: 0; }
  15% { opacity: 1; }
  33% { opacity: 1; }
  36% { transform: translateY(48px); opacity: 0; }
  100% { transform: translateY(48px); opacity: 0; }
}

@keyframes sxDot2 {
  0%, 50% { transform: translateY(0); opacity: 0; }
  53% { opacity: 1; }
  71% { opacity: 1; }
  74% { transform: translateY(48px); opacity: 0; }
  100% { transform: translateY(48px); opacity: 0; }
}

/* tab change: the whole chart fades in instead of restarting the node animations */
.sx-arch-panel.swap .sx-node,
.sx-arch-panel.swap .sx-node:nth-child(3),
.sx-arch-panel.swap .sx-node:nth-child(5) {
  animation-delay: 0s;
}

.sx-arch-panel.swap .sx-node:nth-child(1) { animation: sxGlow1 var(--cycle) linear infinite; }
.sx-arch-panel.swap .sx-node:nth-child(3) { animation: sxGlow2 var(--cycle) linear infinite; }
.sx-arch-panel.swap .sx-node:nth-child(5) { animation: sxGlow3 var(--cycle) linear infinite; }

.sx-arch-panel.swap .sx-flow {
  animation: sxSwap 0.6s var(--sx-ease) both;
}

@media (max-width: 640px) {
  .sx-node {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sx-node,
  .sx-link::before,
  .sx-link::after {
    animation: none !important;
  }

  .sx-link::before {
    transform: scaleY(1);
  }
}

/* Header: the three links sit on the left, next to the logo, and are larger */
.header-container {
  justify-content: flex-start;
}

.header-container .nav-actions {
  margin-left: auto;
}

.header-container .nav-links {
  margin-left: 48px;
  gap: 40px;
}

.header-container .nav-link {
  font-size: 1.08rem;
  font-weight: 600;
  padding: 8px 0;
}

@media (max-width: 1100px) {
  .header-container .nav-links {
    margin-left: 32px;
    gap: 28px;
  }

  .header-container .nav-link {
    font-size: 1rem;
  }
}

/* Home page: "Get Consultation" (header) and "Schedule Strategic Briefing" (hero) in #4074A0 */
.page-home .header-fullwidth .btn-primary,
.page-home .hero-cta-left .btn-primary {
  background: #4074a0;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(64, 116, 160, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.page-home .header-fullwidth .btn-primary:hover,
.page-home .hero-cta-left .btn-primary:hover {
  background: #4074a0;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(64, 116, 160, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Home header "Get Consultation": the same gradient as the "Scale Faster." headline */
.page-home .header-fullwidth .btn-primary,
.page-home .header-fullwidth .btn-primary:hover {
  background: linear-gradient(110deg, #00e44a 0%, #34d399 30%, #38bdf8 55%, #34d399 75%, #00e44a 100%);
  background-size: 220% 100%;
  color: #03140a;
  box-shadow: 0 8px 22px rgba(0, 228, 74, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  animation: heroShine 7s ease-in-out infinite alternate;
}

.page-home .header-fullwidth .btn-primary:hover {
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .page-home .header-fullwidth .btn-primary {
    animation: none;
  }
}

/* Home header "Get Consultation": deep navy with a glossy slanted shine that sweeps across */
.page-home .header-fullwidth .btn-primary,
.page-home .header-fullwidth .btn-primary:hover {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #083b81 0%, #093b80 55%, #103b7c 100%);
  background-size: 100% 100%;
  color: #ffffff;
  animation: none;
  box-shadow: 0 8px 22px rgba(9, 59, 128, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.page-home .header-fullwidth .btn-primary:hover {
  box-shadow: 0 12px 30px rgba(9, 59, 128, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.page-home .header-fullwidth .btn-primary > * {
  position: relative;
  z-index: 1;
}

/* the shine: a soft wide band with a brighter core, slanted like the reference */
.page-home .header-fullwidth .btn-primary::after {
  content: '';
  position: absolute;
  z-index: 0;
  top: -10%;
  bottom: -10%;
  left: -55%;
  width: 46%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(190, 212, 245, 0.18) 28%,
    rgba(214, 228, 250, 0.5) 52%,
    rgba(190, 212, 245, 0.18) 76%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-24deg);
  pointer-events: none;
  animation: navyShine 3.4s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}

@keyframes navyShine {
  0% { left: -55%; }
  68%, 100% { left: 115%; }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .header-fullwidth .btn-primary::after {
    animation: none;
    left: 30%;
  }
}

/* About Us headline: two clean lines ("One Partner." / "Endless Ways.") */
.ab-title .sx-grad {
  display: block;
}

/* Header: logo left, button right, and the three links centred in the bar (desktop) */
@media (min-width: 1101px) {
  .header-container {
    position: relative;
  }

  .header-container .nav-links {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin-left: 0;
  }
}

/* --------------------------------------------------------------------------
   Home: ScoreLabs Inc. video section
   -------------------------------------------------------------------------- */
.sx-section.sx-video-section {
  padding: 0;
  background: #05080f;
  overflow: hidden;
}

.sx-video {
  display: block;
  width: 100%;
  height: auto;
  background: #05080f;
}

/* Home hero headline: plain white, no gradient or shimmer */
.hero-headline .hero-head-lead .wi,
.hero-headline .hero-head-highlight .wi,
.hero-headline .hero-head-sub .wi {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: #ffffff;
  color: #ffffff;
  animation: none;
}

.hero-headline .hero-head-highlight {
  filter: none;
}

.hero-headline .hero-head-lead,
.hero-headline .hero-head-highlight,
.hero-headline .hero-head-sub {
  background: none;
  -webkit-text-fill-color: #ffffff;
  color: #ffffff;
}

/* Hero eyebrow: blue dot + label above the headline */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-eyebrow-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2f80ff;
  box-shadow: 0 0 0 4px rgba(47, 128, 255, 0.28);
}

/* About Us: blue theme (replaces the old green accents) */
.pt .ab-glow-a {
  background: rgba(20, 184, 166, 0.22);
}

.pt .ab-tag {
  background: rgba(20, 184, 166, 0.12);
  border-color: rgba(20, 184, 166, 0.35);
}

.pt .sx-blob-a {
  background: rgba(64, 116, 160, 0.4);
}

.pt .sx-blob-b {
  background: rgba(20, 184, 166, 0.3);
}

/* ==========================================================================
   Home page: blue theme for every section below the hero
   (same palette as the service, category and About Us pages)
   ========================================================================== */
.page-home .lt {
  --sx-green: #14b8a6;
  --sx-green-d: #1e40af;
  --sx-bg2: #f3f8ff;
}

@keyframes sxPingBlue {
  0% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(20, 184, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); }
}

.page-home .lt .sx-tag {
  background: #e3f6f3;
  border-color: rgba(30, 64, 175, 0.25);
  color: #1e40af;
}

.page-home .lt .sx-dot {
  background: #14b8a6;
  animation-name: sxPingBlue;
}

.page-home .lt .sx-grad,
.page-home .lt .sx-grad .wi,
.page-home .lt .sx-grad .w .wi {
  background-image: linear-gradient(120deg, #1e40af 0%, #14b8a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-home .lt .sx-btn-primary {
  background: linear-gradient(135deg, #1e40af 0%, #14b8a6 100%);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(20, 184, 166, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.page-home .lt .sx-icon {
  background: #e3f6f3;
  border-color: rgba(30, 64, 175, 0.22);
  color: #1e40af;
}

.page-home .lt .sx-chip i {
  background: #e3f6f3;
  color: #1e40af;
}

.page-home .lt .sx-chip:hover {
  border-color: rgba(30, 64, 175, 0.5);
}

.page-home .lt .sx-chip:hover i {
  background: #1e40af;
  color: #ffffff;
}

.page-home .lt .sx-card::before {
  background: radial-gradient(circle, rgba(30, 64, 175, 0.12) 0%, transparent 62%);
}

.page-home .lt .sx-card::after {
  background: conic-gradient(from var(--a), transparent 0 62%, transparent 66%, #14b8a6 84%, #1e40af 94%, transparent 100%);
}

.page-home .lt .sx-card:hover .sx-tags span {
  background: #e3f6f3;
  border-color: rgba(30, 64, 175, 0.3);
  color: #1e40af;
}

.page-home .lt .sx-node {
  border: 1px solid color-mix(in srgb, #1e40af calc(var(--glow) * 100%), #d5dde8);
  box-shadow:
    0 0 0 calc(var(--glow) * 5px) rgba(30, 64, 175, calc(var(--glow) * 0.16)),
    0 10px 24px rgba(6, 17, 36, calc(0.05 + var(--glow) * 0.07));
}

.page-home .lt .sx-node::before {
  background: color-mix(in srgb, #14b8a6 calc(var(--glow) * 100%), #cbd5e1);
  box-shadow: 0 0 calc(var(--glow) * 12px) rgba(20, 184, 166, calc(var(--glow) * 0.8));
}

.page-home .lt .sx-node:nth-child(5)::after {
  color: #1e40af;
}

.page-home .lt .sx-link::before {
  background: linear-gradient(180deg, #1e40af, #14b8a6);
}

.page-home .lt .sx-link::after,
.page-home .lt .sx-link:nth-child(4)::after {
  border-color: #1e40af;
  box-shadow: 0 0 12px 2px rgba(30, 64, 175, 0.5), 0 -16px 14px -4px rgba(20, 184, 166, 0.35);
}

.page-home .lt .sx-node:hover,
.page-home .lt .sx-filter:hover,
.page-home .lt .sx-tech:hover {
  border-color: rgba(30, 64, 175, 0.4);
}

.page-home .lt .sx-loc:hover {
  border-color: rgba(30, 64, 175, 0.4);
}

.page-home .lt .sx-live {
  color: #1e40af;
}

.page-home .lt .sx-live i {
  background: #14b8a6;
}

.page-home .lt .sx-blob-a {
  background: rgba(64, 116, 160, 0.4);
}

.page-home .lt .sx-blob-b {
  background: rgba(20, 184, 166, 0.3);
}

.page-home .lt .sx-sc-num {
  background-image: linear-gradient(120deg, #1e40af 0%, #14b8a6 100%);
}

.page-home .lt .sx-sc-label {
  background: #e3f6f3;
  border-color: rgba(30, 64, 175, 0.25);
  color: #1e40af;
}

/* footer + consultation form accents */
.page-home .sx-news button,
.page-home .sx-social a:hover {
  background: #1e40af;
  border-color: #1e40af;
  color: #ffffff;
}

.page-home .sx-news input:focus,
.page-home .sx-field input:focus,
.page-home .sx-field select:focus,
.page-home .sx-field textarea:focus {
  border-color: #1e40af;
  box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.15);
}

.page-home .sx-progress {
  background: linear-gradient(90deg, #1e40af, #14b8a6);
}

/* --------------------------------------------------------------------------
   About Us hero: "one partner, many ways" (animated hub-and-spoke of the seven services)
   -------------------------------------------------------------------------- */
.ab-hx {
  position: relative;
  overflow: hidden;
  padding: 104px 0 80px;
  background: linear-gradient(160deg, #050f22 0%, #0a1f46 55%, #0b2a63 100%);
  color: #e2e8f0;
}

.ab-hx-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.ab-hx-orb.o1 {
  width: 480px;
  height: 480px;
  right: -120px;
  top: -110px;
  background: rgba(20, 184, 166, 0.28);
  animation: sxDrift 16s ease-in-out infinite alternate;
}

.ab-hx-orb.o2 {
  width: 440px;
  height: 440px;
  left: -150px;
  bottom: -190px;
  background: rgba(30, 64, 175, 0.5);
  animation: sxDrift 19s ease-in-out infinite alternate-reverse;
}

.ab-hx-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 32px;
  align-items: center;
  max-width: 1280px;
}

/* ---- copy ---- */
.ab-hx-copy > * {
  opacity: 0;
  transform: translateY(18px);
  animation: abUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ab-hx-copy > :nth-child(1) { animation-delay: 0.05s; }
.ab-hx-copy > :nth-child(2) { animation-delay: 0.15s; }
.ab-hx-copy > :nth-child(3) { animation-delay: 0.3s; }
.ab-hx-copy > :nth-child(4) { animation-delay: 0.42s; }
.ab-hx-copy > :nth-child(5) { animation-delay: 0.55s; }

@keyframes abUp {
  to { opacity: 1; transform: none; }
}

.ab-hx-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 10px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #ffffff;
}

.ab-hx-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2dd4bf;
  animation: sxPingBlue 2.2s ease-out infinite;
}

.ab-hx-title {
  margin-bottom: 22px;
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.6vw, 4.9rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.ab-hx-title span {
  display: block;
}

.ab-hx-title .l2 {
  padding-bottom: 0.12em;
  background: linear-gradient(100deg, #8fc4ee 0%, #5eead4 30%, #ffffff 50%, #5eead4 70%, #8fc4ee 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: abShine 7s linear infinite;
}

@keyframes abShine {
  from { background-position: 100% 50%; }
  to { background-position: -160% 50%; }
}

.ab-hx-lead {
  max-width: 540px;
  margin-bottom: 30px;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  color: #cbd8e8;
}

.ab-hx-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.ab-hx-cta .sx-btn-primary {
  background: #ffffff;
  color: #0b2a63;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.ab-hx-stats {
  display: flex;
  gap: 0;
  list-style: none;
}

.ab-hx-stats li {
  padding: 0 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.ab-hx-stats li:first-child {
  padding-left: 0;
  border-left: 0;
}

.ab-hx-stats b {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
}

.ab-hx-stats span {
  font-size: 0.82rem;
  color: #9fb3cc;
}

/* ---- visual: one orbit, seven services ---- */
.ab-hx-visual {
  container-type: inline-size;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.ab-or {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  animation: abFloat 9s ease-in-out infinite alternate;
}

@keyframes abFloat {
  from { transform: translateY(-6px); }
  to { transform: translateY(8px); }
}

@keyframes abSpin {
  to { transform: rotate(360deg); }
}

@keyframes abSpinBack {
  to { transform: rotate(-360deg); }
}

.ab-or-glow {
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.26) 0%, rgba(30, 64, 175, 0.2) 42%, transparent 70%);
  animation: abBreath 5s ease-in-out infinite alternate;
}

@keyframes abBreath {
  from { opacity: 0.7; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1.04); }
}

.ab-or-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(143, 196, 238, 0.22);
}

.ab-or-ring.r1 { inset: 10%; }

.ab-or-ring.r2 {
  inset: 25%;
  border: 1px dashed rgba(143, 196, 238, 0.32);
  animation: abSpin 90s linear infinite;
}

.ab-or-ring.r3 {
  inset: 36%;
  border: 1px dashed rgba(94, 234, 212, 0.4);
  animation: abSpinBack 60s linear infinite;
}

/* a bright arc of light that sweeps round the outer ring */
.ab-or-beam {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 78%, rgba(94, 234, 212, 0.95) 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  filter: drop-shadow(0 0 8px #2dd4bf);
  animation: abSpin 7s linear infinite;
}

/* the services slowly orbit; each chip counter-rotates so it stays upright */
.ab-or-spin {
  position: absolute;
  inset: 0;
  animation: abSpin 90s linear infinite;
}

.ab-or:hover .ab-or-spin,
.ab-or:hover .ab-chip,
.ab-or:hover .ab-spoke i {
  animation-play-state: paused;
}

.ab-spoke {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40cqw;
  height: 1px;
  transform-origin: 0 50%;
  transform: rotate(var(--a));
  background: linear-gradient(90deg, rgba(94, 234, 212, 0.55), rgba(143, 196, 238, 0.06));
}

/* light dots that run along each line */
.ab-spoke i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: #5eead4;
  box-shadow: 0 0 10px 2px rgba(45, 212, 191, 0.85);
  opacity: 0;
  animation: abTravel 3.6s linear infinite;
  animation-delay: var(--d);
}

.ab-spoke i.in {
  width: 5px;
  height: 5px;
  background: #8fc4ee;
  box-shadow: 0 0 9px 2px rgba(143, 196, 238, 0.8);
  animation-name: abTravelIn;
}

@keyframes abTravel {
  0% { left: 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@keyframes abTravelIn {
  0% { left: 100%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: 0; opacity: 0; }
}

.ab-item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: rotate(var(--a)) translateX(40cqw) rotate(calc(var(--a) * -1));
}

.ab-wrap {
  position: absolute;
  left: -56px;
  top: -42px;
  width: 112px;
  height: 84px;
}

.ab-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  animation: abSpinBack 90s linear infinite;
}

.ab-ic {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font-size: 1.15rem;
  color: #ffffff;
}

.ab-chip b {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #e6eef8;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.ab-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 25%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #011844;
  border: 1px solid rgba(143, 196, 238, 0.45);
  box-shadow: 0 0 70px rgba(45, 212, 191, 0.4), 0 0 0 6px rgba(1, 24, 68, 0.55);
}

.ab-core img {
  position: relative;
  z-index: 1;
  width: 62%;
  height: 62%;
  object-fit: cover;
}

.ab-core-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(94, 234, 212, 0.7);
  animation: abCore 3.6s ease-out infinite;
}

.ab-core-pulse.p2 {
  animation-delay: 1.8s;
}

@keyframes abCore {
  0% { transform: scale(1); opacity: 0.85; }
  100% { transform: scale(2.1); opacity: 0; }
}

@media (max-width: 900px) {
  .ab-hx {
    padding: 96px 0 56px;
  }

  .ab-hx-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ab-hx-visual {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .ab-hx {
    padding: 88px 0 48px;
  }

  .ab-hx-title {
    font-size: clamp(2.3rem, 11vw, 3rem);
  }

  .ab-hx-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .ab-hx-stats li {
    padding: 0 16px;
  }

  .ab-hx-stats b {
    font-size: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ab-hx-copy > *,
  .ab-chip {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .ab-or,
  .ab-or-glow,
  .ab-or-ring,
  .ab-or-beam,
  .ab-or-spin,
  .ab-spoke i,
  .ab-core-pulse,
  .ab-hx-orb,
  .ab-hx-title .l2,
  .ab-hx-pill i {
    animation: none;
  }
}

/* Home header: nav hover underline and scrolled border match the other pages (teal, not green) */
.page-home .header-fullwidth .nav-link::after {
  background: #14b8a6;
  box-shadow: 0 0 8px #14b8a6;
}

.page-home .header-fullwidth.scrolled {
  border-bottom-color: color-mix(in srgb, #14b8a6 35%, transparent);
}

/* gradient headings: keep descenders (g, p, y) from being clipped */
.page-home .lt .sx-title .w,
.page-home .lt .sx-title .wi {
  padding-bottom: 0.22em;
  margin-bottom: -0.22em;
}

/* Consultation form: the "Other" inputs appear only when chosen */
.sx-field[hidden] { display: none; }
.sx-other { animation: sxOtherIn 0.35s ease both; }
@keyframes sxOtherIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.sx-field select:invalid { color: #8a99b2; }
.sx-field select option { color: #0b1b3a; }

/* Home page consultation popup: blue theme (it sits outside the main section, so it was still green) */
.page-home .sx-modal .sx-tag {
  background: #e3f6f3;
  border-color: rgba(30, 64, 175, 0.25);
  color: #1e40af;
}

.page-home .sx-modal .sx-dot { background: #14b8a6; animation-name: sxPingBlue; }

.page-home .sx-modal .sx-btn-primary {
  background: linear-gradient(135deg, #1e40af 0%, #14b8a6 100%);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(20, 184, 166, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Consultation form: inline errors */
.sx-field .sx-err { display: block; min-height: 0; margin-top: 6px; font-size: 0.8rem; font-weight: 500; color: #dc2626; }
.sx-field .sx-err:empty { display: none; }
.sx-field.has-err input,
.sx-field.has-err select,
.sx-field.has-err textarea { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1); }

/* Success popup */
.sx-success {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 17, 36, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.sx-success.active { opacity: 1; visibility: visible; }

.sx-success-card {
  width: 100%;
  max-width: 460px;
  padding: 40px 36px 34px;
  text-align: center;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(6, 17, 36, 0.35);
  transform: translateY(26px) scale(0.94);
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sx-success.active .sx-success-card { transform: none; }

.sx-success-badge {
  display: inline-grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e40af, #14b8a6);
  box-shadow: 0 16px 36px rgba(20, 184, 166, 0.35);
}
.sx-success-badge svg { width: 56px; height: 56px; }
.sx-success-badge .c { fill: none; stroke: rgba(255, 255, 255, 0.35); stroke-width: 2.5; stroke-dasharray: 145; stroke-dashoffset: 145; }
.sx-success-badge .t { fill: none; stroke: #ffffff; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.sx-success-badge.go { animation: sxPopBadge 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.sx-success-badge.go .c { animation: sxDraw 0.7s ease 0.15s forwards; }
.sx-success-badge.go .t { animation: sxDraw 0.5s ease 0.55s forwards; }
@keyframes sxDraw { to { stroke-dashoffset: 0; } }
@keyframes sxPopBadge { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }

.sx-success-card h3 { margin: 0 0 10px; font-family: var(--font-heading); font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.02em; color: #0b1b3a; }
.sx-success-msg { margin: 0 0 26px; font-size: 1rem; line-height: 1.65; color: #4b5b75; }
.sx-success-ok { min-width: 140px; justify-content: center; background: linear-gradient(135deg, #1e40af 0%, #14b8a6 100%); color: #fff; box-shadow: 0 10px 26px rgba(20, 184, 166, 0.35); }

@media (prefers-reduced-motion: reduce) {
  .sx-success-card, .sx-success-badge.go, .sx-success-badge.go .c, .sx-success-badge.go .t { animation: none; transition: none; }
  .sx-success-badge .c, .sx-success-badge .t { stroke-dashoffset: 0; }
}

/* --------------------------------------------------------------------------
   Phones: a tidy "Get Consultation" button in the header
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .header-fullwidth .header-container { gap: 10px; }
  .header-fullwidth .nav-actions { gap: 8px; margin-left: auto; flex: none; }

  .header-fullwidth .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 16px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    border-radius: 10px;
  }

  /* home: same blue-teal button as every other page, without the sweeping shine */
  .page-home .header-fullwidth .btn-primary,
  .page-home .header-fullwidth .btn-primary:hover {
    background: linear-gradient(135deg, #1e40af 0%, #14b8a6 100%);
    box-shadow: 0 6px 16px rgba(20, 184, 166, 0.3);
    animation: none;
  }
  .page-home .header-fullwidth .btn-primary::after { display: none; }

  .mobile-nav-toggle {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 1.15rem;
  }
}

@media (max-width: 360px) {
  .nav-logo-img { height: 28px; }
  .header-fullwidth .header-container { gap: 6px; }
  .header-fullwidth .btn-primary { height: 36px; padding: 0 12px; font-size: 0.74rem; }
  .mobile-nav-toggle { width: 36px; height: 36px; }
}

/* ==========================================================================
   Footer (all pages)
   ========================================================================== */
.ftr {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding: 0 0 0;
  background: linear-gradient(180deg, #071a3f 0%, #050f26 100%);
  color: #b6c3d6;
  overflow: hidden;
}


.ftr .container { position: relative; }

/* call-to-action card (last footer column) */
.ftr-card {
  align-self: start;
  padding: 28px 26px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.6), rgba(20, 184, 166, 0.34));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.25);
}
.ftr-card h3 { margin: 0 0 10px; font-family: var(--font-heading); font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.02em; color: #ffffff; }
.ftr-card p { margin: 0 0 20px; font-size: 0.93rem; line-height: 1.65; color: #d3deee; }
.ftr-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #0b2a63;
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, gap 0.25s ease;
}
.ftr-cta-btn:hover { transform: translateY(-2px); gap: 14px; }

/* columns */
.ftr-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1.05fr 0.85fr 1.3fr;
  gap: 40px;
  padding: 64px 0 48px;
}

.ftr-logo { height: 42px; width: auto; margin-bottom: 22px; border-radius: 6px; }
.ftr-brand p { max-width: 340px; margin: 0 0 18px; font-size: 0.93rem; line-height: 1.7; color: #9fb0c8; }

.ftr-meta { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.ftr-meta li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: #c3cfe0; }
.ftr-meta i { width: 16px; text-align: center; color: #2dd4bf; }

.ftr-social { display: flex; gap: 10px; }
.ftr-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #dbe6f4;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.ftr-social a:hover { transform: translateY(-3px); background: #14b8a6; border-color: #14b8a6; color: #ffffff; }

.ftr-col h4 {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
}
.ftr-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.ftr-col a { color: #b6c3d6; font-size: 0.93rem; line-height: 1.35; transition: color 0.2s ease, padding 0.25s ease; }
.ftr-col ul a:hover { color: #ffffff; padding-left: 4px; }
.ftr-col small { display: block; margin-top: 2px; font-size: 0.76rem; color: #7f92ad; }
.ftr-col a.ftr-all { color: #2dd4bf; font-weight: 600; }
.ftr-col a.ftr-all i { margin-left: 6px; font-size: 0.8em; transition: transform 0.25s ease; }
.ftr-col a.ftr-all:hover i { transform: translateX(4px); }

/* bottom bar */
.ftr-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #8296b1;
}
.ftr-bottom span { color: #5eead4; }
.ftr-legal { display: flex; gap: 22px; }
.ftr-legal a { color: #9fb0c8; }
.ftr-legal a:hover { color: #ffffff; }

@media (max-width: 1100px) {
  .ftr-grid { grid-template-columns: 1fr 1fr 1fr; gap: 36px 32px; }
  .ftr-brand { grid-column: 1 / -1; }
  .ftr-brand p { max-width: 520px; }
  .ftr-card { grid-column: auto; }
}

@media (max-width: 760px) {
  .ftr-cta-btn { width: 100%; justify-content: center; }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding: 40px 0 36px; }
  .ftr-card { grid-column: 1 / -1; }
  .ftr-bottom { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   Footer layout: four columns on top (Services, Products, Company, the card);
   underneath, the logo on the left and "Follow us:" with the icons on the right.
   (The brand block's children are placed straight into the footer grid.)
   -------------------------------------------------------------------------- */
.ftr-brand { display: contents; }

.ftr-grid {
  grid-template-columns: 1.1fr 1.1fr 0.8fr 1.3fr;
  align-items: start;
  row-gap: 44px;
}

.ftr-brand > a {
  order: 10;
  grid-column: 1 / 3;
  display: flex;
  align-items: center;
  justify-self: start;
}

.ftr-logo { margin: 0; }

.ftr-social {
  order: 11;
  grid-column: 3 / -1;
  justify-self: end;
  align-items: center;
}

.ftr-social::before {
  content: 'Follow us:';
  margin-right: 8px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #c3cfe0;
}

@media (max-width: 1100px) {
  .ftr-grid { grid-template-columns: 1fr 1fr 1fr; }
  .ftr-card { grid-column: 1 / -1; order: 5; }
}

@media (max-width: 760px) {
  .ftr-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .ftr-brand > a { grid-column: 1; }
  .ftr-social { grid-column: 2; }
}

@media (max-width: 440px) {
  .ftr-brand > a { grid-column: 1 / -1; }
  .ftr-social { grid-column: 1 / -1; justify-self: start; }
}

/* footer social icons: each lights up in its own brand colour on hover */
.ftr-social a[aria-label="LinkedIn"]:hover { background: #0a66c2; border-color: #0a66c2; color: #ffffff; }
.ftr-social a[aria-label="Facebook"]:hover { background: #1877f2; border-color: #1877f2; color: #ffffff; }
.ftr-social a[aria-label="YouTube"]:hover { background: #ff0000; border-color: #ff0000; color: #ffffff; }
.ftr-social a[aria-label="Instagram"]:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  color: #ffffff;
}

/* About: the 8 category cards are links; the call-to-action card takes the full last row */
.ab-services a.ab-cat { display: block; color: inherit; text-decoration: none; }

.ab-services .ab-card-cta {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 28px;
  padding: 28px 34px;
}

.ab-services .ab-card-cta .sx-card-title,
.ab-services .ab-card-cta .sx-card-desc { margin: 0; }

.ab-services .ab-card-cta > div { flex: 1; min-width: 240px; }

/* ==========================================================================
   Consultation form: scrollbar + dropdowns
   ========================================================================== */
.sx-modal-card {
  scrollbar-width: thin;
  scrollbar-color: #c3cfe0 transparent;
  scrollbar-gutter: stable;
}
.sx-modal-card::-webkit-scrollbar { width: 8px; }
.sx-modal-card::-webkit-scrollbar-track { background: transparent; margin: 26px 0; }
.sx-modal-card::-webkit-scrollbar-thumb { background: #c3cfe0; border-radius: 8px; border: 2px solid #ffffff; }
.sx-modal-card::-webkit-scrollbar-thumb:hover { background: #8fa3bf; }

/* the card itself no longer scrolls; an inner area does, inset from the rounded edges */
.sx-modal-card {
  padding: 0;
  overflow: hidden;
  scrollbar-gutter: auto;
}

.sx-modal-scroll {
  max-height: 92vh;
  margin-right: 8px;
  padding: 40px 32px 40px 40px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #c3cfe0 transparent;
}
.sx-modal-scroll::-webkit-scrollbar { width: 6px; }
.sx-modal-scroll::-webkit-scrollbar-track { background: transparent; margin: 68px 0 22px; }
.sx-modal-scroll::-webkit-scrollbar-thumb { background: #c3cfe0; border-radius: 6px; }
.sx-modal-scroll::-webkit-scrollbar-thumb:hover { background: #8fa3bf; }

@media (max-width: 640px) {
  .sx-modal-scroll { max-height: 94vh; margin-right: 6px; padding: 28px 14px 28px 20px; }
  .sx-modal-scroll::-webkit-scrollbar { width: 4px; }
}

/* the real <select> stays in the page (for the form data) but is hidden */
.sx-field select.sx-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.sx-dd { position: relative; }

.sx-dd-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dbe2ec;
  border-radius: 12px;
  background: #f8fafc;
  color: #061124;
  font: inherit;
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.sx-dd-btn:hover { border-color: #b9c6d8; }
.sx-dd-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-dd-label.is-placeholder { color: #8a99b2; }
.sx-dd-btn i { flex: none; font-size: 0.7rem; color: #64748b; transition: transform 0.25s ease; }

.sx-dd.open .sx-dd-btn,
.sx-dd-btn:focus-visible {
  outline: none;
  background: #ffffff;
  border-color: #1e40af;
  box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.12);
}
.sx-dd.open .sx-dd-btn i { transform: rotate(180deg); color: #1e40af; }
.sx-field.has-err .sx-dd-btn { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1); }

.sx-dd-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 40;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e1e8f2;
  border-radius: 14px;
  box-shadow: 0 22px 46px rgba(6, 17, 36, 0.2);
  animation: sxDdIn 0.18s ease both;
}
.sx-dd-panel[hidden] { display: none; }
@keyframes sxDdIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.sx-dd-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #eef2f7;
  background: #f8fafc;
}
.sx-dd-search i { font-size: 0.8rem; color: #94a3b8; }
.sx-dd-search input,
.sx-dd-search input:focus {
  flex: 1;
  min-width: 0;
  width: auto;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #061124;
  font-size: 0.92rem;
  outline: none;
}

.sx-dd-list {
  max-height: 232px;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: #c3cfe0 transparent;
}
.sx-dd-list::-webkit-scrollbar { width: 6px; }
.sx-dd-list::-webkit-scrollbar-track { background: transparent; margin: 4px 0; }
.sx-dd-list::-webkit-scrollbar-thumb { background: #c3cfe0; border-radius: 6px; }

.sx-dd-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 9px;
  color: #1e293b;
  font-size: 0.92rem;
  line-height: 1.3;
  cursor: pointer;
}
.sx-dd-list li[hidden] { display: none; }
.sx-dd-list li.is-active { background: #eef4ff; }
.sx-dd-list li.is-selected { color: #1e40af; font-weight: 600; }
.sx-dd-list li.is-selected::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free', sans-serif;
  font-weight: 900;
  font-size: 0.72rem;
  color: #14b8a6;
}

.sx-dd-empty { padding: 16px 14px; font-size: 0.88rem; color: #8a99b2; text-align: center; }

@media (max-width: 640px) {
  .sx-dd-list { max-height: 210px; }
  .sx-modal-card::-webkit-scrollbar { width: 5px; }
}

/* footer button: fills the card, one line, centred */
.ftr-card .ftr-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 0 22px;
  font-size: 0.95rem;
  white-space: nowrap;
}

.ftr-social a[aria-label="X (Twitter)"]:hover { background: #000000; border-color: rgba(255, 255, 255, 0.5); color: #ffffff; }
