/* Homepage faithfully aligned to the 2026-11-09 full-site export. */
html:has(.home-page) {
  min-width: 1440px;
}

.home-page {
  --home-content-width: clamp(1440px, calc(100% - 680px), 1920px);
  --home-edge: max(0px, calc((100% - var(--home-content-width)) / 2));
  --home-hero-lead-size: 40px;
  --home-hero-background: #01121e;
  min-width: 1440px;
  overflow-x: auto;
  background: #012439;
  font-family: var(--site-text-font);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

.home-page .wrap {
  width: var(--home-content-width);
  margin-inline: auto;
}

.home-page main {
  overflow: clip;
}

.home-page main h2 {
  margin: 0;
  color: #fff;
  font-family: "MiSans VF", MiSans, sans-serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 64px;
}

.home-page .matrix-heading > h2,
.home-page .home-aircraft > h2,
.home-page .partners h2 {
  margin-bottom: -12px;
}

@media (min-width: 1024px) {
  .home-page .matrix-heading > h2,
  .home-page .home-aircraft > h2,
  .home-page .partners h2 {
    margin-bottom: 10px;
  }
}

.home-page .muted {
  margin: 0;
  color: #8ccadc;
  font-size: 20px;
  font-weight: 200;
  line-height: 27px;
}

.home-page .product-track,
.home-page .news-track {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.home-page .product-track::-webkit-scrollbar,
.home-page .news-track::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.home-page .slider-buttons {
  display: none !important;
}

/* Hero: 0-897 */
.home-page .hero {
  position: relative;
  display: block;
  width: var(--home-content-width);
  height: 897px;
  min-height: 897px;
  padding: 0;
  isolation: isolate;
}

.home-page .hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 0;
  left: 50%;
  width: 100vw;
  min-width: 1440px;
  height: 897px;
  transform: translateX(-50%);
  background: #012439 url("https://static.boundaryai.com/assets/images/homefigma/u118.svg") center top / max(2120px, 100%)
    897px no-repeat;
}

.home-page .hero::after {
  display: none;
}

.home-page .hero > div {
  position: absolute;
  z-index: 1;
  top: 377px;
  left: 0;
  width: 620px;
}

.home-page .hero-wordmark {
  display: block;
  margin: 0 0 -27px;
}

.home-page .hero > div > p {
  margin: 0;
  color: #8ccadc;
  font-family: "MiSans VF", MiSans, sans-serif;
  font-size: var(--home-hero-lead-size);
  font-weight: 200;
  line-height: 53px;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .home-page {
    --home-hero-lead-size: 48px;
  }
}

.home-page .hero-image {
  position: absolute;
  z-index: -1;
  top: 292px;
  left: 45.833333%;
  width: 53.888889% !important;
  max-width: none;
  height: auto;
  max-height: 620px;
  opacity: 1 !important;
  object-fit: contain;
}

/* Keep the decorative banner out of touch hit testing and suppress native overlays. */
html[data-home-aircraft-layout~="touch"] .home-page video[data-home-hero-video],
.home-page .hero canvas[data-home-hero-canvas] {
  pointer-events: none;
  -webkit-touch-callout: none;
}

html[data-home-aircraft-layout~="touch"] .home-page video[data-home-hero-video]::-webkit-media-controls {
  display: none !important;
}

html[data-home-aircraft-layout~="touch"] .home-page video[data-home-hero-video]::-webkit-media-controls-start-playback-button {
  display: none !important;
}

/* Advantages: 897-1612 */
.home-page .home-intro,
.home-page .hero + .section {
  width: var(--home-content-width);
  min-height: 715px !important;
  height: 715px;
  padding: 51px 0 0;
}

.home-page .home-intro > h2 {
  margin-bottom: 0px;
}

.home-page .home-intro .grid-four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 69px;
  margin-top: 93px;
}

.home-page .home-intro .grid-four h3 {
  margin: 0 0 14px;
  color: #8ccadc;
  font-size: 26px;
  font-weight: 500;
  line-height: 34px;
  white-space: nowrap;
}

.home-page .home-intro .grid-four p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

