.pub-home-page,
.pub-site-page {
  background: #f8f9ff;
}

.pub-site-main {
  width: 100%;
}

.pub-home .material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

.pub-home .material-symbols-outlined.is-filled {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.pub-home-bento {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.pub-home-hero-media {
  object-fit: cover;
}

/* Shared page width — matches top nav (1280px + 24px gutter) */
.pub-home-section-wrap {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
  width: 100%;
}

.pub-home-pincode {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(163, 198, 255, 0.45);
  background: rgba(4, 20, 68, 0.5);
  max-width: 36rem;
}

.pub-home-pincode__label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #d5e7ff;
}

.pub-home-pincode__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pub-home-pincode__input {
  flex: 1 1 160px;
  min-height: 2.65rem;
  border: 1px solid rgba(163, 198, 255, 0.55);
  border-radius: 999px;
  padding: 0 1rem;
  font-size: 0.95rem;
  color: #0b1c30;
  background: #fff;
}

.pub-home-pincode__btn {
  border: 0;
  border-radius: 999px;
  background: #f97316;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.55rem 1.2rem;
  cursor: pointer;
}

.pub-home-pincode__btn:hover {
  filter: brightness(1.08);
}

.pub-home-pincode__btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.pub-home-pincode__picks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.pub-home-pincode__pick {
  border: 1px solid rgba(163, 198, 255, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #e8f3ff;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.28rem 0.62rem;
  cursor: pointer;
}

.pub-home-pincode__pick:hover {
  background: rgba(117, 209, 255, 0.2);
}

.pub-home-pincode__result {
  margin: 0.65rem 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
  border-radius: 0.65rem;
  padding: 0.55rem 0.7rem;
}

.pub-home-pincode__result.is-available {
  color: #d1fae5;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.45);
}

.pub-home-pincode__result.is-unavailable {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.4);
}

.pub-mascot-official {
  display: block;
}

/* Dark hero: official PNG; lighten helps if the asset has a solid black backdrop */
.pub-home .pub-home-hero-mascot {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
  max-height: min(72vh, 520px);
  mix-blend-mode: lighten;
}

.pub-mascot-guide {
  max-height: 14rem;
}


/* Portal-style public top nav + mega menus */
.pub-topnav .material-symbols-outlined,
.cp-mega-panel .material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

.pub-nav-link.is-active {
  color: #405c9d !important;
  border-bottom: 2px solid #405c9d;
  padding-bottom: 0.25rem;
}

.pub-mobile-nav-sheet {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1080;
}

@media (min-width: 768px) {
  .pub-mobile-nav-sheet {
    display: none !important;
  }
}

.pub-mobile-nav-sheet.is-open {
  display: block;
}

.pub-mobile-nav-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.pub-mobile-nav-sheet__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 320px);
  background: #f8f9ff;
  box-shadow: -8px 0 32px rgba(11, 28, 48, 0.18);
  padding: 1.5rem;
  overflow-y: auto;
  box-sizing: border-box;
}

.pub-mobile-nav-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.pub-mobile-nav-sheet__title {
  font-size: 1rem;
  font-weight: 700;
  color: #0b1c30;
}

.pub-mobile-nav-sheet__close {
  appearance: none;
  border: 0;
  background: #eff4ff;
  color: #44464f;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.pub-mobile-nav-sheet__close:hover {
  background: #dce9ff;
}

.pub-mobile-nav-sheet__links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pub-mobile-link {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #1e293b;
  text-decoration: none;
  cursor: pointer;
}

.pub-mobile-link:hover,
.pub-mobile-link:focus-visible {
  background: #f1f5f9;
  color: #1d4ed8;
}

.pub-mobile-link--cta {
  margin-top: 0.5rem;
  background: #f97316;
  color: #fff;
  text-align: center;
}

.pub-mobile-link--cta:hover,
.pub-mobile-link--cta:focus-visible {
  background: #ea580c;
  color: #fff;
}

body.pub-mobile-menu-open {
  overflow: hidden;
}

body:has(.pub-topnav) .service-page-main,
body:has(.pub-topnav) main.container {
  padding-top: 0.5rem;
}

/* Post-hero: urgent CTA + trust bar (aligned stack) */
.pub-home-post-hero {
  position: relative;
  z-index: 10;
  background: #f8f9ff;
}

.pub-urgent-cta {
  background: #dce9ff;
  border-bottom: 1px solid rgba(197, 198, 208, 0.65);
  padding: 1.35rem 0;
}

