/* =========================================================
   BX-HOME — Windows XP × modern SaaS homepage
   Loaded after bx-retro.css on index pages only
   ========================================================= */

body[data-page="index.html"] {
  --home-max: 1480px;
  --home-pad: clamp(1.25rem, 2.5vw, 2rem);
  --home-gap: clamp(2.5rem, 5vw, 4.5rem);
  --home-blue: #4c8dff;
  --home-blue-hi: #7eb6ff;
  --home-blue-deep: #1e4aaa;
  --home-glass: rgba(20, 32, 56, 0.72);
}

body[data-page="index.html"] .bx-page-gutter {
  padding: 20px clamp(12px, 2vw, 28px) 36px;
}

body[data-page="index.html"] .bx-app-frame--wide,
body[data-page="index.html"] .bx-app-frame {
  max-width: var(--home-max);
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: #0e1628;
  box-shadow:
    0 0 0 1px rgba(120, 160, 255, 0.12),
    8px 12px 0 rgba(0, 0, 0, 0.55),
    0 30px 80px rgba(0, 0, 0, 0.45);
}

/* Hide legacy sidebar shell on homepage */
body[data-page="index.html"] .bx-body-split {
  display: block !important;
}
body[data-page="index.html"] .bx-side-rail {
  display: none !important;
}
body[data-page="index.html"] .bx-doc-column {
  width: 100%;
  background: transparent;
  overflow: visible;
}

/* Ambient backdrop */
body[data-page="index.html"] .bx-home-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
body[data-page="index.html"] .bx-home-ambient__grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(76, 141, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 141, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
}
body[data-page="index.html"] .bx-home-ambient__glow {
  position: absolute;
  width: 60%;
  height: 50%;
  left: 20%;
  top: -8%;
  background: radial-gradient(ellipse at center, rgba(76, 141, 255, 0.28), transparent 68%);
  filter: blur(8px);
  animation: bx-home-glow 10s ease-in-out infinite alternate;
}
body[data-page="index.html"] .bx-home-ambient__scan {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.55) 2px,
    rgba(0, 0, 0, 0.55) 3px
  );
}
body[data-page="index.html"] .bx-home-ambient__dot {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #7eb6ff;
  box-shadow: 0 0 8px #4c8dff;
  opacity: 0.55;
  animation: bx-home-dot 7s ease-in-out infinite;
}
@keyframes bx-home-glow {
  from { opacity: 0.55; transform: translateY(0); }
  to { opacity: 1; transform: translateY(18px); }
}
@keyframes bx-home-dot {
  0%, 100% { opacity: 0.25; transform: translateY(0); }
  50% { opacity: 0.8; transform: translateY(-10px); }
}