/* Product matrix: 1612-2632 */
.home-page .matrix {
  --matrix-heading-space: 80px;
  width: 100%;
  min-height: 1020px;
  height: 1020px;
  padding: var(--matrix-heading-space) 0 0;
  background: #0d2b3e;
}

.home-page .matrix .tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  margin: 92px 0 0;
  overflow: visible;
}

@media (min-width: 1024px) and (pointer: fine) {
  html:not([data-home-aircraft-layout~="touch"]) .home-page .matrix-heading > h2 {
    margin-bottom: -12px;
  }

  html:not([data-home-aircraft-layout~="touch"]) .home-page .matrix .tabs {
    margin-top: var(--matrix-heading-space);
  }
}

.home-page .matrix .tabs button {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  height: 48px;
  min-width: 140px;
  padding: 0 28px;
  border-radius: 50px;
  background: #02253a;
  color: #8ccadc;
  font-family: var(--site-text-font);
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  white-space: nowrap;
}

.home-page .matrix .tabs button:last-child {
  min-width: 280px;
}

.home-page .matrix .tabs button.selected {
  background: #8ccadc;
  color: #011722;
}

.home-page .product-track {
  display: flex;
  gap: 36px;
  width: 100%;
  height: 528px;
  margin: 72px 0 -64px;
  padding: 0 calc(100% - 684px - var(--home-edge)) 64px var(--home-edge);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-padding-left: var(--home-edge);
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
}

.home-page .product-card {
  position: relative;
  flex: 0 0 684px;
  width: 684px;
  min-width: 684px;
  height: 464px;
  padding: 0;
  overflow: hidden;
  border-radius: 15px;
  background: #012439;
  color: #fff;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.349);
  scroll-snap-align: start;
  transform: none;
}

.home-page .product-card:hover,
.home-page .product-card:focus-visible {
  color: #fff;
  transform: none;
}

.home-page .product-card .product-background {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: fill;
}

/* Compatibility for databases still returning the coordinate-wrapper SVG. */
.home-page .product-card .product-background[src$=".svg"] {
  top: -30px;
  left: -44px;
  right: auto;
  bottom: auto;
  width: 772px;
  height: 552px;
}

.home-page .product-card h3 {
  position: absolute;
  z-index: 2;
  top: 45px;
  left: 60px;
  margin: 0;
  color: #fff;
  font-size: 44px;
  font-weight: 500;
  line-height: 59px;
}

.home-page .product-card > p {
  position: absolute;
  z-index: 2;
  top: 103px;
  left: 60px;
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
}

.home-page .product-description {
  position: absolute;
  z-index: 2;
  left: 60px;
  top: 363px;
  max-width: 330px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 27px;
}

@media (min-width: 1024px) {
  .home-page .product-card > :is(h3, p, .product-description) {
    display: none;
  }
}

.home-page .slider-dots {
  display: flex;
  justify-content: center;
  gap: 11px;
  margin: 34px 0 0;
}

.home-page .slider-dots button {
  width: 58px;
  min-width: 0;
  height: 7px;
  padding: 0;
  border-radius: 8px;
  background: #001522;
}

.home-page .slider-dots button[aria-current="true"] {
  background: #8ccadc;
}

/* Aircraft applications: 2632-3634 */
.home-page .home-aircraft,
.home-page main > .home-aircraft.section.wrap {
  width: var(--home-content-width);
  min-height: 1002px;
  height: 1002px;
  padding: 72px 0 0;
}

.home-page .home-aircraft .aircraft-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 91px;
}

.home-page .aircraft-grid article {
  position: relative;
  width: auto;
  height: 640px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: none;
}

.home-page .aircraft-grid .aircraft-media {
  display: contents;
  height: 100%;
}

.home-page .aircraft-grid .aircraft-media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  transform: none;
  transition: none;
}

.home-page .aircraft-label {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  height: 100px;
  margin: 0;
  padding: 34px 40px;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  transition: opacity 300ms ease;
}

.home-page .aircraft-hover {
  position: absolute;
  z-index: 3;
  inset: 0;
  height: 100%;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 300ms ease;
}

.home-page .aircraft-hover h3 {
  margin: 0;
  color: #fff;
  font-size: 36px;
  font-weight: 500;
  line-height: 48px;
}

