
:root {
  --ap-ink: #10222a;
  --ap-muted: #40545c;
  --ap-line: #dbe7eb;
  --ap-soft: #f6fbfc;
  --ap-tint: #f3f8fa;
  --ap-brand: #0b6671;
  --ap-brand-dark: #0a4f58;
  --ap-white: #ffffff;
  --ap-radius: 8px;
  --ap-section-space: 46px;
  --ap-body: Arial, Helvetica, sans-serif;
}

html,
body {
  margin: 0;
  background: #ffffff;
}

.aggregate-page {
  overflow: hidden;
  background: #ffffff;
  color: var(--ap-ink);
  font-family: var(--ap-body);
  font-size: 16px;
  line-height: 1.6;
}

.aggregate-page *,
.aggregate-page *::before,
.aggregate-page *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.aggregate-page img {
  display: block;
  max-width: 100%;
}

.aggregate-page a {
  color: inherit;
}

.aggregate-page h1,
.aggregate-page h2,
.aggregate-page h3,
.aggregate-page p {
  margin-top: 0;
}

.aggregate-page h1,
.aggregate-page h2,
.aggregate-page h3 {
  color: var(--ap-ink);
  font-family: var(--ap-body);
  overflow-wrap: anywhere;
}

.aggregate-page h1 {
  margin-bottom: 16px;
  font-size: 42px;
  line-height: 1.12;
  font-weight: 800;
}

.aggregate-page h2 {
  margin-bottom: 14px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
}

.aggregate-page h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
}

.aggregate-page p {
  margin-bottom: 14px;
  color: var(--ap-muted);
  font-size: 16px;
}

.ap-shell {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: var(--ap-section-space) 0;
}

.ap-title {
  padding: 30px 22px 26px;
  border-bottom: 1px solid var(--ap-line);
  background: #ffffff;
  text-align: center;
}

.aggregate-page .ap-title h1,
.aggregate-page .ap-title h2 {
  max-width: 980px;
  margin: 0 auto;
  color: var(--ap-ink);
  font-size: 30px;
  line-height: 1.25;
  font-weight: 800;
  text-transform: none;
}

.ap-title a {
  text-decoration: none;
}

.ap-hero {
  border-bottom: 1px solid var(--ap-line);
  background: var(--ap-soft);
}

.ap-hero .ap-shell,
.ap-hero-split .ap-shell {
  min-height: 480px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 42px;
  align-items: center;
}

.ap-hero-copy {
  min-width: 0;
}

.aggregate-page .ap-hero-heading {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: 38px;
}

.ap-hero-eyebrow,
.ap-kicker,
.ap-keywords a,
.ap-story-tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ap-line);
  background: #ffffff;
  color: var(--ap-brand-dark);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
}

.ap-hero-eyebrow,
.ap-kicker {
  margin-bottom: 14px;
  padding: 7px 10px;
  border-radius: 3px;
  background: var(--ap-tint);
}

.ap-keywords {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0 0 16px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.ap-keywords a {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 4px;
  text-transform: none;
}

.ap-hero-copy > div:not(.ap-actions) {
  margin: 18px 0;
}

.ap-hero-copy > div:not(.ap-actions) p {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.58;
}

.ap-hero-copy > div:not(.ap-actions) a {
  color: var(--ap-brand-dark);
  font-weight: 800;
  text-decoration-color: var(--ap-brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.ap-actions,
.btnrow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.ap-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--ap-brand);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.ap-btn-main {
  background: var(--ap-brand);
  color: #ffffff !important;
}

.ap-btn-alt {
  background: #ffffff;
  color: var(--ap-brand-dark) !important;
}

.ap-hero-image {
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius);
  background: #ffffff;
}

.ap-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ap-hero-background {
  min-height: 480px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.ap-hero-background .ap-shell {
  min-height: 480px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.ap-hero-background .ap-hero-copy {
  width: min(650px, 58%);
  position: relative;
  z-index: 2;
}

.ap-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #ffffff;
}

.ap-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ap-hero-image-right .ap-hero-bg {
  display: flex;
  justify-content: flex-end;
}

.ap-hero-image-right .ap-hero-bg img {
  width: 68%;
  object-position: center;
}

.ap-hero-image-right .ap-hero-copy {
  width: 50%;
  max-width: 590px;
}

.ap-hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.97) 42%, rgba(255, 255, 255, 0.88) 48%, rgba(255, 255, 255, 0.56) 58%, rgba(255, 255, 255, 0.16) 70%, rgba(255, 255, 255, 0) 82%);
}

.ap-center {
  max-width: 820px;
  margin: 0 0 26px;
  text-align: left;
}

.ap-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ap-benefit,
.ap-option,
.ap-cap,
.ap-story,
.ap-quote {
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius);
  background: #ffffff;
}

.ap-benefit,
.ap-option {
  min-height: 168px;
  padding: 18px;
}

.ap-badge,
.ap-icon {
  display: inline-flex;
  min-width: 30px;
  height: 30px;
  margin-bottom: 14px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 1px solid var(--ap-line);
  border-radius: 50%;
  background: var(--ap-tint);
  color: var(--ap-brand-dark);
  font-size: 12px;
  font-weight: 800;
}

.ap-media,
.ap-options,
.ap-articles,
.ap-feedback,
.ap-faq {
  border-top: 1px solid var(--ap-line);
  background: #ffffff;
}