/* Banner polish */
body[data-page="index.html"] .bx-banner-head {
  position: relative;
  z-index: 5;
  padding: 12px 22px;
  background: linear-gradient(180deg, #2a5aaa 0%, #1a3f7a 48%, #12305e 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Horizontal XP nav */
.bx-top-nav {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 18px;
  background: linear-gradient(180deg, #1a2a48 0%, #121c34 100%);
  border-bottom: 1px solid rgba(76, 141, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.bx-top-nav__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid transparent;
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  transition: transform 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.25s, color 0.2s;
}
.bx-top-nav__item svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.85;
}
.bx-top-nav__item:hover {
  color: #fff;
  border-color: rgba(126, 182, 255, 0.35);
  background: linear-gradient(180deg, rgba(76, 141, 255, 0.2), rgba(30, 74, 170, 0.25));
  transform: translateY(-1px);
}
.bx-top-nav__item--current {
  color: #fff;
  border: 1px solid rgba(126, 182, 255, 0.55);
  background: linear-gradient(180deg, #4c8dff 0%, #2a5fbf 55%, #1e4aaa 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 16px rgba(76, 141, 255, 0.45);
}

/* Home main */
.bx-home-main {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 3vw, 2.5rem) var(--home-pad) 0;
}

.bx-home-section {
  margin-bottom: var(--home-gap);
}
.bx-home-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 1.75rem;
}
.bx-home-head__eyebrow {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.28rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #061018;
  background: linear-gradient(180deg, #9ec5ff, #4c8dff);
  border: 1px solid #7eb6ff;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.bx-home-head h2 {
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.65rem;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5), 0 0 28px rgba(76, 141, 255, 0.18);
  letter-spacing: -0.01em;
}
.bx-home-head h2 em {
  font-style: normal;
  color: #7eb6ff;
  text-shadow: 0 0 22px rgba(76, 141, 255, 0.45);
}
.bx-home-head p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
}

/* —— Hero —— */
.bx-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  margin-bottom: var(--home-gap);
  padding: clamp(0.5rem, 1.5vw, 1rem) 0 clamp(1rem, 2vw, 1.5rem);
}
.bx-home-hero__copy {
  position: relative;
  z-index: 1;
}
.bx-home-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #dceaff;
  background: rgba(76, 141, 255, 0.14);
  border: 1px solid rgba(126, 182, 255, 0.35);
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(76, 141, 255, 0.12);
}
.bx-home-hero__badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4c8dff;
  box-shadow: 0 0 10px #4c8dff;
}
.bx-home-hero h1 {
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.55rem);
  line-height: 1.12;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1.1rem;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5), 0 0 40px rgba(76, 141, 255, 0.2);
}
.bx-home-hero h1 em {
  font-style: normal;
  color: #7eb6ff;
  text-shadow: 0 0 24px rgba(76, 141, 255, 0.45);
}
.bx-home-hero__lead {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.74);
  margin: 0 0 1.5rem;
  max-width: 38ch;
}
.bx-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}
.bx-home-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.bx-home-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(126, 182, 255, 0.22);
  border-radius: 7px;
}