.home-page .aircraft-hover p {
  max-width: 304px;
  max-height: none;
  margin: 17px 0 0;
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  line-height: 24px;
  opacity: 1;
  transform: none;
}

.home-page .aircraft-grid article:is(:hover, :focus-visible) .aircraft-label {
  opacity: 0;
}

.home-page .aircraft-grid article:is(:hover, :focus-visible) .aircraft-hover {
  opacity: 1;
}

/* Partners: starts at 3634 and grows with the 1440-1920 content canvas. */
.home-page .partners {
  width: 100%;
  min-height: 1096px;
  height: auto;
  padding: 138px 0 123px;
  overflow: visible;
  background: linear-gradient(#001a29, #012439 814px);
}

.home-page .partner-layout {
  display: grid;
  grid-template-columns: minmax(0, 1000fr) minmax(0, 370fr);
  gap: 70px;
  margin-top: 90px;
  min-height: 644px;
  align-items: start;
}

/* Keep the gap below the video independent of the desktop viewport size. */
@media screen and (min-width: 1024px) and (pointer: fine) {
  .home-page .partners,
  .home-page .partner-layout {
    min-height: 0;
  }

  .home-page .partners {
    padding-bottom: 88px;
  }
}

.home-page .customer-interview {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 50 / 29;
  margin: 0;
}

.home-page .customer-interview > img,
.home-page .customer-interview > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-page .customer-video {
  background: #000;
  cursor: pointer;
}

.home-page .customer-controls {
  position: absolute;
  left: 9%;
  bottom: -42px;
  display: flex;
  align-items: center;
  width: 82%;
  height: 64px;
  padding: 0 28px;
  background: rgba(0, 0, 0, 0.62);
  z-index: 2;
}

.home-page .customer-play {
  position: relative;
  flex: 0 0 17px;
  width: 17px;
  height: 18px;
  padding: 0;
  margin-right: 26px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
}

.home-page .customer-play::before {
  content: "";
  position: absolute;
  inset: 1px auto auto 1px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid currentColor;
}

.home-page .customer-interview.is-playing .customer-play::before {
  top: 1px;
  left: 2px;
  width: 4px;
  height: 16px;
  border: 0;
  background: currentColor;
  box-shadow: 8px 0 0 currentColor;
}

.home-page .customer-progress {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  height: 20px;
  padding: 0;
  margin-right: 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.home-page .customer-progress::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 4px;
  background: #606060;
}

.home-page .customer-progress i {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 8px;
  display: block;
  width: 0;
  height: 4px;
  background: #fff;
  pointer-events: none;
}

.home-page .customer-controls time {
  flex: 0 0 auto;
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
}

.home-page .customer-fullscreen {
  flex: 0 0 15px;
  width: 15px;
  height: 12px;
  padding: 0;
  margin-left: 15px;
  border: 1px solid #fff;
  border-radius: 0;
  background: transparent;
}

.home-page .partner-logos {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  align-self: stretch;
}

.home-page .partner-logos .partner-logo {
  position: relative;
  display: block;
  width: 115px;
  height: 36px;
}

@media (min-width: 1024px) {
  .home-page .partner-layout {
    align-content: start;
  }
  .home-page .partner-logos {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    grid-auto-rows: minmax(0, 1fr);
    align-items: center;
    gap: 0;
  }
  .home-page .partner-logos .partner-logo {
    max-width: 100%;
    max-height: 100%;
  }
}

.home-page .partner-logos .partner-logo:nth-child(1) {
  width: 115px;
  height: 21px;
}
.home-page .partner-logos .partner-logo:nth-child(2) {
  width: 95px;
  height: 36px;
}
.home-page .partner-logos .partner-logo:nth-child(3) {
  width: 113px;
  height: 31px;
}
.home-page .partner-logos .partner-logo:nth-child(4) {
  width: 104px;
  height: 29px;
}
.home-page .partner-logos .partner-logo:nth-child(5) {
  width: 115px;
  height: 10px;
}
.home-page .partner-logos .partner-logo:nth-child(6) {
  width: 108px;
  height: 33px;
}
.home-page .partner-logos .partner-logo:nth-child(7) {
  width: 117px;
  height: 13px;
}

.home-page .partner-logos img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.5s linear;
}