.pub-urgent-cta__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .pub-urgent-cta__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

.pub-home-trust-wrap {
  max-width: 1280px;
  margin: 1rem auto 0;
  padding: 0 24px 2.5rem;
  position: relative;
  z-index: 20;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .pub-home-trust-wrap {
    margin-top: -1.5rem;
  }
}

.pub-home-trust-bar {
  background: #f8f9ff;
  border: 1px solid #c5c6d0;
  border-radius: 1rem;
  box-shadow: 0 14px 36px rgba(11, 28, 48, 0.1);
  padding: 1.35rem 1.25rem;
  margin: 0;
}

.pub-home-trust-bar__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.pub-home-trust-bar__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0.5rem;
  justify-content: flex-start;
}

.pub-home-trust-bar__item + .pub-home-trust-bar__item {
  border-top: 1px solid #e5eeff;
}

@media (min-width: 768px) {
  .pub-home-trust-bar__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .pub-home-trust-bar__item {
    padding: 0.5rem 1.25rem;
    justify-content: center;
  }

  .pub-home-trust-bar__item + .pub-home-trust-bar__item {
    border-top: none;
    border-left: 1px solid #e5eeff;
  }

  .pub-home-trust-bar__item:first-child {
    border-left: none;
  }
}

.pub-home-trust-bar__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: #dce9ff;
  color: #405c9d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pub-home-trust-bar__icon .material-symbols-outlined {
  font-size: 1.35rem;
}

.pub-home-trust-bar__title {
  margin: 0 0 0.2rem;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0b1c30;
  line-height: 1.3;
}

.pub-home-trust-bar__text {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 0.82rem;
  color: #44464f;
  line-height: 1.4;
}

.pub-urgent-cta__info {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.pub-urgent-cta__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: #00061b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pub-urgent-cta__title {
  margin: 0 0 0.25rem;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0b1c30;
  line-height: 1.2;
}

.pub-urgent-cta__text {
  margin: 0;
  font-size: 0.95rem;
  color: #405c9d;
  line-height: 1.4;
}

.pub-urgent-cta__action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem 1.5rem;
}

@media (min-width: 768px) {
  .pub-urgent-cta__action {
    justify-content: flex-end;
    flex-shrink: 0;
  }
}

.pub-urgent-cta__phone-block {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.pub-urgent-cta__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b1c30;
}

.pub-urgent-cta__phone {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  color: #0b1c30;
  text-decoration: none;
}

.pub-urgent-cta__phone:hover {
  color: #405c9d;
}

.pub-urgent-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 0.65rem;
  background: #f97316;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.28);
  transition: filter 0.15s ease;
  white-space: nowrap;
}

.pub-urgent-cta__btn:hover {
  filter: brightness(1.08);
  color: #fff;
}

/* Legal pages (privacy, terms) — avoid Bootstrap `.grid` class conflict */
.pub-legal-page {
  background: #f8f9ff;
  color: #0b1c30;
}

.pub-legal-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  box-sizing: border-box;
  width: 100%;
}

@media (min-width: 768px) {
  .pub-legal-wrap {
    padding: 2.5rem 1.5rem 3.5rem;
  }
}

.pub-legal-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.875rem;
  color: #5c667a;
  margin-bottom: 1.5rem;
}

.pub-legal-breadcrumb a {
  color: #405c9d;
  text-decoration: none;
}

.pub-legal-breadcrumb a:hover {
  text-decoration: underline;
}

.pub-legal-breadcrumb strong {
  color: #0b1c30;
  font-weight: 600;
}

.pub-legal-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .pub-legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
    gap: 2rem;
    align-items: start;
  }

  .pub-legal-sidebar {
    position: sticky;
    top: 6rem;
  }
}

.pub-legal-card {
  background: #fff;
  border: 1px solid rgba(11, 28, 48, 0.08);
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(11, 28, 48, 0.04);
  overflow: hidden;
}

.pub-legal-main {
  min-width: 0;
}

.pub-legal-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.pub-legal-hero {
  background: linear-gradient(135deg, rgba(64, 92, 157, 0.08) 0%, rgba(249, 115, 22, 0.06) 100%);
  border-bottom: 1px solid rgba(11, 28, 48, 0.08);
  padding: 1.75rem 1.25rem;
}

