/* Ajans Hosting signature: connected lines, precise edges and mint/navy contrast. */
:root {
  --signature-ink: #122d51;
  --signature-mint: #b0e8df;
  --signature-paper: #f7f8fc;
  --signature-purple: #4e4feb;
}

/* Topbar only: a quiet brand note and an aligned utility row. */
.news-area.ah-topbar {
  --topbar-height: 54px;
  padding: 0;
  background: #0c1727;
  border-bottom: 1px solid #34475d;
  font-family: var(--secondary-font);
}
.ah-topbar .topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: calc(var(--topbar-height) - 1px);
}
.ah-topbar a { color: #d6e2ef; text-decoration: none; }
.ah-topbar a:hover { color: #b0e8df; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.ah-topbar a:focus-visible { outline: 2px solid #b0e8df; outline-offset: 4px; border-radius: 3px; }
.ah-topbar .topbar-announcement {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 38px;
  font-size: 12.5px;
  line-height: 1.65;
  font-weight: 400;
}
.ah-topbar .topbar-announcement > .icon { width: 18px; height: 18px; flex-shrink: 0; color: #b0e8df; }
.ah-topbar .topbar-right { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.ah-topbar .topbar-links { display: flex; align-items: center; gap: 19px; padding: 0; margin: 0; list-style: none; }
.ah-topbar .topbar-links a,
.ah-topbar .topbar-support { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; font-size: 12px; line-height: 1.5; font-weight: 400; white-space: nowrap; }
.ah-topbar .topbar-links .topbar-contact { color: #b0e8df; }
.ah-topbar .topbar-contact .icon { width: 14px; height: 14px; }
.ah-topbar .topbar-tools { display: flex; align-items: center; gap: 19px; padding-left: 21px; border-left: 1px solid #34475d; }
.ah-topbar .topbar-currency { color: #b4c7d9; font-size: 11px; line-height: 1.5; font-weight: 500; font-variant-numeric: tabular-nums; }
.ah-topbar .topbar-support { gap: 8px; }
.ah-topbar .topbar-support .icon { width: 17px; height: 17px; color: #b0e8df; }
@media(max-width:1199.98px) {
  .ah-topbar .topbar-secondary,
  .ah-topbar .topbar-currency { display: none; }
  .ah-topbar .topbar-right { gap: 18px; }
  .ah-topbar .topbar-tools { padding-left: 18px; }
}
/* Retain the existing header offsets at the intermediate breakpoints. */
@media(min-width:992px) and (max-width:1199.98px) {
  .news-area.ah-topbar { --topbar-height: 60px; }
}
@media(min-width:768px) and (max-width:991.98px) {
  .news-area.ah-topbar { --topbar-height: 43px; }
  .ah-topbar .topbar-row { gap: 16px; }
  .ah-topbar .topbar-links { gap: 14px; }
  .ah-topbar .topbar-announcement { font-size: 12px; }
}
@media(max-width:767.98px) {
  .ah-topbar .topbar-right { display: none; }
  .ah-topbar .topbar-announcement { width: 100%; min-height: 44px; gap: 10px; font-size: 12px; line-height: 1.6; }
  .ah-topbar .topbar-announcement > .icon { width: 17px; height: 17px; }
}

/* Introductions pair a typographic accent with an engraved illustration stage. */
.ah-inner #main > .ah-hero {
  background: #fff;
  border-bottom-color: #dfe5f0;
}
.ah-inner .ah-hero-breadcrumb {
  padding-bottom: 18px;
  border-bottom: 1px solid #e8ebf2;
  margin-bottom: 34px;
}
.ah-inner .ah-hero-title-accent { color: var(--signature-purple); }
.ah-inner .ah-hero-copy::before {
  content: "";
  display: block;
  width: 62px;
  height: 5px;
  margin-bottom: 22px;
  background: linear-gradient(90deg, #4e4feb 0 36px, transparent 36px 42px, #b0e8df 42px 62px);
}
.ah-inner .ah-hero-stage {
  border-radius: 16px;
  background: var(--hero-tint);
  box-shadow: 0 24px 44px -34px #122d5166;
}
.ah-inner .ah-hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #122d51;
  opacity: .22;
  -webkit-mask: url('/assets/images/brand/signature-route.svg') center / 100% 100% no-repeat;
  mask: url('/assets/images/brand/signature-route.svg') center / 100% 100% no-repeat;
  pointer-events: none;
  z-index: -1;
}
.ah-inner .ah-hero-stage::after {
  content: "";
  position: absolute;
  inset: auto 28px -7px;
  height: 7px;
  border-radius: 0 0 4px 4px;
  background: var(--signature-ink);
  pointer-events: none;
  z-index: -1;
}
.ah-inner .ah-hero-stage-facts {
  margin-top: 10px;
  padding-top: 20px;
  border-top-color: #122d512b;
}
.ah-inner .ah-hero-stage-facts li { font-weight: 600; }
.ah-inner .ah-hero-footer {
  border: 1px solid #e3e8f1;
  border-radius: 12px;
  background: #f7f8fc;
  padding: 19px 24px;
  margin-top: 34px;
  gap: 16px 34px;
}
.ah-inner .ah-hero-footer-label { color: #284565; font-weight: 500; }
.ah-inner .ah-hero-footer-label .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  background: #d9f1ea;
  color: #173f46;
  border-radius: 50%;
}
.ah-inner .ah-hero-actions .--outline-primary { background: #fff; }
.ah-inner .ah-hero-actions .--fill-primary {
  box-shadow: 0 8px 16px -12px #292a90;
}

/* Section titles carry a fine ruled edge, like a carefully set service dossier. */
.ah-inner #main .section-heading,
.ah-inner #main .editorial-section-heading {
  position: relative;
  padding-top: 24px;
  border-top: 1px solid #dfe5ef;
}
.ah-inner #main .section-heading::before,
.ah-inner #main .editorial-section-heading::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 52px;
  height: 3px;
  background: var(--signature-purple);
}
.ah-inner #main .section-heading > div > .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.ah-inner #main .section-heading > div > .eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--signature-mint);
  border: 1px solid #589b91;
}

/* Closing invitation: one confident navy surface with a drawn connection motif. */
.ah-inner #main .ah-cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--signature-ink);
  padding: 54px 56px;
  border-radius: 16px;
}
.ah-inner #main .ah-cta-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 52%;
  background: var(--signature-mint);
  opacity: .2;
  -webkit-mask: url('/assets/images/brand/signature-route.svg') center / cover no-repeat;
  mask: url('/assets/images/brand/signature-route.svg') center / cover no-repeat;
  z-index: -1;
  pointer-events: none;
}
.ah-inner #main .ah-cta-copy::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  background: var(--signature-mint);
  margin-bottom: 24px;
}
.ah-inner #main .ah-cta-copy h2 { color: #fff; }
.ah-inner #main .ah-cta-copy p { color: #d6e2ef; }
.ah-inner #main .ah-cta-panel > .theme-btn {
  color: #122d51;
  background: var(--signature-mint);
  border-color: var(--signature-mint);
  box-shadow: none;
}
.ah-inner #main .ah-cta-panel > .theme-btn:hover {
  background: #d5f4ec;
  border-color: #d5f4ec;
  color: #122d51;
}
.ah-inner #main .ah-cta-panel > .theme-btn:focus-visible { outline-color: #b0e8df !important; }

