:root {
  --ng-home-ink: var(--wp--preset--color--navgame-text, #142035);
  --ng-home-navy: #102a56;
  --ng-home-link: #0f5ad1;
  --ng-home-muted: var(--wp--preset--color--navgame-muted, #4d5f7c);
  --ng-home-paper: var(--wp--preset--color--navgame-bg, #f5f8ff);
  --ng-home-fog: var(--wp--preset--color--navgame-accent-soft, #e6f0ff);
  --ng-home-sky: #bedbff;
  --ng-home-border: #cedcf2;
  --ng-home-gutter: clamp(1.25rem, 4vw, 4rem);
  --ng-home-width: 78rem;
  --ng-home-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.home .navgame-page-main,
body.home .navgame-page-main > .wp-block-post-content {
  box-sizing: border-box;
  max-width: none;
  padding: 0;
  margin: 0;
}

body.home .navgame-site-footer {
  margin-block-start: 0;
}

.navgame-home {
  margin-block: 0;
  color: var(--ng-home-ink);
  font-family: var(--ng-home-sans);
  line-height: 1.6;
  background: var(--ng-home-paper);
}

.navgame-home .wp-block-group,
.navgame-home .wp-block-buttons {
  margin-block-start: 0;
}

.navgame-home *,
.navgame-home *::before,
.navgame-home *::after {
  box-sizing: border-box;
}

.navgame-home :is(h1, h2, h3, p, figure) {
  margin: 0;
}

.navgame-home :is(h1, h2, h3) {
  color: inherit;
  font-family: inherit;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.navgame-home img,
.navgame-home video {
  display: block;
  width: 100%;
  height: auto;
}

.navgame-home a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

.navgame-home__wrap {
  width: min(var(--ng-home-width), calc(100% - 2 * var(--ng-home-gutter)));
  margin-inline: auto;
}

.navgame-home__hero {
  padding-block: clamp(2.4rem, 5vw, 5rem);
  background: radial-gradient(ellipse at 80% 10%, #204b83 0%, transparent 60%), var(--ng-home-navy);
  color: var(--ng-home-paper);
}

.navgame-home__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.navgame-home__eyebrow {
  color: var(--ng-home-link);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.navgame-home__hero .navgame-home__eyebrow {
  color: var(--ng-home-sky);
}

.navgame-home h1 {
  margin-block: 0.55rem 1.2rem;
  font-size: clamp(3rem, 5.4vw, 5.35rem);
  text-wrap: initial;
}

.navgame-home h1 em {
  color: var(--ng-home-sky);
  font-style: normal;
}

.navgame-home__lead {
  max-width: 39ch;
  color: #e6f0ff;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

.navgame-home .navgame-home__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
}

.navgame-home__intro .navgame-home__actions {
  margin-top: 1.6rem;
}

.navgame-home .navgame-home__store-links,
.navgame-home .navgame-home__download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.navgame-home .navgame-home__store-links {
  gap: 0.25rem;
}

.navgame-home .navgame-home__intro .navgame-home__store-links {
  margin-block: 0.85rem;
}

.navgame-home .navgame-home__store-badge a {
  display: block;
}

.navgame-home .navgame-home__store-badge img {
  width: auto;
  height: 40px;
}

.navgame-home .navgame-home__store-badge--google img {
  height: 60px;
}

.navgame-home .navgame-home__download-actions {
  gap: 0.75rem;
}

.navgame-home .navgame-home__button .wp-block-button__link {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.62rem 1.15rem;
  border: 1px solid currentColor;
  border-radius: 2rem;
  font: inherit;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-decoration: none;
}

.navgame-home .navgame-home__button--primary .wp-block-button__link {
  color: var(--ng-home-ink);
  border-color: var(--ng-home-sky);
  background: var(--ng-home-sky);
}

.navgame-home .navgame-home__button--primary .wp-block-button__link:focus-visible {
  outline-color: var(--ng-home-sky);
}

.navgame-home .navgame-home__button--primary .wp-block-button__link:hover {
  background: #dcecff;
}

.navgame-home .navgame-home__button--light .wp-block-button__link {
  color: var(--ng-home-paper);
  background: transparent;
}

.navgame-home .navgame-home__button--light .wp-block-button__link:hover {
  background: #2c568a;
}

.navgame-home .navgame-home__button--dark .wp-block-button__link {
  color: var(--ng-home-paper);
  background: var(--ng-home-navy);
}

.navgame-home .navgame-home__button--dark .wp-block-button__link:hover {
  background: var(--ng-home-link);
}

.navgame-home .navgame-home__button--dark .wp-block-button__link:focus-visible {
  outline-color: var(--ng-home-navy);
}

.navgame-home__hero-photo,
.navgame-home__community-photo {
  position: relative;
  overflow: hidden;
  border-radius: clamp(0.8rem, 2vw, 1.6rem);
  background: var(--ng-home-ink);
}

.navgame-home__hero-photo img {
  aspect-ratio: 1.28;
  object-fit: cover;
}

.navgame-home :is(.navgame-home__hero-photo, .navgame-home__community-photo) figcaption {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  margin: 0;
}

.navgame-home :is(.navgame-home__hero-photo, .navgame-home__community-photo) figcaption a {
  display: block;
  padding: 0.32rem 0.63rem;
  border-radius: 0.35rem;
  color: #fff;
  background: var(--ng-home-ink);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

.navgame-home :is(.navgame-home__hero-photo, .navgame-home__community-photo) figcaption a:hover {
  text-decoration: underline;
}

.navgame-home h2 {
  margin-block: 0.5rem 0.9rem;
  font-size: clamp(2.2rem, 4.1vw, 4.2rem);
}

.navgame-home h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.45rem, 2.25vw, 2.1rem);
}

.navgame-home__tools,
.navgame-home__download {
  padding-block: clamp(2.8rem, 6vw, 6rem);
}

.navgame-home__tools {
  scroll-margin-top: 5.3rem;
}

.navgame-home__section-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  column-gap: clamp(1rem, 4vw, 4rem);
  margin-bottom: 1.9rem;
}

.navgame-home__section-intro .navgame-home__eyebrow {
  grid-column: 1 / -1;
}

.navgame-home__section-intro > p:last-child,
.navgame-home__card-copy p,
.navgame-home__community-copy > p:not(.navgame-home__eyebrow),
.navgame-home__download p {
  max-width: 46ch;
  color: var(--ng-home-muted);
}

.navgame-home__section-intro > p:last-child {
  padding-bottom: 0.35rem;
}

.navgame-home__tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}

.navgame-home__card {
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border: 1px solid var(--ng-home-border);
  border-radius: 1.25rem;
  background: #fff;
}

.navgame-home__card-copy {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.navgame-home__card--basemap {
  grid-column: 1 / -1;
}

@media (min-width: 60rem) {
  .navgame-home__card--basemap {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    grid-template-rows: auto;
  }

  .navgame-home__card--basemap .navgame-home__card-copy {
    align-self: center;
  }

  .navgame-home__card--basemap .navgame-home__product-media {
    border-top: 0;
    border-inline-start: 1px solid var(--ng-home-border);
  }
}

.navgame-home .navgame-home__text-link {
  margin-top: 0.85rem;
}

.navgame-home .navgame-home__text-link a,
.navgame-home .navgame-home__button--text .wp-block-button__link {
  color: var(--ng-home-link);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.navgame-home .navgame-home__text-link a:hover,
.navgame-home .navgame-home__button--text .wp-block-button__link:hover {
  color: var(--ng-home-ink);
}

.navgame-home .navgame-home__button--text .wp-block-button__link {
  padding: 0.62rem 0.25rem;
  background: transparent;
}

.navgame-home__product-media {
  align-self: end;
  border-top: 1px solid var(--ng-home-border);
  background: var(--ng-home-fog);
}

.navgame-home__product-media :is(img, video) {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.navgame-home__product-media img {
  object-position: 15% top;
}

.navgame-home__product-media video {
  background: var(--ng-home-ink);
}

.navgame-home__product-media figcaption {
  margin: 0;
  padding: 0.55rem 1rem;
  color: var(--ng-home-muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.navgame-home .navgame-home__video-guide {
  margin-top: 1.25rem;
}

.navgame-home__community {
  padding-block: clamp(2.8rem, 6vw, 6rem);
  background: var(--ng-home-fog);
}

.navgame-home__community-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(1.6rem, 6vw, 6rem);
}

.navgame-home__community-photo img {
  aspect-ratio: 1.55;
  object-fit: cover;
  object-position: center 57%;
}

.navgame-home__download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
}

@media (max-width: 760px) {
  .navgame-home__hero-grid,
  .navgame-home__section-intro,
  .navgame-home__tools-grid,
  .navgame-home__community-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .navgame-home__hero-photo img {
    aspect-ratio: 4 / 3;
  }

  .navgame-home__community-copy {
    grid-row: 1;
  }
}
