:root {
  --shell-ink: #061d3a;
  --shell-blue: #015299;
  --shell-cyan: #2b9baa;
  --shell-sky: #dceff4;
  --shell-bg: #f5f8fa;
  --shell-line: #d8e5ea;
  --shell-muted: #5b6e7b;
  --shell-shadow: 0 14px 34px rgba(6, 29, 58, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--shell-ink);
  background: var(--shell-bg);
}

body p,
body li,
body a,
body button,
body input,
body textarea,
body select,
body summary {
  letter-spacing: 0;
}

a,
button,
input,
textarea,
select,
summary {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(43, 155, 170, 0.55);
  outline-offset: 3px;
}

.body > nav {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  min-height: 74px;
  background: rgba(6, 29, 58, 0.92);
  border-bottom: 1px solid rgba(220, 239, 244, 0.14);
  box-shadow: 0 8px 22px rgba(6, 29, 58, 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.body > nav.scrolled {
  background: rgba(6, 29, 58, 0.98);
}

.body > nav .box {
  display: flex;
  align-items: center;
  width: min(1200px, calc(100% - 48px));
  min-height: 74px;
  border-radius: 0;
}

.body > nav .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.body > nav .logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.body > nav .logo p {
  color: #fff;
  font-family: AlibabaPuHuiMedium, sans-serif !important;
  font-size: 20px;
}

.body > nav .box .menu {
  margin-left: auto;
}

.body > nav .box .menu > a,
.body > nav .box .menu .nav-dropdown-trigger {
  color: #e5f1f6;
  font-size: 15px;
}

.body > nav .box .menu > a:hover,
.body > nav .box .menu .nav-dropdown-trigger:hover,
.body > nav .box .menu > a.de-nav-active,
.body > nav .box .menu .nav-dropdown-trigger.de-nav-active {
  color: #8ed6dd;
}

.body > nav .box .ln {
  margin-left: 26px;
  color: #d7e9f6;
}

.body > nav .box .ln a {
  color: #d7e9f6;
}

.body > nav .box .ln a.active,
.body > nav .box .ln a:hover {
  color: #8ed6dd;
}

.service-page-main,
.history-page-main {
  background: var(--shell-bg);
}

.service-hero {
  background: var(--shell-ink) !important;
}

.service-hero-panel {
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
}

.service-primary-btn:hover,
.service-secondary-btn:hover,
.geo-primary-btn:hover,
.geo-secondary-btn:hover,
.banner-box-btn-a:hover,
.banner-box-btn-b:hover {
  transform: translateY(-2px);
}

.service-card,
.contact-card {
  box-shadow: var(--shell-shadow);
}

.service-card:hover,
.contact-card:hover {
  border-color: rgba(1, 82, 153, 0.46);
  box-shadow: 0 18px 38px rgba(6, 29, 58, 0.12);
  transform: translateY(-2px);
}

.service-band-white {
  background: #fff;
}

.service-faq details,
.geo-faq details,
.faq-item {
  border-color: var(--shell-line);
}

.service-faq summary:hover,
.geo-faq summary:hover,
.faq-item summary:hover {
  color: var(--shell-blue);
}

.site-footer {
  padding: 68px 0 22px;
  color: #dcecf2;
  background: var(--shell-ink);
  border-top: 4px solid var(--shell-cyan);
}

.site-footer .w1200 {
  width: min(1200px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
  border-radius: 0;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(150px, 0.7fr) minmax(0, 0.9fr);
  gap: 52px;
  align-items: start;
}

.site-footer-kicker {
  color: #8ed6dd;
  font: 700 14px/1.4 AlibabaPuHuiMedium, sans-serif;
}

.site-footer h2 {
  max-width: 430px;
  margin-top: 14px;
  color: #fff;
  font: 700 30px/1.35 AlibabaPuHuiMedium, sans-serif;
  text-wrap: balance;
}

.site-footer p {
  max-width: 520px;
  margin-top: 14px;
  color: #b7ced8;
  font-size: 14px;
  line-height: 1.75;
}

.site-footer p.site-footer-kicker { margin-top: 0; }

.site-footer-primary {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 24px;
  padding: 10px 18px;
  color: var(--shell-ink) !important;
  background: #dff4f5;
  border-radius: 5px;
  font: 700 14px/1.2 AlibabaPuHuiMedium, sans-serif;
}

.site-footer-primary:hover {
  background: #fff;
  transform: translateY(-2px);
}

@media (min-width: 761px) {
  .site-footer-primary {
    min-height: 36px;
    margin-top: 16px;
    padding: 7px 16px;
  }

  .site-footer .site-footer-bottom { margin-top: 24px; }
}

.site-footer-links,
.site-footer-contact {
  display: grid;
  gap: 11px;
}

/* The legacy bundle styles every nav as a fixed header; reset the footer nav. */
.site-footer-links {
  position: static;
  inset: auto;
  z-index: auto;
  min-height: 0;
  width: auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-footer-links h3,
.site-footer-contact h3 {
  margin-bottom: 5px;
  color: #fff;
  font: 700 15px/1.4 AlibabaPuHuiMedium, sans-serif;
}

.site-footer-links a,
.site-footer-contact a,
.site-footer-contact span {
  color: #b7ced8;
  font-size: 14px;
  line-height: 1.6;
}

.site-footer-links a:hover,
.site-footer-contact a:hover {
  color: #8ed6dd;
}

.site-footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  margin-top: 54px;
  padding-top: 18px;
  border-top: 1px solid rgba(220, 239, 244, 0.16);
  color: #86a5b3;
  font-size: 12px;
  line-height: 1.6;
}

.site-footer-filings {
  display: contents;
}

.site-footer-filings > a:first-child {
  grid-column: 2;
  justify-self: center;
}

.site-footer-bottom .site-footer-police {
  display: inline-flex;
  grid-column: 3;
  justify-self: end;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}

.site-footer-police img {
  flex: none;
}

.site-footer-bottom a:hover {
  color: #dff4f5;
}

.legacy-home-footer {
  display: none !important;
}

/* Keep the first viewport visual, but remove repeated legacy photography below it. */
.one {
  background-image: none !important;
  background-color: var(--shell-bg);
}

.one-au#about {
  padding: 52px 0 18px;
  background: #fff;
  transform: none;
}

.one-au#about .w1200 {
  padding: 0 28px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.other .function-title,
.other .function-bottom,
.other .partners .function-title,
.other .partners-botttom {
  background-image: none !important;
  background-color: var(--shell-ink) !important;
}

.other .partners-botttom {
  background-color: #fff !important;
}

.history-page-hero {
  background: var(--shell-ink) !important;
}

@media (max-width: 980px) {
  .site-footer-bottom {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .site-footer-bottom > span,
  .site-footer-filings > a:first-child {
    grid-column: 1;
    justify-self: center;
    text-align: center;
  }

  .site-footer-bottom .site-footer-police {
    grid-column: 1;
    justify-self: center;
    text-align: center;
  }
}

@media (max-width: 760px) {
  .body > nav .box {
    width: auto;
    margin: 0 16px;
  }

  .site-footer {
    padding: 48px 0 18px;
  }

  .site-footer .w1200 {
    width: auto;
    margin: 0 20px;
  }

  .site-footer-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 30px 16px;
  }

  .site-footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .site-footer-contact {
    min-width: 0;
  }

  .site-footer-contact a {
    overflow-wrap: normal;
  }

  .site-footer h2 {
    font-size: 26px;
  }

  .site-footer-bottom {
    margin-top: 34px;
  }

  .one-au#about {
    padding: 40px 0 10px;
  }

  .one-au#about .w1200 {
    padding: 0 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