@media (min-width: 768px) {
  .pub-legal-hero {
    padding: 2rem 2rem 2.25rem;
  }
}

.pub-legal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #405c9d;
}

.pub-legal-kicker .material-symbols-outlined {
  font-size: 1.1rem;
}

.pub-legal-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  line-height: 1.15;
  font-weight: 800;
  color: #0b1c30;
}

.pub-legal-lead {
  margin: 0;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #5c667a;
}

.pub-legal-updated {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: #5c667a;
}

.pub-legal-body {
  padding: 1.5rem 1.25rem 1.75rem;
}

@media (min-width: 768px) {
  .pub-legal-body {
    padding: 1.75rem 2rem 2rem;
  }
}

.pub-legal-section + .pub-legal-section {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(11, 28, 48, 0.08);
}

.pub-legal-section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  line-height: 1.35;
  font-weight: 700;
  color: #0b1c30;
  scroll-margin-top: 6rem;
}

.pub-legal-prose {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #5c667a;
  max-width: 68ch;
}

.pub-legal-sidebar-title {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0b1c30;
}

.pub-legal-nav,
.pub-legal-links {
  padding: 1.15rem 1.1rem;
}

.pub-legal-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pub-legal-nav-list a {
  color: #405c9d;
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.45;
  display: block;
}

.pub-legal-nav-list a:hover {
  text-decoration: underline;
}

.pub-legal-cta {
  padding: 1.35rem 1.1rem 1.25rem;
  background: linear-gradient(160deg, #243b6b 0%, #405c9d 100%);
  color: #fff;
  text-align: center;
}

.pub-legal-mascot {
  width: 7.5rem;
  max-height: 9.5rem;
  object-fit: contain;
  margin: 0 auto 0.75rem;
  display: block;
}

.pub-legal-cta-title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.pub-legal-cta-text {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.pub-legal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
}

.pub-legal-btn + .pub-legal-btn {
  margin-top: 0.65rem;
}

.pub-legal-btn--primary {
  background: #f97316;
  color: #fff;
}

.pub-legal-btn--primary:hover {
  filter: brightness(1.06);
  color: #fff;
}

.pub-legal-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.pub-legal-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.pub-legal-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pub-legal-related-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(11, 28, 48, 0.08);
  background: #f8f9ff;
  color: #0b1c30;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.pub-legal-related-link:hover {
  border-color: rgba(64, 92, 157, 0.35);
  background: #fff;
  color: #405c9d;
}

.pub-legal-related-link .material-symbols-outlined {
  font-size: 1.1rem;
  color: #405c9d;
  flex-shrink: 0;
}

/* About us page */
.pub-about-hero {
  padding: 1.75rem 1.25rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .pub-about-hero {
    padding: 2rem 2rem 2.25rem;
  }
}

.pub-about-hero__grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .pub-about-hero__grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.pub-about-hero__visual {
  flex-shrink: 0;
}

.pub-about-mascot {
  width: min(220px, 70vw);
  max-height: 260px;
  object-fit: contain;
  display: block;
}

.pub-about-company-line {
  margin: 1rem 0 0;
  font-size: 0.98rem;
  color: #5c667a;
}

.pub-about-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.pub-legal-btn--ghost-dark {
  background: #fff;
  color: #405c9d;
  border: 1px solid rgba(64, 92, 157, 0.25);
}

.pub-legal-btn--ghost-dark:hover {
  background: #f8f9ff;
  color: #243b6b;
}

.pub-about-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .pub-about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

.pub-about-block {
  padding: 1.35rem 1.25rem;
}

@media (min-width: 768px) {
  .pub-about-block {
    padding: 1.5rem 1.5rem;
  }
}

.pub-about-block h2 {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #0b1c30;
}

.pub-about-block p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #5c667a;
}

.pub-about-block--highlight {
  background: linear-gradient(135deg, rgba(64, 92, 157, 0.06) 0%, #fff 100%);
}

.pub-about-contact-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pub-about-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: #5c667a;
}

.pub-about-contact-list a {
  color: #405c9d;
  text-decoration: none;
}

.pub-about-contact-list a:hover {
  text-decoration: underline;
}

.dig-legal-portal-notice {
  line-height: 1.55;
  max-width: 72rem;
}

.dig-legal-portal-notice a {
  color: #405c9d;
  text-decoration: none;
  white-space: nowrap;
}

.dig-legal-portal-notice a:hover {
  text-decoration: underline;
}
