/* =========================================================
   WEBSDOCS AI NETWORK HEADER
   Full width · no page width cap
========================================================= */

:root {
  --wdai-nav-bg: #061426;
  --wdai-nav-bg-2: #081a30;
  --wdai-nav-panel: #0a1c32;
  --wdai-nav-panel-2: #0d223c;

  --wdai-nav-text: #f3f7fc;
  --wdai-nav-muted: #8fa8c3;
  --wdai-nav-soft: #b6c8db;

  --wdai-nav-line: rgba(255, 255, 255, 0.09);
  --wdai-nav-line-strong: rgba(255, 255, 255, 0.15);

  --wdai-blue: #397cff;
  --wdai-blue-bright: #4b8aff;
  --wdai-cyan: #39d5ff;
  --wdai-violet: #8957ff;
  --wdai-green: #20c997;

  --wdai-shadow:
    0 30px 80px rgba(0, 10, 25, 0.30),
    0 8px 30px rgba(0, 10, 25, 0.20);
}


/* ================= ROOT HEADER ================= */

.wdai-header {
  position: sticky;
  top: 0;
  z-index: 5000;

  width: 100%;
  max-width: none;

  background:
    linear-gradient(
      90deg,
      #061426 0%,
      #07172b 48%,
      #081a30 100%
    );

  border-bottom: 1px solid var(--wdai-nav-line);

  color: var(--wdai-nav-text);

  transition:
    box-shadow 180ms ease,
    border-color 180ms ease;

  transform: translateZ(0);
  backface-visibility: hidden;
}


.wdai-header.is-scrolled {
  background:
    linear-gradient(
      90deg,
      #061426 0%,
      #07172b 48%,
      #081a30 100%
    );

  border-bottom-color: rgba(255, 255, 255, 0.12);

  box-shadow:
    0 12px 34px rgba(0, 10, 25, 0.18);
}


.wdai-header-shell {
  width: 100%;
  max-width: none;

  min-height: 76px;

  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;

  gap: clamp(20px, 2vw, 52px);

  padding-inline: clamp(20px, 2.7vw, 220px);
}


/* ================= BRAND ================= */

.wdai-brand {
  min-width: max-content;

  display: inline-flex;
  align-items: center;
  gap: 13px;

  color: #fff;
  text-decoration: none;
}


.wdai-brand-logo {
  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  flex: 0 0 auto;
}


.wdai-brand-logo img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
}


.wdai-brand-copy {
  display: flex;
  flex-direction: column;

  line-height: 1.05;
}


.wdai-brand-copy strong {
  color: #fff;

  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}


.wdai-brand-copy small {
  margin-top: 5px;

  color: var(--wdai-nav-muted);

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;

  text-transform: uppercase;
}


/* ================= MAIN NAV ================= */

.wdai-nav {
  min-width: 0;

  display: flex;
  justify-content: center;
  align-items: stretch;

  height: 76px;
}


.wdai-nav-item {
  position: static;

  display: flex;
  align-items: stretch;
}


.wdai-nav-link {
  appearance: none;
  border: 0;
  background: transparent;

  min-height: 76px;

  display: flex;
  align-items: center;
  gap: 7px;

  padding: 0 clamp(10px, 0.9vw, 19px);

  color: #c8d7e7;

  font: inherit;
  font-size: 13px;
  font-weight: 700;

  cursor: pointer;

  white-space: nowrap;

  transition:
    color 150ms ease,
    background 150ms ease;
}


.wdai-nav-link:hover,
.wdai-nav-link:focus-visible,
.wdai-nav-link[aria-expanded="true"] {
  color: #fff;

  background: rgba(255, 255, 255, 0.045);
}


.wdai-nav-link-asg {
  color: #dbe5ff;
}


.wdai-nav-link-asg::before {
  content: "";

  width: 6px;
  height: 6px;

  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      var(--wdai-cyan),
      var(--wdai-violet)
    );

  box-shadow:
    0 0 12px rgba(80, 132, 255, 0.65);
}


.wdai-nav-link svg {
  width: 13px;
  height: 13px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;

  opacity: 0.65;

  transition: transform 160ms ease;
}


.wdai-nav-link[aria-expanded="true"] svg {
  transform: rotate(180deg);
}


