/*
 * SLA Monitor V16 — public-homepage shell bridge.
 *
 * Only the outer application header, brand lockups and page footer are
 * affected. Dashboard views, navigation identifiers and business logic stay
 * under their existing component styles.
 */

:root {
  --site-bg-0: #04101f;
  --site-bg-1: #06182d;
  --site-bg-2: #0a213a;
  --site-bg-3: #0d2a47;
  --site-text: #f4f9ff;
  --site-muted: #b5c6d9;
  --site-line: rgba(119, 185, 255, .18);
  --site-line-strong: rgba(88, 177, 255, .32);
  --site-cyan: #19d7d4;
  --site-cyan-2: #22b5ff;
  --site-blue: #258cff;
}

/* Exact public-homepage lockup: the official shield asset plus live text. */
.topbar.app-site-header {
  border-bottom: 1px solid rgba(124, 188, 255, .13);
  background: rgba(4, 16, 31, .78);
  box-shadow: none;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.topbar.app-site-header .inner {
  min-height: 84px;
}

.topbar.app-site-header .brand-lockup.app-site-brand,
.sidebar-brand .brand-lockup.app-site-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  overflow: visible;
  white-space: nowrap;
}

.topbar.app-site-header .brand-lockup.app-site-brand {
  gap: 14px;
}

.topbar.app-site-header .brand-lockup.app-site-brand .brand-logo {
  display: block;
  width: 44px;
  height: 44px;
  max-width: none;
  flex: 0 0 44px;
  object-fit: contain;
  object-position: center;
  filter: none;
}

.topbar.app-site-header .brand-lockup.app-site-brand .brand-text {
  display: block;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.015em;
}

.topbar.app-site-header .nav {
  gap: 12px;
}

.topbar.app-site-header .nav .btn {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(110, 184, 255, .32);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: #fff !important;
  box-shadow: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: none;
}

.topbar.app-site-header .nav .btn:hover {
  border-color: rgba(34, 181, 255, .72);
  background: rgba(34, 181, 255, .08);
  box-shadow: none;
  transform: translateY(-1px);
}

.topbar.app-site-header .nav .btn-quick {
  border: 1px solid transparent;
  background: linear-gradient(135deg, #2b7cff 0%, #17a9c5 100%);
  color: #fff !important;
  box-shadow: none;
}

.topbar.app-site-header .nav .btn-login-glow {
  border-color: rgba(96, 176, 255, .92);
  background: rgba(5, 18, 37, .55);
  color: #fff !important;
  box-shadow:
    0 0 0 1px rgba(43, 124, 255, .24) inset,
    0 0 18px rgba(43, 124, 255, .52),
    0 0 34px rgba(43, 124, 255, .22);
  text-shadow: 0 0 10px rgba(255, 255, 255, .22);
}

.topbar.app-site-header .nav .btn-login-glow:hover {
  border-color: rgba(96, 176, 255, 1);
  background: rgba(43, 124, 255, .14);
  box-shadow:
    0 0 0 1px rgba(96, 176, 255, .42) inset,
    0 0 22px rgba(43, 124, 255, .72),
    0 0 44px rgba(43, 124, 255, .30);
}

/* The sidebar uses the same logo asset and typography, scaled to its rail. */
.sidebar-brand .brand-lockup.app-site-brand {
  gap: 8px;
}

.sidebar-brand .brand-lockup.app-site-brand .brand-logo {
  display: block;
  width: 30px;
  height: 30px;
  max-width: none;
  flex: 0 0 30px;
  object-fit: contain;
  filter: none !important;
}

.sidebar-brand .brand-lockup.app-site-brand .brand-text {
  display: block;
  color: rgba(255, 255, 255, .92);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.015em;
}

/* Public-homepage footer structure and final navy surface treatment. */
body > footer.app-site-footer {
  margin: 0;
  padding: 88px 0 56px;
  border-top: 1px solid rgba(125, 164, 214, .10);
  background:
    radial-gradient(circle at 12% 30%, rgba(43, 124, 255, .07), transparent 25%),
    radial-gradient(circle at 88% 70%, rgba(21, 179, 154, .045), transparent 24%),
    linear-gradient(180deg, #07172d 0%, #0b1f3c 42%, #10284a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .02);
}

body > footer.app-site-footer .footer-shell {
  display: block;
  padding: 34px 36px 30px;
  border: 1px solid rgba(140, 179, 225, .18);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .045));
  box-shadow: 0 20px 46px rgba(0, 8, 22, .20), inset 0 1px 0 rgba(255, 255, 255, .035);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

body > footer.app-site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.28fr 1fr 1fr 1fr auto;
  gap: 22px;
  align-items: center;
}

