/* AllPower inner-page system — load after narrative-home.css.
   Scope this shared public-page treatment to the inner shell only. */
body.ap-inner {
  --ap-inner-ink: #0b1e34;
  --ap-inner-sea: #00537a;
  --ap-inner-deep: #033c58;
  --ap-inner-sun: #ffd35c;
  --ap-inner-cream: #fff2ce;
  --ap-inner-warm: #fbf7ec;
  --ap-inner-mist: #e4f2fb;
  --ap-inner-muted: #536b78;
  --ap-inner-line: rgba(0, 83, 122, .14);
  --ap-inner-shadow: 0 18px 46px rgba(3, 60, 88, .085);
  color: var(--ap-inner-ink);
  background: #f6f8fa;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

body.ap-inner :focus-visible {
  outline: 3px solid #f5a303;
  outline-offset: 4px;
}

/* Shared navigation: sunrise paper, quiet translucency, capsule links. */
body.ap-inner #topnav {
  z-index: 50;
  min-height: 78px;
  padding-block: 10px;
  border-bottom: 1px solid rgba(0, 83, 122, .11);
  background: rgba(255, 242, 206, .94) !important;
  box-shadow: 0 8px 24px rgba(3, 60, 88, .055);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
  backdrop-filter: blur(16px) saturate(1.12);
}
body.ap-inner #topnav > div {
  min-height: 56px;
  gap: clamp(12px, 1.6vw, 24px);
}
body.ap-inner #nav-logo {
  mix-blend-mode: normal !important;
  filter: none !important;
}
body.ap-inner .ap-inner-brand { gap: 9px; }
body.ap-inner .ap-inner-wordmark {
  display: block;
  width: clamp(108px, 10vw, 138px);
  height: auto;
}
body.ap-inner #topnav .nav-link {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  color: #355767 !important;
  font-weight: 600;
  transition: color .22s ease, background-color .22s ease;
}
body.ap-inner #topnav .nav-link:hover,
body.ap-inner #topnav .nav-link[aria-current="page"] {
  color: #9a621d !important;
  background: rgba(255, 255, 255, .58);
}
body.ap-inner #topnav .group > div.absolute {
  z-index: 60;
  padding-top: 12px;
}
body.ap-inner #topnav .group > div.absolute > div {
  padding: 8px;
  border: 1px solid rgba(0, 83, 122, .12);
  border-radius: 16px;
  background: rgba(255, 252, 243, .98);
  box-shadow: 0 20px 44px rgba(3, 60, 88, .17);
}
body.ap-inner #topnav .group > div.absolute a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  color: #365b6b;
  transition: color .2s ease, background-color .2s ease;
}
body.ap-inner #topnav .group > div.absolute a:hover,
body.ap-inner #topnav .group > div.absolute a:focus-visible {
  color: var(--ap-inner-deep);
  background: #fff2ce;
}
body.ap-inner #topnav a[href="https://lin.ee/aT9StbL"] {
  min-height: 42px;
  padding: 0 19px;
  border: 1px solid rgba(0, 83, 122, .1);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(3, 60, 88, .12);
  font-weight: 800;
}
body.ap-inner .ap-menu-trigger {
  width: 46px !important;
  height: 46px !important;
  border: 1px solid rgba(255, 255, 255, .62) !important;
  border-radius: 50% !important;
  color: #fffaf0 !important;
  background: #14566d !important;
  box-shadow: 0 8px 22px rgba(3, 60, 88, .18) !important;
}

/* Preserve the script's hidden/flex and dialog semantics; only skin visible state. */
body.ap-inner #mobile-backdrop {
  background: rgba(8, 39, 55, .56);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}