/* Hero visual + XP window stage */
.bx-home-hero__visual {
  position: relative;
  z-index: 1;
  perspective: 900px;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.35s ease;
  will-change: transform;
}
.bx-home-window {
  position: relative;
  border-radius: 8px;
  background: linear-gradient(180deg, #3a6ccc 0%, #2452a8 40%, #1a3f7a 100%);
  padding: 3px;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.2) inset,
    0 28px 60px rgba(0, 0, 0, 0.55),
    0 0 50px rgba(76, 141, 255, 0.22);
  animation: bx-home-float 6.5s ease-in-out infinite;
  transform-origin: center;
}
.bx-home-window::before {
  content: "";
  position: absolute;
  inset: -18% -8% auto;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(126, 182, 255, 0.35), transparent 70%);
  z-index: -1;
  filter: blur(6px);
}
.bx-home-window::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -18px;
  height: 24px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45), transparent 70%);
  filter: blur(4px);
  z-index: -1;
}
@keyframes bx-home-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.bx-home-window__titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  color: #fff;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.45);
}
.bx-home-window__controls {
  display: flex;
  gap: 4px;
  margin-inline-start: auto;
}
.bx-home-window__controls span {
  width: 18px;
  height: 16px;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.bx-home-window__controls .min { background: linear-gradient(180deg, #efe4a8, #c9b24a); }
.bx-home-window__controls .max { background: linear-gradient(180deg, #a8d4a8, #4aa04a); }
.bx-home-window__controls .cls { background: linear-gradient(180deg, #f0a0a0, #c04040); }
.bx-home-window__body {
  margin: 0 3px 3px;
  border-radius: 4px;
  overflow: hidden;
  background: #0a1020;
  border: 1px solid rgba(0, 0, 0, 0.35);
  position: relative;
}
.bx-home-window__body img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  object-position: top left;
}
.bx-home-window__sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, transparent 38%, transparent 100%);
}

/* Buttons */
.bx-btn-xp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 7px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.25s, filter 0.2s;
}
.bx-btn-xp--primary {
  color: #061018;
  border-color: #9ec5ff;
  background: linear-gradient(180deg, #b8d7ff 0%, #4c8dff 42%, #2a5fbf 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 0 0 1px rgba(30, 74, 170, 0.35),
    0 8px 24px rgba(76, 141, 255, 0.35);
}
.bx-btn-xp--primary:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 0 28px rgba(76, 141, 255, 0.45);
}
.bx-btn-xp--primary:active {
  transform: translateY(1px);
  filter: brightness(0.96);
}
.bx-btn-xp--ghost {
  color: #e8f0ff;
  border-color: rgba(126, 182, 255, 0.35);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(20, 32, 56, 0.65));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.bx-btn-xp--ghost:hover {
  border-color: rgba(126, 182, 255, 0.55);
  background: linear-gradient(180deg, rgba(76, 141, 255, 0.18), rgba(20, 32, 56, 0.75));
  transform: translateY(-2px);
}
.bx-btn-xp--xl {
  padding: 1.05rem 1.9rem;
  font-size: 1.05rem;
}

/* Cards */
.bx-xp-card {
  position: relative;
  padding: 1.35rem 1.3rem;
  border-radius: 8px;
  border: 1px solid rgba(126, 182, 255, 0.28);
  background:
    linear-gradient(165deg, rgba(48, 78, 130, 0.35), rgba(16, 28, 48, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 10px 28px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s, box-shadow 0.28s;
}
.bx-xp-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%), rgba(126, 182, 255, 0.18), transparent 55%);
  z-index: 0;
}
.bx-xp-card > * {
  position: relative;
  z-index: 1;
}
.bx-xp-card:hover {
  transform: translateY(-5px);
  border-color: rgba(126, 182, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 36px rgba(0, 0, 0, 0.35),
    0 0 28px rgba(76, 141, 255, 0.2);
}

/* Stats */
.bx-home-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.bx-home-stat {
  text-align: center;
  padding: 1.5rem 1rem;
}
.bx-home-stat__icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.75rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(126, 182, 255, 0.25), rgba(30, 74, 170, 0.35));
  border: 1px solid rgba(126, 182, 255, 0.35);
  color: #9ec5ff;
}
.bx-home-stat__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bx-home-stat__num {
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 700;
  color: #7eb6ff;
  line-height: 1;
  text-shadow: 0 0 20px rgba(76, 141, 255, 0.35);
  margin-bottom: 0.4rem;
}
.bx-home-stat__label {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.4;
}

/* Feature grid */
.bx-home-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.bx-home-feature__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  border-radius: 8px;
  background: linear-gradient(180deg, #5a9cff, #2a5fbf);
  border: 1px solid #9ec5ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 0 16px rgba(76, 141, 255, 0.25);
  color: #061018;
}
.bx-home-feature__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bx-home-feature h3 {
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: #fff;
}
.bx-home-feature p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

/* Steps */
.bx-home-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.bx-home-step__n {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  border-radius: 7px;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #061018;
  background: linear-gradient(180deg, #b8d7ff, #4c8dff);
  border: 1px solid #9ec5ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.bx-home-step h3 {
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
  color: #fff;
}
.bx-home-step p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.66);
}

/* Module showcase */
.bx-home-modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.bx-home-module__shot {
  height: 150px;
  margin-bottom: 1rem;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(126, 182, 255, 0.25);
  background: #0a1020;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.bx-home-module__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}
.bx-home-module h3 {
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
  color: #fff;
}
.bx-home-module p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.66);
}