body > footer.app-site-footer .footer-title {
  margin: 0 0 6px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
}

body > footer.app-site-footer .footer-sub {
  color: rgba(218, 232, 250, .76);
  font-size: 14px;
  line-height: 1.45;
}

body > footer.app-site-footer .contact-pill {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  color: rgba(242, 248, 255, .94);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

body > footer.app-site-footer .contact-ico,
body > footer.app-site-footer .social {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid rgba(140, 179, 225, .18);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

body > footer.app-site-footer .socials {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

body > footer.app-site-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 20px;
  gap: 16px;
  border-top: 1px solid rgba(140, 179, 225, .14);
  flex-flow: row wrap;
}

body > footer.app-site-footer .footer-copy {
  color: rgba(220, 233, 249, .42);
  font-size: 12px;
  line-height: 1.45;
}

body > footer.app-site-footer .footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}

body > footer.app-site-footer .footer-legal a {
  color: rgba(220, 233, 249, .50);
  font-size: 12px;
  white-space: nowrap;
  transition: color .2s ease;
}

body > footer.app-site-footer .footer-legal a:hover {
  color: #fff;
}

@media (max-width: 1140px) {
  body > footer.app-site-footer {
    padding: 70px 0 48px;
  }

  body > footer.app-site-footer .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
  }

  body > footer.app-site-footer .socials {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  body > footer.app-site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px 22px;
  }

  body > footer.app-site-footer .footer-bottom {
    align-items: flex-start;
  }

  body > footer.app-site-footer .footer-legal {
    justify-content: flex-start;
  }
}

@media (max-width: 780px) {
  body {
    padding-top: 72px;
  }

  .topbar.app-site-header .inner {
    min-height: 72px;
  }

  .topbar.app-site-header .brand-lockup.app-site-brand {
    gap: 9px;
  }

  .topbar.app-site-header .brand-lockup.app-site-brand .brand-logo {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .topbar.app-site-header .brand-lockup.app-site-brand .brand-text {
    display: block;
    font-size: 20px;
  }

  .topbar.app-site-header .nav .btn {
    min-height: 42px;
    padding: 0 13px;
    border-radius: 999px;
    font-size: 13px;
  }

  .topbar.app-site-header .nav .btn-onboarding {
    display: none;
  }

  body > footer.app-site-footer {
    padding: 54px 0 38px;
  }

  body > footer.app-site-footer .footer-shell {
    padding: 24px 20px;
    border-radius: 24px;
    text-align: left !important;
  }

  body > footer.app-site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body > footer.app-site-footer .footer-bottom {
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
  }

  body > footer.app-site-footer .footer-legal {
    gap: 14px 18px;
  }
}

@media (max-width: 480px) {
  .topbar.app-site-header .brand-lockup.app-site-brand .brand-logo {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .topbar.app-site-header .brand-lockup.app-site-brand .brand-text {
    font-size: 18px;
  }

  .topbar.app-site-header .nav {
    gap: 4px;
  }

  .topbar.app-site-header .nav .btn {
    min-height: 38px;
    padding: 0 10px;
    font-size: 11px;
  }

  .topbar.app-site-header .nav .btn-quick {
    display: none;
  }

  body > footer.app-site-footer {
    padding: 42px 0 30px;
  }

  body > footer.app-site-footer .footer-shell {
    padding: 20px 16px;
  }

  body > footer.app-site-footer .contact-pill {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 360px) {
  .topbar.app-site-header .brand-lockup.app-site-brand .brand-logo {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .topbar.app-site-header .brand-lockup.app-site-brand .brand-text {
    display: none;
    font-size: 17px;
  }

  .topbar.app-site-header .nav .btn {
    min-height: 36px;
    padding: 0 8px;
    font-size: 10.5px;
  }
}
