html,
body,
p,
span {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  font-family: "Poppins", sans-serif !important;
}

.hideFromUi {
  display: none !important;
}

.ml-50 {
  margin-left: 50px !important;
}

.ml-24 {
  margin-left: 24px !important;
}

.ml-44 {
  margin-left: 44px !important;
}

.ml-10 {
  margin-left: 10px !important;
}

.mt-60 {
  margin-top: 60px !important;
}

.mt-36 {
  margin-top: 36px !important;
}

.mt-20 {
  margin-top: 20px !important;
}

.mt-100 {
  margin-top: 100px !important;
}

.fw-300 {
  font-weight: 300 !important;
}

.fw-500 {
  font-weight: 500 !important;
}

.fw-400 {
  font-weight: 400 !important;
}

.fw-600 {
  font-weight: 600 !important;
}

.fw-700 {
  font-weight: 700 !important;
}

.bg-red {
  background-color: #ff341d !important;
}

.text-red {
  color: #ff341d !important;
}

.f-48 {
  font-size: 48px !important;
}

.f-16 {
  font-size: 16px !important;
}

.f-20 {
  font-size: 20px !important;
}

.f-28 {
  font-size: 28px !important;
}

.f-36 {
  font-size: 36px !important;
}

.f-40 {
  font-size: 40px !important;
}

.f-56 {
  font-size: 56px !important;
}

.f-24 {
  font-size: 24px !important;
}

.f-13 {
  font-size: 13px !important;
}

.l-55 {
  line-height: 55px !important;
}

.pr-10 {
  padding-right: 10px !important;
}

.redBtnStyle {
  padding: 16px 32px !important;
}