/* ================= MEGA MENU ================= */

.wdai-mega {
  position: absolute;

  top: 100%;
  left: 0;
  right: 0;

  width: 100%;
  max-width: none;

  visibility: hidden;
  opacity: 0;

  transform: translateY(-7px);

  pointer-events: none;

  background:
    linear-gradient(
      115deg,
      rgba(8, 26, 48, 0.995),
      rgba(7, 22, 41, 0.995)
    );

  border-top: 1px solid var(--wdai-nav-line);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow: var(--wdai-shadow);

  transition:
    opacity 150ms ease,
    transform 150ms ease,
    visibility 150ms ease;
}


.wdai-mega.is-open {
  visibility: visible;
  opacity: 1;

  transform: translateY(0);

  pointer-events: auto;
}


.wdai-mega-inner {
  width: 100%;
  max-width: none;

  display: grid;
  grid-template-columns:
    minmax(340px, 1.22fr)
    minmax(260px, 0.9fr)
    minmax(260px, 0.9fr);

  gap: clamp(22px, 3vw, 70px);

  padding:
    clamp(28px, 3vw, 58px)
    clamp(24px, 3.5vw, 240px)
    clamp(30px, 3.3vw, 64px);
}


/* ================= FEATURE COLUMN ================= */

.wdai-mega-feature {
  min-width: 0;

  padding:
    clamp(22px, 2vw, 34px);

  border: 1px solid rgba(255, 255, 255, 0.09);

  border-radius: 18px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.018)
    );
}


.wdai-feature-asg {
  position: relative;

  overflow: hidden;
}


.wdai-feature-asg::after {
  content: "";

  position: absolute;

  width: 240px;
  height: 240px;

  right: -90px;
  bottom: -120px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(137, 87, 255, 0.20),
      transparent 68%
    );

  pointer-events: none;
}


.wdai-menu-kicker,
.wdai-menu-label {
  display: block;

  color: #6fa7ff;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;

  text-transform: uppercase;
}


.wdai-mega-feature h3 {
  margin: 11px 0 10px;

  max-width: 640px;

  color: #fff;

  font-size: clamp(21px, 1.45vw, 30px);
  line-height: 1.08;
  font-weight: 760;
  letter-spacing: -0.035em;
}


.wdai-mega-feature p {
  max-width: 680px;

  margin: 0;

  color: var(--wdai-nav-soft);

  font-size: 13px;
  line-height: 1.75;
}


.wdai-feature-status {
  display: flex;
  align-items: center;
  gap: 8px;

  margin-top: 18px;

  color: #c9ddf1;

  font-size: 11px;
  font-weight: 700;
}


.wdai-feature-btn {
  width: max-content;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  margin-top: 20px;

  padding: 11px 16px;

  border-radius: 10px;

  color: #fff;
  text-decoration: none;

  background:
    linear-gradient(
      135deg,
      #266dff,
      #4b70ff
    );

  box-shadow:
    0 8px 24px rgba(38, 109, 255, 0.22);

  font-size: 12px;
  font-weight: 800;

  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
}


.wdai-feature-btn:hover {
  transform: translateY(-1px);

  box-shadow:
    0 12px 30px rgba(38, 109, 255, 0.30);
}


.wdai-feature-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 16px;
}


.wdai-feature-link {
  margin-top: 20px;

  color: #d5e4f5;
  text-decoration: none;

  font-size: 12px;
  font-weight: 750;
}


.wdai-feature-link:hover {
  color: #fff;
}


.wdai-asg-logo {
  display: block;

  width: clamp(150px, 13vw, 240px);
  height: auto;

  margin-bottom: 22px;

  object-fit: contain;
}


/* ================= NORMAL COLUMNS ================= */

.wdai-mega-column {
  display: flex;
  flex-direction: column;

  gap: 5px;
}


.wdai-mega-column > .wdai-menu-label {
  margin-bottom: 10px;
}


.wdai-mega-column > a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: flex-start;

  gap: 11px;

  padding: 10px;

  border: 1px solid transparent;
  border-radius: 10px;

  color: var(--wdai-nav-text);
  text-decoration: none;

  transition:
    background 140ms ease,
    border-color 140ms ease,
    transform 140ms ease;
}