@media screen and (max-width: 767px), screen and (pointer: coarse) and (hover: none) {
  .home-page .partner-logos .partner-logo > img {
    transform: scale(0.8);
  }
}

.home-page .partner-logo-hover {
  opacity: 0;
}

.home-page .partner-logos .partner-logo:is(:hover, :focus-visible) .partner-logo-default {
  opacity: 0;
}

.home-page .partner-logos .partner-logo:is(:hover, :focus-visible) .partner-logo-hover {
  opacity: 1;
}

.home-page .partner-dots {
  display: flex;
  place-self: center;
  gap: 7px;
}

.home-page .partner-dots:only-child {
  display: none;
}

@media screen and (min-width: 1024px) and (pointer: fine) {
  .home-page .partner-dots {
    justify-self: start;
    justify-content: center;
    width: min(104px, 100%);
  }
}

/* Keep the final logo and dots together when the last logo would fill a row. */
@media (max-width: 767px), (min-width: 1024px) {
  .home-page .partner-logos > .partner-logo:nth-child(even):nth-last-child(2) {
    grid-column-start: 1;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .home-page .partner-logos > .partner-logo:nth-child(4n):nth-last-child(2) {
    grid-column-start: 1;
  }
}

.home-page .partner-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8ccadc;
}

/* News follows the responsive partner section and remains 619px tall. */
.home-page .home-news,
.home-page main > .home-news.section:last-child {
  width: 100%;
  min-height: 619px;
  height: auto;
  padding: 0 0 51px;
}

.home-page .home-news .section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.home-page .more-news {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  white-space: nowrap;
}

.home-page .more-news .more-arrow {
  display: block;
  width: 29px;
  height: 20px;
  color: #00c8ff;
}

.home-page .more-news:is(:hover, :focus-visible) {
  color: #fff;
}

.home-page .news-track {
  display: flex;
  gap: 32px;
  width: 100%;
  height: 368px;
  margin: 84px 0 0;
  padding: 0 calc(100% - 344px - var(--home-edge)) 0 var(--home-edge);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-padding-left: var(--home-edge);
  scroll-snap-type: none;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: auto;
  touch-action: auto;
  cursor: auto;
}

.home-page .news-track::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

@media screen and (pointer: coarse) and (hover: none) {
  .home-page .news-track > .news-card:nth-child(n + 7) {
    display: none;
  }
}

body.home-page[data-home-touch] .news-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(12px, 3vw, 24px);
  width: var(--home-content-width);
  height: auto;
  margin: clamp(28px, 5vw, 44px) auto 0;
  padding: 0;
  overflow: visible;
  scroll-snap-type: none;
  cursor: auto;
}

body.home-page[data-home-touch] .news-track.is-two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.home-page[data-home-touch] .news-track > .news-card {
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 0;
  padding: 8px 8px 48px;
  cursor: pointer;
}

.home-page[data-home-touch] .news-track > .news-card:nth-child(n + 7) {
  display: none;
}

.home-page[data-home-touch] .news-track .home-news-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 328 / 212;
  background: #00111c;
}

.home-page[data-home-touch] .news-track h3 {
  margin-inline: clamp(2px, 1.3vw, 14px);
  overflow-wrap: anywhere;
}

.home-page[data-home-touch] .news-track time {
  left: 12px;
  max-width: calc(100% - 56px);
}

.home-page[data-home-touch] .news-track .home-news-arrow {
  right: 12px;
}

@media (min-width: 1024px) and (any-pointer: fine) {
  .home-page .news-track,
  .home-page .news-track .news-card {
    cursor: grab;
  }
  .home-page .news-track.is-dragging,
  .home-page .news-track.is-dragging .news-card {
    cursor: grabbing;
    -webkit-user-select: none;
    user-select: none;
  }
}

.home-page .news-card {
  position: relative;
  flex: 0 0 344px;
  width: 344px;
  height: 368px;
  padding: 8px;
  overflow: hidden;
  border-radius: 10px;
  background: #001b2b;
  color: #fff;
  box-shadow: none;
  scroll-snap-align: start;
  transform: none;
  transition: none;
}