.bg-img-red {
  background: radial-gradient(ellipse at 50% 0%, #1c0f10 0%, #0c0c14 60%, #06060d 100%);
  position: relative;
  overflow: hidden;
}

.bg-img-red::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 800px 500px at 78% 38%, rgba(255, 52, 29, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.bg-img-red>* {
  position: relative;
  z-index: 1;
}

/* Dark-hero text overrides (homepage) */
.bg-img-red .changeFont-32,
.bg-img-red .f-48,
.bg-img-red .f-56 {
  color: #fff !important;
}

.bg-img-red .hero-sub {
  color: rgba(255, 255, 255, 0.78) !important;
}

.bg-img-red .hero-sub strong {
  color: #fff;
}

.bg-img-red .strapline {
  color: rgba(255, 255, 255, 0.6) !important;
}

.bg-img-red .hero-pill {
  background: rgba(255, 52, 29, 0.18);
  border-color: rgba(255, 52, 29, 0.5);
  color: #ffaa99;
}

/* Top nav on dark */
.bg-img-red .topMenu .f-16,
.bg-img-red .topMenu a.f-16 {
  color: rgba(255, 255, 255, 0.85) !important;
}

.bg-img-red .topMenu a.f-16:hover {
  color: #fff !important;
}

.bg-img-red .loginBtn {
  border-color: #ff341d;
  color: #ff5533;
  background: transparent;
}

.bg-img-red .loginBtn:hover {
  background: rgba(255, 52, 29, 0.12);
  color: #ff7755;
  border-color: #ff5533;
}

/* Explore Modules button on dark */
.bg-img-red .btn-outline-danger {
  background: transparent;
  color: #ff5533 !important;
  border-color: #ff341d !important;
}

.bg-img-red .btn-outline-danger:hover {
  background: rgba(255, 52, 29, 0.15);
  color: #ff7755 !important;
}

/* Hamburger icon (mobile) - invert for visibility */
.bg-img-red .sidmenuIcon img {
  filter: invert(1) brightness(1.5);
}

.addstyle {
  text-align: right;
}

.loginBtn {
  padding: 9px 20px;
  width: 83px;
  height: 42px;
  border-color: #ff341d;
  color: #ff341d;
}

.loginBtn:hover {
  border-color: #ff341d;
  color: #ff341d;
  background-color: transparent;
}

.btnposition {
  text-align: center;
}

.registerBtnStyle {
  width: 106px;
  height: 42px;
  padding: 9px 20px;
}

.serviceContainer {
  /* background-image: url('./assets/image/redBg.svg');
    background-repeat: no-repeat; */
  border-radius: 32px;
  padding: 8px 62px 77px 44px;
  /* background-size: cover; */
  background: linear-gradient(180deg, rgba(252, 234, 232), transparent);
}

@media (max-width: 1445px) {
  .serviceContainer {
    /* background-size:initial!important; */
  }
}

.pb-180 {
  padding-bottom: 180px;
}

.obsoleteContainer {
  padding: 0 130px 0 170px;
}

.custom-gutter>.colm {
  padding-left: 44px;
  padding-right: 52px;
}

.mt-72 {
  margin-top: 72px !important;
}

.bg-Oxblood {
  background-color: #460000;
}

.comunityContainer {
  padding: 20px 95px 55px 95px;
  border-radius: 15px;
}

.socialIconContainer {
  display: flex;
  justify-content: center;
  column-gap: 56px;
}

.footerContainer {
  padding: 90px 152px 30px 200px;
}

.text-white {
  color: white;
}

.whiteBtnStyle {
  background: white !important;
  color: #ff341d !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  width: 196px !important;
  height: 56px !important;
}

.mt-30 {
  margin-top: 30px;
}

.mt-40 {
  margin-top: 40px;
}

.inputStyle {
  height: 56px;
  border-radius: 8px;
  width: 50%;
}

.mr-20 {
  margin-right: 20px;
}

.inputStyle::placeholder {
  font-size: 16px;
  font-weight: 400;
  padding-left: 32px;
  color: #333333;
}

.pb-40 {
  padding-bottom: 40px;
}

.borderBottom {
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footerMenu {
  /* padding: 10px 0 40px 0; */
  padding-top: 10px;
  padding-left: 75px;
  padding-right: 75px;
  padding-bottom: 40px;
}

.textAlignStyle {
  text-align: center;
}

.menuStyle {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 72px;
  flex-wrap: wrap;
}

.pl-0 {
  padding-left: 0 !important;
}

.pr-0 {
  padding-right: 0 !important;
}

.footerSocialIcons {
  display: flex;
  justify-content: end;
  flex-wrap: wrap;
  column-gap: 52px;
}

.cursor-pointer {
  cursor: pointer;
}

.btn:first-child:active {
  color: #ff341d;
  background-color: transparent;
  border-color: #ff341d;
}

/* side menu style */
.side-menu {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100%;
  background-color: #fff;
  z-index: 999;
  transition: right 0.3s ease;
}

.side-menu ul {
  list-style-type: none;
  padding: 20px 10px;
}

.side-menu ul li {
  margin-bottom: 15px;
}

.side-menu ul li a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
}

.side-menu ul li a:hover {
  color: #007bff;
}

.side-menu.active {
  right: 0;
  /* Show the menu when active */
}

.w-92 {
  width: 92% !important;
}

.w-91 {
  width: 85% !important;
}

.sidmenuIcon {
  display: none;
  cursor: pointer;
}

.headerMenuPadding {
  padding-left: 36px;
}

.showDescription {
  display: none;
}

.hideServiceMobile {
  display: none;
}

.hideServiceLap {
  /* display: block; */
}

@media (max-width: 1105px) {
  .hideServiceMobile {
    display: flex;
  }

  .hideServiceLap {
    display: none;
  }
}

@media (max-width: 1300px) {
  .footerMenu {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 1200px) {
  .textAlignStyle {
    text-align: start;
  }
}

@media (max-width: 992px) {
  .pic-center {
    text-align: center;
  }

  .marginchange-50 {
    margin-top: 50px;
  }

  .hideDescription {
    display: none;
  }

  .showDescription {
    display: block;
  }

  .hideFooterCol {
    display: none;
  }

  .footerMenu {
    padding-left: 0px;
    padding-right: 0px;
  }
}

@media (max-width: 768px) {
  .topMenu {
    display: none !important;
  }

  .sidmenuIcon {
    display: block;
  }

  .padding-20 {
    padding: 32px 20px !important;
  }

  .obsoleteContainer {
    padding: 0 20px;
  }

  .footerContainer {
    padding: 46px 20px 51px 20px;
  }

  .changeFontsize-22 {
    font-size: 22px !important;
  }

  .menuStyle {
    justify-content: space-between;
  }

  .headerMenuPadding {
    padding: 0 !important;
  }

  .comunityContainer {
    padding: 38px 9px 55px 16px !important;
  }

  .fontChange-28 {
    font-size: 28px !important;
  }

  .makeColPadding0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 576px) {
  .changeFont-32 {
    font-size: 32px !important;
  }

  .changeFont-20 {
    font-size: 20px !important;
  }

  .hideBtn {
    display: none;
  }

  .pb-180 {
    padding-bottom: 100px !important;
  }

  .changeMarginTop-25 {
    margin-top: 25px;
  }

  .chagemt-25 {
    margin-top: 25px !important;
  }

  .changeMarginTop-45 {
    margin-top: 45px !important;
    padding: 0px 23px 60px 16px;
  }

  .chageMarginTop-52 {
    margin-top: 52px !important;
  }

  .custom-gutter>.colm {
    padding-left: 0px;
    padding-right: 0px;
  }

  .changeMarginTop-8 {
    margin-top: 8px !important;
    text-align: center !important;
  }

  .changeMargin-0 {
    margin-top: 0 !important;
  }
}

@media (max-width: 555px) {
  .inputStyle {
    width: 100% !important;
    margin-right: 0 !important;
  }

  .margintop-30 {
    margin-top: 30px;
  }

  .menuStyle {
    column-gap: 144px;
  }
}

a {
  color: #fff;
  text-decoration: none;
}

/* ===========================================================
   v2 redesign: hero, module grid, foundations, inner pages
   color palette preserved: red #ff341d, oxblood #460000, white
   =========================================================== */

:root {
  --eru-red: #ff341d;
  --eru-red-deep: #cc1100;
  --eru-oxblood: #460000;
  --eru-ink: #0c0c14;
  --eru-bg-tint: #fceae8;
  --eru-border: #f2d5d1;
}

/* Hero v2 (rocket SVG) */
.hero-v2 {
  position: relative;
  overflow: hidden;
}

.hero-v2 .hero-art {
  width: 100%;
  max-width: 540px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 30px 60px rgba(70, 0, 0, 0.25));
}

.hero-v2 .hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 52, 29, 0.08);
  color: var(--eru-red);
  border: 1px solid rgba(255, 52, 29, 0.25);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-v2 .hero-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--eru-red);
  box-shadow: 0 0 8px var(--eru-red);
}

