/* Sector-first homepage, retaining the approved Manrope visual system. */
html:has(body.home), body.home { overflow-x: clip; }
body.home .sector-bar {
  position: sticky;
  top: var(--home-header-height, 115px);
  z-index: 90;
}
body.home .sector-bar .sector-bar-inner {
  display: block;
  padding-block: 12px;
}
.sector-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.sector-label { color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; }
.sector-picker { display: none; }
body.home main > section {
  scroll-margin-top: calc(var(--home-header-height, 115px) + 88px);
}
body.home .hero { padding-top: 48px; padding-bottom: 48px; }
body.home .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 40px; }
body.home .hero h1 { max-width: 16em; }
body.home .hero-visual .hero-devices { width: 112%; margin-left: -6%; max-width: none; }
body.home .hero-logos.captioned {
  background: var(--surface); padding: 24px; border-radius: 12px;
  gap: 24px; margin-top: 40px;
}
body.home .hero-logos.captioned figure { margin: 0; }
body.home .hero-logos.captioned img {
  filter: grayscale(1); height: 56px; max-width: 100px; width: auto; object-fit: contain;
}
body.home .textlink::after { content: none; }
.home-overview { background: var(--teal-900); color: #fff; padding-block: var(--space-section); }
.home-overview-head { max-width: 640px; margin-bottom: 40px; }
.home-overview-head .eyebrow { display: block; margin-bottom: 16px; color: #fff; }
.home-overview-head h2 { margin: 0 0 20px; color: #fff; }
.home-overview-head p { color: #fff; font-size: 18px; line-height: 1.65; }
.home-overview-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: start; gap: 64px; }
.home-accordion details { border-top: 1px solid rgb(255 255 255 / 25%); }
.home-accordion details:last-child { border-bottom: 1px solid rgb(255 255 255 / 25%); }
.home-accordion summary {
  cursor: pointer; list-style: none; display: flex; gap: 16px;
  align-items: center; justify-content: space-between; padding: 22px 0;
  font-size: 22px; font-weight: 700; color: #fff;
}
.home-accordion summary::-webkit-details-marker { display: none; }
.home-accordion summary span::after { content: '+'; font-weight: 400; }
.home-accordion details[open] summary { color: #fff; }
.home-accordion details[open] summary span::after { content: '−'; }
.home-accordion summary:focus-visible {
  outline: 3px solid #fff; outline-offset: 5px; border-radius: 4px;
}
.home-detail-body { padding: 0 0 24px; }
.home-detail-body p { color: #fff; font-size: 18px; line-height: 1.65; margin: 0; }
.home-overview a:focus-visible { outline-color: #fff; }
.home-overview-image {
  margin: 0; background: transparent; min-height: 470px;
  padding: 32px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 24px;
}
.home-overview-image img { width: 100%; height: 340px; object-fit: contain; }
.home-overview-image.is-phone img { max-width: 210px; }
.home-overview-image figcaption { font-size: 14px; color: #fff; }
.home-platform-action { margin-top: 32px; }
.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 44px;
  background: rgb(255 255 255 / 24%);
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 12px;
  overflow: hidden;
}
.home-feature-card {
  padding: 24px;
  background: var(--teal-900);
}
.home-feature-card > span {
  display: none;
}
.home-feature-card h3 { margin: 0 0 10px; color: #fff; font-size: 23px; }
.home-feature-card p { max-width: 48ch; margin: 0; color: rgb(255 255 255 / 82%); font-size: 16px; line-height: 1.55; }
.home-tools-note {
  max-width: 920px;
  margin: 30px 0 0;
  color: rgb(255 255 255 / 82%);
  font-size: 16px;
  line-height: 1.6;
}
.home-tools-note b { color: #fff; margin-right: 8px; }
.home-journeys { text-align: center; background: #fff; color: var(--ink); }
.home-journeys h2 { margin: 16px 0 32px; }
.home-sector-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.home-sector-grid a {
  display: flex; align-items: center; justify-content: center;
  padding: 16px; min-height: 72px; color: #fff; text-decoration: none;
  background: var(--teal-900); border: 1px solid var(--teal-900); border-radius: var(--r-sm);
  font-size: 18px; font-weight: 700; line-height: 1.4;
  transition: background .15s ease, border-color .15s ease;
}
.home-sector-grid a:hover { background: #f5f5f5; border-color: #f5f5f5; }
.home-conversation { margin-top: 32px; }
.home-conversation p { margin: 0 0 16px; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.home-video { background: #fff; }
.home-inline-video .video-play:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
.home-inline-video .video-play:hover img { transform: none; }
.home-closing { padding-top: 0; }
.home-closing-panel { border: 1px solid var(--rule); border-radius: 12px; padding: 48px 40px; }
.home-closing-mark { display: block; width: 51px; height: auto; margin: 0 auto 16px; }
.home-closing h2 { max-width: 760px; margin: 0 auto 20px; }
.home-closing h2 span { color: var(--teal-900); }
.home-closing-lede { max-width: 620px; margin: 0 auto 32px; color: var(--ink-2); font-size: 18px; line-height: 1.5; }
body.home .home-closing .home-sector-grid a { border-color: var(--rule); }
body.home .home-closing .home-sector-grid a:hover { border-color: var(--teal-900); }
@media (max-width: 640px) {
  .home-feature-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .home-feature-card { min-height: 0; padding: 24px; }
  .home-feature-card h3 { font-size: 21px; }
  .home-closing-panel { padding: 32px 16px; }
  .home-closing h2 { font-size: 28px; line-height: 1.2; }
  .home-closing-lede { font-size: 16px; }
}
.home-conversation .btn, .home-platform-action .btn { font-size: 19px; font-weight: 700; }
@media (max-width: 1000px) {
  .home-sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  body.home .site-header { position: relative; }
  body.home .sector-bar { top: 0; }
  body.home .sector-bar .sector-bar-inner { padding-block: 0; }
  .sector-links { display: none; }
  .sector-picker { display: block; }
  .sector-picker summary {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    list-style: none; cursor: pointer; min-height: 56px; padding: 12px 0;
    color: #fff; font-size: 16px; font-weight: 700;
  }
  .sector-picker summary::-webkit-details-marker { display: none; }
  .sector-picker summary::after {
    content: ''; width: 8px; height: 8px; margin-right: 4px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); transition: transform .15s ease;
  }
  .sector-picker[open] summary::after { transform: rotate(225deg); }
  .sector-picker summary:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
  .sector-picker-options {
    position: absolute; top: 100%; left: 0; right: 0;
    display: grid; padding: 8px 20px 16px; background: var(--teal-900);
    border-top: 1px solid rgb(255 255 255 / 20%);
    max-height: calc(100dvh - 56px); overflow-y: auto;
    box-shadow: 0 12px 24px rgb(0 82 94 / 12%);
  }
  .sector-picker-options a {
    color: #fff; display: flex; align-items: center; min-height: 48px;
    padding: 12px; border-radius: var(--r-sm); font-size: 16px; font-weight: 700;
  }
  .sector-picker-options a:hover { background: rgb(255 255 255 / 12%); }
  .sector-picker-options a:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
  body.home main > section { scroll-margin-top: 72px; }
  body.home .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  body.home .hero-visual .hero-devices { width: 100%; max-width: 600px; margin: 0 auto; }
  .home-overview-grid { gap: 32px; }
}
@media (max-width: 640px) {
  body.home .hero { padding-top: 32px; }
  body.home .hero-logos.captioned {
    padding: 24px 16px; gap: 24px 16px; grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-overview-grid { grid-template-columns: 1fr; }
  .home-overview-image { min-height: 390px; padding: 24px; }
  .home-overview-image img { height: 300px; }
  .home-accordion summary { font-size: 20px; }
  .home-sector-grid { gap: 12px; }
  .home-sector-grid a { padding: 12px 8px; font-size: 14px; }
}

/* Figma homepage sector frames 65:661, 63:632, 63:638 and 63:635.
   Apply the same treatment to the retained Alumni Engagement journey. */
body.home .sector-links .sec-btn,
body.home .sector-picker-options a,
body.home .home-sector-grid a {
  background: #fff;
  color: #000;
  border-color: transparent;
}
body.home .sector-links .sec-btn::after { color: #000; }
body.home .sector-links .sec-btn:hover,
body.home .sector-picker-options a:hover,
body.home .home-sector-grid a:hover {
  background: #f5f5f5;
  color: #000;
  border-color: #f5f5f5;
}
body.home .sector-picker-options { gap: 8px; }
body.home .sector-links .sec-btn:focus-visible,
body.home .sector-picker-options a:focus-visible,
body.home .home-sector-grid a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