.home-page .news-card > img:first-child {
  position: static;
  display: block;
  width: 328px;
  height: 212px;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}

.home-page .news-card h3 {
  min-height: 0;
  margin: 16px 14px 0;
  padding: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
}

.home-page .news-card time {
  position: absolute;
  left: 22px;
  bottom: 16px;
  padding: 0;
  color: #8ccadc;
  font-size: 14px;
  font-weight: 400;
  line-height: 19px;
}

body.home-page .news-card:hover,
body.home-page .news-card.is-hovered,
body.home-page .news-card:focus-visible,
body.home-page .news-card:active {
  background: #0a344b;
  color: #fff;
  transform: none;
}

@media (min-width: 2120px) {
  .home-page .home-intro .grid-four {
    gap: clamp(69px, 5.8vw, 112px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .aircraft-label,
  .home-page .aircraft-hover,
  .home-page .partner-logos img,
  .home-page .news-card {
    transition: none;
  }
}

/* Homepage text uses the shared font; product names keep their own font. */
body.home-page,
body.home-page * {
  font-family: var(--site-text-font) !important;
  font-synthesis: none;
}

body.home-page .product-card h3 {
  font-family: "Saira", "MiSans VF", MiSans, "Microsoft YaHei", sans-serif !important;
}

.home-page .matrix .tabs button {
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
}

.home-page .hero > div > p {
  font-weight: 500;
}

/* Mobile section titles share one font size across phone and tablet widths. */
@media (max-width: 1023px) {
  body.home-page main h2 {
    font-size: 20px;
  }
  body.home-page main > .home-intro.section > h2 {
    margin-bottom: -12px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  body.home-page main h2 {
    font-weight: 500;
    line-height: 64px;
  }
  body.home-page main .muted {
    font-size: 20px;
    font-weight: 300;
    line-height: 27px;
  }
  body.home-page .home-intro .grid-four h3 {
    font-size: 22px;
    font-weight: 500;
    line-height: 34px;
  }
  body.home-page .home-intro .grid-four p {
    font-size: 18px;
    font-weight: 300;
    line-height: 24px;
  }
  body.home-page .product-card h3 {
    font-size: 28px;
    font-weight: 500;
    line-height: 38px;
  }
  body.home-page .product-card > p {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
  }
  body.home-page .product-description {
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
  }
}

@media (max-width: 767px) {
  body.home-page main h2 {
    font-weight: 500;
    line-height: 42px;
  }
  body.home-page main .muted {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
  }
  body.home-page .home-intro .grid-four h3 {
    font-size: 16px;
    font-weight: 500;
    line-height: 30px;
  }
  body.home-page .home-intro .grid-four p {
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
  }
  body.home-page .matrix .tabs button {
    height: auto;
    min-height: 44px;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
  }
  body.home-page .product-card h3 {
    font-size: 28px;
    font-weight: 500;
    line-height: 38px;
  }
  body.home-page .product-card > p {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
  }
  body.home-page .product-description {
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
  }
}

body.home-page main .muted {
  font-weight: 500;
}
@media (min-width: 768px) {
  body.home-page main .hero + .home-intro.section > .muted {
    line-height: 27px;
  }
}

@media (max-width: 1023px) {
  body.home-page .product-card {
    background-color: #061f30;
  }
  body.home-page .matrix:not([data-carousel-ready]) .product-card:not([data-group="flight"]) {
    display: none;
  }
  @supports not (aspect-ratio: 1 / 1) {
    .home-page .product-card::before {
      content: "";
      display: block;
      padding-top: calc(100% * 464 / 684);
    }
  }
  body.home-page .product-card-desktop-only {
    display: none;
  }
  body.home-page .product-card .product-background {
    height: 100%;
    object-fit: cover;
    object-position: right top;
  }
  body.home-page .product-card .product-background[data-mobile-image] {
    inset: 0;
    width: 100%;
  }
  /* The card ratio controls the image footprint, independently of its copy. */
  body.home-page .product-card > :is(h3, p, .product-description) {
    display: none;
  }
}

/* V2 hero artwork and the space between homepage sections. */
@media (min-width: 768px) and (max-width: 1023px) {
  body.home-page {
    --home-hero-lead-size: 30px;
  }
  body.home-page .hero {
    padding-top: 44px;
    gap: 0;
  }
  body.home-page .hero > div > p {
    line-height: 48px;
  }
  body.home-page .hero-image {
    margin-top: 28px;
  }
  body.home-page .matrix {
    padding-bottom: 55px;
  }
  body.home-page main > .home-aircraft.section.wrap {
    padding-top: 72px;
  }
}

/* Reuse the compact wordmark spacing on tablets, including landscape iPads. */
@media (min-width: 768px) and (max-width: 1023px),
  screen and (pointer: coarse) and (hover: none) and (min-width: 1024px) and (max-width: 1400px) {
  body.home-page .hero picture {
    display: block;
    width: fit-content;
    margin-bottom: 0;
  }
  body.home-page .hero picture .hero-wordmark {
    margin-bottom: 0;
  }
}

/* Reserve the compact wordmark's intrinsic 320 × 74 box while the image downloads. */
@media screen and (pointer: coarse) and (hover: none) and (min-device-width: 600px) and (min-device-height: 600px) and (max-width: 1400px) {
  body.home-page .hero picture .hero-wordmark {
    aspect-ratio: 320 / 74;
  }
}

@media (max-width: 767px) {
  body.home-page .hero {
    padding-top: 40px;
    gap: 0;
  }
  body.home-page .hero picture {
    margin-bottom: 0px;
  }
  body.home-page .hero-image {
    margin-top: 24px;
  }
  body.home-page .home-intro .grid-four {
    gap: 28px;
    margin-top: 32px;
  }
  body.home-page main > .home-aircraft.section.wrap {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  body.home-page .news-track {
    margin-top: 28px;
    gap: 20px;
  }
}

/* Keep the test video controls and partner marks at the V2 mobile proportions. */
@media (max-width: 1023px) {
  body.home-page .customer-interview {
    aspect-ratio: 50 / 29;
  }
  body.home-page .customer-interview > video {
    object-fit: cover;
  }
  body.home-page .customer-controls {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 64px;
    padding: 12px 24px;
    gap: 24px;
  }
  body.home-page .customer-play,
  body.home-page .customer-progress,
  body.home-page .customer-fullscreen {
    margin-left: 0;
    margin-right: 0;
  }
  body.home-page .partner-layout {
    gap: 60px;
  }
  body.home-page .partner-logos {
    gap: 24px;
  }
  body.home-page .partner-logos .partner-logo,
  body.home-page .partner-logos .partner-logo:nth-child(n) {
    height: 60px;
  }
  body.home-page .partner-logos img {
    width: auto;
    max-width: 115px;
    height: auto;
    max-height: 36px;
    margin: auto;
    object-fit: contain;
  }
}

@media (max-width: 767px) {
  body.home-page .customer-controls {
    height: 40px;
    padding: 8px 12px;
    gap: 12px;
    font-size: 10px;
  }
  body.home-page .partner-layout {
    gap: 28px;
  }
  body.home-page .partner-logos {
    gap: 24px 16px;
  }
  body.home-page main > .home-news.section:last-child {
    padding-bottom: 40px;
  }
}

/* Both screen dimensions distinguish tablets and open foldables from phones in landscape. */
@media screen and (pointer: coarse) and (hover: none) and (min-device-width: 600px) and (min-device-height: 600px) {
  body.home-page .home-intro > h2,
  body.home-page .matrix-heading > h2,
  body.home-page .partners > .wrap > h2,
  body.home-page .home-intro .grid-four h3,
  body.home-page .matrix .product-card > h3 {
    font-size: 16px;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
  }

  body.home-page .home-intro.section > .muted,
  body.home-page .matrix-heading > .muted,
  body.home-page .partners > .wrap > .muted,
  body.home-page .home-intro .grid-four p,
  body.home-page .matrix .product-card > p,
  body.home-page .matrix .product-description {
    font-size: 14px;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
  }
}

html[data-home-aircraft-layout~="touch"] body.home-page main :is(.home-intro, .matrix-heading, .home-aircraft, .partners > .wrap) > h2 {
  font-size: var(--home-hero-lead-size);
}
