/* Advanta Group Solutions. Brand colors from the 2026-11-24 capability statement. */
:root {
  --green: #03654A;
  --navy: #22373F;
  --overlay: #12222A;
  --white: #FFFFFF;
  --ground: #F3F6F5;
  --border: #D7E4DE;
  --subtitle: #F4FAF8;
  --tagline: #B7E4D4;
  --footer-secondary: #E7F3EE;
  --font: "Segoe UI", Arial, Helvetica, sans-serif;
  --wrap: 72rem;
  --header-offset: 5.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--navy);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--green);
  text-underline-offset: 0.15em;
}

a:visited {
  color: var(--green);
}

p {
  margin: 0 0 0.9rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 700;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  background: var(--white);
  color: var(--navy);
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.55rem;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.site-header :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible {
  outline-color: var(--tagline);
  box-shadow: 0 0 0 3px var(--navy);
}

main:focus {
  outline: none;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  max-width: 100%;
  padding: 0.65rem 1rem;
  background: var(--navy);
  border-bottom: 3px solid var(--green);
}

.brand {
  display: block;
  min-width: 0;
  max-width: calc(100% - 5.75rem);
  margin-right: auto;
  line-height: 0;
}

.brand img,
.footer-logo {
  display: block;
  height: 46px;
  width: auto;
  max-width: 100%;
}

.brand img.logo-for-print,
img.footer-logo.logo-for-print {
  display: none;
}

.header-phone {
  flex: 1 1 100%;
  color: var(--subtitle);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--tagline);
  width: fit-content;
}

.header-phone:visited {
  color: var(--subtitle);
}

.nav-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0.35rem 0.8rem;
  border: 2px solid var(--tagline);
  background: transparent;
  color: var(--subtitle);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle:hover {
  background: var(--green);
  color: var(--white);
}

.when-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .when-closed {
  display: none;
}

.nav-toggle[aria-expanded="true"] .when-open {
  display: inline;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 1rem;
  color: var(--subtitle);
  text-decoration: none;
  font-weight: 600;
}

.site-nav a:visited {
  color: var(--subtitle);
}

.site-nav a:hover {
  background: var(--green);
  color: var(--white);
}

.site-nav a[aria-current="page"] {
  color: var(--tagline);
  box-shadow: inset 4px 0 0 var(--tagline);
}

@media (max-width: 959px) {
  .js .site-nav {
    display: none;
  }

  .js .site-nav.is-open {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 50;
    background: var(--overlay);
    border-bottom: 3px solid var(--green);
  }
}

@media (min-width: 960px) {
  .header-bar {
    flex-wrap: nowrap;
    padding: 0.45rem 1.25rem;
  }

  .header-phone {
    flex: 0 0 auto;
    order: 3;
  }

  .site-nav {
    order: 2;
    margin-left: auto;
  }

  .brand {
    margin-right: 0;
  }

  .nav-toggle {
    display: none;
  }

  .js .site-nav {
    display: block;
    position: static;
    background: transparent;
  }

  .site-nav ul {
    display: flex;
    gap: 0.1rem;
    padding: 0;
  }

  .site-nav a {
    padding: 0.45rem 0.7rem;
  }

  .site-nav a[aria-current="page"] {
    box-shadow: inset 0 -3px 0 var(--tagline);
  }

  .brand img,
  .footer-logo {
    height: 52px;
  }
}