.ap-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.ap-media-frame {
  aspect-ratio: 4 / 3;
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius);
  background: var(--ap-soft);
}

.ap-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ap-video {
  aspect-ratio: 16 / 9;
  padding: 0;
}

.ap-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.ap-video.ap-vertical {
  max-width: 340px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
}

.ap-list {
  margin: 20px 0;
  border-top: 1px solid var(--ap-line);
}

.ap-list p {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--ap-line);
}

.ap-options {
  background: #ffffff;
}

.ap-cap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ap-cap {
  min-height: 132px;
  padding: 17px;
  background: var(--ap-soft);
}

.ap-cap p {
  margin: 0;
}

.ap-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.ap-story-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ap-story-grid-2 .ap-story-image {
  height: 230px;
}

.ap-story {
  display: flex;
  min-width: 0;
  min-height: 390px;
  flex-direction: column;
  overflow: hidden;
  border-top: 5px solid var(--ap-brand);
}

.ap-story-image {
  height: 190px;
  position: relative;
  overflow: hidden;
  background: var(--ap-soft);
}

.ap-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.ap-story:hover .ap-story-image img {
  transform: scale(1.02);
}

.ap-story-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 9px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.94);
}

.ap-story-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.ap-story-body a {
  margin-top: auto;
  color: var(--ap-brand-dark);
  font-weight: 800;
  text-underline-offset: 3px;
}

.ap-quote {
  margin: 0;
  padding: 20px;
}

.ap-quote cite {
  color: var(--ap-brand-dark);
  font-style: normal;
  font-weight: 800;
}

.ap-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 48px;
}

.ap-faq details {
  border-top: 1px solid var(--ap-line);
}

.ap-faq details:last-child {
  border-bottom: 1px solid var(--ap-line);
}

.ap-faq summary {
  cursor: pointer;
  padding: 17px 32px 17px 0;
  color: var(--ap-ink);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 800;
}

.ap-faq details p {
  margin: 0;
  padding: 0 32px 18px 0;
}

.ap-closing {
  border-top: 1px solid var(--ap-line);
  background: var(--ap-tint);
}

.ap-closing .ap-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.ap-closing h2 {
  margin: 0;
}

.ap-footer {
  padding: 22px;
  border-top: 1px solid var(--ap-line);
  background: #ffffff;
  color: var(--ap-muted);
  text-align: center;
}

.reveal {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.reveal:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 64, 73, 0.06);
}

@media (max-width: 900px) {
  .ap-shell {
    width: min(100% - 32px, 720px);
    padding: 42px 0;
  }

  .ap-hero .ap-shell,
  .ap-hero-split .ap-shell,
  .ap-media-grid,
  .ap-faq-grid {
    grid-template-columns: 1fr;
  }

  .ap-hero .ap-shell,
  .ap-hero-split .ap-shell {
    gap: 28px;
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .ap-hero-background,
  .ap-hero-background .ap-shell {
    min-height: 520px;
  }

  .ap-hero-background .ap-hero-copy {
    width: min(620px, 82%);
  }

  .ap-hero-background::after {
    width: auto;
  }

  .ap-hero-image-right .ap-hero-bg img {
    width: 100%;
  }

  .aggregate-page h1 {
    font-size: 36px;
  }

  .aggregate-page h2,
  .aggregate-page .ap-hero-heading {
    font-size: 28px;
  }

  .ap-hero-image {
    aspect-ratio: 16 / 10;
  }

  .ap-grid-3,
  .ap-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ap-grid-3 > :last-child:nth-child(odd),
  .ap-story-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .ap-story {
    min-height: 0;
  }

  .ap-story-image {
    height: 220px;
  }

  .ap-closing .ap-shell {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  :root {
    --ap-section-space: 38px;
  }

  .ap-shell {
    width: calc(100% - 32px);
  }

  .ap-title {
    padding: 24px 16px 20px;
  }

  .aggregate-page .ap-title h1,
  .aggregate-page .ap-title h2 {
    font-size: 26px;
  }

  .aggregate-page h1 {
    font-size: 30px;
  }

  .aggregate-page h2,
  .aggregate-page .ap-hero-heading {
    font-size: 23px;
  }

  .aggregate-page h3 {
    font-size: 18px;
  }

  .ap-hero .ap-shell,
  .ap-hero-split .ap-shell {
    min-height: 0;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .ap-hero-background,
  .ap-hero-background .ap-shell {
    min-height: 520px;
  }

  .ap-hero-background .ap-hero-copy {
    width: 100%;
  }

  .ap-hero-background::after {
    width: 100%;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: none;
  }

  .ap-hero-copy > div:not(.ap-actions) p {
    font-size: 16px;
  }

  .ap-actions {
    display: grid;
  }

  .ap-btn {
    width: 100%;
  }

  .ap-grid-3,
  .ap-story-grid,
  .ap-cap-grid {
    grid-template-columns: 1fr;
  }

  .ap-grid-3 > :last-child:nth-child(odd),
  .ap-story-grid > :last-child:nth-child(odd) {
    grid-column: auto;
  }

  .ap-media-grid,
  .ap-faq-grid {
    gap: 26px;
  }

  .ap-story-image {
    height: 210px;
  }

  .ap-closing .ap-shell {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .ap-story-image img {
    transition: none;
  }

  .reveal:hover,
  .ap-story:hover .ap-story-image img {
    transform: none;
  }
}