.hero-v2 .hero-sub {
  color: #555;
}

/* "Same code, your stack" strapline */
.strapline {
  font-size: 18px;
  font-weight: 500;
  color: #555;
  margin-top: 10px;
}

/* Module grid v2 - uniform 6-card */
.modules-section {
  padding: 90px 130px 100px 170px;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.module-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--eru-border);
  border-radius: 16px;
  padding: 28px 26px 26px 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 240px;
}

.module-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(70, 0, 0, 0.12);
  border-color: var(--eru-red);
  color: inherit;
}

.module-card .module-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.module-card .module-head img {
  width: 36px;
  height: 36px;
}

.module-card .module-name {
  font-weight: 600;
  font-size: 20px;
}

.module-card .module-title {
  margin-top: 18px;
  font-weight: 600;
  font-size: 15px;
  color: var(--eru-red);
}

.module-card .module-desc {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  line-height: 1.5;
  flex-grow: 1;
}

.module-card .module-cta {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--eru-red);
  letter-spacing: 0.5px;
}

.module-card .new-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--eru-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 3px 9px;
  border-radius: 999px;
}

.module-card.flagship {
  background: linear-gradient(180deg, #fff 0%, #fff4f2 100%);
  border-color: rgba(255, 52, 29, 0.45);
}

/* Section heading shared */
.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--eru-red);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.1;
  margin-top: 12px;
}

.section-lede {
  font-size: 18px;
  font-weight: 400;
  color: #555;
  margin-top: 14px;
  max-width: 640px;
}

/* Platform Foundations section */
.foundations-section {
  padding: 100px 130px 100px 170px;
  background: linear-gradient(180deg, #fff 0%, #fff7f6 100%);
  border-top: 1px solid var(--eru-border);
  border-bottom: 1px solid var(--eru-border);
}

.foundations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 50px;
}

.foundation-card {
  background: #fff;
  border: 1px solid var(--eru-border);
  border-radius: 12px;
  padding: 22px 22px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.foundation-card:hover {
  border-color: var(--eru-red);
  transform: translateY(-2px);
}

.foundation-card .f-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--eru-oxblood);
}

.foundation-card .f-head .f-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--eru-red);
  flex-shrink: 0;
}

.foundation-card .f-backends {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.foundation-card .f-backends span {
  background: rgba(255, 52, 29, 0.06);
  color: #333;
  font-size: 12px;
  padding: 4px 9px;
  border-radius: 4px;
  border: 1px solid rgba(255, 52, 29, 0.12);
  font-weight: 400;
}

/* Responsive */
@media (max-width: 1200px) {

  .modules-section,
  .foundations-section {
    padding-left: 70px;
    padding-right: 70px;
  }

  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .foundations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .modules-section,
  .foundations-section {
    padding: 60px 20px;
  }

  .modules-grid,
  .foundations-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-title {
    font-size: 32px;
  }
}

/* =====================
   INNER MODULE PAGES
   ===================== */
.module-hero {
  background: radial-gradient(ellipse at 50% 0%, #1c0f10 0%, var(--eru-ink) 60%, #06060d 100%);
  color: #fff;
  padding: 56px 130px 80px 170px;
  position: relative;
  overflow: hidden;
}

.module-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 400px at 80% 30%, rgba(255, 52, 29, 0.18), transparent 70%);
  pointer-events: none;
}