.hero,
.page-hero {
  background-color: var(--overlay);
  background-image:
    linear-gradient(90deg, rgba(18, 34, 42, 0.94) 0%, rgba(18, 34, 42, 0.86) 46%, rgba(18, 34, 42, 0.62) 100%),
    url("/assets/header-banner.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
  color: var(--white);
  border-bottom: 3px solid var(--green);
}

.hero .wrap {
  padding: 2.6rem 0 2.8rem;
}

.page-hero .wrap {
  padding: 1.7rem 0 1.85rem;
}

.eyebrow {
  margin: 0;
  color: var(--tagline);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero h1,
.page-hero h1 {
  margin: 0.35rem 0 0.5rem;
  color: var(--white);
  font-size: clamp(1.75rem, 4.4vw, 2.45rem);
  max-width: 22em;
}

.tagline {
  margin: 0;
  max-width: 100%;
  color: var(--tagline);
  font-size: 1.05rem;
}

.lede {
  margin: 0;
  color: var(--subtitle);
  max-width: 40rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 0.55rem 1rem;
  border: 2px solid transparent;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.btn:visited {
  color: inherit;
}

.btn-primary,
.btn-primary:visited {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.btn-secondary,
.btn-secondary:visited {
  background: transparent;
  border-color: var(--subtitle);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-navy,
.btn-navy:visited {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.btn-line,
.btn-line:visited {
  background: var(--white);
  border-color: var(--green);
  color: var(--green);
}

.btn-line:hover {
  background: var(--ground);
  color: var(--navy);
  border-color: var(--navy);
}

.section {
  padding: 2.2rem 0;
}

.section h2 {
  margin: 1.75rem 0 1rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--green);
  color: var(--green);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section h2:first-child {
  margin-top: 0;
}

.band {
  background: var(--ground);
}

.prose {
  max-width: 42rem;
}

.overview-logo {
  display: block;
  width: min(100%, 16rem);
  height: auto;
  margin: 0 0 1rem;
}

.card-grid,
.fact-grid,
.people-grid {
  display: grid;
  gap: 0.9rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  padding: 0.9rem 1rem 1rem;
  scroll-margin-top: var(--header-offset);
}

.card:target {
  background: var(--ground);
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.card-head img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: contain;
}

.card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
}

.card h3 a {
  color: var(--navy);
  text-decoration-color: var(--green);
}

.card h3 a:visited {
  color: var(--navy);
}

.card p,
.person-card p {
  margin: 0.45rem 0 0;
}

.also {
  margin: 1rem 0 0;
  padding: 0.8rem 1rem;
  background: var(--ground);
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
}

.fact {
  background: var(--ground);
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  padding: 0.9rem 1rem 1rem;
}

.band .fact {
  background: var(--white);
}

.block-gap {
  margin-top: 1.5rem;
}

.fact dt {
  color: var(--green);
  font-weight: 700;
}

.fact dd {
  margin: 0.3rem 0 0;
}

.notice {
  background: var(--ground);
  border-left: 4px solid var(--green);
  padding: 1rem 1.1rem;
  margin: 0 0 1.25rem;
}

.notice-gap {
  margin-top: 1rem;
}

.notice p {
  margin: 0;
  font-weight: 700;
}

.plain-list {
  margin: 0;
  padding-left: 1.15rem;
}

.plain-list li {
  margin: 0.75rem 0;
  padding-left: 0.15rem;
}

.plain-list li::marker {
  color: var(--green);
}

.table-wrap {
  overflow-x: auto;
}

.codes {
  width: 100%;
  border-collapse: collapse;
}

.codes th,
.codes td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.codes th[scope="col"] {
  color: var(--green);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.codes th[scope="row"] {
  color: var(--green);
  white-space: nowrap;
}

.codes tbody tr:nth-child(even) {
  background: var(--ground);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-list .who {
  display: block;
  font-weight: 700;
  color: var(--green);
}

.contact-list a {
  display: block;
  max-width: 100%;
  margin-top: 0.15rem;
  overflow-wrap: anywhere;
}

.role-label {
  display: block;
  margin-top: 0.15rem;
}

.site-footer {
  background: var(--navy);
  color: var(--footer-secondary);
  border-top: 3px solid var(--green);
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem 0;
}

.footer-grid > div {
  min-width: 0;
}

.footer-name {
  margin: 0.7rem 0 0.15rem;
  color: var(--white);
  font-weight: 700;
}

.footer-label {
  margin: 0 0 0.35rem;
  color: var(--tagline);
  font-weight: 700;
}

.site-footer a {
  color: var(--subtitle);
}

.site-footer a:visited {
  color: var(--subtitle);
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-legal {
  margin: 0;
  padding: 0.8rem 0 1.1rem;
  border-top: 1px solid rgba(215, 228, 222, 0.35);
  color: var(--footer-secondary);
}

@media (min-width: 700px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

@media (min-width: 800px) {
  .overview-grid {
    display: grid;
    grid-template-columns: 16rem 1fr;
    gap: 1.5rem;
    align-items: center;
  }

  .overview-logo {
    margin: 0;
  }
}

@media (min-width: 1020px) {
  .card-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .fact-grid.cols-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .hero,
  .page-hero {
    background-image:
      linear-gradient(180deg, rgba(18, 34, 42, 0.94), rgba(18, 34, 42, 0.9)),
      url("/assets/header-banner.jpg");
  }
}

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

@media (forced-colors: active) {
  :focus-visible {
    outline: 3px solid CanvasText;
    box-shadow: none;
  }

  .btn,
  .card,
  .nav-toggle {
    border-color: ButtonText;
  }
}

@media print {
  .site-header {
    position: static;
  }

  .skip-link,
  .nav-toggle {
    display: none !important;
  }

  .site-nav {
    display: block !important;
    position: static !important;
    background: transparent !important;
  }

  .site-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.75rem;
  }

  .site-header,
  .site-footer,
  .hero,
  .page-hero {
    background: var(--white) !important;
    color: var(--navy) !important;
    border-color: var(--green) !important;
  }

  .logo-for-dark {
    display: none !important;
  }

  .logo-for-print {
    display: block !important;
    height: 42px;
    width: auto;
  }

  .hero h1,
  .page-hero h1,
  .eyebrow,
  .tagline,
  .lede,
  .header-phone,
  .site-nav a,
  .site-footer,
  .site-footer a,
  .footer-name,
  .footer-label {
    color: var(--navy) !important;
  }

  .card,
  .fact,
  .contact-list li,
  tr {
    break-inside: avoid;
  }

  a[href^="mailto:"]::after,
  a[href^="tel:"]::after {
    content: " (" attr(href) ")";
    font-weight: 400;
  }
}