/* Quotes */
.bx-home-quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.bx-home-quote p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}
.bx-home-quote__who {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.bx-home-quote__av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #061018;
  background: linear-gradient(180deg, #9ec5ff, #4c8dff);
  border: 1px solid #c5dcff;
}
.bx-home-quote__name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}
.bx-home-quote__role {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Download CTA */
.bx-home-download {
  position: relative;
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  border-radius: 10px;
  border: 1px solid rgba(126, 182, 255, 0.4);
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(76, 141, 255, 0.28), transparent 60%),
    linear-gradient(180deg, #1e3a6e 0%, #122848 50%, #0c1830 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(76, 141, 255, 0.18);
  overflow: hidden;
}
.bx-home-download h2 {
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin: 0 0 0.65rem;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}
.bx-home-download > p {
  margin: 0 auto 1.35rem;
  max-width: 36rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}
.bx-home-download__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.bx-home-download__meta span {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #061018;
  background: linear-gradient(180deg, #d6e8ff, #7eb6ff);
  border: 1px solid #c5dcff;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Footer */
body[data-page="index.html"] .bx-home-footer {
  position: relative;
  z-index: 2;
  margin-top: 0.5rem;
  padding: 2rem var(--home-pad) 1.4rem;
  border-top: 1px solid rgba(76, 141, 255, 0.22);
  background: linear-gradient(180deg, #121c34, #0c1424);
}
.bx-home-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.bx-home-footer__brand p {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
  max-width: 34ch;
}
.bx-home-footer__brand .bx-brand-lockup {
  margin-bottom: 0.25rem;
}
.bx-home-footer h5 {
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ec5ff;
  margin: 0 0 0.75rem;
}
.bx-home-footer a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
  padding: 0.28rem 0;
  transition: color 0.2s;
}
.bx-home-footer a:hover {
  color: #7eb6ff;
}
.bx-home-footer__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}
.bx-home-footer__social {
  display: flex;
  gap: 0.55rem;
}
.bx-home-footer__social a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 6px;
  border: 1px solid rgba(126, 182, 255, 0.28);
  background: rgba(76, 141, 255, 0.1);
  color: #9ec5ff;
}
.bx-home-footer__social a:hover {
  background: rgba(76, 141, 255, 0.22);
  color: #fff;
}
.bx-home-footer__social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* Hide old footer chrome if present */
body[data-page="index.html"] .bx-base-strip {
  display: none !important;
}

/* Entrance */
body[data-page="index.html"] .bx-home-rise {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
body[data-page="index.html"] .bx-home-rise.is-visible,
body[data-page="index.html"].bx-ready .bx-home-rise.is-visible,
html.bx-ready body[data-page="index.html"] .bx-home-rise.is-visible {
  opacity: 1;
  transform: none;
}
body[data-page="index.html"].bx-ready .bx-home-hero__copy,
html.bx-ready body[data-page="index.html"] .bx-home-hero__copy {
  animation: bx-home-in 0.8s ease both;
}
body[data-page="index.html"].bx-ready .bx-home-hero__visual,
html.bx-ready body[data-page="index.html"] .bx-home-hero__visual {
  animation: bx-home-in 0.9s ease 0.12s both;
}
@keyframes bx-home-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .bx-home-hero {
    grid-template-columns: 1fr;
  }
  .bx-home-hero__visual {
    order: -1;
    max-width: 560px;
    margin: 0 auto;
  }
  .bx-home-stats,
  .bx-home-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bx-home-modules,
  .bx-home-quotes {
    grid-template-columns: 1fr;
  }
  .bx-home-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .bx-home-stats,
  .bx-home-features,
  .bx-home-steps,
  .bx-home-footer__grid {
    grid-template-columns: 1fr;
  }
  .bx-top-nav {
    gap: 4px;
    padding: 8px 10px;
  }
  .bx-top-nav__item {
    padding: 7px 10px;
    font-size: 0.78rem;
  }
  .bx-home-hero h1 {
    font-size: clamp(2rem, 9vw, 2.5rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .bx-home-window,
  body[data-page="index.html"] .bx-home-ambient__glow,
  body[data-page="index.html"] .bx-home-ambient__dot {
    animation: none !important;
  }
  body[data-page="index.html"] .bx-home-rise {
    opacity: 1;
    transform: none;
  }
}