.module-hero .nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.module-hero .nav-bar a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-left: 28px;
}

.module-hero .nav-bar a:hover {
  color: #fff;
}

.module-hero .nav-bar a.back {
  margin-left: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.module-hero .hero-inner {
  position: relative;
  z-index: 2;
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 50px;
  align-items: center;
}

.module-hero .module-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--eru-red);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.module-hero .module-h1 {
  font-size: 60px;
  font-weight: 700;
  line-height: 1.05;
  margin-top: 18px;
  letter-spacing: -0.5px;
}

.module-hero .module-h1 .accent {
  color: var(--eru-red);
}

.module-hero .module-tag {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 22px;
  line-height: 1.5;
  max-width: 540px;
}

.module-hero .module-cta-row {
  margin-top: 36px;
  display: flex;
  gap: 14px;
}

.module-hero .btn-primary-red {
  background: var(--eru-red);
  border: none;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
}

.module-hero .btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
}

.module-hero .hero-icon-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.module-hero .hero-icon-frame svg {
  width: 100%;
  height: 100%;
}

/* WHY section */
.why-section {
  padding: 80px 130px 60px 170px;
  background: #fff;
}

.why-section .why-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.why-section .why-title {
  font-size: 38px;
  font-weight: 500;
  line-height: 1.2;
}

.why-section .why-title .accent {
  color: var(--eru-red);
}

.why-section .why-body {
  font-size: 17px;
  font-weight: 400;
  color: #444;
  line-height: 1.7;
}

/* FEATURES section */
.features-section {
  padding: 80px 130px 100px 170px;
  background: linear-gradient(180deg, #fff 0%, var(--eru-bg-tint) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 50px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--eru-border);
  border-radius: 12px;
  padding: 24px 22px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--eru-red);
}

.feature-card .feat-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 52, 29, 0.1);
  border-radius: 8px;
  color: var(--eru-red);
  font-weight: 700;
  font-size: 18px;
}

.feature-card .feat-name {
  margin-top: 18px;
  font-weight: 600;
  font-size: 17px;
}

.feature-card .feat-body {
  margin-top: 8px;
  font-size: 14px;
  color: #555;
  line-height: 1.55;
}

/* ARCHITECTURE diagram section */
.arch-section {
  padding: 100px 130px 80px 170px;
  background: var(--eru-ink);
  color: #fff;
}

.arch-section .section-title {
  color: #fff;
}

.arch-section .section-lede {
  color: rgba(255, 255, 255, 0.7);
}

.arch-frame {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.arch-frame svg {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}

/* INTEGRATIONS strip */
.integrations-section {
  padding: 70px 130px 70px 170px;
  background: #fff;
}

.integrations-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.integration-pill {
  background: #fff;
  border: 1px solid var(--eru-border);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.integration-pill .ip-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--eru-red);
}

/* CODE snippet section */
.snippet-section {
  padding: 80px 130px 100px 170px;
  background: var(--eru-bg-tint);
}

.snippet-frame {
  background: #0c0c14;
  border-radius: 14px;
  padding: 0;
  margin-top: 40px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(70, 0, 0, 0.18);
}

.snippet-frame .snippet-bar {
  background: #181826;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.snippet-frame .snippet-bar .dot-r {
  background: #ff5f57;
}

.snippet-frame .snippet-bar .dot-y {
  background: #febc2e;
}

.snippet-frame .snippet-bar .dot-g {
  background: #28c840;
}

.snippet-frame .snippet-bar span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  display: inline-block;
}

.snippet-frame .snippet-bar .file-label {
  width: auto;
  height: auto;
  margin-left: 14px;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
}

.snippet-frame pre {
  margin: 0;
  padding: 22px 24px;
  color: #e4e4f0;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13.5px;
  line-height: 1.7;
  overflow-x: auto;
}

.snippet-frame pre .k {
  color: #ff8866;
}

.snippet-frame pre .s {
  color: #88ddaa;
}

.snippet-frame pre .n {
  color: #88aaff;
}

.snippet-frame pre .c {
  color: #666680;
  font-style: italic;
}

/* RELATED modules strip (cross-links) */
.related-section {
  padding: 80px 130px 80px 170px;
  background: #fff;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.related-card {
  background: #fff;
  border: 1px solid var(--eru-border);
  border-radius: 12px;
  padding: 18px 16px;
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: transform 0.18s, border-color 0.18s;
}

.related-card:hover {
  transform: translateY(-2px);
  border-color: var(--eru-red);
  color: inherit;
}

.related-card img {
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
}

.related-card .related-name {
  font-weight: 600;
  font-size: 14px;
}