.wdai-mega-column > a:hover {
  background: rgba(255, 255, 255, 0.045);

  border-color: rgba(255, 255, 255, 0.08);

  transform: translateX(2px);
}


.wdai-link-icon {
  min-width: 32px;
  height: 32px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;

  color: #75a9ff;

  background:
    rgba(57, 124, 255, 0.09);

  font-size: 9px;
  font-weight: 800;
}


.wdai-mega-column strong {
  display: block;

  color: #f2f7fc;

  font-size: 12px;
  line-height: 1.3;
}


.wdai-mega-column small {
  display: block;

  margin-top: 4px;

  color: var(--wdai-nav-muted);

  font-size: 10px;
  line-height: 1.5;
}


/* ================= GATEWAY STATUS ================= */

.wdai-gateway-stack {
  display: flex;
  flex-wrap: wrap;

  gap: 7px;

  margin-top: 18px;
}


.wdai-gateway-stack span {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  padding: 7px 9px;

  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;

  color: #bdd0e4;

  background: rgba(255, 255, 255, 0.03);

  font-size: 9px;
  font-weight: 700;
}


.wdai-gateway-stack i {
  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: var(--wdai-green);

  box-shadow:
    0 0 8px rgba(32, 201, 151, 0.7);
}


/* ================= SYSTEM CARDS ================= */

.wdai-systems-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}


.wdai-system-card {
  position: relative;

  min-height: 250px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: clamp(22px, 2vw, 36px);

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;

  color: #fff;
  text-decoration: none;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.018)
    );

  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}


.wdai-system-card:hover {
  transform: translateY(-3px);

  border-color: rgba(92, 145, 255, 0.34);

  background:
    linear-gradient(
      145deg,
      rgba(57, 124, 255, 0.11),
      rgba(137, 87, 255, 0.045)
    );
}


.wdai-system-code {
  width: max-content;

  padding: 6px 9px;

  border-radius: 7px;

  color: #9ec1ff;

  background: rgba(57, 124, 255, 0.10);

  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
}


.wdai-system-card small {
  color: #76a9ff;

  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}


.wdai-system-card h3 {
  margin: 8px 0 8px;

  font-size: clamp(19px, 1.25vw, 26px);
  line-height: 1.08;
}


.wdai-system-card p {
  max-width: 500px;

  margin: 0;

  color: #aabed3;

  font-size: 11px;
  line-height: 1.65;
}


.wdai-system-arrow {
  position: absolute;

  right: 25px;
  top: 25px;

  color: #76a9ff;

  font-size: 22px;
}


/* ================= HEADER ACTIONS ================= */

.wdai-header-actions {
  min-width: max-content;

  display: flex;
  align-items: center;

  gap: 9px;
}


.wdai-network-status {
  display: inline-flex;
  align-items: center;

  gap: 7px;

  padding: 8px 10px;

  color: #bcd3e7;
  text-decoration: none;

  font-size: 10px;
  font-weight: 750;
}


.wdai-live-dot {
  width: 7px;
  height: 7px;

  flex: 0 0 auto;

  border-radius: 50%;

  background: var(--wdai-green);

  box-shadow:
    0 0 0 3px rgba(32, 201, 151, 0.09),
    0 0 12px rgba(32, 201, 151, 0.60);
}


.wdai-header-btn {
  min-height: 38px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  padding: 0 14px;

  border-radius: 9px;

  text-decoration: none;

  font-size: 11px;
  font-weight: 800;

  white-space: nowrap;

  transition:
    transform 140ms ease,
    background 140ms ease,
    border-color 140ms ease;
}


.wdai-header-btn:hover {
  transform: translateY(-1px);
}


.wdai-header-btn-secondary {
  color: #dbe7f4;

  border: 1px solid rgba(255, 255, 255, 0.13);

  background:
    rgba(255, 255, 255, 0.045);
}


.wdai-header-btn-secondary:hover {
  background:
    rgba(255, 255, 255, 0.075);
}


.wdai-header-btn-primary {
  color: #fff;

  border: 1px solid rgba(85, 139, 255, 0.68);

  background:
    linear-gradient(
      135deg,
      #246bfd,
      #397cff
    );

  box-shadow:
    0 7px 22px rgba(36, 107, 253, 0.25);
}