body.ap-inner .ap-menu-panel {
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100dvh;
  padding: max(22px, env(safe-area-inset-top)) max(28px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(28px, env(safe-area-inset-left));
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #fffaf0;
  background:
    radial-gradient(ellipse at 84% 2%, rgba(255, 211, 92, .18), transparent 36%),
    linear-gradient(145deg, #075876 0%, #033c58 72%, #082f46 100%);
}
body.ap-inner .ap-menu-panel.flex {
  display: flex;
}
body.ap-inner .ap-menu-panel::after {
  position: fixed;
  right: -12vw;
  bottom: -30vw;
  width: min(76vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 229, 157, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(255, 229, 157, .035), 0 0 0 88px rgba(255, 229, 157, .025);
  content: "";
  pointer-events: none;
}
body.ap-inner .ap-menu-head,
body.ap-inner .ap-menu-grid,
body.ap-inner .ap-menu-footer {
  position: relative;
  z-index: 1;
}
body.ap-inner .ap-menu-head {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}
body.ap-inner .ap-menu-head .ap-home-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
body.ap-inner .ap-menu-head .ap-home-logo img:first-child { width: 38px; height: 38px; object-fit: contain; }
body.ap-inner .ap-menu-head .ap-home-logo img:last-child { width: 128px; height: auto; filter: brightness(0) invert(1); }
body.ap-inner .ap-menu-close {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .23);
  border-radius: 50%;
  color: #fffaf0;
  background: rgba(255, 255, 255, .1);
  cursor: pointer;
}
body.ap-inner .ap-menu-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: center;
  gap: clamp(18px, 3vw, 48px);
  width: min(1360px, 100%);
  margin: auto;
  padding: 44px 0 !important;
}
body.ap-inner .ap-menu-label {
  margin: 0 0 13px;
  padding: 0 15px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  color: #a9d3d9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}
body.ap-inner .ap-menu-panel .mobile-nav-link {
  display: block;
  margin: 2px 0;
  padding: 11px 15px;
  border-radius: 12px;
  color: #f7f3e9 !important;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 650;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}
body.ap-inner .ap-menu-panel .mobile-nav-link:hover,
body.ap-inner .ap-menu-panel .mobile-nav-link:focus-visible {
  color: #fff !important;
  background: rgba(255, 255, 255, .11);
  transform: translateX(3px);
}
body.ap-inner .ap-menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1360px, 100%);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
body.ap-inner .ap-menu-footer p { color: rgba(237, 244, 236, .72); }
body.ap-inner .ap-menu-line {
  min-height: 46px;
  padding: 12px 23px;
  border-radius: 999px;
  color: #173f50;
  background: #f5c565;
  font-weight: 800;
  transition: background-color .2s ease, transform .2s ease;
}
body.ap-inner .ap-menu-line:hover {
  background: #ffda80;
  transform: translateY(-2px);
}

/* Page-entry rhythm: retain each page's own hero markup and hierarchy. */
body.ap-inner main { padding-top: 78px; }
body.ap-inner main > section.relative.bg-ap-deep,
body.ap-inner main > .ln .ln-hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  color: #fdf9ef;
  background:
    radial-gradient(ellipse at 78% 12%, rgba(255, 211, 92, .22), transparent 34%),
    linear-gradient(145deg, #075876 0%, #033c58 68%, #082f46 100%) !important;
}
body.ap-inner main > section.relative.bg-ap-deep::after {
  position: absolute;
  z-index: -1;
  right: -100px;
  bottom: -280px;
  width: min(620px, 65vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 229, 157, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255, 229, 157, .045), 0 0 0 70px rgba(255, 229, 157, .03);
  content: "";
  pointer-events: none;
}
body.ap-inner main > section.relative.bg-ap-deep > .container {
  padding-top: clamp(60px, 7.5vw, 104px);
  padding-bottom: clamp(64px, 8vw, 112px);
}
body.ap-inner main > section.relative.bg-ap-deep nav {
  color: #c5dce2 !important;
}
body.ap-inner main > section.relative.bg-ap-deep nav a {
  color: #d7e8e9;
  text-decoration-color: rgba(255, 255, 255, .36);
  text-underline-offset: 4px;
}
body.ap-inner main > section.relative.bg-ap-deep nav a:hover { color: #ffe59d; }
body.ap-inner main > section.relative.bg-ap-deep h1 {
  max-width: 940px;
  color: #fffaf0 !important;
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -.045em;
}
body.ap-inner main > section.relative.bg-ap-deep h1 .text-ap-gold,
body.ap-inner main > section.relative.bg-ap-deep h1 .text-ap-orange {
  color: #ffe59d !important;
}
body.ap-inner main > section.relative.bg-ap-deep > .container > p {
  text-wrap: pretty;
}
body.ap-inner main > section.relative.bg-ap-deep .text-gray-300 { color: #d8e8e9 !important; }
body.ap-inner main > section.relative.bg-ap-deep .text-gray-400 { color: #b9d0d5 !important; }
body.ap-inner main > section.relative.bg-ap-deep .text-ap-orange { color: #ffe59d !important; }
body.ap-inner main > section.relative.bg-ap-deep .text-ap-gold { color: #ffe59d !important; }
body.ap-inner main > section.relative.bg-ap-deep .rounded-full.bg-ap-gold,
body.ap-inner main > section.relative.bg-ap-deep a.bg-ap-gold {
  color: #173f50 !important;
  background: #ffd35c !important;
  box-shadow: 0 12px 26px rgba(0, 20, 36, .19);
}
body.ap-inner main > section.relative.bg-ap-deep a.bg-ap-gold:hover { background: #ffbb42 !important; }
body.ap-inner main > section.relative.bg-ap-deep a.border-white\/30 {
  border-color: rgba(255, 250, 240, .45);
  border-radius: 999px;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
body.ap-inner main > section.relative.bg-ap-deep a.border-white\/30:hover {
  color: #ffe59d;
  border-color: #ffd35c;
  background: rgba(255, 255, 255, .06);
}

/* Distinct page families: editorial product, technical/security, blog, policy. */
body.ap-inner main > .ln .ln-hero {
  padding-top: 26px;
  background:
    radial-gradient(ellipse at 78% 20%, rgba(255, 211, 92, .25), transparent 35%),
    linear-gradient(145deg, #fff8e8, #e4f2eb 48%, #c9e3e6) !important;
  color: var(--ap-inner-ink);
}
body.ap-inner main > .ln .ln-hero h1 { color: #15394a; }
body.ap-inner main > .ln .ln-product,
body.ap-inner main > .ln .ln h1 span { color: #17627a; }
body.ap-inner main > .ln .ln-story {
  border-color: rgba(0, 83, 122, .2);
  border-radius: 24px 8px 24px 8px;
  box-shadow: 12px 14px 0 rgba(0, 83, 122, .13), 0 20px 44px rgba(3, 60, 88, .08);
}
body.ap-inner main > .apx-scope { position: relative; }
body.ap-inner main > .apx-scope .api-hero {
  background:
    radial-gradient(ellipse at 80% 18%, rgba(255, 211, 92, .22), transparent 34%),
    linear-gradient(145deg, #fff8e8, #e4f2eb 54%, #c8e2e6);
}
body.ap-inner main > .apx-scope .api-hero h1 { color: #15394a; }
body.ap-inner main > .apx-scope .api-hero .apx-eyebrow { color: #17627a; }
body.ap-inner main > .apx-scope .api-hero .api-hero__sub { color: #496873; }
body.ap-inner main > .apx-scope .api-hero .api-btn--solid {
  color: #fffaf0;
  border-color: #145b73;
  background: #145b73;
}
body.ap-inner main > .apx-scope .api-hero .api-btn--ghost {
  color: #214d5d;
  border-color: rgba(18, 56, 74, .3);
  background: rgba(255, 255, 255, .46);
}
body.ap-inner main > section.relative.bg-ap-deep h1 + p,
body.ap-inner main > section.relative.bg-ap-deep h1 ~ p {
  max-width: 780px;
}
body.ap-inner main > section.relative.bg-ap-deep .text-ap-gold\/30 { color: rgba(255, 229, 157, .44) !important; }

/* Shared section rhythm and card surfaces: restrained; no global div/card reset. */
body.ap-inner main > section:not(.relative.bg-ap-deep),
body.ap-inner main > .ln > section:not(.ln-hero),
body.ap-inner main > .apx-scope .apx-section {
  scroll-margin-top: 96px;
}
body.ap-inner main section h2 {
  letter-spacing: -.035em;
}
body.ap-inner main section h3 {
  letter-spacing: -.018em;
}
body.ap-inner main section a[class*="rounded-"][class*="border"][class*="bg-white"],
body.ap-inner main section article[class*="rounded-"][class*="border"][class*="bg-white"] {
  border-color: rgba(0, 83, 122, .12);
  box-shadow: 0 12px 30px rgba(3, 60, 88, .045);
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}
@media (hover: hover) {
  body.ap-inner main section a[class*="rounded-"][class*="border"][class*="bg-white"]:hover,
  body.ap-inner main section article[class*="rounded-"][class*="border"][class*="bg-white"]:hover {
    border-color: rgba(0, 83, 122, .28);
    box-shadow: var(--ap-inner-shadow);
  }
}
body.ap-inner main a[class*="rounded-full"][class*="bg-ap-gold"],
body.ap-inner main a[class*="rounded-full"][class*="bg-ap-navy"] {
  min-height: 44px;
  border-radius: 999px;
  font-weight: 800;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
body.ap-inner main a[class*="rounded-full"][class*="bg-ap-gold"] {
  color: #173f50;
  background: #ffd35c;
}
body.ap-inner main a[class*="rounded-full"][class*="bg-ap-gold"]:hover {
  background: #ffbb42;
  transform: translateY(-2px);
}
body.ap-inner main a[class*="rounded-full"][class*="bg-ap-navy"]:hover {
  background: #033c58;
  transform: translateY(-2px);
}

/* Policy and article typography retains legal/editorial density instead of card-ifying it. */
body.ap-inner main .prose-article {
  max-width: 72ch;
  color: #425d69;
  font-size: 1.0625rem;
  line-height: 1.95;
  overflow-wrap: anywhere;
}
body.ap-inner main .prose-article h1,
body.ap-inner main .prose-article h2,
body.ap-inner main .prose-article h3,
body.ap-inner main .prose-article h4 {
  color: #0b1e34;
  font-weight: 850;
  line-height: 1.45;
  letter-spacing: -.025em;
  scroll-margin-top: 104px;
}
body.ap-inner main .prose-article h2 {
  margin: 2.35em 0 .9em;
  padding: 0 0 .45em;
  border-bottom: 1px solid rgba(0, 83, 122, .18);
  box-shadow: inset 0 -2px 0 #ffd35c;
  font-size: clamp(1.4rem, 2.8vw, 1.8rem);
}
body.ap-inner main .prose-article h3 { margin: 1.8em 0 .65em; font-size: 1.28rem; }
body.ap-inner main .prose-article h4 { margin: 1.45em 0 .5em; font-size: 1.1rem; }
body.ap-inner main .prose-article p { margin: 1.15em 0; }
body.ap-inner main .prose-article a {
  color: #00537a;
  text-decoration-color: rgba(0, 83, 122, .42);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
body.ap-inner main .prose-article a:hover { color: #9a621d; }
body.ap-inner main .prose-article blockquote {
  margin: 1.7em 0;
  padding: 1em 1.35em;
  border-left: 3px solid #e8b64b;
  border-radius: 0 12px 12px 0;
  color: #365b69;
  background: #fff8e8;
  font-style: normal;
}
body.ap-inner main .prose-article code {
  color: #17495d;
  background: #eaf3f5;
}
body.ap-inner main .prose-article pre {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: #092f45;
}
body.ap-inner main .prose-article table { display: block; overflow-x: auto; }
body.ap-inner main .prose-article th {
  color: #17495d;
  background: #edf5f4;
}
body.ap-inner main .prose-article th,
body.ap-inner main .prose-article td { border-color: #d9e4e5; }
body.ap-inner main > article > .container > .prose-article { margin-inline: auto; }
body.ap-inner main > article > .container > div > img {
  border: 5px solid #fffaf0;
  box-shadow: 0 24px 55px rgba(3, 60, 88, .18);
}
body.ap-inner main > article > .container > .prose-article ~ div[class*="mt-16"] > div {
  border: 1px solid rgba(255, 229, 157, .16);
  background: radial-gradient(ellipse at 82% 0%, rgba(255, 211, 92, .15), transparent 44%), linear-gradient(135deg, #00537a, #033c58) !important;
}

/* Shared footer & quick-action controls. Logo treatment remains legible without editing inline markup. */
body.ap-inner footer.bg-\[\#0f0f1b\] {
  position: relative;
  overflow: hidden;
  padding-top: 68px;
  border-top: 0;
  color: rgba(255, 255, 255, .76);
  background:
    radial-gradient(ellipse at 78% 0%, rgba(255, 211, 92, .09), transparent 34%),
    #033c58 !important;
}
body.ap-inner footer.bg-\[\#0f0f1b\]::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 211, 92, .8), transparent);
  content: "";
}
body.ap-inner footer.bg-\[\#0f0f1b\] a { transition: color .2s ease, background-color .2s ease; }
body.ap-inner footer.bg-\[\#0f0f1b\] a:hover { color: #ffe59d; }
body.ap-inner footer.bg-\[\#0f0f1b\] img {
  filter: brightness(0) invert(1);
  mix-blend-mode: normal !important;
}
body.ap-inner #ap-capsule {
  z-index: 45;
  gap: 5px;
  max-width: calc(100vw - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
  padding: 6px;
  border: 1px solid rgba(0, 83, 122, .16);
  border-radius: 999px;
  background: rgba(255, 250, 237, .94);
  box-shadow: 0 12px 34px rgba(3, 60, 88, .2);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
}
body.ap-inner #ap-capsule button,
body.ap-inner #ap-capsule a {
  min-height: 44px;
  padding: 0 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}
body.ap-inner #ap-capsule .ap-capsule-menu { color: #245264; }
body.ap-inner #ap-capsule .ap-capsule-menu:hover { background: rgba(30, 82, 102, .09); }
body.ap-inner #ap-capsule .ap-capsule-consult { color: #fffaf0; background: #14566d; }
body.ap-inner #ap-capsule .ap-capsule-consult:hover { background: #0d445b; transform: translateY(-1px); }
body.ap-inner #ap-capsule .ap-capsule-line { color: #173f36; background: #91dcab; }
body.ap-inner #ap-capsule .ap-capsule-line:hover { background: #a7e8bb; transform: translateY(-1px); }
body.ap-inner .ap-contact-float {
  border: 1px solid rgba(255, 255, 255, .65);
  box-shadow: 0 12px 30px rgba(3, 60, 88, .22);
  transition: bottom .3s ease, transform .2s ease, box-shadow .2s ease, opacity .2s ease !important;
}
body.ap-inner .ap-contact-float:hover { box-shadow: 0 16px 36px rgba(3, 60, 88, .3); }
body.ap-inner.ap-capsule-active .ap-contact-float {
  bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
}

@media (min-width: 1024px) and (max-width: 1199px) {
  body.ap-inner #topnav > div { gap: 10px; padding-inline: 18px; }
  body.ap-inner #topnav .nav-link { padding-inline: 9px; font-size: 12px; }
}
@media (max-width: 1023px) {
  body.ap-inner .ap-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 24px;
  }
}
@media (max-width: 767px) {
  body.ap-inner .ap-inner-wordmark { width: 112px; }
  body.ap-inner .ap-menu-head .ap-home-logo img:first-child { width: 34px; height: 34px; }
  body.ap-inner .ap-menu-head .ap-home-logo img:last-child { width: 112px; }
  body.ap-inner #topnav { min-height: 68px; }
  body.ap-inner #topnav > div { min-height: 48px; }
  body.ap-inner main { padding-top: 68px; }
  body.ap-inner main > section.relative.bg-ap-deep > .container {
    padding-top: 50px;
    padding-bottom: 58px;
  }
  body.ap-inner main > section.relative.bg-ap-deep h1 {
    font-size: clamp(32px, 8.8vw, 46px);
    line-height: 1.38;
    letter-spacing: -.055em;
  }
  body.ap-inner main > section.relative.bg-ap-deep .grid.grid-cols-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  body.ap-inner .ap-menu-panel {
    padding-right: max(18px, env(safe-area-inset-right));
    padding-left: max(18px, env(safe-area-inset-left));
  }
  body.ap-inner .ap-menu-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 24px 0 !important;
  }
  body.ap-inner .ap-menu-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
  body.ap-inner .ap-menu-label { grid-column: 1 / -1; margin-bottom: 4px; }
  body.ap-inner .ap-menu-panel .mobile-nav-link { padding: 9px 12px; font-size: 15px; }
  body.ap-inner .ap-menu-footer {
    display: block;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }
  body.ap-inner .ap-menu-line { display: inline-block; min-width: 170px; text-align: center; }
  body.ap-inner .ap-menu-footer p { display: inline-block; margin-left: 12px; font-size: 11px; }
  body.ap-inner #ap-capsule {
    bottom: calc(9px + env(safe-area-inset-bottom, 0px));
    gap: 3px;
    padding: 5px;
    border-radius: 999px;
  }
  body.ap-inner #ap-capsule button,
  body.ap-inner #ap-capsule a {
    min-height: 42px;
    padding-inline: 10px;
    font-size: 11px;
  }
  body.ap-inner #ap-capsule .ap-capsule-menu { padding-inline: 9px; }
  body.ap-inner.ap-capsule-active .ap-contact-float {
    bottom: calc(69px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.ap-inner main .prose-article { font-size: 1rem; line-height: 1.9; }
  body.ap-inner main > .apx-scope .api-hero { padding-top: 28px; }
}
@media (max-width: 420px) {
  body.ap-inner #ap-capsule button,
  body.ap-inner #ap-capsule a { gap: 5px; padding-inline: 8px; font-size: 10px; }
  body.ap-inner .ap-menu-footer p { display: block; margin: 12px 0 0; }
}
@media (prefers-reduced-transparency: reduce) {
  body.ap-inner #topnav { background: #fff2ce !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.ap-inner #mobile-backdrop { background: rgba(8, 39, 55, .78); -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.ap-inner #ap-capsule { background: #fff7e4; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.ap-inner *,
  body.ap-inner *::before,
  body.ap-inner *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Shared A-home visual language: paper, sky, navy, and sunlight. */
body.ap-inner {
  background: #fbf7ec;
}
body.ap-inner #topnav {
  min-height: 84px;
  background: rgba(251, 247, 236, .96) !important;
  box-shadow: 0 8px 24px rgba(3, 60, 88, .055);
}
body.ap-inner #topnav > div {
  width: 100%;
  max-width: none;
  min-height: 64px;
  padding-inline: clamp(20px, 3.4vw, 48px);
}
body.ap-inner .ap-inner-brand { gap: 10px; }
body.ap-inner #nav-logo { width: 34px; height: 34px; }
body.ap-inner .ap-inner-wordmark { width: 110px; }
body.ap-inner #topnav .nav-link {
  min-height: 40px;
  border-radius: 999px;
  color: #355767 !important;
}
body.ap-inner #topnav .nav-link:hover,
body.ap-inner #topnav .nav-link[aria-current="page"] {
  color: #17495d !important;
  background: rgba(255, 255, 255, .72);
}
body.ap-inner #topnav a[href="https://lin.ee/aT9StbL"] {
  color: #fffaf0 !important;
  background: #00537a !important;
  box-shadow: 0 8px 18px rgba(3, 60, 88, .16);
}
body.ap-inner #topnav a[href="https://lin.ee/aT9StbL"]:hover {
  background: #033c58 !important;
}
body.ap-inner .ap-menu-trigger {
  display: none;
  width: auto !important;
  min-width: 96px;
  height: 42px !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px !important;
  border: 1px solid rgba(0, 83, 122, .2) !important;
  border-radius: 999px !important;
  color: #00537a !important;
  background: rgba(255, 255, 255, .78) !important;
  box-shadow: 0 6px 18px rgba(3, 60, 88, .1) !important;
  font: 700 11px/1 "Poppins", sans-serif;
  letter-spacing: .12em;
}
body.ap-inner #topnav .menu-bar {
  width: 17px;
  height: 1px;
  background: currentColor;
}
body.ap-inner #topnav .menu-bar:nth-child(2) {
  margin-left: -25px;
  transform: translateY(5px);
}
body.ap-inner main { padding-top: 84px; }

/* The mobile menu uses the same light glass surface and dark, readable links. */
body.ap-inner .ap-menu-panel {
  color: #0b1e34;
  background:
    radial-gradient(ellipse at 12% 4%, rgba(255,255,255,.94), transparent 37%),
    linear-gradient(135deg, #fbf7ec, #e4f2fb 55%, #fff0c9);
  border: 1px solid rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(26px) saturate(1.35);
  backdrop-filter: blur(26px) saturate(1.35);
}
body.ap-inner .ap-menu-panel::after {
  border-color: rgba(0, 83, 122, .12);
  box-shadow: 0 0 0 42px rgba(0, 83, 122, .025), 0 0 0 88px rgba(255, 211, 92, .05);
}
body.ap-inner .ap-menu-head { border-color: rgba(0, 83, 122, .14); }
body.ap-inner .ap-menu-head .ap-home-logo img:first-child { filter: none; }
body.ap-inner .ap-menu-head .ap-home-logo img:last-child {
  filter: brightness(0) saturate(100%) invert(15%) sepia(37%) saturate(1946%) hue-rotate(164deg) brightness(93%) contrast(102%);
}
body.ap-inner .ap-menu-close {
  display: inline-flex;
  width: auto;
  min-width: 108px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(0, 83, 122, .18);
  border-radius: 999px;
  color: #0b1e34;
  background: rgba(255, 255, 255, .78);
  white-space: nowrap;
}
body.ap-inner .ap-menu-close svg { flex: 0 0 18px; width: 18px; height: 18px; }
body.ap-inner .ap-menu-close span { font: 700 11px/1 "Poppins", sans-serif; letter-spacing: .12em; }
body.ap-inner .ap-menu-label {
  color: #17627a;
  border-color: rgba(0, 83, 122, .18);
}
body.ap-inner .ap-menu-panel .mobile-nav-link { color: #0b1e34 !important; }
body.ap-inner .ap-menu-panel .mobile-nav-link:hover,
body.ap-inner .ap-menu-panel .mobile-nav-link:focus-visible {
  color: #0b1e34 !important;
  background: rgba(0, 83, 122, .08);
}
body.ap-inner .ap-menu-footer { border-color: rgba(0, 83, 122, .14); }
body.ap-inner .ap-menu-footer p { color: #456b79; }
body.ap-inner .ap-menu-line { color: #173f50; background: #ffd35c; }
body.ap-inner .ap-menu-line:hover { background: #ffda80; }

/* Bring the older dark service/article heroes into the same light A palette. */
body.ap-inner main > section.relative.bg-ap-deep {
  color: #0b1e34 !important;
  background:
    radial-gradient(ellipse at 82% 12%, rgba(255, 211, 92, .26), transparent 32%),
    radial-gradient(ellipse at 14% 100%, rgba(151, 207, 228, .36), transparent 42%),
    linear-gradient(135deg, #fbf7ec 0%, #eaf5fb 62%, #e2f2fb 100%) !important;
}
body.ap-inner main > section.relative.bg-ap-deep::after {
  border-color: rgba(0, 83, 122, .12);
  box-shadow: 0 0 0 34px rgba(0, 83, 122, .035), 0 0 0 70px rgba(255, 211, 92, .07);
}
body.ap-inner main > section.relative.bg-ap-deep h1 {
  color: #0b1e34 !important;
}
body.ap-inner main > section.relative.bg-ap-deep h1 .text-ap-gold,
body.ap-inner main > section.relative.bg-ap-deep h1 .text-ap-orange,
body.ap-inner main > section.relative.bg-ap-deep .text-ap-gold,
body.ap-inner main > section.relative.bg-ap-deep .text-ap-orange {
  color: #a76b20 !important;
}
body.ap-inner main > section.relative.bg-ap-deep .text-white { color: #17495d !important; }
body.ap-inner main > section.relative.bg-ap-deep .text-gray-300 { color: #496873 !important; }
body.ap-inner main > section.relative.bg-ap-deep .text-gray-400 { color: #536b78 !important; }
body.ap-inner main > section.relative.bg-ap-deep nav { color: #536b78 !important; }
body.ap-inner main > section.relative.bg-ap-deep nav a { color: #355767; }
body.ap-inner main > section.relative.bg-ap-deep nav span[aria-current="page"] { color: #9a621d; }
body.ap-inner main > section.relative.bg-ap-deep .border-white\/15 { border-color: rgba(0, 83, 122, .16); }
body.ap-inner main > section.relative.bg-ap-deep a.border-white\/30 {
  color: #17495d !important;
  border-color: rgba(0, 83, 122, .25);
  background: rgba(255, 255, 255, .42);
}
body.ap-inner main > section.relative.bg-ap-deep a.border-white\/30:hover {
  color: #9a621d !important;
  border-color: #d6a547;
  background: rgba(255, 255, 255, .72);
}
body.ap-inner main > section[class*="bg-gradient-to-r"][class*="from-ap-deep"] {
  color: #fffaf0;
  background:
    radial-gradient(ellipse at 78% 0%, rgba(255, 211, 92, .12), transparent 34%),
    linear-gradient(135deg, #00537a, #033c58) !important;
}

/* Match the homepage's open, light footer instead of ending inner pages on navy. */
body.ap-inner footer.bg-\[\#0f0f1b\] {
  padding-top: 78px;
  border-color: rgba(0, 83, 122, .14);
  color: #355767;
  background: #fff !important;
}
body.ap-inner footer.bg-\[\#0f0f1b\]::before {
  background: linear-gradient(90deg, transparent, rgba(255, 211, 92, .8), transparent);
}
body.ap-inner footer.bg-\[\#0f0f1b\] img {
  filter: none !important;
  mix-blend-mode: normal !important;
}
body.ap-inner footer.bg-\[\#0f0f1b\] .text-gray-400,
body.ap-inner footer.bg-\[\#0f0f1b\] .text-gray-500 { color: #607b86 !important; }
body.ap-inner footer.bg-\[\#0f0f1b\] .bg-gray-800 { color: #17495d; background: #edf5f4; }
body.ap-inner footer.bg-\[\#0f0f1b\] a { color: #355767 !important; }
body.ap-inner footer.bg-\[\#0f0f1b\] a:hover { color: #9a621d !important; }
body.ap-inner footer.bg-\[\#0f0f1b\] .border-gray-800\/60 { border-color: rgba(0, 83, 122, .14); }

body.ap-inner #ap-capsule .ap-capsule-consult { background: #00537a; }
body.ap-inner #ap-capsule .ap-capsule-line { background: #ffd35c; }
body.ap-inner .ap-contact-float {
  color: #fffaf0;
  background: #00537a !important;
}
body.ap-inner .ap-contact-float:hover { background: #033c58 !important; }

@media (max-width: 767px) {
  body.ap-inner #topnav { min-height: 72px; }
  body.ap-inner #topnav > div { min-height: 52px; }
  body.ap-inner .ap-inner-wordmark { width: 110px; }
  body.ap-inner main { padding-top: 72px; }
  body.ap-inner main > section.relative.bg-ap-deep > .container {
    padding-top: 52px;
    padding-bottom: 58px;
  }
}
@media (max-width: 1023px) {
  body.ap-inner .ap-menu-trigger { display: inline-flex; }
}

/* Extend the A-home narrative language through inner-page content. */
body.ap-inner main > section.relative.bg-ap-deep {
  display: flex;
  min-height: clamp(540px, 66svh, 740px);
  align-items: center;
  isolation: isolate;
}
body.ap-inner main > section.relative.bg-ap-deep::before {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: clamp(36px, 7vw, 112px);
  width: min(31vw, 420px);
  height: min(27vw, 350px);
  min-height: 250px;
  border: 1px solid rgba(0, 83, 122, .2);
  border-radius: 32px 10px 32px 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.45)),
    repeating-linear-gradient(0deg, transparent 0 35px, rgba(0,83,122,.075) 36px 37px),
    repeating-linear-gradient(90deg, transparent 0 52px, rgba(0,83,122,.06) 53px 54px);
  box-shadow: 18px 22px 0 rgba(0,83,122,.055), 0 26px 70px rgba(3,60,88,.08);
  content: "";
  pointer-events: none;
  transform: translateY(-36%) rotate(4deg);
  animation: ap-inner-art-drift 12s ease-in-out infinite;
}
body.ap-inner main > section.relative.bg-ap-deep::after {
  z-index: 0;
  right: clamp(100px, 15vw, 230px);
  bottom: -300px;
  width: min(48vw, 620px);
  border-color: rgba(0, 83, 122, .1);
  box-shadow: 0 0 0 34px rgba(0,83,122,.025), 0 0 0 70px rgba(255,211,92,.06);
}
body.ap-inner main > section.relative.bg-ap-deep > .container {
  z-index: 1;
  width: min(1160px, calc(100% - 64px));
  max-width: none;
}
body.ap-inner main > section.relative.bg-ap-deep h1 {
  max-width: min(780px, 58vw);
  font-size: clamp(40px, 4.7vw, 60px);
  line-height: 1.24;
}
body.ap-inner main > section.relative.bg-ap-deep h1 ~ p {
  max-width: min(660px, 56vw);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.9;
}
body.ap-inner main > section.relative.bg-ap-deep h1 {
  text-wrap: balance;
}
body.ap-inner main > section.relative.bg-ap-deep:has(> .container.text-center)::before {
  display: none;
}
body.ap-inner main > section.relative.bg-ap-deep:has(> .container.text-center) > .container > h1 {
  margin-inline: auto;
}
body.ap-inner main > section.relative.bg-ap-deep:has(> .container.text-center) > .absolute[style*="#0a0a1a"] {
  display: none;
}
body.ap-inner main > section.relative.bg-ap-deep:has(> .container.text-center) .container > span[class*="bg-white/5"] {
  color: #805719 !important;
  border-color: rgba(0, 83, 122, .16);
  background: rgba(255, 255, 255, .68);
}
body.ap-inner main > section.relative.bg-ap-deep .container > p.font-inter,
body.ap-inner main > section.relative.bg-ap-deep .container > p[class*="tracking-"] {
  color: #98631d !important;
}

/* Keep the alternating paper, sky, and warm-white rhythm from the homepage. */
body.ap-inner main > section.bg-white {
  background-color: #fffdf8 !important;
}
body.ap-inner main > section.bg-gray-50 {
  background-color: #f0f6f6 !important;
}
body.ap-inner main > section[class*="bg-gradient-to-b"][class*="from-gray-50"] {
  background-image: linear-gradient(180deg, #edf5f6 0%, #fbf7ec 100%) !important;
}
body.ap-inner main > section[class*="bg-[#FFFBEB]"] {
  background-color: #fff7df !important;
}

/* Bring the security product family out of its legacy dark theme as well. */
body.ap-inner main > .apx-scope {
  --apx-ink: #f0f6f5;
  --apx-surface: rgba(255, 255, 255, .82);
  --apx-surface-2: #fffdf8;
  --apx-line: rgba(0, 83, 122, .14);
  --apx-line-strong: rgba(0, 83, 122, .26);
  --apx-amber: #98631d;
  --apx-text: #17495d;
  --apx-muted: #536b78;
  color: var(--apx-text);
  background:
    radial-gradient(ellipse at 88% 0%, rgba(255, 211, 92, .12), transparent 35%),
    linear-gradient(145deg, #edf5f6, #fbf7ec) !important;
}
body.ap-inner main > .apx-scope .apx-h2 { color: #0b1e34; }
body.ap-inner main > .apx-scope .apx-brand,
body.ap-inner main > .apx-scope .apx-layer,
body.ap-inner main > .apx-scope .apx-vendor {
  border-color: var(--apx-line);
}
body.ap-inner main > .apx-scope .apx-brand {
  border-radius: 24px 24px 24px 8px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 14px 32px rgba(3, 60, 88, .055);
}
body.ap-inner main > .apx-scope .apx-brand:hover,
body.ap-inner main > .apx-scope .apx-brand:focus-within {
  background: #fffdf8;
  box-shadow: 0 18px 36px rgba(3, 60, 88, .09);
  transform: none;
}
body.ap-inner main > .apx-scope .apx-tag {
  color: #805719;
  border-color: rgba(152, 99, 29, .3);
  background: #fff4cf;
}
body.ap-inner main > .apx-scope .apx-vendor {
  color: #17495d;
  background: rgba(255, 255, 255, .7);
}
body.ap-inner main > .apx-scope .apx-list a { color: #00537a; }
body.ap-inner main > .apx-scope .apx-list a:hover { border-bottom-color: #00537a; }
body.ap-inner main > .apx-scope .apx-note { border-color: var(--apx-line); }
body.ap-inner main > .apx-scope .apx-note a { color: #00537a; }

/* More intentional editorial hierarchy, matching the homepage's section labels. */
body.ap-inner main section h2 {
  color: #0b1e34;
  font-size: clamp(28px, 3.1vw, 42px);
  font-weight: 850;
  line-height: 1.35;
}
body.ap-inner main section h3 {
  color: #123c53;
  font-weight: 800;
  line-height: 1.5;
}
body.ap-inner main section p,
body.ap-inner main section li {
  text-wrap: pretty;
}
body.ap-inner main section p[class*="tracking-"][class*="text-ap-orange"] {
  color: #a76b20 !important;
  font-size: 11px;
  letter-spacing: .2em;
}

/* Give content cards the same soft, illustrated surface language. */
body.ap-inner main section div[class*="rounded-"][class*="border"][class*="bg-white"],
body.ap-inner main section div[class*="rounded-"][class*="border"][class*="bg-gray-50"],
body.ap-inner main section article[class*="rounded-"][class*="border"] {
  border-color: rgba(0, 83, 122, .14);
  border-radius: 26px 26px 26px 9px;
  box-shadow: 0 14px 34px rgba(3, 60, 88, .055);
}
body.ap-inner main section div[class*="rounded-"][class*="border"][class*="bg-white"]:hover,
body.ap-inner main section div[class*="rounded-"][class*="border"][class*="bg-gray-50"]:hover,
body.ap-inner main section article[class*="rounded-"][class*="border"]:hover {
  border-color: rgba(0, 83, 122, .25);
  box-shadow: 0 18px 38px rgba(3, 60, 88, .09);
  transform: none;
}
body.ap-inner main section [class*="bg-yellow-100"],
body.ap-inner main section [class*="bg-orange-100"] {
  color: #845d18 !important;
  background: #fff0bd !important;
}
body.ap-inner main section [class*="bg-blue-100"],
body.ap-inner main section [class*="bg-teal-100"] {
  color: #155b73 !important;
  background: #dff0f2 !important;
}
body.ap-inner main section [class*="bg-purple-100"] {
  color: #285a6c !important;
  background: #e8eff3 !important;
}

/* Calm, stable interactions throughout content pages. */
body.ap-inner main a[class*="rounded-full"][class*="bg-ap-gold"]:hover,
body.ap-inner main a[class*="rounded-full"][class*="bg-ap-navy"]:hover {
  transform: none;
  box-shadow: 0 10px 22px rgba(3, 60, 88, .13);
}
body.ap-inner main details {
  border-color: rgba(0, 83, 122, .14);
  border-radius: 18px 18px 18px 7px;
  background: rgba(255, 255, 255, .82);
}
body.ap-inner main details[open] {
  border-color: rgba(214, 165, 71, .55);
  background: #fffdf8;
  box-shadow: 0 12px 28px rgba(3, 60, 88, .06);
}
body.ap-inner main table {
  overflow: hidden;
  border: 1px solid rgba(0, 83, 122, .14);
  border-radius: 18px;
  background: #fffdf8;
}
body.ap-inner main th {
  color: #17495d;
  background: #eaf3f5;
}

@keyframes ap-inner-art-drift {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -12px; }
}

@media (max-width: 1023px) {
  body.ap-inner main > section.relative.bg-ap-deep::before {
    right: 4vw;
    width: 29vw;
    height: 25vw;
    min-height: 210px;
    opacity: .62;
  }
  body.ap-inner main > section.relative.bg-ap-deep h1 { max-width: 60%; }
  body.ap-inner main > section.relative.bg-ap-deep h1 ~ p { max-width: 58%; }
}
@media (max-width: 767px) {
  body.ap-inner main > section.relative.bg-ap-deep {
    min-height: 0;
    align-items: stretch;
  }
  body.ap-inner main > section.relative.bg-ap-deep::before {
    top: auto;
    right: -72px;
    bottom: -96px;
    width: 230px;
    height: 190px;
    min-height: 0;
    opacity: .42;
    transform: rotate(4deg);
  }
  body.ap-inner main > section.relative.bg-ap-deep::after {
    right: -120px;
    bottom: -250px;
    width: 390px;
  }
  body.ap-inner main > section.relative.bg-ap-deep > .container {
    width: calc(100% - 40px);
    padding-top: 78px;
  }
  body.ap-inner main > section.relative.bg-ap-deep h1,
  body.ap-inner main > section.relative.bg-ap-deep h1 ~ p {
    max-width: 100%;
  }
  body.ap-inner main > section.relative.bg-ap-deep nav {
    display: none;
  }
  body.ap-inner main > section.relative.bg-ap-deep h1 {
    font-size: clamp(28px, 8.2vw, 40px);
    line-height: 1.35;
  }
  body.ap-inner main section h2 {
    font-size: clamp(26px, 7vw, 34px);
  }
  body.ap-inner main section div[class*="rounded-"][class*="border"][class*="bg-white"],
  body.ap-inner main section div[class*="rounded-"][class*="border"][class*="bg-gray-50"],
  body.ap-inner main section article[class*="rounded-"][class*="border"] {
    border-radius: 22px 22px 22px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.ap-inner main > section.relative.bg-ap-deep::before {
    animation: none;
  }
}

/* Service pages follow the homepage's clear, chapter-based reading rhythm. */
.ap-service-journey {
  position: relative;
  z-index: 2;
  padding: 22px clamp(20px, 5vw, 72px) 25px;
  border-bottom: 1px solid rgba(0, 83, 122, .1);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 211, 92, .24), transparent 32%),
    linear-gradient(105deg, #fffaf0 0%, #f8f7ef 50%, #edf6f5 100%);
}
.ap-service-journey__inner {
  max-width: 1240px;
  margin: 0 auto;
}
.ap-service-journey__intro {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.ap-service-journey__eyebrow {
  margin: 0;
  color: #17627a;
  font: 800 10px/1.3 Inter, sans-serif;
  letter-spacing: .16em;
}
.ap-service-journey__hint {
  margin: 0;
  color: #536b78;
  font-size: 12px;
}
.ap-service-journey__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ap-service-journey__link {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 83, 122, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  color: #17495d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}
.ap-service-journey__number {
  display: inline-grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  border-radius: 50%;
  background: #fff2ce;
  color: #815922;
  font: 800 10px/1 Inter, sans-serif;
}
.ap-service-journey__label {
  flex: 1;
}
.ap-service-journey__arrow {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: #9a6a27;
}
.ap-service-journey__link:hover,
.ap-service-journey__link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(214, 165, 71, .72);
  background: #fff;
  color: #033c58;
}
.ap-service-journey__link:focus-visible {
  outline: 3px solid rgba(214, 165, 71, .4);
  outline-offset: 3px;
}
body.ap-inner :target {
  scroll-margin-top: 96px;
}
@media (max-width: 767px) {
  .ap-service-journey {
    padding: 17px 20px 20px;
  }
  .ap-service-journey__intro {
    display: block;
    margin-bottom: 12px;
  }
  .ap-service-journey__hint {
    margin-top: 4px;
  }
  .ap-service-journey__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .ap-service-journey__link {
    min-height: 46px;
    gap: 7px;
    padding: 7px 9px;
    font-size: 12px;
  }
  .ap-service-journey__number {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
    font-size: 9px;
  }
  .ap-service-journey__arrow {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ap-service-journey__link {
    transition: none;
  }
  .ap-service-journey__link:hover,
  .ap-service-journey__link:focus-visible {
    transform: none;
  }
}

/* Contrast pass: clarify supporting labels on light sections and headings on dark CTAs. */
body.ap-inner main > section:not(.relative.bg-ap-deep):not([class*="bg-ap-deep"]):not([class*="bg-ap-navy"]):not([class*="from-ap-deep"]) .text-gray-400 {
  color: #5b707c !important;
}
body.ap-inner main > section:not(.relative.bg-ap-deep):not([class*="bg-ap-deep"]):not([class*="bg-ap-navy"]):not([class*="from-ap-deep"]) .text-ap-orange {
  color: #925710 !important;
}
body.ap-inner main > section:not(.relative.bg-ap-deep):not([class*="bg-ap-deep"]):not([class*="bg-ap-navy"]):not([class*="from-ap-deep"]) [class~="text-ap-gold/30"],
body.ap-inner main > section:not(.relative.bg-ap-deep):not([class*="bg-ap-deep"]):not([class*="bg-ap-navy"]):not([class*="from-ap-deep"]) [class~="text-ap-gold/40"] {
  color: #9b6818 !important;
}
body.ap-inner main > section[class*="bg-ap-navy"],
body.ap-inner main > section[class*="bg-ap-deep"]:not(.relative),
body.ap-inner main > section[class*="from-ap-deep"]:not(.relative.bg-ap-deep) {
  color: #fffaf0;
}
body.ap-inner main > section[class*="bg-ap-navy"] h1,
body.ap-inner main > section[class*="bg-ap-navy"] h2,
body.ap-inner main > section[class*="bg-ap-navy"] h3,
body.ap-inner main > section[class*="bg-ap-navy"] h4,
body.ap-inner main > section[class*="bg-ap-deep"]:not(.relative) h1,
body.ap-inner main > section[class*="bg-ap-deep"]:not(.relative) h2,
body.ap-inner main > section[class*="bg-ap-deep"]:not(.relative) h3,
body.ap-inner main > section[class*="bg-ap-deep"]:not(.relative) h4,
body.ap-inner main > section[class*="from-ap-deep"]:not(.relative.bg-ap-deep) h1,
body.ap-inner main > section[class*="from-ap-deep"]:not(.relative.bg-ap-deep) h2,
body.ap-inner main > section[class*="from-ap-deep"]:not(.relative.bg-ap-deep) h3,
body.ap-inner main > section[class*="from-ap-deep"]:not(.relative.bg-ap-deep) h4 {
  color: #fffaf0 !important;
}
body.ap-inner main > section#service-contact h2 {
  color: #fffaf0;
}
body.ap-inner main > section#service-contact p {
  color: #e3edf2;
}
body.ap-inner main > section[class*="bg-ap-navy"] .text-ap-orange,
body.ap-inner main > section[class*="bg-ap-deep"]:not(.relative) .text-ap-orange,
body.ap-inner main > section[class*="from-ap-deep"]:not(.relative.bg-ap-deep) .text-ap-orange {
  color: #ffe59d !important;
}
body.ap-inner main > section[class*="bg-ap-navy"] .text-gray-300,
body.ap-inner main > section[class*="bg-ap-navy"] .text-gray-400,
body.ap-inner main > section[class*="bg-ap-navy"] .text-gray-500,
body.ap-inner main > section[class*="bg-ap-deep"]:not(.relative) .text-gray-300,
body.ap-inner main > section[class*="bg-ap-deep"]:not(.relative) .text-gray-400,
body.ap-inner main > section[class*="bg-ap-deep"]:not(.relative) .text-gray-500,
body.ap-inner main > section[class*="from-ap-deep"]:not(.relative.bg-ap-deep) .text-gray-300,
body.ap-inner main > section[class*="from-ap-deep"]:not(.relative.bg-ap-deep) .text-gray-400,
body.ap-inner main > section[class*="from-ap-deep"]:not(.relative.bg-ap-deep) .text-gray-500 {
  color: #d8e8e9 !important;
}
/* Workshop hero: keep partnership details readable after the dark hero becomes light. */
body.ap-inner main > section.relative.bg-ap-deep .container > div.bg-white\/5 {
  color: #fffaf0;
  border-color: rgba(0, 83, 122, .2) !important;
  background: #00537a !important;
  box-shadow: 0 12px 28px rgba(3, 60, 88, .15);
}
body.ap-inner main > section.relative.bg-ap-deep .container > div.bg-white\/5 .text-white\/80,
body.ap-inner main > section.relative.bg-ap-deep .container > div.bg-white\/5 .text-white {
  color: #fffaf0 !important;
}
body.ap-inner main > section.relative.bg-ap-deep .container > div.bg-white\/5 .text-white\/30 {
  color: #ffe59d !important;
}
body.ap-inner main > section.relative.bg-ap-deep .container > div.bg-white\/5 .text-white strong {
  color: #fffaf0 !important;
}
body.ap-inner main > section.relative.bg-ap-deep .text-white\/70 {
  color: #496873 !important;
}
body.ap-inner main > section.relative.bg-ap-deep .text-gray-200 {
  color: #496873 !important;
}
body.ap-inner main > section.relative.bg-ap-deep .container > div.bg-white\/5 img.ap-camp-logo-word {
  filter: brightness(0) invert(1);
}
body.ap-inner main > section.relative.bg-ap-deep h1 .text-transparent {
  color: #925710 !important;
  background: none !important;
  -webkit-text-fill-color: #925710 !important;
  -webkit-background-clip: initial !important;
  animation: none !important;
}

/* Tablet-width headers need extra clearance; stack the workshop partner line before it clips. */
@media (min-width: 768px) and (max-width: 1199px) {
  body.ap-inner main > section.relative.bg-ap-deep > .container {
    padding-top: 112px;
  }
  body.ap-inner main > section.relative.bg-ap-deep h1 {
    max-width: min(620px, 58vw);
  }
  body.ap-inner main > section.relative.bg-ap-deep h1 ~ p {
    max-width: min(540px, 52vw);
  }
  body.ap-inner main > section.relative.bg-ap-deep .container > div.bg-white\/5 {
    display: flex;
    width: fit-content;
    max-width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  body.ap-inner main > section.relative.bg-ap-deep .container > div.bg-white\/5 > span:last-child {
    display: block;
    max-width: 100%;
    line-height: 1.65;
  }
}