.related-card .related-line {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

@media (max-width: 1200px) {

  .module-hero,
  .why-section,
  .features-section,
  .arch-section,
  .integrations-section,
  .snippet-section,
  .related-section {
    padding-left: 60px;
    padding-right: 60px;
  }

  .module-hero .hero-inner {
    grid-template-columns: 1fr 280px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-section .why-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {

  .module-hero,
  .why-section,
  .features-section,
  .arch-section,
  .integrations-section,
  .snippet-section,
  .related-section {
    padding: 50px 20px;
  }

  .module-hero .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 32px;
  }

  .module-hero .module-h1 {
    font-size: 40px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .module-hero .nav-bar a:not(.back) {
    display: none;
  }
}


/* ===========================================================
   v3 REDESIGN — "configure, don't code"
   Hybrid: dark cosmic moments + bright editorial sections
   Brand red #ff341d preserved. Authored 2026-05.
   =========================================================== */

:root {
  --red: #ff341d;
  --red-bright: #ff5a3c;
  --red-deep: #cc1100;
  --oxblood: #460000;
  --ink: #0b0b12;
  --ink-2: #11111c;
  --paper: #ffffff;
  --paper-tint: #fdf6f4;
  --paper-tint-2: #fbeeeb;
  --text: #15151f;
  --muted: #6a6a78;
  --line: #ece1de;
  --line-dark: rgba(255, 255, 255, .10);
  --glass: rgba(255, 255, 255, .045);
  --maxw: 1240px;
  --pad-x: clamp(20px, 5vw, 80px);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  background: var(--paper);
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ---------- DARK COSMIC SURFACE ---------- */
.eru-dark {
  position: relative;
  background:
    radial-gradient(1200px 700px at 78% 22%, #1d0f12 0%, transparent 60%),
    radial-gradient(900px 600px at 10% 90%, #14111f 0%, transparent 55%),
    linear-gradient(180deg, #0a0a12 0%, #07070d 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

/* starfield + grid */
.eru-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, rgba(255, 255, 255, .7), transparent),
    radial-gradient(1.2px 1.2px at 28% 62%, rgba(255, 255, 255, .5), transparent),
    radial-gradient(1.6px 1.6px at 47% 28%, rgba(255, 255, 255, .65), transparent),
    radial-gradient(1.1px 1.1px at 63% 75%, rgba(255, 255, 255, .45), transparent),
    radial-gradient(1.5px 1.5px at 82% 38%, rgba(255, 255, 255, .6), transparent),
    radial-gradient(1.2px 1.2px at 91% 82%, rgba(255, 255, 255, .5), transparent),
    radial-gradient(1px 1px at 38% 88%, rgba(255, 255, 255, .4), transparent),
    radial-gradient(1px 1px at 72% 12%, rgba(255, 255, 255, .45), transparent),
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 46px 46px, 46px 46px;
  opacity: .9;
  animation: twinkle 6s ease-in-out infinite;
}

@keyframes twinkle {

  0%,
  100% {
    opacity: .9
  }

  50% {
    opacity: .62
  }
}

.eru-dark>* {
  position: relative;
  z-index: 1;
}

/* floating blurred orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.orb.red {
  background: radial-gradient(circle, rgba(255, 52, 29, .5), transparent 70%);
}

.orb.ox {
  background: radial-gradient(circle, rgba(120, 0, 0, .55), transparent 70%);
}

.orb-a {
  width: 460px;
  height: 460px;
  top: -120px;
  right: -80px;
  animation: float1 16s ease-in-out infinite;
}

.orb-b {
  width: 360px;
  height: 360px;
  bottom: -140px;
  left: -100px;
  animation: float2 20s ease-in-out infinite;
}

@keyframes float1 {

  0%,
  100% {
    transform: translate(0, 0)
  }

  50% {
    transform: translate(-30px, 30px)
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translate(0, 0)
  }

  50% {
    transform: translate(40px, -24px)
  }
}

/* glass panel */
.glass {
  background: var(--glass);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ---------- SECTION HEADINGS ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--red);
  display: inline-block;
}

.h-display {
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -1.2px;
  font-size: clamp(34px, 5.2vw, 60px);
  margin: 12px 0 0;
}

.h-section {
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.8px;
  font-size: clamp(28px, 4vw, 46px);
  margin: 14px 0 0;
}

.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--muted);
  line-height: 1.6;
  margin-top: 18px;
  max-width: 620px;
}

.eru-dark .lede {
  color: rgba(255, 255, 255, .72);
}

.accent {
  color: var(--red);
}

.grad-text {
  background: linear-gradient(100deg, #ff5a3c, #ff341d 55%, #ff8a2b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- BUTTONS ---------- */
.btn3 {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  padding: 13px 26px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.btn3.solid {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 26px rgba(255, 52, 29, .35);
}

.btn3.solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 52, 29, .45);
  color: #fff;
}

.btn3.ghost-d {
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
}

.btn3.ghost-d:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}

.btn3.ghost-l {
  border-color: var(--line);
  color: var(--text);
  background: #fff;
}

.btn3.ghost-l:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

/* ---------- TOP NAV (transparent over dark hero) ---------- */
.nav3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 0;
  position: relative;
  z-index: 5;
}

.nav3 .logo img {
  height: 30px;
  display: block;
}

.nav3 .links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav3 .links a {
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.nav3 .links a:hover {
  color: #fff;
}

.nav3 .links .login {
  border: 1px solid rgba(255, 255, 255, .3);
  padding: 8px 18px;
  border-radius: 8px;
}

.nav3 .links .login:hover {
  background: rgba(255, 255, 255, .08);
}

.nav3 .links .reg {
  background: var(--red);
  color: #fff;
  padding: 9px 20px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(255, 52, 29, .3);
}

.nav3 .burger {
  display: none;
  cursor: pointer;
}

.nav3 .burger img {
  height: 26px;
  filter: invert(1) brightness(1.6);
}

@media (max-width: 860px) {
  .nav3 .links {
    display: none
  }

  .nav3 .burger {
    display: block
  }
}

/* ---------- HERO ---------- */
.hero3 {
  padding-bottom: clamp(28px, 3.4vw, 48px);
  display: flex;
  flex-direction: column;
  min-height: clamp(680px, 82vh, 760px);
}

.hero3 > .wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero3 .grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: center;
  margin-top: clamp(10px, 1.6vw, 20px);
  flex: 1;
}

.hero3 .stackline.full {
  margin-top: clamp(14px, 2vw, 22px);
  white-space: nowrap;
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 4px;
}

.hero3 .stackline.full::-webkit-scrollbar {
  height: 0;
}

@media (max-width: 980px) {
  .hero3 .stackline.full {
    white-space: normal;
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

.hero3 .pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(255, 52, 29, .14);
  border: 1px solid rgba(255, 52, 29, .4);
  color: #ffb3a3;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero3 .pill .d {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
}

.hero3 .sub {
  font-size: clamp(15px, 1.35vw, 18px);
  color: rgba(255, 255, 255, .76);
  line-height: 1.55;
  margin-top: 16px;
  max-width: 540px;
}

.hero3 .sub strong {
  color: #fff;
  font-weight: 600;
}

.hero3 .cta {
  margin-top: 22px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero3 .stackline {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, .5);
  font-size: 13px;
}

.hero3 .stackline .chip {
  color: rgba(255, 255, 255, .8);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 7px;
  padding: 5px 11px;
  font-size: 12.5px;
  font-weight: 500;
}

.hero3 .art {
  position: relative;
}

.hero3 .art > img,
.hero3 .art > svg {
  width: 100%;
  max-width: 480px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, .6));
}

/* ---------- MODULES GRID (light) ---------- */
.section {
  padding: clamp(64px, 8vw, 110px) 0;
}

.mods3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 54px;
}