/* Footer: an Ajans Hosting brand signature and one connected contact rail. */
.theme-footer.ah-footer {
  min-height: 0;
  padding-top: 0;
  background: #0c1727;
  color: #c5d3e2;
  font-family: var(--secondary-font);
}
.ah-footer > .container-fluid,
.ah-footer .support > .container-fluid {
  width: calc(100% - 80px);
  max-width: 1240px;
  padding-inline: 0;
}
.theme-footer.ah-footer .support { padding: 58px 0 45px; }
.ah-footer .footer-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  margin-bottom: 38px;
}
.ah-footer .footer-brand { flex: 0 0 280px; }
.ah-footer .footer-brand-logo { display: inline-flex; border-radius: 4px; }
.ah-footer .footer-brand-logo img { display: block; width: 209px; height: 60px; object-fit: contain; }
.ah-footer .footer-brand > p { font-size: 13px; line-height: 1.85; margin: 15px 0 0; color: #b4c7d9; }
.ah-footer .footer-invitation {
  position: relative;
  flex: 0 1 630px;
  padding-left: 36px;
  border-left: 1px solid #34475d;
}
.ah-footer .footer-invitation::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 26px;
  top: 0;
  left: -3px;
  background: #b0e8df;
}
.theme-footer.ah-footer .support .title-1 {
  font-family: var(--primary-font);
  font-size: clamp(25px, 2.1vw, 31px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.025em;
  margin-bottom: 13px;
}
.theme-footer.ah-footer .support .para-1 { font-size: 14px; line-height: 1.8; color: #b4c7d9; margin: 0; }
.ah-footer .footer-contact-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-block: 1px solid #34475d;
}
.ah-footer .footer-contact-rail > div { max-width: none; padding: 0; margin: 0 !important; }
.ah-footer .footer-contact-rail > div + div { border-left: 1px solid #34475d; }
.theme-footer.ah-footer .support .box {
  height: 100%;
  min-height: 112px;
  padding: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  transition: background-color .18s ease-out;
}
.theme-footer.ah-footer .support .box:hover,
.theme-footer.ah-footer .support .box:focus-within { background: #16283d; }
.theme-footer.ah-footer .support .box > .icon {
  width: 44px;
  height: 44px;
  background: #e2f4ee;
  border: 0;
  border-radius: 10px;
}
.theme-footer.ah-footer .support .box > .icon img { width: 30px; height: 30px; object-fit: contain; }
.theme-footer.ah-footer .support .box-title { font-size: 15px; font-weight: 500; line-height: 1.5; margin-bottom: 6px; }
.theme-footer.ah-footer .support .box-para { font-size: 12px; line-height: 1.7; color: #b4c7d9; }
.ah-footer .footer-channel-arrow { flex: 0 0 18px; margin-left: auto; padding-left: 12px; box-sizing: content-box; color: #b0e8df; }
.theme-footer.ah-footer .footer-channel-arrow .icon { width: 18px; height: 18px; border: 0; border-radius: 0; background: none; }
.theme-footer.ah-footer .list-group { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px; }
.theme-footer.ah-footer .footer-list { min-width: 0; padding-bottom: 32px; margin-bottom: 0; }
.theme-footer.ah-footer .footer-list .list-title { font-size: 14px; font-weight: 500; }
.theme-footer.ah-footer .footer-list .list-title button { line-height: 1.6; }
.theme-footer.ah-footer .footer-list .list-link:nth-child(2) { margin-top: 17px; }
.theme-footer.ah-footer .footer-list .list-link:not(:last-of-type) { margin-bottom: 9px; }
.theme-footer.ah-footer .footer-list .list-link > a { font-size: 13px; line-height: 1.75; color: #b4c7d9; }
.theme-footer.ah-footer .footer-list .list-link > a:hover { color: #b0e8df; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.theme-footer.ah-footer a:focus-visible,
.theme-footer.ah-footer button:focus-visible { outline-color: #b0e8df; outline-offset: 5px; }
.theme-footer.ah-footer .support .box-link:focus-visible { outline-offset: -4px; }
.theme-footer.ah-footer .footer-bottom { border-top: 1px solid #34475d; padding: 27px 0 30px; }
.ah-footer .footer-legal-row { margin-bottom: 23px; }
.theme-footer.ah-footer .footer-bottom .links { gap: 8px 22px; margin-bottom: 12px; }
.theme-footer.ah-footer .footer-bottom .links li { margin: 0; }
.theme-footer.ah-footer .footer-bottom .links li::after { display: none; }
.theme-footer.ah-footer .footer-bottom .links li a { font-size: 12px; color: #d6e2ef; font-weight: 400; }
.theme-footer.ah-footer .footer-bottom .para-3 { font-size: 12px; font-weight: 400; line-height: 1.8; color: #b4c7d9; }
.theme-footer.ah-footer .footer-bottom .para-3 a { color: #d6e2ef; font-weight: 400; text-underline-offset: 4px; }
.ah-footer .footer-company-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.ah-footer .footer-company-row > .para-3 { max-width: 75ch; }
.ah-footer .footer-company-row .signature { text-align: right; flex-shrink: 0; }
.theme-footer.ah-footer .signature .para-3 a { min-height: 26px; }
@media(max-width:1199.98px) {
  .ah-footer > .container-fluid,
  .ah-footer .support > .container-fluid { width: calc(100% - 64px); }
  .theme-footer.ah-footer .support .box { padding: 23px 17px; }
  .theme-footer.ah-footer .list-group { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 36px; }
  .ah-footer .footer-intro { gap: 36px; }
}
@media(max-width:991.98px) {
  .ah-footer .footer-brand { flex-basis: 230px; }
  .ah-footer .footer-contact-rail { grid-template-columns: minmax(0, 1fr); }
  .ah-footer .footer-contact-rail > div + div { border-left: 0; border-top: 1px solid #34475d; }
  .theme-footer.ah-footer .support .box { min-height: 90px; padding: 21px 0; }
  .ah-footer .footer-channel-arrow { margin-right: 7px; }
}
@media(max-width:767.98px) {
  .ah-footer > .container-fluid,
  .ah-footer .support > .container-fluid { width: calc(100% - 40px); }
  .theme-footer.ah-footer .support { padding: 40px 0 24px; }
  .ah-footer .footer-intro { display: block; margin-bottom: 26px; }
  .ah-footer .footer-brand-logo img { width: 188px; height: 54px; }
  .ah-footer .footer-brand > p { font-size: 12px; line-height: 1.7; margin-top: 11px; }
  .ah-footer .footer-invitation { margin-top: 30px; padding-left: 22px; }
  .theme-footer.ah-footer .support .title-1 { max-width: 21ch; font-size: 24px; margin-bottom: 10px; }
  .theme-footer.ah-footer .support .para-1 { font-size: 13px; line-height: 1.75; }
  .theme-footer.ah-footer .support .box-title { font-size: 14px; }
  .theme-footer.ah-footer .support .box-para { font-size: 12px; }
  .theme-footer.ah-footer .list-group { display: block; }
  .theme-footer.ah-footer .footer-list { padding: 0; border-bottom: 1px solid #283d54; }
  .theme-footer.ah-footer .footer-list .list-title button { min-height: 55px; font-size: 14px; }
  .theme-footer.ah-footer .footer-list .list-title::before,
  .theme-footer.ah-footer .footer-list .list-title::after { background: #b0e8df; right: 5px; }
  .theme-footer.ah-footer .footer-list .list-title::after { right: 9px; }
  .theme-footer.ah-footer .footer-list .list-link:nth-child(2) { margin-top: 0; }
  .theme-footer.ah-footer .footer-list .list-link { margin: 0; }
  .theme-footer.ah-footer .footer-list .list-link:last-child { padding-bottom: 16px; }
  .theme-footer.ah-footer .footer-list .list-link > a { display: inline-flex; align-items: center; min-height: 36px; font-size: 13px; }
  /* The existing script enables disclosures; links stay available without it. */
  .theme-footer.ah-footer .footer-list:has(.list-title button:disabled) .list-link { display: block; }
  .theme-footer.ah-footer .footer-list:has(.list-title button:disabled) .list-title::before,
  .theme-footer.ah-footer .footer-list:has(.list-title button:disabled) .list-title::after { display: none; }
  .theme-footer.ah-footer .footer-bottom { border-top: 0; padding-top: 26px; }
  .theme-footer.ah-footer .footer-bottom .links { gap: 0 20px; margin-bottom: 14px; }
  .theme-footer.ah-footer .footer-bottom .links li a { display: inline-flex; align-items: center; min-height: 34px; }
  .ah-footer .footer-company-row { display: block; }
  .ah-footer .footer-company-row .signature { text-align: left; padding-top: 16px; }
  .theme-footer.ah-footer .signature .para-3 a { min-height: 30px; }
}
@media(max-width:359.98px) {
  .ah-footer > .container-fluid,
  .ah-footer .support > .container-fluid { width: calc(100% - 32px); }
  .theme-footer.ah-footer .support .box > .icon { width: 38px; height: 38px; margin-right: 12px !important; }
  .theme-footer.ah-footer .support .box-title { font-size: 13px; }
  .ah-footer .footer-channel-arrow { padding-left: 7px; margin-right: 0; }
}

/* The brand continues into reading, choosing and keyboard interaction. */
::selection { background: #b0e8df; color: #122d51; }
input, textarea { caret-color: #4e4feb; }
.table-wrap { scrollbar-color: #8ca8af #eef5f3; }
.ah-inner #main .faq-list details { padding-inline: 22px; }
.ah-inner #main .faq-list details[open] { background: #eff7f5; }
.ah-inner #main .faq-list summary { align-items: center; }
.ah-inner #main .faq-list summary > span,
.ah-home main .faq-list summary > span {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  line-height: 1;
  border-radius: 8px;
  background: #e5f3ee;
  color: #122d51;
}
.ah-inner #main .faq-list details[open] summary > span,
.ah-home main .faq-list details[open] summary > span {
  background: #122d51;
  color: #b0e8df;
}
.ah-inner #main .faq-list summary:focus-visible { outline-offset: 4px; }
.ah-inner #main .faq-list .faq-answer { padding-right: 52px; }

/* Support channels read as one composed set with a separate illustration shelf. */
.ah-inner #main .card:has(> .content-channel-icon) {
  position: relative;
  background: linear-gradient(to bottom, #e7f4f0 0 112px, #fff 112px);
}
.ah-inner #main .card:has(> .content-channel-icon)::after {
  content: "";
  position: absolute;
  top: 19px;
  right: 19px;
  width: 18px;
  height: 18px;
  border-top: 1px solid #7aa99e;
  border-right: 1px solid #7aa99e;
  pointer-events: none;
}
.ah-inner #main .card > .content-channel-icon { margin-bottom: 32px; }
.ah-inner #main .card:has(> .content-channel-icon) > p { margin-bottom: 24px; }
.ah-inner #main .section .grid-3 > .card:has(> .content-channel-icon) > .text-link {
  display: block;
  width: 100%;
  border-top: 1px solid #e0e8ee;
  padding-top: 18px;
  margin-top: 24px;
}
.ah-inner #main .content-support-route { grid-template-columns: 56px 1fr; }
.ah-inner #main .content-support-route > img {
  width: 56px;
  height: 56px;
  padding: 10px;
  background: #edf5f2;
  border-radius: 12px;
}

/* A guided consultation: navy step rail, mint selections, a ruled project brief. */
.ah-inner #main .planner-progress { background: #122d51; }
.ah-inner #main .planner-progress :is(.eyebrow, li, p) { color: #d6e2ef; }
.ah-inner #main .planner-progress > a { color: #b0e8df; }
.ah-inner #main .planner-progress a:focus-visible { outline-color: #b0e8df; }
.ah-inner #main .planner-progress li > span { background: #284567; color: #d6e2ef; }
.ah-inner #main .planner-progress li[aria-current] { color: #fff; }
.ah-inner #main .planner-progress li[aria-current] > span { background: #b0e8df; color: #122d51; }
.ah-inner #main .planner-progress .is-complete > span { box-shadow: 0 0 0 1px #83b6ae; }
.ah-inner #main .planner-form legend {
  border-bottom: 1px solid #e1e6ef;
  padding-bottom: 22px;
}
.ah-inner #main .planner-form legend > small { font-variant-numeric: tabular-nums; }
.ah-inner #main .planner-option input:checked + span {
  background: #e6f4ee;
  border-color: #699c92;
  box-shadow: none;
}
.ah-inner #main .planner-option input { accent-color: #122d51; }
.ah-inner #main .planner-option input:checked + span > i { color: #23594c; }
.ah-inner #main .planner-actions { padding-top: 22px; border-top: 1px solid #e1e6ef; }
.ah-inner #main .planner-brief { border-top: 3px solid #122d51; }
.ah-inner #main .planner-brief h3 { padding-bottom: 18px; border-bottom: 1px solid #e1e6ef; }
.ah-inner #main .planner-brief dl { background: #eef7f3; padding: 8px 18px; }
.ah-inner #main .planner-brief dl > div:last-child { border-bottom: 0; }

@media(max-width:991px) {
  .ah-inner .ah-hero-stage::after { inset-inline: 20px; }
  .ah-inner #main .ah-cta-panel { padding: 40px; }
}
@media(max-width:767px) {
  .ah-inner .ah-hero-breadcrumb { padding-bottom: 12px; margin-bottom: 24px; }
  .ah-inner .ah-hero-copy::before { margin-bottom: 18px; height: 4px; }
  .ah-inner .ah-hero-stage { overflow: visible; }
  .ah-inner .ah-hero-stage::after { bottom: -5px; height: 5px; }
  .ah-inner .ah-hero-footer { padding: 16px; gap: 12px 18px; margin-top: 28px; }
  .ah-inner .ah-hero-footer-label { font-size: 12px; }
  .ah-inner #main .section-heading,
  .ah-inner #main .editorial-section-heading { padding-top: 20px; }
  .ah-inner #main .ah-cta-panel { padding: 30px 26px; }
  .ah-inner #main .ah-cta-panel::before { width: 100%; opacity: .1; }
  .ah-inner #main .faq-list details { padding-inline: 14px; }
  .ah-inner #main .faq-list summary { gap: 15px; }
  .ah-inner #main .faq-list .faq-answer { padding-right: 0; }
  .ah-inner #main .card:has(> .content-channel-icon) {
    background: linear-gradient(to bottom, #e7f4f0 0 100px, #fff 100px);
  }
  .ah-inner #main .content-support-route { grid-template-columns: 46px 1fr; }
  .ah-inner #main .content-support-route > img { width: 46px; height: 46px; padding: 8px; }
  .ah-inner #main .planner-form legend { padding-bottom: 18px; }
}
@media print {
  .ah-inner .ah-hero-stage::before,
  .ah-inner .ah-hero-stage::after,
  .ah-inner .ah-hero-copy::before { display: none; }
}