/* ================= MOBILE TOGGLE ================= */

.wdai-mobile-toggle {
  display: none;

  width: 42px;
  height: 42px;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;

  background:
    rgba(255, 255, 255, 0.04);

  cursor: pointer;
}


.wdai-mobile-toggle span {
  width: 18px;
  height: 1.5px;

  display: block;

  margin: 4px auto;

  background: #fff;

  border-radius: 3px;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 2200px) {

  .wdai-header-shell {
    min-height: 88px;
  }

  .wdai-nav {
    height: 88px;
  }

  .wdai-nav-link {
    min-height: 88px;

    font-size: 14px;
  }

  .wdai-brand-logo {
    width: 52px;
    height: 52px;
  }

  .wdai-brand-copy strong {
    font-size: 18px;
  }

  .wdai-brand-copy small {
    font-size: 11px;
  }

  .wdai-header-btn {
    min-height: 42px;

    padding-inline: 17px;

    font-size: 12px;
  }

}


/* =========================================================
   TABLET / NARROW DESKTOP
========================================================= */

@media (max-width: 1320px) {

  .wdai-brand-copy small {
    display: none;
  }

  .wdai-nav-link {
    padding-inline: 9px;

    font-size: 12px;
  }

  .wdai-network-status {
    display: none;
  }

}


/* =========================================================
   MOBILE DRAWER ELEMENTS
   Desktop hidden
========================================================= */

.wdai-mobile-nav-head {
  display: none;
}


/* =========================================================
   MOBILE + TABLET HEADER
========================================================= */