.mcard {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  --mod: var(--red);
}

.mcard::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--mod);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.mcard:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(70, 0, 0, .13);
  border-color: color-mix(in srgb, var(--mod) 55%, var(--line));
  color: inherit;
}

.mcard:hover::after {
  transform: scaleX(1);
}

.mcard.flagship {
  background: linear-gradient(135deg, #fff 0%, #fff3f0 100%);
  border-color: rgba(255, 52, 29, .35);
}

.mcard .ic {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--mod) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--mod) 22%, #fff);
}

.mcard .ic img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.mcard .ic svg {
  width: 30px;
  height: 30px;
}

.mcard .ic svg [stroke] {
  stroke: var(--mod);
}

.mcard .ic svg [fill].fill-mod {
  fill: var(--mod);
}

.mcard .mname {
  font-weight: 700;
  font-size: 21px;
  margin-top: 18px;
  letter-spacing: -.3px;
}

.mcard .mname .tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #fff;
  background: var(--mod);
  border-radius: 999px;
  padding: 3px 8px;
  margin-left: 9px;
  vertical-align: middle;
}

.mcard .msum {
  color: var(--mod);
  font-weight: 600;
  font-size: 14.5px;
  margin-top: 8px;
}

.mcard .mdesc {
  color: #565663;
  font-size: 14px;
  line-height: 1.55;
  margin-top: 8px;
  flex-grow: 1;
}

.mcard .more {
  margin-top: 18px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--mod);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mcard:hover .more .arr {
  transform: translateX(4px);
}

.more .arr {
  transition: transform .2s ease;
}

