/* Informed Image — design tokens lifted from the Divi original */
:root {
  --navy: #162951;
  --navy-deep: #062752;
  --magenta: #b82488;
  --magenta-link: #ba1c89;
  --blue: #59a0d1;
  --gray: #e2e1e0;
  --gray-light: #eeeded;
  --text: #666;
  --heading: #333;

  /* Three fonts, matching the original. Comfortaa for headings and Muli for body
     copy are the Divi theme fonts. --font-ui is Divi's untouched default, which
     the old site never actually loads, so it falls back to the system sans — a
     handful of buttons and lists render that way and are kept as they are. */
  --font-display: Comfortaa, cursive;
  --font-body: Muli, sans-serif;
  --font-ui: "Droid Sans", sans-serif;
  --font-os: "Open Sans", Helvetica, Arial, Lucida, sans-serif;

  /* Fixed chrome: a 30px bar above a header that shrinks from 104px to 64px. */
  --topbar-h: 30px;
  --header-h: 104px;

  --row: 1080px;
  --row-wide: 1282px;
  --gutter: 8.06%;
  --card-shadow: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .23);
}

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

body {
  margin: 0;
  /* The top bar and header are both fixed, as on the original. */
  padding-top: calc(var(--topbar-h) + var(--header-h));
  font: 500 14px/1.3 var(--font-body);
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--heading);
  margin: 0;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--magenta-link); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.row {
  width: 80%;
  max-width: var(--row);
  margin: 0 auto;
}
.row--wide { max-width: var(--row-wide); width: 89%; }