@media (max-width: 1080px) {

  /* =======================================================
     HEADER BAR
  ======================================================= */

  .wdai-header-shell {
    width: 100%;
    max-width: none;

    min-height: 68px;
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;

    padding: 0 18px;
  }


  /* =======================================================
     PUBLIC HEADER BRAND
  ======================================================= */

  .wdai-brand {
    min-width: 0;

    display: inline-flex;
    align-items: center;

    gap: 10px;
  }

  .wdai-brand-logo {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;
  }

  .wdai-brand-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
  }

  .wdai-brand-copy {
    min-width: 0;

    display: flex;
    flex-direction: column;

    line-height: 1.05;
  }

  .wdai-brand-copy strong {
    color: #ffffff;

    font-size: 14px;
    font-weight: 800;
  }

  .wdai-brand-copy small {
    display: block;

    margin-top: 4px;

    color: #829bb6;

    font-size: 8px;
    font-weight: 750;

    letter-spacing: .10em;

    text-transform: uppercase;

    white-space: nowrap;
  }


  /* =======================================================
     HAMBURGER
  ======================================================= */

  .wdai-mobile-toggle {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: block;

    padding: 0;

    border:
      1px solid rgba(255,255,255,.12);

    border-radius: 9px;

    background:
      rgba(255,255,255,.04);

    cursor: pointer;
  }

  .wdai-mobile-toggle span {
    width: 18px;
    height: 1.5px;

    display: block;

    margin: 4px auto;

    border-radius: 99px;

    background: #ffffff;
  }


  /* =======================================================
     FULL MOBILE DRAWER
  ======================================================= */

  .wdai-nav {
    position: fixed;

    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 5001;

    width: 100%;
    max-width: none;

    height: calc(100dvh - 68px);

    display: none;

    margin: 0;

    padding:
      0
      18px
      130px;

    overflow-x: hidden;
    overflow-y: auto;

    overscroll-behavior: contain;

    background:
      linear-gradient(
        180deg,
        #061426 0%,
        #07182c 100%
      );

    border-top:
      1px solid rgba(255,255,255,.08);

    -webkit-overflow-scrolling: touch;
  }

  .wdai-nav.is-mobile-open {
    display: block;
  }


  /* =======================================================
     DRAWER TOP / CLOSE
  ======================================================= */

  .wdai-mobile-nav-head {
    position: sticky;

    top: 0;

    z-index: 30;

    width: 100%;
    min-height: 64px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    margin: 0;

    padding:
      10px
      4px;

    background:
      linear-gradient(
        180deg,
        rgba(6,20,38,1) 0%,
        rgba(6,20,38,.98) 100%
      );

    border-bottom:
      1px solid rgba(255,255,255,.09);
  }


  .wdai-mobile-nav-brand {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 10px;
  }


  .wdai-mobile-nav-brand img {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    object-fit: contain;
  }


  .wdai-mobile-nav-brand > span {
    min-width: 0;

    display: flex;
    flex-direction: column;

    line-height: 1.05;
  }


  .wdai-mobile-nav-brand strong {
    color: #ffffff;

    font-size: 13px;
    font-weight: 800;
  }


  .wdai-mobile-nav-brand small {
    margin-top: 4px;

    color: #829bb6;

    font-size: 8px;
    font-weight: 750;

    letter-spacing: .10em;

    text-transform: uppercase;
  }


  /* CLOSE X */

  .wdai-mobile-close {
    position: relative;

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    padding: 0;

    border:
      1px solid rgba(255,255,255,.14);

    border-radius: 10px;

    background:
      rgba(255,255,255,.05);

    cursor: pointer;

    transition:
      background 150ms ease,
      border-color 150ms ease;
  }


  .wdai-mobile-close:hover,
  .wdai-mobile-close:focus-visible {
    background:
      rgba(255,255,255,.09);

    border-color:
      rgba(255,255,255,.24);
  }


  .wdai-mobile-close span {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 18px;
    height: 2px;

    border-radius: 99px;

    background: #ffffff;
  }


  .wdai-mobile-close span:first-child {
    transform:
      translate(-50%, -50%)
      rotate(45deg);
  }


  .wdai-mobile-close span:last-child {
    transform:
      translate(-50%, -50%)
      rotate(-45deg);
  }


  /* =======================================================
     NAVIGATION ROWS
  ======================================================= */

  .wdai-nav-item {
    position: relative;

    width: 100%;

    display: block;

    border-bottom:
      1px solid rgba(255,255,255,.08);
  }


  .wdai-nav-link {
    width: 100%;
    min-height: 59px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 9px;

    margin: 0;

    padding:
      0
      4px;

    border: 0;

    color: #d7e4f1;

    background: transparent;

    font-size: 14px;
    font-weight: 750;

    text-align: left;

    cursor: pointer;
  }


  .wdai-nav-link > span {
    flex: 0 1 auto;
  }


  .wdai-nav-link svg {
    width: 14px;
    height: 14px;

    flex: 0 0 14px;

    margin-left: auto;

    opacity: .72;
  }


  /* ASG status dot remains directly beside ASG */

  .wdai-nav-link-asg::before {
    width: 6px;
    height: 6px;

    flex: 0 0 6px;

    margin: 0;

    border-radius: 50%;

    background:
      linear-gradient(
        135deg,
        var(--wdai-cyan),
        var(--wdai-violet)
      );

    box-shadow:
      0 0 10px rgba(70,130,255,.7);
  }


  .wdai-nav-link[aria-expanded="true"] {
    color: #ffffff;

    background:
      rgba(255,255,255,.035);
  }


  .wdai-nav-link[aria-expanded="true"] svg {
    transform: rotate(180deg);
  }


  /* =======================================================
     ACCORDION MEGA PANELS
  ======================================================= */

  .wdai-mega {
    position: static !important;

    top: auto !important;
    left: auto !important;
    right: auto !important;

    width: 100%;
    max-width: none;

    display: none;

    visibility: visible !important;
    opacity: 1 !important;

    transform: none !important;

    pointer-events: auto;

    margin: 0;
    padding: 0;

    overflow: visible;

    border: 0;

    background: transparent;

    box-shadow: none;

    transition: none;
  }


  .wdai-mega.is-open {
    display: block !important;
  }


  .wdai-mega-inner,
  .wdai-systems-grid {
    width: 100%;
    max-width: none;

    display: grid;

    grid-template-columns: 1fr;

    gap: 12px;

    margin: 0;

    padding:
      8px
      0
      22px;
  }


  /* =======================================================
     FEATURE BLOCK
  ======================================================= */

  .wdai-mega-feature {
    width: 100%;
    max-width: none;

    padding: 18px;

    border:
      1px solid rgba(255,255,255,.09);

    border-radius: 13px;

    background:
      linear-gradient(
        145deg,
        rgba(255,255,255,.055),
        rgba(255,255,255,.02)
      );
  }


  .wdai-mega-feature h3 {
    margin:
      9px
      0
      10px;

    font-size: 20px;
    line-height: 1.12;
  }


  .wdai-mega-feature p {
    margin: 0;

    font-size: 12px;
    line-height: 1.65;
  }


  .wdai-menu-kicker,
  .wdai-menu-label {
    font-size: 9px;
  }


  .wdai-asg-logo {
    width: 150px;
    max-width: 55%;

    height: auto;

    margin-bottom: 18px;
  }


  .wdai-feature-btn {
    min-height: 42px;

    margin-top: 16px;
  }


  /* =======================================================
     MEGA LINK COLUMNS
  ======================================================= */

  .wdai-mega-column {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 4px;

    padding:
      8px
      0;
  }


  .wdai-mega-column >
  .wdai-menu-label {
    margin:
      0
      0
      6px
      4px;
  }


  .wdai-mega-column > a {
    width: 100%;

    display: grid;

    grid-template-columns:
      34px
      minmax(0,1fr);

    gap: 10px;

    padding:
      10px
      6px;

    border-radius: 9px;
  }


  .wdai-mega-column > a:hover {
    transform: none;
  }


  .wdai-link-icon {
    width: 32px;
    height: 32px;

    min-width: 32px;
  }


  /* =======================================================
     SYSTEM CARDS
  ======================================================= */

  .wdai-system-card {
    width: 100%;
    max-width: none;

    min-height: 170px;

    padding: 20px;

    border-radius: 13px;
  }


  .wdai-system-card h3 {
    font-size: 20px;
  }


  .wdai-system-card p {
    font-size: 11px;
  }


  /* =======================================================
     MOBILE BOTTOM ACTION BAR
  ======================================================= */

  .wdai-header-actions {
    position: fixed;

    left: 14px;
    right: 14px;
    bottom: 14px;

    z-index: 5002;

    display: none;

    grid-template-columns:
      1fr
      1fr;

    gap: 8px;

    min-width: 0;

    padding: 10px;

    border:
      1px solid rgba(255,255,255,.10);

    border-radius: 13px;

    background:
      rgba(7,24,44,.97);

    box-shadow:
      0 15px 40px rgba(0,0,0,.32);
  }


  .wdai-header.mobile-open
  .wdai-header-actions {
    display: grid;
  }


  .wdai-network-status {
    grid-column:
      1 / -1;

    display: flex;

    padding:
      4px
      3px
      7px;
  }


  .wdai-header-btn {
    width: 100%;
    min-width: 0;

    min-height: 44px;

    padding-inline: 10px;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 620px) {

  .wdai-header-shell {
    padding-inline: 14px;
  }


  .wdai-brand-logo {
    width: 38px;
    height: 38px;

    flex-basis: 38px;
  }


  .wdai-brand-copy strong {
    font-size: 13px;
  }


  .wdai-brand-copy small {
    font-size: 7.5px;
  }


  .wdai-nav {
    padding:
      0
      14px
      128px;
  }


  .wdai-mobile-nav-head {
    min-height: 60px;

    padding:
      9px
      2px;
  }


  .wdai-mobile-nav-brand img {
    width: 31px;
    height: 31px;

    flex-basis: 31px;
  }


  .wdai-mobile-close {
    width: 40px;
    height: 40px;

    flex-basis: 40px;
  }


  .wdai-nav-link {
    min-height: 58px;

    font-size: 14px;
  }


  .wdai-mega-feature {
    padding: 16px;
  }


  .wdai-mega-feature h3 {
    font-size: 19px;
  }


  .wdai-mega-feature p {
    font-size: 12px;
  }


  .wdai-asg-logo {
    width: 145px;
  }


  .wdai-header.mobile-open
  .wdai-header-actions {
    grid-template-columns: 1fr;
  }


  .wdai-network-status {
    grid-column: auto;
  }

}



/* =========================================================
   ACCESSIBILITY
========================================================= */

.wdai-header a:focus-visible,
.wdai-header button:focus-visible {
  outline: 2px solid #66a0ff;
  outline-offset: 3px;
}


/* Prevent page scrolling while mobile menu is open */
html.wdai-menu-lock,
body.wdai-menu-lock {
  overflow: hidden;
}