/* ---------- CONFIGURE BAND (dark moment) ---------- */
.configband {
  padding: clamp(70px, 9vw, 120px) 0;
}

.configband .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 50px;
}

.codecard {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
  border: 1px solid rgba(255, 255, 255, .1);
}

.codecard .bar {
  background: #15151f;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.codecard .bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.codecard .bar .r {
  background: #ff5f57
}

.codecard .bar .y {
  background: #febc2e
}

.codecard .bar .g {
  background: #28c840
}

.codecard .bar .fn {
  margin-left: 12px;
  color: rgba(255, 255, 255, .5);
  font: 12px/1 'Courier New', monospace;
}

.codecard pre {
  margin: 0;
  padding: 22px 22px;
  background: #0c0c16;
  color: #dfe1f0;
  font: 13.5px/1.75 'Courier New', monospace;
  overflow-x: auto;
}

.codecard .k {
  color: #ff8866
}

.codecard .s {
  color: #8fe3b0
}

.codecard .n {
  color: #8fb4ff
}

.codecard .c {
  color: #5b5b75;
  font-style: italic
}

.swapwrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.swaprow {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background .25s, border-color .25s;
}

.swaprow.is-current {
  background: rgba(255, 52, 29, .05);
  border-color: rgba(255, 52, 29, .22);
}

.swaprow .lbl {
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 9px;
  letter-spacing: .3px;
  transition: color .25s;
}

.swaprow.is-current .lbl {
  color: #ffb3a3;
}

.swaprow .opts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.swapchip {
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .8);
  border-radius: 9px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.swapchip.on {
  border-color: var(--red);
  background: rgba(255, 52, 29, .16);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 52, 29, .3) inset;
}

.swapchip .dt {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .3);
}

.swapchip.on .dt {
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: blip 2s ease-in-out infinite;
}

@keyframes blip {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .4
  }
}

/* ---------- CONFIG CAROUSEL ---------- */
.cfggrid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) .95fr;
  gap: 56px;
  align-items: start;
  margin-top: 50px;
}

@media (max-width: 980px) {
  .cfggrid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

.cfgcarousel {
  min-width: 0;
}

.cc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  justify-content: flex-start;
}

.cc-tab {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .7);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
  font-family: inherit;
}

.cc-tab:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
}

.cc-tab.is-active {
  color: #fff;
  background: rgba(255, 52, 29, .18);
  border-color: rgba(255, 52, 29, .55);
  box-shadow: 0 0 0 1px rgba(255, 52, 29, .18) inset;
}

.cc-stage {
  position: relative;
}

.cc-slide {
  display: none;
  opacity: 0;
  animation: ccFadeIn .35s ease-out forwards;
}

.cc-slide.is-active {
  display: block;
}

@keyframes ccFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.cc-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
  padding: 0 4px;
  flex-wrap: wrap;
}

.cc-head .cc-mod {
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .4px;
  text-transform: lowercase;
}

.cc-head .cc-title {
  color: rgba(255, 255, 255, .86);
  font-size: 15px;
  font-weight: 500;
}

.cc-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}

.cc-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s, border-color .15s;
  font-family: inherit;
}

.cc-arrow:hover {
  background: rgba(255, 52, 29, .18);
  border-color: rgba(255, 52, 29, .5);
}

.cc-dots {
  display: flex;
  gap: 8px;
}

.cc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, .2);
  border: 0;
  cursor: pointer;
  transition: background .15s, transform .15s;
}

.cc-dot:hover {
  background: rgba(255, 255, 255, .45);
}

.cc-dot.is-active {
  background: var(--red);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(255, 52, 29, .6);
}

@media (max-width: 720px) {
  .cc-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .cc-tab {
    flex: 0 0 auto;
  }

  .codecard pre {
    font-size: 12.5px;
    padding: 18px 16px;
  }
}

/* ---------- FOUNDATIONS (light) ---------- */
.found3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.fcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
  transition: transform .18s, border-color .18s, box-shadow .18s;
}

.fcard:hover {
  transform: translateY(-3px);
  border-color: var(--red);
  box-shadow: 0 16px 34px rgba(70, 0, 0, .1);
}

.fcard .fh {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}

.fcard .fh .fg {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(255, 52, 29, .1);
  flex-shrink: 0;
}

.fcard .fh .fg svg {
  width: 19px;
  height: 19px;
}

.fcard .fh .fg svg [stroke] {
  stroke: var(--red);
}

.fcard .tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fcard .tags span {
  font-size: 12px;
  font-weight: 500;
  color: #4a4a57;
  background: var(--paper-tint);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 9px;
}

/* ---------- CTA BAND (dark) ---------- */
.cta3 {
  padding: clamp(70px, 9vw, 110px) 0;
  text-align: center;
}