.section { padding: 100px 0; }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: var(--sbw, 0px);
  z-index: 100;
  background: var(--navy-deep);
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 34px;
}
/* Social icons are kept in the markup but hidden for now. */
.topbar__social { display: none; }
.topbar__utils { display: flex; align-items: center; gap: 26px; }
.topbar__utils a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font: 500 12px/1 var(--font-body);
  letter-spacing: .02em;
  white-space: nowrap;
}
.topbar__utils a:hover { text-decoration: none; color: var(--blue); }
.topbar__utils svg {
  width: 13px; height: 13px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.topbar__social a {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  color: #fff;
}
.topbar__social a:hover { text-decoration: none; opacity: .85; }
.topbar__social svg { width: 13px; height: 13px; fill: #fff; }
.topbar .fb { background: #3b5998; }
.topbar .tw { background: #55acee; }

/* ---------- Modals ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
/* Stay non-interactive while fading out, so the closing overlay does not eat clicks */
.modal:not(.is-open) { pointer-events: none; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .3s;
}
.modal.is-open .modal__backdrop { opacity: 1; }

.modal__panel {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: scale(.95);
  transition: opacity .3s, transform .3s;
}
.modal.is-open .modal__panel { opacity: 1; transform: scale(1); }
.modal__panel--wide { max-width: 820px; }

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  background: var(--gray-light);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  flex: none;
}
.modal__head h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 18px/1.3 var(--font-display);
  color: var(--navy);
}
.modal__head svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.modal__close {
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  color: #999;
  padding: 0 4px;
}
.modal__close:hover { color: var(--magenta); }

.modal__body { padding: 26px 22px; overflow-y: auto; }
.modal__lead { text-align: center; font-size: 15px; line-height: 1.7; margin-bottom: 22px; }

.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dl-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  color: inherit;
  transition: border-color .2s, background .2s;
}
.dl-card:hover { text-decoration: none; border-color: var(--blue); background: rgba(89, 160, 209, .07); }
.dl-card__icon {
  width: 46px; height: 46px;
  border-radius: 8px;
  display: grid; place-items: center;
  flex: none;
  transition: transform .2s;
}
.dl-card:hover .dl-card__icon { transform: scale(1.08); }
.dl-card__icon svg { width: 24px; height: 24px; }
.dl-card__icon--win { background: rgba(0, 120, 212, .12); }
.dl-card__icon--win svg { fill: #0078d4; }
.dl-card__icon--mac { background: rgba(40, 40, 40, .1); }
.dl-card__icon--mac svg { fill: #333; }
.dl-card strong { display: block; font: 700 15px/1.3 var(--font-display); color: var(--heading); }
.dl-card small { display: block; font-size: 12px; color: #999; margin-top: 2px; }

.modal__frame { height: 72vh; }
.modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 700px) {
  .dl-grid { grid-template-columns: 1fr; }
  .modal__frame { height: 78vh; }
  .modal__body { padding: 20px 16px; }
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: var(--topbar-h); left: 0; right: var(--sbw, 0px);
  z-index: 99;
  background: #fff;
  height: var(--header-h);
  display: flex;
  align-items: center;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
  transition: height .4s, box-shadow .4s;
}
/* Divi swaps to its compact header once you scroll past 52px. */
.header.is-stuck {
  --header-h: 64px;
  box-shadow: 0 0 30px rgba(7, 51, 84, .17);
}
.header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 95.3%;
  max-width: 1372px;
}
.logo img { width: 320px; height: auto; transition: width .4s; }
.header.is-stuck .logo img { width: 197px; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 22px; }
.nav > ul > li { position: relative; }
.nav a {
  font: 600 18px/14px var(--font-display);
  color: rgba(0, 0, 0, .6);
  padding: 6px 0;
  display: inline-block;
  white-space: nowrap;
}
.nav a:hover { color: var(--magenta-link); text-decoration: none; }
/* Only this one menu item is uppercased, and by CSS rather than in the label. */
.nav a.nav-caps { text-transform: uppercase; }
.nav .is-active > a {
  color: var(--magenta-link);
  border-bottom: 2px solid var(--magenta-link);
}
.nav .has-sub > a::after {
  content: "";
  display: inline-block;
  margin-left: 7px;
  border: 5px solid transparent;
  border-top-color: currentColor;
  transform: translateY(3px);
}

.nav .sub {
  display: none;
  position: absolute;
  top: 100%; left: -20px;
  background: #fff;
  padding: 14px 0;
  min-width: 240px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
  border-top: 3px solid var(--magenta);
  flex-direction: column;
  gap: 0;
  z-index: 60;
}
.nav li:hover > .sub, .nav li:focus-within > .sub { display: flex; }
.nav .sub a {
  font-size: 15px;
  padding: 9px 20px;
  display: block;
  width: 100%;
}
.nav .sub a:hover { background: var(--gray-light); }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  padding: 10px; color: var(--text);
}
.nav-toggle svg { width: 26px; height: 26px; fill: currentColor; }

/* Payment button inside the mobile menu — the top bar is hidden at that size,
   so this is the only way to reach the form. Desktop keeps the top bar link. */
.nav__pay { display: none; }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy) url("../img/bw-geometric-bg2-blue.jpg") center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 0 0 4px;
  min-height: 443px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero h1, .hero .hero-head {
  font: 500 38px/49.4px var(--font-display);
  color: #fff;
  margin: 0 auto;
  padding-bottom: 10px;
}
.typed-target { color: var(--blue); }
.typed-cursor {
  color: var(--blue);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.btn-outline {
  display: inline-block;
  margin-top: 39px;
  font: 500 20px/34px var(--font-ui);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 3px;
  padding: 6px 20px;
  transition: background .3s, color .3s;
}
.btn-outline--os { font-family: var(--font-os); }
.btn-outline:hover { background: #fff; color: var(--navy); text-decoration: none; }

/* Inner-page hero */
.hero--inner {
  min-height: 0;
  padding: 60px 0;
  text-align: left;
  display: block;
}
.hero--inner h1 {
  font: 500 30px/30px var(--font-display);
  padding-bottom: 10px;
  color: #fff;
  padding: 0;
}
/* The contact lede is one of the few places the old site left Divi's default font. */
.hero--inner p { font: 500 20px/23.8px var(--font-ui); color: #fff; margin: 6px 0 0; }

/* ---------- Bio grid (Our Team) ---------- */
.bios { background: var(--gray-light); padding: 30px 0 26px; }
.bios .row {
  max-width: 1040px;
  width: 73%;
  display: grid;
  grid-template-columns: 490px 490px;
  justify-content: space-between;
}
.bio { box-shadow: var(--card-shadow); background: #fff; }
.bio > img { width: 100%; height: auto; display: block; }
.bio__body { padding: 15px; }
.bio h2 { font: 500 26px/26px var(--font-display); color: var(--heading); padding-bottom: 10px; }
/* Casey's heading was left bold in Divi while Kayla's was not. */
.bio h2.is-bold { font-weight: 700; }
.bio .role { color: #aaa; font-size: 14px; line-height: 23.8px; margin: 2px 0 12px; }
.bio p { font-size: 14px; line-height: 23.8px; }
.bio__social { display: flex; gap: 18px; margin-top: 18px; }
.bio__social a { color: #b7b7b7; }
.bio__social a:hover { color: var(--magenta-link); }
.bio__social svg { width: 15px; height: 15px; fill: currentColor; display: block; }

/* ---------- Split services section ---------- */
.split {
  background: linear-gradient(90deg, var(--magenta) 50%, var(--blue) 50%);
  padding: 92px 0;
}
.split .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--gutter);
  row-gap: 40px;
}

.card {
  background: #fff;
  border-radius: 2px;
  box-shadow: var(--card-shadow);
  padding: 25px 15px 15px;
  text-align: center;
}
/* Blurb icons. The originals are FontAwesome 4.7 glyphs, set on the Divi blurbs
   through an ::after at 96px. They are inlined here as outlines taken from the
   font itself, so each one matches exactly. The viewBox is the glyph's own
   advance width by a full em with the baseline at 1536, which is why the height
   is fixed at 96px and the width left to follow the glyph. */
.card .icon {
  height: 96px; width: auto;
  margin: 10px auto;
  display: block;
  stroke: none;
}
.card--magenta .icon { fill: var(--magenta-link); }
.card--blue .icon { fill: var(--navy); }
.card h3 {
  font: 700 18px/18px var(--font-display);
  color: var(--heading);
  padding-bottom: 10px;
}
/* Two of the six blurbs were left at 500 in Divi; kept as they are. */
.card h3.is-light { font-weight: 500; }
.card p { font-size: 14px; line-height: 18.2px; color: var(--text); }

/* ---------- Band ---------- */
.band {
  background: var(--navy) url("../img/bw-geometric-bg2-blue.jpg") center / cover no-repeat;
  text-align: center;
  padding: 34px 0;
}
.band h2 { font: 500 30px/30px var(--font-display); color: #fff; padding-bottom: 10px; }

.cta-band {
  min-height: 0;
  display: block;
  text-align: center;
  padding: 110px 0;
}
.cta-band h2 { font: 500 30px/30px var(--font-display); color: #fff; padding-bottom: 10px; margin-bottom: 0; }
.cta-band p { font: 500 22px/23.8px var(--font-body); color: rgb(205, 208, 211); margin: 0; }
.cta-band .btn-outline { margin-top: 30px; }

/* ---------- Team ---------- */
.team { background: var(--gray); padding: 43px 0 84px; }
.team .row {
  max-width: 1000px;
  width: 70%;
  display: grid;
  grid-template-columns: 430px 430px;
  justify-content: space-between;
}

.person {
  background: #fff;
  box-shadow: var(--card-shadow);
  padding: 40px;
  text-align: left;
}
.person__photo {
  width: 320px; max-width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  margin: -100px 0 12px;
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { font: 700 18px/18px var(--font-display); color: var(--heading); text-transform: uppercase; padding-bottom: 10px; }
.person .role { color: #aaa; font-size: 14px; line-height: 23.8px; margin: 0; }
.person p { font-size: 14px; line-height: 23.8px; }

.btn-solid {
  display: inline-block;
  font: 700 20px/34px var(--font-ui);
  color: #fff;
  padding: 6px 20px;
  border-radius: 6px;
}
.btn-solid:hover { text-decoration: none; filter: brightness(1.08); }
.btn-solid--magenta { background: var(--magenta); }
.btn-solid--blue { background: #56a0d3; }

/* Button straddles the card's bottom edge, as in the original */
.person-cta { text-align: center; margin-top: -20px; }

/* ---------- HIPAA page ---------- */
.hero--center {
  min-height: 0;
  display: block;
  text-align: center;
  padding: 46px 0;
}
.hero--center h1 { font: 500 36px/36px var(--font-display); color: #fff; padding-bottom: 10px; }
.hero--center p {
  font: 500 20px/23.8px var(--font-body);
  color: #fff;
  max-width: 940px;
  margin: 10px auto 0;
}

.hero--center-sm h1 { font-size: 30px; line-height: 30px; }
.hero--center-sm p { font-size: 14px; }
.cta-band--sm h2 { font-size: 26px; line-height: 26px; }
.cta-band--sm .btn-outline { margin-top: 26px; }

/* ---------- Payment page ---------- */
.payment-form { background: #fff; padding: 27px 0 34px; }
.payment-form iframe {
  width: 100%;
  height: 1700px;
  border: 0;
  display: block;
}

.compare-wrap { background: var(--gray-light); padding: 40px 0; }
.compare {
  max-width: 1008px;
  width: 70%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  box-shadow: var(--card-shadow);
}
.compare__side { padding: 81px 44px 60px; }
.compare__side--light { background: #fff; }
.compare__side--dark { background: rgba(147, 149, 152, .3); }
.compare__head { min-height: 155px; text-align: center; }
.compare__head img { margin: 0 auto; }
.compare ul { list-style: disc; margin: 0; padding-left: 20px; }
.compare li { font-family: var(--font-ui); font-size: 18px; line-height: 28.8px; margin-bottom: 22px; }
.compare li:last-child { margin-bottom: 0; }
.compare__plus {
  position: absolute;
  top: 79px; left: 50%;
  transform: translateX(-50%);
  width: 89px; height: 89px;
  z-index: 2;
}
.compare__also { text-align: center; margin-top: 44px; }
.compare__also h3 { font: 500 29px/55.1px var(--font-body); color: var(--text); margin-bottom: 16px; }
.compare__also img { margin: 0 auto; max-width: 300px; }

/* FAQ */
.faq { background: var(--gray-light); padding: 72px 0 90px; }
.faq h2 {
  font: 700 37px/23.8px var(--font-body);
  color: rgb(23, 42, 80);
  text-align: center;
  margin-bottom: 40px;
}
.faq__grid {
  display: grid;
  grid-template-columns: 510px 510px;
  justify-content: space-between;
  gap: 22px 60px;
  align-items: start;
}
.acc { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.acc__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 20px;
  text-align: left;
  font: 500 20px/20px var(--font-display);
  color: var(--text);
}
.acc__q::after {
  content: "";
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--blue) no-repeat center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E");
  background-size: 16px 16px;
  transition: transform .25s;
}
.acc.is-open .acc__q::after { transform: rotate(45deg); }
.acc__a { display: none; padding: 0 20px 20px; font-size: 16px; line-height: 23.8px; }
.acc.is-open .acc__a { display: block; }

/* ---------- Cloud9 guide ---------- */
.c9-intro { background: #fff; padding: 46px 0 10px; }
/* The Cloud9 intro and the part-to-part links are navy Muli, centred. */
.c9-intro p, .guide-part .c9-lead {
  font: 500 20px/35px var(--font-body);
  color: rgb(23, 42, 80);
  text-align: center;
  margin-bottom: 20px;
}
.guide-part .c9-lead { line-height: 36px; }
.lede--blue { line-height: 26.4px !important; color: rgb(35, 148, 242) !important; }
.c9-intro .c9-warn { color: red; }

.c9-jump { background: #fff; padding: 20px 0 46px; }
.c9-jump .row { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.c9-jump .btn-navy {
  width: 320px;
  min-height: 110px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  background: var(--blue);
  font: 500 23px/27.6px var(--font-display);
  color: #fff;
  padding: 25px 40px 0;
  border-radius: 5px;
  box-shadow: var(--card-shadow);
}
.c9-jump .btn-navy:hover { background: var(--blue); filter: brightness(1.06); }

.guide-part { background: var(--gray); padding: 60px 0; scroll-margin-top: 114px; }
.guide-part + .guide-part { padding-top: 0; }
.guide-part .row { max-width: 820px; }
.part-label {
  font: 700 15px/1 var(--font-display);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 10px;
}
.guide-part h2 {
  font: 500 30px/30px var(--font-display);
  color: var(--heading);
  padding-bottom: 10px;
  margin: 26px 0 12px;
}
.guide-part h2:first-of-type { margin-top: 0; }
.guide-part h3 {
  font: 700 20px/23.8px var(--font-body);
  color: var(--text);
  margin: 28px 0 8px;
}
.guide-part p { font-size: 20px; line-height: 23.8px; margin-bottom: 14px; }
.guide-part h2 { text-align: center; }
.guide-part .part-label { text-align: center; }
.guide-part .lede {
  font: 500 22px/22px var(--font-display);
  color: var(--heading);
  text-align: center;
  padding-bottom: 10px;
  margin-bottom: 22px;
}
.guide-part .important {
  font: 500 26px/26px var(--font-display);
  color: red;
  text-align: center;
  margin: 24px 0 10px;
}
.guide-part img {
  display: block;
  margin: 16px 0 24px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .16);
  border-radius: 2px;
}

/* ---------- Guides (Support / Cloud9) ---------- */
.guides { background: var(--gray); padding: 36px 0 60px; }
.guides .acc { box-shadow: var(--card-shadow); margin-bottom: 36px; }
.guides .acc__q { font-size: 24px; line-height: 24px; padding-right: 50px; }
.guides .acc__q::after { background-color: var(--magenta); }

.guide { font-size: 16px; line-height: 23.8px; }
.guide p { margin: 0 0 14px; }
.guide img { margin: 14px 0; max-width: 100%; height: auto; }
.guide ol, .guide ul { padding-left: 22px; margin: 0 0 14px; }
.guide li { margin-bottom: 8px; }
.guide blockquote {
  margin: 0 0 14px;
  padding-left: 18px;
  border-left: 3px solid var(--gray);
}
.guide strong { color: var(--heading); }
.guide img[src$="gmeet-copy-info.png"],
.guide img[src$="gmeet-add-people.svg"],
.guide img[src$="gmeet-icon-3.png"] {
  display: inline-block;
  width: 18px; height: 18px;
  margin: 0 2px;
  vertical-align: middle;
}

.btn-blue {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font: 500 20px/34px var(--font-body);
  padding: 6px 20px;
  border-radius: 3px;
  margin-top: 30px;
}
.btn-blue:hover { text-decoration: none; filter: brightness(1.08); }
/* The HIPAA page's "Reach Out" keeps Divi's default font, unlike the others. */
.btn-blue--ui { font-family: var(--font-ui); font-weight: 300; }

/* ---------- Contact ---------- */
.contact { background: var(--gray); padding: 37px 0; }
.contact .row {
  display: grid;
  grid-template-columns: 700px 320px;
  justify-content: space-between;
  align-items: start;
  gap: 60px;
}
.panel {
  background: #fff;
  box-shadow: var(--card-shadow);
  padding: 25px;
}
.panel + .panel { margin-top: 32px; }
.panel h2 { font: 500 22px/22px var(--font-display); color: var(--heading); padding-bottom: 10px; margin-bottom: 4px; }
.panel p { font-size: 14px; line-height: 23.8px; }
.panel p:first-of-type { padding-bottom: 14px; }
.panel .tel-kayla, .panel .tel-casey { color: var(--magenta-link); }

.partner-card { text-align: center; }
.partner-card p { margin-bottom: 14px; }
.partner-card img { margin: 0 auto 26px; max-width: 250px; }
.partner-card img:last-child { margin-bottom: 6px; }

/* ---------- Remote support tool cards ---------- */
.tools { background: var(--gray); padding: 26px 0 39px; }
.tools .row {
  max-width: 980px;
  width: 68%;
  display: grid;
  grid-template-columns: 410px 410px;
  justify-content: space-between;
}
.tool {
  background: #fff;
  box-shadow: var(--card-shadow);
  padding: 22px 20px 18px;
  text-align: center;
}
.tool img { width: 120px; height: 120px; margin: 0 auto 28px; }

.btn-navy {
  display: inline-block;
  background: rgba(23, 42, 80, .85);
  color: #fff;
  font: 500 20px/34px var(--font-ui);
  padding: 6px 20px;
  border-radius: 4px;
  transition: background .3s;
}
.btn-navy:hover { background: rgba(23, 42, 80, 1); text-decoration: none; }

/* ---------- Partner logos ---------- */
.partners { background: #fff; padding: 27px 0; }
.partners .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.partners img {
  max-height: 85px;
  width: auto;
  filter: grayscale(1);
  opacity: .78;
  transition: filter .3s, opacity .3s;
}
.partners a:hover img { filter: grayscale(0); opacity: 1; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .7);
  padding: 16px 0;
  font-size: 14px;
}

/* ---------- Utility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Responsive ---------- */
/* Grid children must be allowed to shrink below their content width */
.split .row > *, .team .row > *, .bios .row > *,
.faq__grid > *, .contact .row > *, .tools .row > * { min-width: 0; }

@media (max-width: 1180px) {
  .contact .row { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
}

@media (max-width: 980px) {
  /* Top bar goes away entirely; its payment link moves into the mobile menu. */
  .topbar { display: none; }
  :root { --topbar-h: 0px; --header-h: 86px; }
  .header, .header.is-stuck {
    --header-h: 86px;
    box-shadow: 0 0 30px rgba(7, 51, 84, .17);
  }
  .logo { flex: none; }
  .logo img, .header.is-stuck .logo img { width: 258px; max-width: none; }
  .guide-part { scroll-margin-top: 96px; }

  .nav-toggle { display: block; }

  .nav__pay { display: block; margin: 10px 16px 6px; }
  .nav > ul > li.nav__pay > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--magenta);
    color: #fff;
    border-radius: 4px;
    padding: 16px 20px;
    font-size: 19px;
    text-align: center;
  }
  .nav__pay a:hover { color: #fff; background: var(--navy-deep); }
  .nav__pay svg {
    width: 20px; height: 20px; flex: none;
    fill: none; stroke: currentColor; stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
  }
  .nav > ul {
    display: none;
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .14);
  }
  .nav.is-open > ul { display: flex; }
  .nav > ul > li > a { padding: 13px 26px; display: block; }
  .nav .sub {
    display: flex; position: static; box-shadow: none;
    border-top: 0; padding: 0 0 6px; min-width: 0;
    align-items: stretch;
  }
  .nav .sub a { padding-left: 44px; text-align: left; }
  .nav .is-active > a { border-bottom: 0; }

  .split .row, .team .row, .bios .row, .faq__grid,
  .contact .row, .tools .row, .compare {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;
  }
  .bios .row, .team .row, .contact .row, .tools .row, .compare, .faq__grid,
  .guides .row, .guide-part .row { width: 88%; max-width: 720px; }
  .team .row { row-gap: 130px; }
  .compare__plus { top: auto; left: 44px; transform: none; margin-top: -45px; }
  .compare__side { padding: 46px 30px; }
  .compare__head { min-height: 0; }
  .partners .row { flex-wrap: wrap; justify-content: center; gap: 34px 44px; }
  .hero h1, .hero .hero-head { font-size: 30px; line-height: 1.35; }
  .hero { min-height: 340px; }
}

@media (max-width: 560px) {
  .row { width: 88%; }
  .hero h1, .hero .hero-head { font-size: 25px; }
  .hero--inner h1, .hero--center h1 { font-size: 25px; line-height: 1.35; }
  .section, .split { padding: 60px 0; }
  .team { padding: 43px 0 60px; }
  .person { padding: 24px; }
  .person__photo { margin-top: -80px; }
  .acc__q { font-size: 17px; padding: 16px; }
  .guide-part h2 { font-size: 24px; }
  .c9-jump .row { flex-direction: column; align-items: stretch; text-align: center; }
}