.cta3 .h-section {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.cta3 .lede {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 640px;
}

.cta3-frame {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 64px);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
}

.cta3-frame .eyebrow {
  display: inline-flex;
}

.cta3 .ctabtns {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta3 .ctabtns .btn3 {
  padding: 14px 28px;
  font-size: 15.5px;
}

.cta3 .ctabtns .btn3 .arr {
  display: inline-block;
  transition: transform .2s ease;
}

.cta3 .ctabtns .btn3:hover .arr {
  transform: translateX(4px);
}

.cta3-meta {
  margin-top: 26px;
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
}

.cta3-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta3-meta .dt {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}

/* ---------- FOOTER (dark cosmic) ---------- */
.eru-dark.footerContainer {
  padding-top: 70px;
  padding-bottom: 32px;
}

.eru-dark.footerContainer .footerMenu a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  transition: color .15s;
}

.eru-dark.footerContainer .footerMenu a:hover {
  color: var(--red);
}

.eru-dark.footerContainer .text-white {
  color: rgba(255, 255, 255, .72) !important;
}

.eru-dark.footerContainer .text-white a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
}

.eru-dark.footerContainer .text-white a:hover {
  color: var(--red);
}

.eru-dark.footerContainer .footerSocialIcons img {
  opacity: .72;
  transition: opacity .15s, transform .15s;
}

.eru-dark.footerContainer .footerSocialIcons a:hover img {
  opacity: 1;
  transform: translateY(-2px);
}

/* ---------- scroll reveal (gated on .js so content shows without JS) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

html.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero3 {
    min-height: 0;
  }

  .hero3 .grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero3 .art,
  .hero3 .art-panel {
    order: -1;
  }

  .configband .grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .mods3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .found3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .mods3 {
    grid-template-columns: 1fr;
  }

  .found3 {
    grid-template-columns: 1fr;
  }
}

/* ===========================================================
   v3 INNER MODULE PAGES — per-module accent via --red override
   =========================================================== */
.ip-hero .backlink {
  color: rgba(255, 255, 255, .6);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.ip-hero .backlink:hover {
  color: #fff;
}

.ip-hero .grid {
  align-items: center;
}

.ip-hero .h-display {
  font-size: clamp(36px, 5.4vw, 62px);
}

.ip-hero .art-panel {
  position: relative;
}

/* signature illustration panel (dark glass) */
.sig {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  aspect-ratio: 1 / .92;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55);
}

.sig svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* WHY split */
.why {
  display: grid;
  grid-template-columns: .9fr 1.3fr;
  gap: 56px;
  align-items: start;
}

.why .why-body p {
  font-size: 17px;
  color: #4a4a57;
  line-height: 1.75;
  margin-top: 16px;
}

.why .why-body p:first-child {
  margin-top: 0;
}

.statline {
  display: flex;
  gap: 40px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.statline .st .n {
  font-size: 34px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -1px;
}

.statline .st .l {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

/* FEATURES */
.featgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 50px;
}

.featc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px;
  transition: transform .18s, border-color .18s, box-shadow .18s;
}

.featc:hover {
  transform: translateY(-3px);
  border-color: var(--red);
  box-shadow: 0 16px 34px rgba(70, 0, 0, .1);
}

.featc .fi {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 52, 29, .1);
  color: var(--red);
  font-weight: 800;
  font-size: 17px;
}

.featc h4 {
  font-size: 16.5px;
  font-weight: 700;
  margin: 16px 0 0;
  letter-spacing: -.2px;
}

.featc p {
  font-size: 14px;
  color: #565663;
  line-height: 1.55;
  margin: 7px 0 0;
}

/* ARCH band */
.archwrap {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.archwrap .sig {
  max-width: 920px;
  aspect-ratio: auto;
  padding: 30px;
}

.archwrap svg {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .4));
}

/* integration pills */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.pill3 {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: border-color .16s, transform .16s;
}

.pill3:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}

.pill3 .pd {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

/* related cross-links */
.relgrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.relc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 16px;
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: transform .18s, border-color .18s;
}

.relc:hover {
  transform: translateY(-3px);
  border-color: var(--red);
  color: inherit;
}

.relc .ri {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
}

.relc .ri svg {
  width: 34px;
  height: 34px;
}

.relc .ri svg [stroke] {
  stroke: var(--red);
}

.relc .ri img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.relc .rn {
  font-weight: 700;
  font-size: 14px;
}

.relc .rl {
  font-size: 12px;
  color: #6a6a78;
  margin-top: 3px;
}

@media (max-width: 980px) {
  .why {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .featgrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .relgrid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .featgrid {
    grid-template-columns: 1fr;
  }

  .relgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}